Home | History | Annotate | Download | only in opts

Lines Matching refs:dither

697             unsigned dither = DITHER_VALUE(x);
698 *dst++ = SkDitherRGB32To565(c, dither);
704 __m128i dither;
722 dither = _mm_loadu_si128((__m128i*) dither_value);
739 // SkDITHER_R32To565(sr, dither)
741 sr = _mm_add_epi16(sr, dither);
752 // SkDITHER_R32To565(sg, dither)
754 sg = _mm_add_epi16(sg, _mm_srli_epi16(dither, 1));
765 // SkDITHER_R32To565(sb, dither)
767 sb = _mm_add_epi16(sb, dither);
789 unsigned dither = DITHER_VALUE(x);
790 *dst++ = SkDitherRGB32To565(c, dither);
837 __m128i dither
855 dither = _mm_loadu_si128((__m128i*) dither_value);
877 // Calculate current dither value.
878 dither_cur = _mm_mullo_epi16(dither,