/external/opencore/codecs_v2/utilities/colorconvert/src/ |
D | ccrgb24toyuv420.cpp | 228 int32 height_16 = ((height + 15) >> 4) << 4; in ccrgb24toyuv() local 233 int32 size16 = height_16 * width_16; in ccrgb24toyuv() 240 if (height < height_16 || width < width_16) /* if padding */ in ccrgb24toyuv() 242 int offset = (height < height_16) ? height : height_16; in ccrgb24toyuv() 266 if (height_16 > height) in ccrgb24toyuv() 270 i = ((height_16 - height) >> 1) * width_16 + (((width_16 - width) >> 3) << 2); in ccrgb24toyuv() 272 j = ((height_16 - height) >> 2) * (width_16 >> 1) + (((width_16 - width) >> 4) << 2); in ccrgb24toyuv() 277 i = ((height_16 - height) >> 1) * width_16; in ccrgb24toyuv() 278 j = ((height_16 - height) >> 2) * (width_16 >> 1); in ccrgb24toyuv() 296 inputRGB += (((height - height_16) >> 1) * width) * 3; in ccrgb24toyuv() [all …]
|
D | ccrgb12toyuv420.cpp | 235 int32 height_16 = ((height + 15) >> 4) << 4; in ccrgb12toyuv() local 240 int32 size16 = height_16 * width_16; in ccrgb12toyuv() 247 if (height < height_16 || width < width_16) in ccrgb12toyuv() 249 int offset = (height < height_16) ? height : height_16; in ccrgb12toyuv() 274 if (height_16 > height) in ccrgb12toyuv() 278 i = ((height_16 - height) >> 1) * width_16 + (((width_16 - width) >> 3) << 2); in ccrgb12toyuv() 280 j = ((height_16 - height) >> 2) * (width_16 >> 1) + (((width_16 - width) >> 4) << 2); in ccrgb12toyuv() 285 i = ((height_16 - height) >> 1) * width_16; in ccrgb12toyuv() 286 j = ((height_16 - height) >> 2) * (width_16 >> 1); in ccrgb12toyuv() 304 inputRGB += (((height - height_16) >> 1) * width) >> 1; in ccrgb12toyuv() [all …]
|
/external/opencore/codecs_v2/omx/omx_m4venc/src/ |
D | mpeg4_enc.cpp | 830 void Mpeg4Encoder_OMX::CopyToYUVIn(uint8 *YUV, Int width, Int height, Int width_16, Int height_16) in CopyToYUVIn() argument 835 Int size16 = width_16 * height_16; in CopyToYUVIn() 839 if (height < height_16 || width < width_16) /* if padding */ in CopyToYUVIn() 841 Int offset = (height < height_16) ? height : height_16; in CopyToYUVIn() 869 if (height_16 > height) in CopyToYUVIn() 873 i = ((height_16 - height) >> 1) * width_16 + (((width_16 - width) >> 3) << 2); in CopyToYUVIn() 875 j = ((height_16 - height) >> 2) * (width_16 >> 1) + (((width_16 - width) >> 4) << 2); in CopyToYUVIn() 880 i = ((height_16 - height) >> 1) * width_16; in CopyToYUVIn() 881 j = ((height_16 - height) >> 2) * (width_16 >> 1); in CopyToYUVIn() 901 YUV += (((height - height_16) >> 1) * width); in CopyToYUVIn() [all …]
|
/external/opencore/codecs_v2/omx/omx_h264enc/src/ |
D | avc_enc.cpp | 939 void AvcEncoder_OMX::CopyToYUVIn(uint8 *YUV, int width, int height, int width_16, int height_16) in CopyToYUVIn() argument 944 int size16 = width_16 * height_16; in CopyToYUVIn() 948 if (height < height_16 || width < width_16) /* if padding */ in CopyToYUVIn() 950 int offset = (height < height_16) ? height : height_16; in CopyToYUVIn() 978 if (height_16 > height) /* output taller than input */ in CopyToYUVIn() 982 i = ((height_16 - height) >> 1) * width_16 + (((width_16 - width) >> 3) << 2); in CopyToYUVIn() 984 j = ((height_16 - height) >> 2) * (width_16 >> 1) + (((width_16 - width) >> 4) << 2); in CopyToYUVIn() 989 i = ((height_16 - height) >> 1) * width_16; in CopyToYUVIn() 990 j = ((height_16 - height) >> 2) * (width_16 >> 1); in CopyToYUVIn() 1010 YUV += (((height - height_16) >> 1) * width); in CopyToYUVIn() [all …]
|
/external/opencore/codecs_v2/video/avc_h264/enc/src/ |
D | pvavcencoder.cpp | 730 void PVAVCEncoder::CopyToYUVIn(uint8 *YUV, int width, int height, int width_16, int height_16) in CopyToYUVIn() argument 735 int size16 = width_16 * height_16; in CopyToYUVIn() 739 if (height < height_16 || width < width_16) /* if padding */ in CopyToYUVIn() 741 int offset = (height < height_16) ? height : height_16; in CopyToYUVIn() 769 if (height_16 > height) /* output taller than input */ in CopyToYUVIn() 773 i = ((height_16 - height) >> 1) * width_16 + (((width_16 - width) >> 3) << 2); in CopyToYUVIn() 775 j = ((height_16 - height) >> 2) * (width_16 >> 1) + (((width_16 - width) >> 4) << 2); in CopyToYUVIn() 780 i = ((height_16 - height) >> 1) * width_16; in CopyToYUVIn() 781 j = ((height_16 - height) >> 2) * (width_16 >> 1); in CopyToYUVIn() 801 YUV += (((height - height_16) >> 1) * width); in CopyToYUVIn() [all …]
|
/external/opencore/codecs_v2/video/m4v_h263/enc/src/ |
D | pvm4vencoder.cpp | 1279 void CPVM4VEncoder::CopyToYUVIn(uint8 *YUV, Int width, Int height, Int width_16, Int height_16) in CopyToYUVIn() argument 1284 Int size16 = width_16 * height_16; in CopyToYUVIn() 1288 if (height < height_16 || width < width_16) /* if padding */ in CopyToYUVIn() 1290 Int offset = (height < height_16) ? height : height_16; in CopyToYUVIn() 1318 if (height_16 > height) /* output taller than input */ in CopyToYUVIn() 1322 i = ((height_16 - height) >> 1) * width_16 + (((width_16 - width) >> 3) << 2); in CopyToYUVIn() 1324 j = ((height_16 - height) >> 2) * (width_16 >> 1) + (((width_16 - width) >> 4) << 2); in CopyToYUVIn() 1329 i = ((height_16 - height) >> 1) * width_16; in CopyToYUVIn() 1330 j = ((height_16 - height) >> 2) * (width_16 >> 1); in CopyToYUVIn() 1350 YUV += (((height - height_16) >> 1) * width); in CopyToYUVIn() [all …]
|
D | mp4enc_api.cpp | 1364 Int width_16, height_16; in PVEncodeVideoFrame() local 1460 height_16 = ((height + 15) / 16) * 16; /* Round up to nearest multiple of 16 */ in PVEncodeVideoFrame() 1478 video->currVop->height = height_16; in PVEncodeVideoFrame() 1655 Int width_16, height_16; in PVEncodeFrameSet() local 1730 height_16 = ((height + 15) / 16) * 16; /* Round up to nearest multiple of 16 */ in PVEncodeFrameSet() 1748 video->currVop->height = height_16; in PVEncodeFrameSet()
|
/external/opencore/codecs_v2/omx/omx_m4venc/include/ |
D | mpeg4_enc.h | 100 void CopyToYUVIn(uint8* YUV, int width, int height, int width_16, int height_16);
|
/external/opencore/codecs_v2/omx/omx_h264enc/include/ |
D | avc_enc.h | 99 void CopyToYUVIn(uint8* YUV, int width, int height, int width_16, int height_16);
|
/external/opencore/codecs_v2/video/avc_h264/enc/include/ |
D | pvavcencoder.h | 71 void CopyToYUVIn(uint8* YUV, int width, int height, int width_16, int height_16);
|
/external/opencore/codecs_v2/video/m4v_h263/enc/include/ |
D | pvm4vencoder.h | 142 void CopyToYUVIn(uint8 *YUV, int width, int height, int width_16, int height_16);
|