Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp290 const uint8_t *src_v = in convertYUV420PlanarUseLibYUV() local
295 libyuv::I420ToRGB565(src_y, src.mStride, src_u, src.mStride / 2, src_v, src.mStride / 2, in convertYUV420PlanarUseLibYUV()
300 libyuv::ConvertFromI420(src_y, src.mStride, src_u, src.mStride / 2, src_v, src.mStride / 2, in convertYUV420PlanarUseLibYUV()
305 libyuv::ConvertFromI420(src_y, src.mStride, src_u, src.mStride / 2, src_v, src.mStride / 2, in convertYUV420PlanarUseLibYUV()
321 return [](void *src_y, void *src_u, void *src_v, size_t x, in getReadFromSrc()
326 *v = ((uint8_t*)src_v)[x / 2] - 128; in getReadFromSrc()
329 return [](void *src_y, void *src_u, void *src_v, size_t x, in getReadFromSrc() argument
334 *v = (signed)(((uint16_t*)src_v)[x / 2] >> 2) - 128; in getReadFromSrc()
429 uint8_t *src_v = src_u + (src.mStride / 2) * (src.mHeight / 2); in convertYUV420Planar() local
452 readFromSrc(src_y, src_u, src_v, x, &y1, &y2, &u, &v); in convertYUV420Planar()
[all …]
DSoftwareRenderer.cpp288 const uint8_t *src_v = src_u + (mWidth / 2 * mHeight / 2); in render() local
292 src_v +=(mCropLeft + mCropTop * mWidth / 2)/2; in render()
314 memcpy(dst_v, src_v, (mCropWidth + 1) / 2); in render()
317 src_v += mWidth / 2; in render()
324 const uint16_t *src_v = src_u + (mWidth / 2 * mHeight / 2); in render() local
328 src_v += (mCropLeft + mCropTop * mWidth / 2) / 2; in render()
353 dst_v[x] = (uint8_t)(src_v[x] >> 2); in render()
357 src_v += mWidth / 2; in render()