Lines Matching refs:mediaImage

230         MediaImage2 *mediaImage = (MediaImage2 *)mMediaImage->base();  in GraphicView2MediaImageConverter()  local
246 mediaImage->mType = MediaImage2::MEDIA_IMAGE_TYPE_YUV; in GraphicView2MediaImageConverter()
291 mediaImage->mPlane[i].mOffset = mView.data()[i] - minPtr; in GraphicView2MediaImageConverter()
292 mediaImage->mPlane[i].mColInc = plane.colInc; in GraphicView2MediaImageConverter()
293 mediaImage->mPlane[i].mRowInc = plane.rowInc; in GraphicView2MediaImageConverter()
294 mediaImage->mPlane[i].mHorizSubsampling = plane.colSampling; in GraphicView2MediaImageConverter()
295 mediaImage->mPlane[i].mVertSubsampling = plane.rowSampling; in GraphicView2MediaImageConverter()
305 mediaImage->mPlane[mediaImage->Y].mOffset = 0; in GraphicView2MediaImageConverter()
306 mediaImage->mPlane[mediaImage->Y].mColInc = 1; in GraphicView2MediaImageConverter()
307 mediaImage->mPlane[mediaImage->Y].mRowInc = mStride; in GraphicView2MediaImageConverter()
308 mediaImage->mPlane[mediaImage->Y].mHorizSubsampling = 1; in GraphicView2MediaImageConverter()
309 mediaImage->mPlane[mediaImage->Y].mVertSubsampling = 1; in GraphicView2MediaImageConverter()
311 mediaImage->mPlane[mediaImage->U].mOffset = mStride * mVStride; in GraphicView2MediaImageConverter()
312 mediaImage->mPlane[mediaImage->U].mColInc = 1; in GraphicView2MediaImageConverter()
313 mediaImage->mPlane[mediaImage->U].mRowInc = mStride / 2; in GraphicView2MediaImageConverter()
314 mediaImage->mPlane[mediaImage->U].mHorizSubsampling = 2; in GraphicView2MediaImageConverter()
315 mediaImage->mPlane[mediaImage->U].mVertSubsampling = 2; in GraphicView2MediaImageConverter()
317 mediaImage->mPlane[mediaImage->V].mOffset = mStride * mVStride * 5 / 4; in GraphicView2MediaImageConverter()
318 mediaImage->mPlane[mediaImage->V].mColInc = 1; in GraphicView2MediaImageConverter()
319 mediaImage->mPlane[mediaImage->V].mRowInc = mStride / 2; in GraphicView2MediaImageConverter()
320 mediaImage->mPlane[mediaImage->V].mHorizSubsampling = 2; in GraphicView2MediaImageConverter()
321 mediaImage->mPlane[mediaImage->V].mVertSubsampling = 2; in GraphicView2MediaImageConverter()
326 mediaImage->mPlane[mediaImage->Y].mOffset = 0; in GraphicView2MediaImageConverter()
327 mediaImage->mPlane[mediaImage->Y].mColInc = 1; in GraphicView2MediaImageConverter()
328 mediaImage->mPlane[mediaImage->Y].mRowInc = mStride; in GraphicView2MediaImageConverter()
329 mediaImage->mPlane[mediaImage->Y].mHorizSubsampling = 1; in GraphicView2MediaImageConverter()
330 mediaImage->mPlane[mediaImage->Y].mVertSubsampling = 1; in GraphicView2MediaImageConverter()
332 mediaImage->mPlane[mediaImage->U].mOffset = mStride * mVStride; in GraphicView2MediaImageConverter()
333 mediaImage->mPlane[mediaImage->U].mColInc = 2; in GraphicView2MediaImageConverter()
334 mediaImage->mPlane[mediaImage->U].mRowInc = mStride; in GraphicView2MediaImageConverter()
335 mediaImage->mPlane[mediaImage->U].mHorizSubsampling = 2; in GraphicView2MediaImageConverter()
336 mediaImage->mPlane[mediaImage->U].mVertSubsampling = 2; in GraphicView2MediaImageConverter()
338 mediaImage->mPlane[mediaImage->V].mOffset = mStride * mVStride + 1; in GraphicView2MediaImageConverter()
339 mediaImage->mPlane[mediaImage->V].mColInc = 2; in GraphicView2MediaImageConverter()
340 mediaImage->mPlane[mediaImage->V].mRowInc = mStride; in GraphicView2MediaImageConverter()
341 mediaImage->mPlane[mediaImage->V].mHorizSubsampling = 2; in GraphicView2MediaImageConverter()
342 mediaImage->mPlane[mediaImage->V].mVertSubsampling = 2; in GraphicView2MediaImageConverter()
352 mediaImage->mType = MediaImage2::MEDIA_IMAGE_TYPE_YUVA; in GraphicView2MediaImageConverter()
358 mediaImage->mType = MediaImage2::MEDIA_IMAGE_TYPE_RGB; in GraphicView2MediaImageConverter()
377 mediaImage->mType = MediaImage2::MEDIA_IMAGE_TYPE_RGBA; in GraphicView2MediaImageConverter()
397 mediaImage->mType = MediaImage2::MEDIA_IMAGE_TYPE_UNKNOWN; in GraphicView2MediaImageConverter()
402 mediaImage->mNumPlanes = layout.numPlanes; in GraphicView2MediaImageConverter()
403 mediaImage->mWidth = mWidth; in GraphicView2MediaImageConverter()
404 mediaImage->mHeight = mHeight; in GraphicView2MediaImageConverter()
405 mediaImage->mBitDepth = bitDepth; in GraphicView2MediaImageConverter()
406 mediaImage->mBitDepthAllocated = mAllocatedDepth; in GraphicView2MediaImageConverter()