Searched refs:DITHER_VALUE (Results 1 – 8 of 8) sorted by relevance
/external/skia/src/core/ |
D | SkBlitRow_D16.cpp | 98 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()
|
D | SkDither.h | 185 #define DITHER_VALUE(x) dither_scan[(x) & 3] macro 193 #define DITHER_VALUE(x) ((dither_scan >> (((x) & 3) << 2)) & 0xF) macro
|
D | SkConfig8888.cpp | 265 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/ |
D | SkScaledBitmapSampler.cpp | 131 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/ |
D | SkBlitRow_opts_mips_dsp.cpp | 245 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()
|
D | SkBlitRow_opts_SSE2.cpp | 829 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()
|
D | SkBlitRow_opts_arm_neon.cpp | 857 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/ |
D | SampleDither.cpp | 95 unsigned d = DITHER_VALUE(x); in pre_dither()
|