Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/include/gui/
DCpuConsumer.h70 uint32_t chromaStep; member
88 chromaStep(0) in LockedBuffer()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DCallbackProcessor.cpp491 (chromaWidth * src.chromaStep); in convertFromFlexibleYuv()
498 if (cbSrc == crSrc + 1 && src.chromaStep == 2) { in convertFromFlexibleYuv()
513 crSrc += src.chromaStep; in convertFromFlexibleYuv()
514 cbSrc += src.chromaStep; in convertFromFlexibleYuv()
526 if (src.chromaStep == 1) { in convertFromFlexibleYuv()
546 crSrc += src.chromaStep; in convertFromFlexibleYuv()
547 cbSrc += src.chromaStep; in convertFromFlexibleYuv()
/frameworks/base/media/jni/
Dandroid_media_Utils.cpp212 pStride = buffer->chromaStep; in getLockedImageInfo()
215 buffer->chromaStep * (buffer->width / 2 - 1) + 1; in getLockedImageInfo()
329 pStride = buffer->chromaStep; in getLockedImageInfo()
332 buffer->chromaStep * (buffer->width / 2); in getLockedImageInfo()
543 outputImage->chromaStep = 4; in extractP010Gralloc4PlaneLayout()
602 outputImage->chromaStep = static_cast<uint32_t>(ycbcr.chroma_step); in lockImageFromBuffer()
/frameworks/native/libs/gui/
DCpuConsumer.cpp117 outBuffer->chromaStep = static_cast<uint32_t>(ycbcr.chroma_step); in lockBufferItem()
134 outBuffer->chromaStep = 0; in lockBufferItem()
/frameworks/av/media/ndk/
DNdkImage.cpp262 *pixelStride = (planeIdx == 0) ? 1 : mLockedBuffer->chromaStep; in getPlanePixelStride()
269 *pixelStride = (planeIdx == 0) ? 2 : mLockedBuffer->chromaStep; in getPlanePixelStride()
471 mLockedBuffer->chromaStep * (mLockedBuffer->width / 2 - 1) + in getPlaneData()
531 bytesPerPixel = mLockedBuffer->chromaStep; in getPlaneData()
/frameworks/av/services/camera/libcameraservice/api2/
DHeicCompositeStream.cpp1549 __FUNCTION__, yuvBuffer.chromaStep, yuvBuffer.chromaStride); in copyOneYuvTile()
1585 if (isCodecUvSemiplannar && yuvBuffer.chromaStep == 2 && in copyOneYuvTile()
1597 } else if (isCodecUvPlannar && yuvBuffer.chromaStep == 1) { in copyOneYuvTile()
1621 int32_t srcIndex = row * yuvBuffer.chromaStride + yuvBuffer.chromaStep * col; in copyOneYuvTile()
1628 srcIndex = row * yuvBuffer.chromaStride + yuvBuffer.chromaStep * col; in copyOneYuvTile()
/frameworks/native/libs/ui/
DGralloc2.cpp319 ycbcr->chroma_step = static_cast<size_t>(layout.chromaStep); in lock()
DGralloc3.cpp277 ycbcr->chroma_step = static_cast<size_t>(layout.chromaStep); in lock()