Home
last modified time | relevance | path

Searched refs:height_16 (Results 1 – 11 of 11) sorted by relevance

/external/opencore/codecs_v2/utilities/colorconvert/src/
Dccrgb24toyuv420.cpp228 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 …]
Dccrgb12toyuv420.cpp235 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/
Dmpeg4_enc.cpp830 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/
Davc_enc.cpp939 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/
Dpvavcencoder.cpp730 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/
Dpvm4vencoder.cpp1279 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 …]
Dmp4enc_api.cpp1364 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/
Dmpeg4_enc.h100 void CopyToYUVIn(uint8* YUV, int width, int height, int width_16, int height_16);
/external/opencore/codecs_v2/omx/omx_h264enc/include/
Davc_enc.h99 void CopyToYUVIn(uint8* YUV, int width, int height, int width_16, int height_16);
/external/opencore/codecs_v2/video/avc_h264/enc/include/
Dpvavcencoder.h71 void CopyToYUVIn(uint8* YUV, int width, int height, int width_16, int height_16);
/external/opencore/codecs_v2/video/m4v_h263/enc/include/
Dpvm4vencoder.h142 void CopyToYUVIn(uint8 *YUV, int width, int height, int width_16, int height_16);