Lines Matching refs:pix
110 uint8_t pix;
144 pix = best_cb[y * 4 + x];
147 if (index1[pix] >= 3)
148 highdiff += pix - c->mc_luma_vals[3];
149 if (index1[pix] < 1)
150 lowdiff += c->mc_luma_vals[1] - pix;
156 if (interlaced_dither_patterns[dither[pix]][(y & 3) * 2 + 0][x & 3])
157 row1 |= 3-(index2[pix] & 3);
159 row1 |= 3-(index1[pix] & 3);
161 if (interlaced_dither_patterns[dither[pix]][(y & 3) * 2 + 1][x & 3])
162 row2 |= 3-(index2[pix] & 3);
164 row2 |= 3-(index1[pix] & 3);
167 if (multi_dither_patterns[dither[pix]][(y & 3)][x & 3])
168 row1 |= 3-(index2[pix] & 3);
170 row1 |= 3-(index1[pix] & 3);