Searched refs:Cb (Results 1 – 4 of 4) sorted by relevance
| /libtiff-4.0.7/libtiff/ |
| H A D | tif_color.c | 183 TIFFYCbCrtoRGB(TIFFYCbCrToRGB *ycbcr, uint32 Y, int32 Cb, int32 Cr, in TIFFYCbCrtoRGB() argument 190 Cb = CLAMP(Cb, 0, 255); in TIFFYCbCrtoRGB() 196 + (int)((ycbcr->Cb_g_tab[Cb] + ycbcr->Cr_g_tab[Cr]) >> SHIFT); in TIFFYCbCrtoRGB() 198 i = ycbcr->Y_tab[Y] + ycbcr->Cb_b_tab[Cb]; in TIFFYCbCrtoRGB() 261 int32 Cb = (int32)Code2V(x, refBlackWhite[2] - 128.0F, in TIFFYCbCrToRGBInit() local 265 ycbcr->Cb_b_tab[i] = (int32)((D3*Cb + ONE_HALF)>>SHIFT); in TIFFYCbCrToRGBInit() 267 ycbcr->Cb_g_tab[i] = D4*Cb + ONE_HALF; in TIFFYCbCrToRGBInit()
|
| H A D | tif_getimage.c | 1781 int32 Cb, Cr; in putcontig8bitYCbCrGenericTile() local 1798 Cb = pp in putcontig8bitYCbCrGenericTile() 1804 Cb = pp[16]; in putcontig8bitYCbCrGenericTile() 2078 uint32 Cb = pp[4]; in DECLAREContigPutFunc() local 2090 uint32 Cb = pp[4]; in DECLAREContigPutFunc() local 2106 uint32 Cb = pp[4]; in DECLAREContigPutFunc() local 2116 uint32 Cb = pp[4]; in DECLAREContigPutFunc() local 2133 int32 Cb = pp[2]; in DECLAREContigPutFunc() local 2146 int32 Cb = pp[2]; in DECLAREContigPutFunc() local 2173 uint32 Cb = pp[2]; in DECLAREContigPutFunc() local [all …]
|
| /libtiff-4.0.7/archive/tools/ |
| H A D | ycbcr.c | 119 float Y, Cb, Cr; in check() local 126 Cb = (B - Y)*D2; in check() 129 iCb = V2Code(Cb, refBlackWhite[2], refBlackWhite[3], 127); in check() 142 printf(" Y %g Cb %g Cr %g", Y, Cb, Cr); in check()
|
| /libtiff-4.0.7/tools/ |
| H A D | rgb2ycbcr.c | 181 float Y, Cb = 0, Cr = 0; in cvtClump() local 194 Cb += (TIFFGetB(RGB) - Y) * D1; in cvtClump() 208 *op++ = V2Code(Cb / (ch*cw), refBlackWhite[2], refBlackWhite[3], 127); in cvtClump()
|