Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp583 const uint8_t *src_v = 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()
665 return [](void *src_y, void *src_u, void *src_v, size_t x, in getReadFromSrc()
670 *v = ((uint8_t*)src_v)[x / 2] - 128; in getReadFromSrc()
675 return [](void *src_y, void *src_u, void *src_v, size_t x, in getReadFromSrc() argument
680 *v = (uint8_t)(((uint16_t*)src_v)[x / 2] >> 2) - 128; in getReadFromSrc()
810 uint8_t *src_v = src_u + (src.mStride / 2) * (src.mHeight / 2); in convertYUV420Planar() local
815 readFromSrc(src_y, src_u, src_v, x, &y1, &y2, &u, &v); in convertYUV420Planar()
[all …]
DSoftwareRenderer.cpp306 const uint8_t *src_v = (const uint8_t *)src_u + mStride * mHeight / 4; in render() local
320 memcpy(dst_v, src_v, (mCropWidth + 1) / 2); in render()
323 src_v += mStride / 2; in render()
330 const uint8_t *src_v = (const uint8_t *)src_u + mStride * mHeight / 4; in render() local
347 dst_v[x] = (uint8_t)(((uint16_t *)src_v)[x] >> 2); in render()
351 src_v += mStride / 2; in render()
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp132 const uint8_t* src_v = view.data()[2]; in ImageCopy() local
167 if (!libyuv::NV21ToNV12(src_y, src_stride_y, src_v, src_stride_v, in ImageCopy()
174 libyuv::CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, width, height / 2); 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()
200 libyuv::CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, width / 2, height / 2); in ImageCopy()
217 const uint8_t* src_v = imgBase + img->mPlane[2].mOffset; in ImageCopy() local
251 if (!libyuv::NV21ToNV12(src_y, src_stride_y, src_v, src_stride_v, in ImageCopy()
258 libyuv::CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, width, height / 2); in ImageCopy()
[all …]