Searched refs:refBlackWhite (Results 1 – 2 of 2) sorted by relevance
/external/pdfium/third_party/libtiff/ |
D | tif_color.c | 234 TIFFYCbCrToRGBInit(TIFFYCbCrToRGB* ycbcr, float *luma, float *refBlackWhite) in TIFFYCbCrToRGBInit() argument 274 int32 Cr = (int32)CLAMPw(Code2V(x, refBlackWhite[4] - 128.0F, in TIFFYCbCrToRGBInit() 275 refBlackWhite[5] - 128.0F, 127), in TIFFYCbCrToRGBInit() 277 int32 Cb = (int32)CLAMPw(Code2V(x, refBlackWhite[2] - 128.0F, in TIFFYCbCrToRGBInit() 278 refBlackWhite[3] - 128.0F, 127), in TIFFYCbCrToRGBInit() 286 (int32)CLAMPw(Code2V(x + 128, refBlackWhite[0], refBlackWhite[1], 255), in TIFFYCbCrToRGBInit()
|
D | tif_getimage.c | 2326 float *luma, *refBlackWhite; in initYCbCrConversion() local 2344 &refBlackWhite); in initYCbCrConversion() 2358 if( !isInRefBlackWhiteRange(refBlackWhite[0]) || in initYCbCrConversion() 2359 !isInRefBlackWhiteRange(refBlackWhite[1]) || in initYCbCrConversion() 2360 !isInRefBlackWhiteRange(refBlackWhite[2]) || in initYCbCrConversion() 2361 !isInRefBlackWhiteRange(refBlackWhite[3]) || in initYCbCrConversion() 2362 !isInRefBlackWhiteRange(refBlackWhite[4]) || in initYCbCrConversion() 2363 !isInRefBlackWhiteRange(refBlackWhite[5]) ) in initYCbCrConversion() 2370 if (TIFFYCbCrToRGBInit(img->ycbcr, luma, refBlackWhite) < 0) in initYCbCrConversion()
|