Home | History | Annotate | Download | only in libtests

Lines Matching defs:sig_bits

1020          png_byte sig_bits[8];
1030 sig_bits[0] = sBIT->gray;
1035 sig_bits[0] = sBIT->gray;
1036 sig_bits[1] = sBIT->alpha;
1041 sig_bits[0] = sBIT->red;
1042 sig_bits[1] = sBIT->green;
1043 sig_bits[2] = sBIT->blue;
1048 sig_bits[0] = sBIT->red;
1049 sig_bits[1] = sBIT->green;
1050 sig_bits[2] = sBIT->blue;
1051 sig_bits[3] = sBIT->alpha;
1072 if (sig_bits[b] == 0 || sig_bits[b] > bit_depth/*!palette*/)
1075 b, sig_bits[b], bit_depth);
1095 unsigned int sig = (unsigned int)(0xffff0000 >> sig_bits[b]);
1097 sig_bits[2*b+1] = (png_byte)sig;
1098 sig_bits[2*b+0] = (png_byte)(sig >> 8); /* big-endian */
1104 sig_bits[b] = (png_byte)(0xff00 >> sig_bits[b]);
1109 sig_bits[0] = 0xff;
1114 b = 0x3 & ((0x3<<2) >> sig_bits[0]);
1117 sig_bits[0] = (png_byte)b;
1122 b = 0xf & ((0xf << 4) >> sig_bits[0]);
1124 sig_bits[0] = (png_byte)b;
1137 /* The mask can be combined with sig_bits[0] */
1140 mask &= sig_bits[0];
1159 if ((*row++ & sig_bits[b]) != (*orig++ & sig_bits[b]))