Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcEnc.cpp678 int32_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setEncodeArgs() local
704 yStride = width; in setEncodeArgs()
705 uStride = vStride = yStride / 2; in setEncodeArgs()
706 ConvertRGBToPlanarYUV(yPlane, yStride, height, in setEncodeArgs()
719 uStride == vStride && yStride == 2 * vStride) { in setEncodeArgs()
725 yStride = width; in setEncodeArgs()
726 uStride = vStride = yStride / 2; in setEncodeArgs()
732 CreateYUV420PlanarMediaImage2(width, height, yStride, height); in setEncodeArgs()
761 ps_encode_ip->ai4_inp_strd[0] = yStride; in setEncodeArgs()
765 ps_encode_ip->ai4_inp_size[0] = yStride * height; in setEncodeArgs()
[all …]
/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()
520 && yStride == align(width, 16) in process()
522 && yStride == 2 * vStride) { in process()
541 yStride = width; in process()
/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/avc/
DC2SoftAvcEnc.cpp1255 int32_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setEncodeArgs() local
1276 yStride = width; in setEncodeArgs()
1277 uStride = vStride = yStride / 2; in setEncodeArgs()
1278 ConvertRGBToPlanarYUV(yPlane, yStride, height, conversionBuffer.size(), *input); in setEncodeArgs()
1291 && yStride == 2 * vStride) { in setEncodeArgs()
1297 yStride = width; in setEncodeArgs()
1298 uStride = vStride = yStride / 2; in setEncodeArgs()
1301 MediaImage2 img = CreateYUV420PlanarMediaImage2(width, height, yStride, height); in setEncodeArgs()
1339 ps_inp_raw_buf->au4_strd[0] = yStride; in setEncodeArgs()
1368 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()