/frameworks/av/media/libstagefright/omx/ |
D | SoftVideoEncoderOMXComponent.cpp | 393 uint8_t *dstU = dst + dstVStride * dstStride; in ConvertFlexYUVToPlanar() local 394 uint8_t *dstV = dstU + (dstVStride >> 1) * (dstStride >> 1); in ConvertFlexYUVToPlanar() 404 memcpy(dstU, srcU, width >> 1); in ConvertFlexYUVToPlanar() 405 dstU += dstStride >> 1; in ConvertFlexYUVToPlanar() 415 *dstU++ = *srcU; in ConvertFlexYUVToPlanar() 420 dstU += (dstStride >> 1) - (width >> 1); in ConvertFlexYUVToPlanar() 468 uint8_t *dstU = dstY + dstStride * dstVStride; in ConvertRGB32ToPlanar() local 469 uint8_t *dstV = dstU + (dstStride >> 1) * (dstVStride >> 1); in ConvertRGB32ToPlanar() 505 dstU[x >> 1] = U; in ConvertRGB32ToPlanar() 512 dstU += dstStride >> 1; in ConvertRGB32ToPlanar()
|
/frameworks/av/media/codec2/components/base/ |
D | SimpleC2Component.cpp | 38 void convertYUV420Planar8ToYV12(uint8_t *dstY, uint8_t *dstU, uint8_t *dstV, const uint8_t *srcY, in convertYUV420Planar8ToYV12() argument 53 memset(dstU, kNeutralUVBitDepth8, (width + 1) / 2); in convertYUV420Planar8ToYV12() 55 dstU += dstUVStride; in convertYUV420Planar8ToYV12() 67 memcpy(dstU, srcU, (width + 1) / 2); in convertYUV420Planar8ToYV12() 69 dstU += dstUVStride; in convertYUV420Planar8ToYV12() 346 void convertYUV420Planar16ToYV12(uint8_t *dstY, uint8_t *dstU, uint8_t *dstV, const uint16_t *srcY, in convertYUV420Planar16ToYV12() argument 363 memset(dstU, kNeutralUVBitDepth8, (width + 1) / 2); in convertYUV420Planar16ToYV12() 365 dstU += dstUVStride; in convertYUV420Planar16ToYV12() 372 dstU[x] = (uint8_t)(srcU[x] >> 2); in convertYUV420Planar16ToYV12() 377 dstU += dstUVStride; in convertYUV420Planar16ToYV12()
|
/frameworks/av/media/codec2/components/base/include/ |
D | SimpleC2Component.h | 33 void convertYUV420Planar8ToYV12(uint8_t *dstY, uint8_t *dstU, uint8_t *dstV, const uint8_t *srcY, 46 void convertYUV420Planar16ToYV12(uint8_t *dstY, uint8_t *dstU, uint8_t *dstV, const uint16_t *srcY,
|
/frameworks/av/media/codec2/sfplugin/utils/ |
D | Codec2BufferUtils.cpp | 564 uint8_t *dstU = dstY + dstStride * dstVStride; in ConvertRGBToPlanarYUV() local 565 uint8_t *dstV = dstU + (dstStride >> 1) * (dstVStride >> 1); in ConvertRGBToPlanarYUV() 602 dstU[x >> 1] = CLIP3(zeroLvl, U, maxLvlChroma); in ConvertRGBToPlanarYUV() 611 dstU += dstStride >> 1; in ConvertRGBToPlanarYUV()
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVpxDec.cpp | 756 uint8_t *dstU = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_U]); in outputBuffer() local 800 convertYUV420Planar16ToP010((uint16_t *)dstY, (uint16_t *)dstU, srcY, srcU, srcV, in outputBuffer() 804 convertYUV420Planar16ToYV12(dstY, dstU, dstV, srcY, srcU, srcV, srcYStride / 2, in outputBuffer() 813 convertYUV420Planar8ToYV12(dstY, dstU, dstV, srcY, srcU, srcV, srcYStride, srcUStride, in outputBuffer()
|
/frameworks/av/media/codec2/components/gav1/ |
D | C2SoftGav1Dec.cpp | 714 uint8_t *dstU = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_U]); in outputBuffer() local 736 convertYUV420Planar16ToP010((uint16_t *)dstY, (uint16_t *)dstU, srcY, srcU, srcV, in outputBuffer() 740 convertYUV420Planar16ToYV12(dstY, dstU, dstV, srcY, srcU, srcV, srcYStride / 2, in outputBuffer() 748 convertYUV420Planar8ToYV12(dstY, dstU, dstV, srcY, srcU, srcV, srcYStride, srcUStride, in outputBuffer()
|
/frameworks/av/media/codec2/components/aom/ |
D | C2SoftAomDec.cpp | 574 uint8_t* dstU = const_cast<uint8_t*>(wView.data()[C2PlanarLayout::PLANE_U]); in outputBuffer() local 594 convertYUV420Planar16ToYV12(dstY, dstU, dstV, srcY, srcU, srcV, srcYStride / 2, in outputBuffer() 602 convertYUV420Planar8ToYV12(dstY, dstU, dstV, srcY, srcU, srcV, srcYStride, srcUStride, in outputBuffer()
|