Lines Matching refs:dither
726 /* dither matrix for Neon, derived from gDitherMatrix_3Bit_16.
727 * each dither value is spaced out into byte lanes, and repeated
749 /* select row and offset for dither array */
752 uint8x8_t vdither = vld1_u8(dstart); // load dither values
753 uint8x8_t vdither_g = vshr_n_u8(vdither, 1); // calc. green dither values
770 // Load source and add dither
798 vsrc_dit_g = vaddl_u8(vsrc_g, vdither_g); // add in dither to green and widen
799 vsrc_dit_r = vaddl_u8(vsrc_r, vdither); // add in dither to red and widen
800 vsrc_dit_b = vaddl_u8(vsrc_b, vdither); // add in dither to blue and widen
857 int dither = DITHER_VALUE(x);
861 sr = SkDITHER_R32To565(sr, dither);
862 sg = SkDITHER_G32To565(sg, dither);
863 sb = SkDITHER_B32To565(sb, dither);
1149 // dither and alpha are just temporary variables to work-around
1151 unsigned dither = DITHER_VALUE(x);
1153 int d = SkAlphaMul(dither, alpha);
1258 unsigned dither = DITHER_VALUE(x);
1259 *dst++ = SkDitherRGB32To565(c, dither);
1268 // no dither
1278 // dither