Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp286 const uint8_t *src_u = in convertYUV420PlanarUseLibYUV() local
291 src_u + (src.mStride / 2) * (src.mHeight / 2); in convertYUV420PlanarUseLibYUV()
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()
325 *u = ((uint8_t*)src_u)[x / 2] - 128; in getReadFromSrc()
329 return [](void *src_y, void *src_u, void *src_v, size_t x, in getReadFromSrc() argument
333 *u = (signed)(((uint16_t*)src_u)[x / 2] >> 2) - 128; in getReadFromSrc()
426 uint8_t *src_u = (uint8_t *)src.mBits + src.mStride * src.mHeight in convertYUV420Planar() local
[all …]
DSoftwareRenderer.cpp286 const uint8_t *src_u = in render() local
288 const uint8_t *src_v = src_u + (mWidth / 2 * mHeight / 2); in render()
291 src_u +=(mCropLeft + mCropTop * mWidth / 2)/2; in render()
313 memcpy(dst_u, src_u, (mCropWidth + 1) / 2); in render()
316 src_u += mWidth / 2; in render()
323 const uint16_t *src_u = (const uint16_t *)data + mWidth * mHeight; in render() local
324 const uint16_t *src_v = src_u + (mWidth / 2 * mHeight / 2); in render()
327 src_u += (mCropLeft + mCropTop * mWidth / 2) / 2; in render()
352 dst_u[x] = (uint8_t)(src_u[x] >> 2); in render()
356 src_u += mWidth / 2; in render()