Lines Matching refs:dshift
1039 int sshift, dshift;
1051 dshift = (int)((final_width + 7) & 7);
1060 dshift = 7 - (int)((final_width + 7) & 7);
1071 *dp &= (png_byte)((0x7f7f >> (7 - dshift)) & 0xff);
1072 *dp |= (png_byte)(v << dshift);
1073 if (dshift == s_end)
1075 dshift = s_start;
1079 dshift += s_inc;
1095 int sshift, dshift;
1105 dshift = (png_size_t)(((final_width + 3) & 3) << 1);
1114 dshift = (png_size_t)((3 - ((final_width + 3) & 3)) << 1);
1128 *dp &= (png_byte)((0x3f3f >> (6 - dshift)) & 0xff);
1129 *dp |= (png_byte)(v << dshift);
1130 if (dshift == s_end)
1132 dshift = s_start;
1136 dshift += s_inc;
1152 int sshift, dshift;
1162 dshift = (png_size_t)(((final_width + 1) & 1) << 2);
1171 dshift = (png_size_t)((1 - ((final_width + 1) & 1)) << 2);
1185 *dp &= (png_byte)((0xf0f >> (4 - dshift)) & 0xff);
1186 *dp |= (png_byte)(v << dshift);
1187 if (dshift == s_end)
1189 dshift = s_start;
1193 dshift += s_inc;