Home
last modified time | relevance | path

Searched refs:src_y (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp576 const uint8_t *src_y = in convertYUV420PlanarUseLibYUV() local
590 (*func)(src_y, src.mStride, src_u, src.mStride / 2, src_v, src.mStride / 2, in convertYUV420PlanarUseLibYUV()
598 (*func)(src_y, src.mStride, src_u, src.mStride / 2, src_v, src.mStride / 2, in convertYUV420PlanarUseLibYUV()
606 (*func)(src_y, src.mStride, src_u, src.mStride / 2, src_v, src.mStride / 2, in convertYUV420PlanarUseLibYUV()
630 const uint8_t *src_y = in convertYUV420SemiPlanarUseLibYUV() local
639 libyuv::NV12ToRGB565(src_y, src.mStride, src_u, src.mStride, (uint8_t *)dst_ptr, in convertYUV420SemiPlanarUseLibYUV()
644 libyuv::NV12ToARGB(src_y, src.mStride, src_u, src.mStride, (uint8_t *)dst_ptr, in convertYUV420SemiPlanarUseLibYUV()
649 libyuv::NV12ToABGR(src_y, src.mStride, src_u, src.mStride, (uint8_t *)dst_ptr, in convertYUV420SemiPlanarUseLibYUV()
665 return [](void *src_y, void *src_u, void *src_v, size_t x, in getReadFromSrc()
667 *y1 = ((uint8_t*)src_y)[x]; in getReadFromSrc()
[all …]
DSoftwareRenderer.cpp304 const uint8_t *src_y = (const uint8_t *)data + mCropTop * mStride + mCropLeft; in render() local
312 memcpy(dst_y, src_y, mCropWidth); in render()
314 src_y += mStride; in render()
328 const uint8_t *src_y = (const uint8_t *)data + mCropTop * mStride + mCropLeft * 2; in render() local
337 dst_y[x] = (uint8_t)(((uint16_t *)src_y)[x] >> 2); in render()
340 src_y += mStride; in render()
357 const uint8_t *src_y = (const uint8_t *)data; in render() local
361 src_y += mCropLeft + mCropTop * mWidth; in render()
368 memcpy(dst_y, src_y, mCropWidth); in render()
370 src_y += mWidth; in render()
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp130 const uint8_t* src_y = view.data()[0]; in ImageCopy() local
148 libyuv::CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in ImageCopy()
153 if (!libyuv::NV21ToNV12(src_y, src_stride_y, src_u, src_stride_u, in ImageCopy()
159 if (!libyuv::NV12ToI420(src_y, src_stride_y, src_u, src_stride_u, dst_y, dst_stride_y, in ImageCopy()
167 if (!libyuv::NV21ToNV12(src_y, src_stride_y, src_v, src_stride_v, 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()
186 if (!libyuv::I420ToNV12(src_y, src_stride_y, src_u, src_stride_u, src_v, src_stride_v, in ImageCopy()
192 if (!libyuv::I420ToNV21(src_y, src_stride_y, src_u, src_stride_u, src_v, src_stride_v, in ImageCopy()
198 libyuv::CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in ImageCopy()
[all …]