Lines Matching refs:plane

272                             const C2PlaneInfo &plane = layout.planes[i];  in GraphicView2MediaImageConverter()  local
273 ssize_t minOffset = plane.minOffset(mWidth, mHeight); in GraphicView2MediaImageConverter()
274 ssize_t maxOffset = plane.maxOffset(mWidth, mHeight); in GraphicView2MediaImageConverter()
281 planeSize += std::abs(plane.rowInc) * align(mHeight, 64) in GraphicView2MediaImageConverter()
282 … / plane.rowSampling / plane.colSampling * divUp(mAllocatedDepth, 8u); in GraphicView2MediaImageConverter()
290 const C2PlaneInfo &plane = layout.planes[i]; in GraphicView2MediaImageConverter() local
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()
410 const C2PlaneInfo &plane = layout.planes[i]; in GraphicView2MediaImageConverter() local
411 if (plane.allocatedDepth < plane.bitDepth in GraphicView2MediaImageConverter()
412 || plane.rightShift != plane.allocatedDepth - plane.bitDepth) { in GraphicView2MediaImageConverter()
413 ALOGD("rightShift value of %u unsupported", plane.rightShift); in GraphicView2MediaImageConverter()
417 if (plane.allocatedDepth > 8 && plane.endianness != C2PlaneInfo::NATIVE) { in GraphicView2MediaImageConverter()
418 ALOGD("endianness value of %u unsupported", plane.endianness); in GraphicView2MediaImageConverter()
422 if (plane.allocatedDepth != mAllocatedDepth || plane.bitDepth != bitDepth) { in GraphicView2MediaImageConverter()
428 / plane.rowSampling / plane.colSampling; in GraphicView2MediaImageConverter()