Home
last modified time | relevance | path

Searched refs:yStride (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcEnc.cpp583 int32_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setEncodeArgs() local
609 yStride = width; in setEncodeArgs()
610 uStride = vStride = yStride / 2; in setEncodeArgs()
611 ConvertRGBToPlanarYUV(yPlane, yStride, height, in setEncodeArgs()
624 uStride == vStride && yStride == 2 * vStride) { in setEncodeArgs()
630 yStride = width; in setEncodeArgs()
631 uStride = vStride = yStride / 2; in setEncodeArgs()
637 CreateYUV420PlanarMediaImage2(width, height, yStride, height); in setEncodeArgs()
666 ps_encode_ip->ai4_inp_strd[0] = yStride; in setEncodeArgs()
670 ps_encode_ip->ai4_inp_size[0] = yStride * height; in setEncodeArgs()
[all …]
/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
94 yPlane += yStride; in rgbToYuv420()
105 size_t yStride = ycbcr->ystride; in rgbToYuv420() local
106 ALOGV("%s: yStride is: %zu, cStride is: %zu, cStep is: %zu", __FUNCTION__, yStride, cStride, in rgbToYuv420()
110 cStep, yStride, cStride); in rgbToYuv420()
266 size_t yStride = width; in produceFrame() local
270 uPlane, vPlane, chromaStep, yStride, chromaStride); in produceFrame()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Enc.cpp487 int32_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in process() local
505 yStride = width; in process()
507 ConvertRGBToPlanarYUV(yPlane, yStride, height, conversionBuffer.size(), *rView.get()); in process()
521 && yStride == 2 * vStride) { in process()
539 yStride = width; in process()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcEnc.cpp1253 int32_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setEncodeArgs() local
1274 yStride = width; in setEncodeArgs()
1275 uStride = vStride = yStride / 2; in setEncodeArgs()
1276 ConvertRGBToPlanarYUV(yPlane, yStride, height, conversionBuffer.size(), *input); in setEncodeArgs()
1289 && yStride == 2 * vStride) { in setEncodeArgs()
1295 yStride = width; in setEncodeArgs()
1296 uStride = vStride = yStride / 2; in setEncodeArgs()
1299 MediaImage2 img = CreateYUV420PlanarMediaImage2(width, height, yStride, height); in setEncodeArgs()
1337 ps_inp_raw_buf->au4_strd[0] = yStride; in setEncodeArgs()
1366 ps_inp_raw_buf->au4_strd[0] = yStride; in setEncodeArgs()
/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp701 uint32_t yStride; in map() member
720 mapLayout.yStride, in map()
742 mapLayout.yStride, in map()
764 (int32_t)ycbcrLayout.yStride, // rowInc in map()
/frameworks/native/libs/ui/
DGralloc2.cpp308 ycbcr->ystride = static_cast<size_t>(layout.yStride); in lock()
DGralloc3.cpp266 ycbcr->ystride = static_cast<size_t>(layout.yStride); in lock()