Home
last modified time | relevance | path

Searched refs:dst_y (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/colorconversion/
DSoftwareRenderer.cpp36 uint8_t **dst_y, uint8_t **dst_u, uint8_t **dst_v) { in initDstYUV() argument
37 *dst_y = (uint8_t *)ycbcr.y + cropTop * ycbcr.ystride + cropLeft; in initDstYUV()
308 uint8_t *dst_y, *dst_u, *dst_v; in render() local
309 initDstYUV(ycbcr, mCropTop, mCropLeft, &dst_y, &dst_u, &dst_v); in render()
312 memcpy(dst_y, src_y, mCropWidth); in render()
315 dst_y += ycbcr.ystride; in render()
332 uint8_t *dst_y, *dst_u, *dst_v; in render() local
333 initDstYUV(ycbcr, mCropTop, mCropLeft, &dst_y, &dst_u, &dst_v); in render()
337 dst_y[x] = (uint8_t)(((uint16_t *)src_y)[x] >> 2); in render()
341 dst_y += ycbcr.ystride; in render()
[all …]
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp132 uint8_t* dst_y = imgBase + img->mPlane[0].mOffset; in ImageCopy() local
139 if (!libyuv::NV12ToI420(src_y, src_stride_y, src_u, src_stride_u, dst_y, dst_stride_y, in ImageCopy()
146 dst_y, dst_stride_y, dst_u, dst_stride_u, view.crop().width, in ImageCopy()
167 uint8_t* dst_y = view.data()[0]; in ImageCopy() local
174 if (!libyuv::NV12ToI420(src_y, src_stride_y, src_u, src_stride_u, dst_y, dst_stride_y, in ImageCopy()
181 dst_y, dst_stride_y, dst_u, dst_stride_u, view.width(), in ImageCopy()