Home
last modified time | relevance | path

Searched refs:inputRGB (Results 1 – 4 of 4) sorted by relevance

/external/opencore/codecs_v2/utilities/colorconvert/src/
Dccrgb24toyuv420.cpp220 uint8 *inputRGB = NULL; in ccrgb24toyuv() local
236 inputRGB = rgb24; in ccrgb24toyuv()
279 inputRGB += ((width - width_16) >> 1) * 3; in ccrgb24toyuv()
296 inputRGB += (((height - height_16) >> 1) * width) * 3; in ccrgb24toyuv()
302 inputRGB += (((height - height_16) >> 1) * width + ((width - width_16) >> 1)) * 3; in ccrgb24toyuv()
325 inputRGB += (jlimit - 1) * width * 3 ; // move to last row in ccrgb24toyuv()
334 … *tempY++ = y_tab[(6616*inputRGB[i] + (inputRGB[i+1] << 16) + 19481 * inputRGB[i+2]) >> 16]; in ccrgb24toyuv()
340 …*tempU++ = (unsigned char)((cb_tab[((inputRGB[i] << 16) - (inputRGB[i+1] << 16) + 19525 * (inputRG… in ccrgb24toyuv()
341 …cb_tab[((inputRGB[i-3] << 16) - (inputRGB[i-2] << 16) + 19525 * (inputRGB[i-3] - inputRGB[i-1])) >… in ccrgb24toyuv()
347 …*tempV++ = (unsigned char)((cr_tab[((inputRGB[i+2] << 16) - (inputRGB[i+1] << 16) + 6640 * (inputR… in ccrgb24toyuv()
[all …]
Dccrgb12toyuv420.cpp218 uint32 *inputRGB = NULL; in ccrgb12toyuv() local
243 inputRGB = (uint32*) rgb12; in ccrgb12toyuv()
287 inputRGB += (width - width_16) >> 2; in ccrgb12toyuv()
304 inputRGB += (((height - height_16) >> 1) * width) >> 1; in ccrgb12toyuv()
318 inputRGB += (((height - height_16) >> 1) * width + ((width - width_16) >> 1)) >> 1 ; in ccrgb12toyuv()
343 inputRGB += (jlimit - 1) * (width >> 1) ; // move to last row in ccrgb12toyuv()
355 pixels = inputRGB[i]; in ccrgb12toyuv()
360 pixels = inputRGB[i+1]; in ccrgb12toyuv()
366 pixels = inputRGB[i+2]; in ccrgb12toyuv()
371 pixels = inputRGB[i+3]; in ccrgb12toyuv()
[all …]
Dccrgb16toyuv420.cpp219 uint16 *inputRGB = (uint16*)rgb16; in ccrgb16toyuv() local
260 pixels = inputRGB[i]; in ccrgb16toyuv()
273 pixels = inputRGB[i+pitch_src]; in ccrgb16toyuv()
288 pixels = inputRGB[i+1]; in ccrgb16toyuv()
301 pixels = inputRGB[i+1+pitch_src]; in ccrgb16toyuv()
373 inputRGB += pitch_src << 1; in ccrgb16toyuv()
385 uint16 *inputRGB = (uint16*)rgb16; in ccrgb16toyuv_wo_colorkey() local
416 inputRGB += (jlimit - 1) * width_dst; // move to last row in ccrgb16toyuv_wo_colorkey()
431 pixels = inputRGB[i]; in ccrgb16toyuv_wo_colorkey()
440 pixels = inputRGB[i+pitch_src]; in ccrgb16toyuv_wo_colorkey()
[all …]
Dcpvvideoblend.cpp117 uint8 *inputRGB; in BlendInput() local
168 inputRGB = pBitmap->pBuffer; in BlendInput()
193 if (!BitmapInput->Convert(inputRGB, outYUV)) in BlendInput()