Home
last modified time | relevance | path

Searched refs:cstride (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/media/libstagefright/colorconversion/
DSoftwareRenderer.cpp39 int32_t c_offset = (cropTop / 2) * ycbcr.cstride + cropLeft / 2; in initDstYUV()
324 dst_u += ycbcr.cstride; in render()
325 dst_v += ycbcr.cstride; in render()
352 dst_u += ycbcr.cstride; in render()
353 dst_v += ycbcr.cstride; in render()
382 dst_u += ycbcr.cstride; in render()
383 dst_v += ycbcr.cstride; in render()
/frameworks/av/media/libstagefright/omx/
DSoftVideoEncoderOMXComponent.cpp401 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()
DOMXUtils.cpp267 size_t cstride = align(params.nStride / 2, 16); in DescribeDefaultColorFormat() local
272 image.mPlane[image.V].mRowInc = cstride; in DescribeDefaultColorFormat()
277 + (cstride * params.nSliceHeight / 2); in DescribeDefaultColorFormat()
279 image.mPlane[image.U].mRowInc = cstride; in DescribeDefaultColorFormat()
/frameworks/av/services/camera/virtualcamera/tests/
DJpegUtilTest.cc83 cb[r * ycbr.cstride + c * ycbr.chroma_step] = 0xff / 2; in createHardwareBufferForTest()
84 cr[r * ycbr.cstride + c * ycbr.chroma_step] = 0xff / 2; in createHardwareBufferForTest()
/frameworks/av/services/camera/virtualcamera/util/
DJpegUtil.cc175 cb += ycbr.cstride; in compress()
176 cr += ycbr.cstride; in compress()
/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp657 || ycbcrLayout.cstride == 0 in PopulatePlaneLayout()
664 ycbcrLayout.ystride, ycbcrLayout.cstride, ycbcrLayout.chroma_step); in PopulatePlaneLayout()
690 (int32_t)ycbcrLayout.cstride, // rowInc in PopulatePlaneLayout()
703 (int32_t)ycbcrLayout.cstride, // rowInc in PopulatePlaneLayout()
796 && ycbcrLayout.cstride > 0 in PopulatePlaneLayout()
820 (int32_t)ycbcrLayout.cstride, // rowInc in PopulatePlaneLayout()
833 (int32_t)ycbcrLayout.cstride, // rowInc in PopulatePlaneLayout()
/frameworks/native/libs/ui/
DGralloc5.cpp642 ycbcr.cstride = 0; in lock()
684 if (ycbcr.cstride == 0 && ycbcr.chroma_step == 0) { in lock()
685 ycbcr.cstride = planeLayout.strideInBytes; in lock()
688 if ((static_cast<int64_t>(ycbcr.cstride) != planeLayout.strideInBytes) || in lock()
DGralloc4.cpp327 ycbcr.cstride = 0; in lock()
369 if (ycbcr.cstride == 0 && ycbcr.chroma_step == 0) { in lock()
370 ycbcr.cstride = planeLayout.strideInBytes; in lock()
373 if ((static_cast<int64_t>(ycbcr.cstride) != planeLayout.strideInBytes) || in lock()
DGralloc2.cpp318 ycbcr->cstride = static_cast<size_t>(layout.cStride); in lock()
DGralloc3.cpp276 ycbcr->cstride = static_cast<size_t>(layout.cStride); in lock()
/frameworks/native/libs/gui/
DCpuConsumer.cpp116 outBuffer->chromaStride = static_cast<uint32_t>(ycbcr.cstride); in lockBufferItem()
/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp313 outPlanes->planes[1].rowStride = yuvData.cstride; in AHardwareBuffer_lockPlanes()
316 outPlanes->planes[2].rowStride = yuvData.cstride; in AHardwareBuffer_lockPlanes()
/frameworks/base/media/jni/
Dandroid_media_Utils.cpp601 outputImage->chromaStride = static_cast<uint32_t>(ycbcr.cstride); in lockImageFromBuffer()