Searched refs:g2 (Results 1 – 4 of 4) sorted by relevance
| /libtiff-4.0.7/libtiff/ |
| H A D | tif_pixarlog.c | 947 int32 r1, g1, b1, a1, r2, g2, b2, a2, mask; in horizontalDifferenceF() local 959 g2 = wp[1] = (uint16) CLAMP(ip[1]); in horizontalDifferenceF() 967 g1 = (int32) CLAMP(ip[1]); wp[1] = (uint16)((g1-g2) & mask); g2 = g1; in horizontalDifferenceF() 972 g2 = wp[1] = (uint16) CLAMP(ip[1]); in horizontalDifferenceF() 981 g1 = (int32) CLAMP(ip[1]); wp[1] = (uint16)((g1-g2) & mask); g2 = g1; in horizontalDifferenceF() 1002 register int r1, g1, b1, a1, r2, g2, b2, a2, mask; in horizontalDifference16() local 1019 g1 = CLAMP(ip[1]); wp[1] = (uint16)((g1-g2) & mask); g2 = g1; in horizontalDifference16() 1031 g1 = CLAMP(ip[1]); wp[1] = (uint16)((g1-g2) & mask); g2 = g1; in horizontalDifference16() 1053 register int r1, g1, b1, a1, r2, g2, b2, a2, mask; in horizontalDifference8() local 1067 g1 = CLAMP(ip[4]); wp[4] = (uint16)((g1-g2) & mask); g2 = g1; in horizontalDifference8() [all …]
|
| H A D | tif_predict.c | 524 unsigned int g2 = cp[1]; in horDiff8() local 528 g1 = cp[4]; cp[4] = (unsigned char)((g1-g2)&0xff); g2 = g1; in horDiff8() 535 unsigned int g2 = cp[1]; in horDiff8() local 540 g1 = cp[5]; cp[5] = (unsigned char)((g1-g2)&0xff); g2 = g1; in horDiff8()
|
| H A D | tif_getimage.c | 1707 uint32 r2,g2,b2,a2; in DECLARESepPutFunc() local 1713 g2 = m[img->Bitdepth16To8[*wg++]]; in DECLARESepPutFunc() 1715 *cp++ = PACK4(r2,g2,b2,a2); in DECLARESepPutFunc()
|
| /libtiff-4.0.7/tools/ |
| H A D | tiffmedian.c | 842 register int oval, r2, g2, b2; in quant_fsdither() local 846 GetComponent(*thisptr++, g2, green); in quant_fsdither() 848 oval = histogram[r2][g2][b2]; in quant_fsdither() 856 ((g2>>(B_DEPTH-C_DEPTH)) << C_DEPTH ) + in quant_fsdither() 866 tmp = (gm[cj] >> COLOR_SHIFT) - g2; in quant_fsdither() 875 histogram[r2][g2][b2] = oval; in quant_fsdither()
|