Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp338 const uint8_t *src_y = in convertYUV420PlanarUseLibYUV() local
352 (*func)(src_y, src.mStride, src_u, src.mStride / 2, src_v, src.mStride / 2, in convertYUV420PlanarUseLibYUV()
360 (*func)(src_y, src.mStride, src_u, src.mStride / 2, src_v, src.mStride / 2, in convertYUV420PlanarUseLibYUV()
368 (*func)(src_y, src.mStride, src_u, src.mStride / 2, src_v, src.mStride / 2, in convertYUV420PlanarUseLibYUV()
385 const uint8_t *src_y = in convertYUV420SemiPlanarUseLibYUV() local
394 libyuv::NV12ToRGB565(src_y, src.mStride, src_u, src.mStride, (uint8 *)dst_ptr, in convertYUV420SemiPlanarUseLibYUV()
399 libyuv::NV12ToARGB(src_y, src.mStride, src_u, src.mStride, (uint8 *)dst_ptr, in convertYUV420SemiPlanarUseLibYUV()
404 libyuv::NV12ToABGR(src_y, src.mStride, src_u, src.mStride, (uint8 *)dst_ptr, in convertYUV420SemiPlanarUseLibYUV()
420 return [](void *src_y, void *src_u, void *src_v, size_t x, in getReadFromSrc()
422 *y1 = ((uint8_t*)src_y)[x] - 16; in getReadFromSrc()
[all …]
DSoftwareRenderer.cpp288 const uint8_t *src_y = (const uint8_t *)data + mCropTop * mStride + mCropLeft; in render() local
304 memcpy(dst_y, src_y, mCropWidth); in render()
306 src_y += mStride; in render()
320 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()
377 memcpy(dst_y, src_y, mCropWidth); in render()
379 src_y += mWidth; in render()
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp126 const uint8_t* src_y = view.data()[0]; in ImageCopy() local
139 if (!libyuv::NV12ToI420(src_y, src_stride_y, src_u, src_stride_u, dst_y, dst_stride_y, in ImageCopy()
145 if (!libyuv::I420ToNV12(src_y, src_stride_y, src_u, src_stride_u, src_v, src_stride_v, in ImageCopy()
161 const uint8_t* src_y = imgBase + img->mPlane[0].mOffset; in ImageCopy() local
174 if (!libyuv::NV12ToI420(src_y, src_stride_y, src_u, src_stride_u, dst_y, dst_stride_y, in ImageCopy()
180 if (!libyuv::I420ToNV12(src_y, src_stride_y, src_u, src_stride_u, src_v, src_stride_v, in ImageCopy()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp247 float src_y = viewport.top; in setProjection() local
250 TL.set(-src_x, -src_y); in setProjection()