Lines Matching refs:mPlane

76             imgBase + img->mPlane[i].mOffset;  in _ImageCopy()
80 if (plane.colSampling != img->mPlane[i].mHorizSubsampling in _ImageCopy()
81 || plane.rowSampling != img->mPlane[i].mVertSubsampling in _ImageCopy()
93 bool canCopyByRow = (plane.colInc == bpp) && (img->mPlane[i].mColInc == bpp); in _ImageCopy()
94 bool canCopyByPlane = canCopyByRow && (plane.rowInc == img->mPlane[i].mRowInc); in _ImageCopy()
100 imgRow, viewRow, std::min(plane.rowInc, img->mPlane[i].mRowInc)); in _ImageCopy()
101 imgRow += img->mPlane[i].mRowInc; in _ImageCopy()
110 imgPtr += img->mPlane[i].mColInc; in _ImageCopy()
113 imgRow += img->mPlane[i].mRowInc; in _ImageCopy()
136 uint8_t* dst_y = imgBase + img->mPlane[0].mOffset; in ImageCopy()
137 uint8_t* dst_u = imgBase + img->mPlane[1].mOffset; in ImageCopy()
138 uint8_t* dst_v = imgBase + img->mPlane[2].mOffset; in ImageCopy()
139 int32_t dst_stride_y = img->mPlane[0].mRowInc; in ImageCopy()
140 int32_t dst_stride_u = img->mPlane[1].mRowInc; in ImageCopy()
141 int32_t dst_stride_v = img->mPlane[2].mRowInc; in ImageCopy()
215 const uint8_t* src_y = imgBase + img->mPlane[0].mOffset; in ImageCopy()
216 const uint8_t* src_u = imgBase + img->mPlane[1].mOffset; in ImageCopy()
217 const uint8_t* src_v = imgBase + img->mPlane[2].mOffset; in ImageCopy()
218 int32_t src_stride_y = img->mPlane[0].mRowInc; in ImageCopy()
219 int32_t src_stride_u = img->mPlane[1].mRowInc; in ImageCopy()
220 int32_t src_stride_v = img->mPlane[2].mRowInc; in ImageCopy()
403 && img->mPlane[0].mHorizSubsampling == 1 in IsYUV420()
404 && img->mPlane[0].mVertSubsampling == 1 in IsYUV420()
405 && img->mPlane[1].mHorizSubsampling == 2 in IsYUV420()
406 && img->mPlane[1].mVertSubsampling == 2 in IsYUV420()
407 && img->mPlane[2].mHorizSubsampling == 2 in IsYUV420()
408 && img->mPlane[2].mVertSubsampling == 2); in IsYUV420()
415 return (img->mPlane[1].mColInc == 2 in IsNV12()
416 && img->mPlane[2].mColInc == 2 in IsNV12()
417 && (img->mPlane[2].mOffset == img->mPlane[1].mOffset + 1)); in IsNV12()
424 return (img->mPlane[1].mColInc == 2 in IsNV21()
425 && img->mPlane[2].mColInc == 2 in IsNV21()
426 && (img->mPlane[1].mOffset == img->mPlane[2].mOffset + 1)); in IsNV21()
433 return (img->mPlane[1].mColInc == 1 in IsI420()
434 && img->mPlane[2].mColInc == 1 in IsI420()
435 && img->mPlane[2].mOffset > img->mPlane[1].mOffset); in IsI420()
517 .mPlane = { in CreateYUV420PlanarMediaImage2()
552 .mPlane = { in CreateYUV420SemiPlanarMediaImage2()