Home | History | Annotate | Download | only in libpng-1.2.19

Lines Matching refs:dshift

2080             int sshift, dshift;
2092 dshift = (int)((final_width + 7) & 7);
2101 dshift = 7 - (int)((final_width + 7) & 7);
2112 *dp &= (png_byte)((0x7f7f >> (7 - dshift)) & 0xff);
2113 *dp |= (png_byte)(v << dshift);
2114 if (dshift == s_end)
2116 dshift = s_start;
2120 dshift += s_inc;
2136 int sshift, dshift;
2146 dshift = (png_size_t)(((final_width + 3) & 3) << 1);
2155 dshift = (png_size_t)((3 - ((final_width + 3) & 3)) << 1);
2169 *dp &= (png_byte)((0x3f3f >> (6 - dshift)) & 0xff);
2170 *dp |= (png_byte)(v << dshift);
2171 if (dshift == s_end)
2173 dshift = s_start;
2177 dshift += s_inc;
2193 int sshift, dshift;
2203 dshift = (png_size_t)(((final_width + 1) & 1) << 2);
2212 dshift = (png_size_t)((1 - ((final_width + 1) & 1)) << 2);
2226 *dp &= (png_byte)((0xf0f >> (4 - dshift)) & 0xff);
2227 *dp |= (png_byte)(v << dshift);
2228 if (dshift == s_end)
2230 dshift = s_start;
2234 dshift += s_inc;