Searched refs:cstride (Results 1 – 8 of 8) sorted by relevance
401 if (ycbcr->cstride == ycbcr->ystride >> 1 && ycbcr->chroma_step == 1) { in ConvertFlexYUVToPlanar()406 srcU += ycbcr->cstride; in ConvertFlexYUVToPlanar()409 srcV += ycbcr->cstride; in ConvertFlexYUVToPlanar()422 srcU += ycbcr->cstride - (width >> 1) * ycbcr->chroma_step; in ConvertFlexYUVToPlanar()423 srcV += ycbcr->cstride - (width >> 1) * ycbcr->chroma_step; in ConvertFlexYUVToPlanar()620 ycbcr.cstride = srcStride >> 1; in extractGraphicBuffer()629 ycbcr.cstride = srcStride; in extractGraphicBuffer()
265 size_t cstride = align(params.nStride / 2, 16); in DescribeDefaultColorFormat() local270 image.mPlane[image.V].mRowInc = cstride; in DescribeDefaultColorFormat()275 + (cstride * params.nSliceHeight / 2); in DescribeDefaultColorFormat()277 image.mPlane[image.U].mRowInc = cstride; in DescribeDefaultColorFormat()
115 outBuffer->chromaStride = static_cast<uint32_t>(ycbcr.cstride); in lockBufferItem()
214 outPlanes->planes[1].rowStride = yuvData.cstride; in AHardwareBuffer_lockPlanes()217 outPlanes->planes[2].rowStride = yuvData.cstride; in AHardwareBuffer_lockPlanes()
267 ycbcr->cstride = static_cast<size_t>(layout.cStride); in lock()
309 ycbcr->cstride = static_cast<size_t>(layout.cStride); in lock()
370 outputImage->chromaStride = static_cast<uint32_t>(ycbcr.cstride); in lockImageFromBuffer()
104 size_t cStride = ycbcr->cstride; in rgbToYuv420()