Home
last modified time | relevance | path

Searched refs:DITHER_VALUE (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/core/
DSkBlitRow_D16.cpp98 unsigned dither = DITHER_VALUE(x); in S32_D565_Opaque_Dither()
117 int dither = DITHER_VALUE(x); in S32_D565_Blend_Dither()
147 int d = SkAlphaMul(DITHER_VALUE(x), SkAlpha255To256(a)); in S32A_D565_Opaque_Dither()
184 int dither = DITHER_VALUE(x); in S32A_D565_Blend_Dither()
DSkDither.h185 #define DITHER_VALUE(x) dither_scan[(x) & 3] macro
193 #define DITHER_VALUE(x) ((dither_scan >> (((x) & 3) << 2)) & 0xF) macro
DSkConfig8888.cpp265 dstRow[x] = SkDitherARGB32To4444(table[srcRow[x]], DITHER_VALUE(x)); in CopyPixels()
270 dstRow[x] = SkDitherARGB32To4444(srcRow[x], DITHER_VALUE(x)); in CopyPixels()
/external/skia/src/images/
DSkScaledBitmapSampler.cpp131 dst[x] = SkDitherRGBTo565(src[0], src[0], src[0], DITHER_VALUE(x)); in Sample_Gray_D565_D()
164 dst[x] = SkDitherRGBTo565(src[0], src[1], src[2], DITHER_VALUE(x)); in Sample_RGBx_D565_D()
219 DITHER_VALUE(x)); in Sample_Gray_D4444_D()
253 DITHER_VALUE(x)); in Sample_RGBx_D4444_D()
315 dst[x] = SkDitherARGB32To4444(c, DITHER_VALUE(x)); in Sample_RGBA_D4444_D()
334 dst[x] = SkDitherARGB32To4444(c, DITHER_VALUE(x)); in Sample_RGBA_D4444_D_SkipZ()
431 SkGetPackedB32(c), DITHER_VALUE(x)); in Sample_Index_D565_D()
472 dst[x] = SkDitherARGB32To4444(c, DITHER_VALUE(x)); in Sample_Index_D4444_D()
507 dst[x] = SkDitherARGB32To4444(c, DITHER_VALUE(x)); in Sample_Index_D4444_D_SkipZ()
/external/skia/src/opts/
DSkBlitRow_opts_mips_dsp.cpp245 int d = SkAlphaMul(DITHER_VALUE(x), SkAlpha255To256(a)); in S32A_D565_Opaque_Dither_mips_dsp()
370 unsigned dither = DITHER_VALUE(x); in S32_D565_Opaque_Dither_mips_dsp()
520 int dither = DITHER_VALUE(x); in S32_D565_Blend_Dither_mips_dsp()
DSkBlitRow_opts_SSE2.cpp829 unsigned dither = DITHER_VALUE(x); in S32_D565_Opaque_Dither_SSE2()
921 unsigned dither = DITHER_VALUE(x); in S32_D565_Opaque_Dither_SSE2()
948 int d = SkAlphaMul(DITHER_VALUE(x), SkAlpha255To256(a)); in S32A_D565_Opaque_Dither_SSE2()
1103 int d = SkAlphaMul(DITHER_VALUE(x), SkAlpha255To256(a)); in S32A_D565_Opaque_Dither_SSE2()
DSkBlitRow_opts_arm_neon.cpp857 int dither = DITHER_VALUE(x); in S32_D565_Blend_Dither_neon()
1420 unsigned dither = DITHER_VALUE(x); in S32A_D565_Opaque_Dither_neon()
1527 unsigned dither = DITHER_VALUE(x); in S32_D565_Opaque_Dither_neon()
/external/skia/samplecode/
DSampleDither.cpp95 unsigned d = DITHER_VALUE(x); in pre_dither()