Home
last modified time | relevance | path

Searched refs:chromaStep (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/services/camera/libcameraservice/api1/client2/
DCallbackProcessor.cpp480 (chromaWidth * src.chromaStep); in convertFromFlexibleYuv()
487 if (cbSrc == crSrc + 1 && src.chromaStep == 2) { in convertFromFlexibleYuv()
502 crSrc += src.chromaStep; in convertFromFlexibleYuv()
503 cbSrc += src.chromaStep; in convertFromFlexibleYuv()
515 if (src.chromaStep == 1) { in convertFromFlexibleYuv()
535 crSrc += src.chromaStep; in convertFromFlexibleYuv()
536 cbSrc += src.chromaStep; in convertFromFlexibleYuv()
/frameworks/native/libs/gui/include/gui/
DCpuConsumer.h70 uint32_t chromaStep; member
88 chromaStep(0) in LockedBuffer()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp72 … uint8_t* crPlane, uint8_t* cbPlane, size_t chromaStep, size_t yStride, size_t chromaStride) { in rgbToYuv420() argument
88 cr += chromaStep; in rgbToYuv420()
89 cb += chromaStep; in rgbToYuv420()
265 size_t chromaStep = 2; in produceFrame() local
270 uPlane, vPlane, chromaStep, yStride, chromaStride); in produceFrame()
299 size_t chromaStep = 1; in produceFrame() local
306 crPlane, cbPlane, chromaStep, stride, cStride); in produceFrame()
/frameworks/native/libs/gui/
DCpuConsumer.cpp116 outBuffer->chromaStep = static_cast<uint32_t>(ycbcr.chroma_step); in lockBufferItem()
133 outBuffer->chromaStep = 0; in lockBufferItem()
/frameworks/base/media/jni/
Dandroid_media_Utils.cpp155 pStride = buffer->chromaStep; in getLockedImageInfo()
158 buffer->chromaStep * (buffer->width / 2 - 1) + 1; in getLockedImageInfo()
371 outputImage->chromaStep = static_cast<uint32_t>(ycbcr.chroma_step); in lockImageFromBuffer()
/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp703 uint32_t chromaStep; in map() member
722 mapLayout.chromaStep}; in map()
744 mapLayout.chromaStep}; in map()
776 (int32_t)ycbcrLayout.chromaStep, // colInc in map()
789 (int32_t)ycbcrLayout.chromaStep, // colInc in map()
802 if (uvOffset > 0 && uvOffset < (intptr_t)ycbcrLayout.chromaStep) { in map()
806 } else if (uvOffset < 0 && uvOffset > -(intptr_t)ycbcrLayout.chromaStep) { in map()
/frameworks/av/media/ndk/
DNdkImage.cpp260 *pixelStride = (planeIdx == 0) ? 1 : mLockedBuffer->chromaStep; in getPlanePixelStride()
455 mLockedBuffer->chromaStep * (mLockedBuffer->width / 2 - 1) + in getPlaneData()
/frameworks/av/services/camera/libcameraservice/api2/
DHeicCompositeStream.cpp1370 __FUNCTION__, yuvBuffer.chromaStep, yuvBuffer.chromaStride); in copyOneYuvTile()
1406 if (isCodecUvSemiplannar && yuvBuffer.chromaStep == 2 && in copyOneYuvTile()
1418 } else if (isCodecUvPlannar && yuvBuffer.chromaStep == 1) { in copyOneYuvTile()
1442 int32_t srcIndex = row * yuvBuffer.chromaStride + yuvBuffer.chromaStep * col; in copyOneYuvTile()
1449 srcIndex = row * yuvBuffer.chromaStride + yuvBuffer.chromaStep * col; in copyOneYuvTile()
/frameworks/native/libs/ui/
DGralloc2.cpp310 ycbcr->chroma_step = static_cast<size_t>(layout.chromaStep); in lock()
DGralloc3.cpp268 ycbcr->chroma_step = static_cast<size_t>(layout.chromaStep); in lock()