Searched refs:b2 (Results 1 – 5 of 5) 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 960 b2 = wp[2] = (uint16) CLAMP(ip[2]); in horizontalDifferenceF() 968 b1 = (int32) CLAMP(ip[2]); wp[2] = (uint16)((b1-b2) & mask); b2 = b1; in horizontalDifferenceF() 973 b2 = wp[2] = (uint16) CLAMP(ip[2]); in horizontalDifferenceF() 982 b1 = (int32) CLAMP(ip[2]); wp[2] = (uint16)((b1-b2) & mask); b2 = b1; in horizontalDifferenceF() 1012 b2 = wp[2] = CLAMP(ip[2]); in horizontalDifference16() 1020 b1 = CLAMP(ip[2]); wp[2] = (uint16)((b1-b2) & mask); b2 = b1; in horizontalDifference16() 1032 b1 = CLAMP(ip[2]); wp[2] = (uint16)((b1-b2) & mask); b2 = b1; in horizontalDifference16() 1062 b2 = wp[2] = CLAMP(ip[2]); in horizontalDifference8() 1068 b1 = CLAMP(ip[5]); wp[5] = (uint16)((b1-b2) & mask); b2 = b1; in horizontalDifference8() [all …]
|
| H A D | tif_predict.c | 525 unsigned int b2 = cp[2]; in horDiff8() local 529 b1 = cp[5]; cp[5] = (unsigned char)((b1-b2)&0xff); b2 = b1; in horDiff8() 536 unsigned int b2 = cp[2]; in horDiff8() local 541 b1 = cp[6]; cp[6] = (unsigned char)((b1-b2)&0xff); b2 = b1; in horDiff8()
|
| H A D | tif_fax3.c | 1011 uint32 a2, b2; in Fax3Encode2DRow() local 1014 b2 = finddiff2(rp, b1, bits, PIXEL(rp,b1)); in Fax3Encode2DRow() 1015 if (b2 >= a1) { in Fax3Encode2DRow() 1034 a0 = b2; in Fax3Encode2DRow()
|
| H A D | tif_getimage.c | 1707 uint32 r2,g2,b2,a2; in DECLARESepPutFunc() local 1714 b2 = m[img->Bitdepth16To8[*wb++]]; 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 847 GetComponent(*thisptr++, b2, blue); in quant_fsdither() 848 oval = histogram[r2][g2][b2]; in quant_fsdither() 857 (b2>>(B_DEPTH-C_DEPTH)))); in quant_fsdither() 868 tmp = (bm[cj] >> COLOR_SHIFT) - b2; in quant_fsdither() 875 histogram[r2][g2][b2] = oval; in quant_fsdither()
|