Searched refs:dst_y (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/libstagefright/colorconversion/ |
D | SoftwareRenderer.cpp | 36 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/ |
D | Codec2BufferUtils.cpp | 136 uint8_t* dst_y = imgBase + img->mPlane[0].mOffset; in ImageCopy() local 148 libyuv::CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in ImageCopy() 154 dst_y, dst_stride_y, dst_v, dst_stride_v, width, height)) { in ImageCopy() 159 if (!libyuv::NV12ToI420(src_y, src_stride_y, src_u, src_stride_u, dst_y, dst_stride_y, in ImageCopy() 168 dst_y, dst_stride_y, dst_u, dst_stride_u, width, height)) { in ImageCopy() 173 libyuv::CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in ImageCopy() 178 if (!libyuv::NV21ToI420(src_y, src_stride_y, src_v, src_stride_v, dst_y, dst_stride_y, in ImageCopy() 187 dst_y, dst_stride_y, dst_u, dst_stride_u, width, height)) { in ImageCopy() 193 dst_y, dst_stride_y, dst_v, dst_stride_v, width, height)) { in ImageCopy() 198 libyuv::CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in ImageCopy() [all …]
|