/external/chromium_org/third_party/skia/include/core/ |
D | SkDither.h | 71 static inline SkPMColor SkDitherARGB32For565(SkPMColor c, unsigned dither) in SkDitherARGB32For565() argument 73 SkASSERT(dither <= SK_DitherValueMax565); in SkDitherARGB32For565() 76 dither = SkAlphaMul(dither, SkAlpha255To256(sa)); in SkDitherARGB32For565() 81 sr = SkDITHER_R32_FOR_565(sr, dither); in SkDitherARGB32For565() 82 sg = SkDITHER_G32_FOR_565(sg, dither); in SkDitherARGB32For565() 83 sb = SkDITHER_B32_FOR_565(sb, dither); in SkDitherARGB32For565() 88 static inline SkPMColor SkDitherRGB32For565(SkPMColor c, unsigned dither) in SkDitherRGB32For565() argument 90 SkASSERT(dither <= SK_DitherValueMax565); in SkDitherRGB32For565() 95 sr = SkDITHER_R32_FOR_565(sr, dither); in SkDitherRGB32For565() 96 sg = SkDITHER_G32_FOR_565(sg, dither); in SkDitherRGB32For565() [all …]
|
/external/skia/include/core/ |
D | SkDither.h | 71 static inline SkPMColor SkDitherARGB32For565(SkPMColor c, unsigned dither) in SkDitherARGB32For565() argument 73 SkASSERT(dither <= SK_DitherValueMax565); in SkDitherARGB32For565() 76 dither = SkAlphaMul(dither, SkAlpha255To256(sa)); in SkDitherARGB32For565() 81 sr = SkDITHER_R32_FOR_565(sr, dither); in SkDitherARGB32For565() 82 sg = SkDITHER_G32_FOR_565(sg, dither); in SkDitherARGB32For565() 83 sb = SkDITHER_B32_FOR_565(sb, dither); in SkDitherARGB32For565() 88 static inline SkPMColor SkDitherRGB32For565(SkPMColor c, unsigned dither) in SkDitherRGB32For565() argument 90 SkASSERT(dither <= SK_DitherValueMax565); in SkDitherRGB32For565() 95 sr = SkDITHER_R32_FOR_565(sr, dither); in SkDitherRGB32For565() 96 sg = SkDITHER_G32_FOR_565(sg, dither); in SkDitherRGB32For565() [all …]
|
/external/skia/include/images/ |
D | SkDecodingImageGenerator.h | 55 Options(int sampleSize, bool dither) in Options() 57 , fDitherImage(dither) in Options() 61 Options(int sampleSize, bool dither, SkColorType colorType) in Options() 63 , fDitherImage(dither) in Options() 67 Options(int sampleSize, bool dither, SkColorType colorType, in Options() 70 , fDitherImage(dither) in Options()
|
/external/chromium_org/third_party/skia/include/images/ |
D | SkDecodingImageGenerator.h | 55 Options(int sampleSize, bool dither) in Options() 57 , fDitherImage(dither) in Options() 61 Options(int sampleSize, bool dither, SkColorType colorType) in Options() 63 , fDitherImage(dither) in Options() 67 Options(int sampleSize, bool dither, SkColorType colorType, in Options() 70 , fDitherImage(dither) in Options()
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkBlitRow_D16.cpp | 98 unsigned dither = DITHER_VALUE(x); in S32_D565_Opaque_Dither() local 99 *dst++ = SkDitherRGB32To565(c, dither); in S32_D565_Opaque_Dither() 117 int dither = DITHER_VALUE(x); in S32_D565_Blend_Dither() local 121 sr = SkDITHER_R32To565(sr, dither); in S32_D565_Blend_Dither() 122 sg = SkDITHER_G32To565(sg, dither); in S32_D565_Blend_Dither() 123 sb = SkDITHER_B32To565(sb, dither); in S32_D565_Blend_Dither() 184 int dither = DITHER_VALUE(x); in S32A_D565_Blend_Dither() local 189 sr = SkDITHER_R32To565(sr, dither); in S32A_D565_Blend_Dither() 190 sg = SkDITHER_G32To565(sg, dither); in S32A_D565_Blend_Dither() 191 sb = SkDITHER_B32To565(sb, dither); in S32A_D565_Blend_Dither()
|
/external/qemu/distrib/jpeg-6b/ |
D | jmorecfg.h | 33 #define DITHER_565_R(r, dither) ((r) + ((dither)&0xFF)) argument 34 #define DITHER_565_G(g, dither) ((g) + (((dither)&0xFF)>>1)) argument 35 #define DITHER_565_B(b, dither) ((b) + ((dither)&0xFF)) argument
|
/external/skia/src/core/ |
D | SkBlitRow_D16.cpp | 101 unsigned dither = DITHER_VALUE(x); in S32_D565_Opaque_Dither() local 102 *dst++ = SkDitherRGB32To565(c, dither); in S32_D565_Opaque_Dither() 120 int dither = DITHER_VALUE(x); in S32_D565_Blend_Dither() local 124 sr = SkDITHER_R32To565(sr, dither); in S32_D565_Blend_Dither() 125 sg = SkDITHER_G32To565(sg, dither); in S32_D565_Blend_Dither() 126 sb = SkDITHER_B32To565(sb, dither); in S32_D565_Blend_Dither() 187 int dither = DITHER_VALUE(x); in S32A_D565_Blend_Dither() local 192 sr = SkDITHER_R32To565(sr, dither); in S32A_D565_Blend_Dither() 193 sg = SkDITHER_G32To565(sg, dither); in S32A_D565_Blend_Dither() 194 sb = SkDITHER_B32To565(sb, dither); in S32A_D565_Blend_Dither()
|
/external/jpeg/ |
D | jmorecfg.h | 36 #define DITHER_565_R(r, dither) ((r) + ((dither)&0xFF)) argument 37 #define DITHER_565_G(g, dither) ((g) + (((dither)&0xFF)>>1)) argument 38 #define DITHER_565_B(b, dither) ((b) + ((dither)&0xFF)) argument
|
/external/skia/src/opts/ |
D | SkBlitRow_opts_mips_dsp.cpp | 271 int dither[4]; in S32_D565_Opaque_Dither_mips_dsp() local 275 dither[i] = (dither_scan >> ((x & 3) << 2)) & 0xF; in S32_D565_Opaque_Dither_mips_dsp() 362 : [dither] "r" (dither) in S32_D565_Opaque_Dither_mips_dsp() 370 unsigned dither = DITHER_VALUE(x); in S32_D565_Opaque_Dither_mips_dsp() local 371 *dst++ = SkDitherRGB32To565(c, dither); in S32_D565_Opaque_Dither_mips_dsp() 388 int dither[4]; in S32_D565_Blend_Dither_mips_dsp() local 391 dither[i] = (dither_scan >> ((x & 3) << 2)) & 0xF; in S32_D565_Blend_Dither_mips_dsp() 511 : [dither]"r"(dither), [alpha]"r"(alpha) in S32_D565_Blend_Dither_mips_dsp() 520 int dither = DITHER_VALUE(x); in S32_D565_Blend_Dither_mips_dsp() local 524 sr = SkDITHER_R32To565(sr, dither); in S32_D565_Blend_Dither_mips_dsp() [all …]
|
D | SkBlitRow_opts_SSE2.cpp | 1068 unsigned dither = DITHER_VALUE(x); in S32_D565_Opaque_Dither_SSE2() local 1069 *dst++ = SkDitherRGB32To565(c, dither); in S32_D565_Opaque_Dither_SSE2() 1075 __m128i dither; in S32_D565_Opaque_Dither_SSE2() local 1093 dither = _mm_loadu_si128((__m128i*) dither_value); in S32_D565_Opaque_Dither_SSE2() 1112 sr = _mm_add_epi16(sr, dither); in S32_D565_Opaque_Dither_SSE2() 1125 sg = _mm_add_epi16(sg, _mm_srli_epi16(dither, 1)); in S32_D565_Opaque_Dither_SSE2() 1138 sb = _mm_add_epi16(sb, dither); in S32_D565_Opaque_Dither_SSE2() 1160 unsigned dither = DITHER_VALUE(x); in S32_D565_Opaque_Dither_SSE2() local 1161 *dst++ = SkDitherRGB32To565(c, dither); in S32_D565_Opaque_Dither_SSE2() 1208 __m128i dither, dither_cur; in S32A_D565_Opaque_Dither_SSE2() local [all …]
|
/external/chromium_org/third_party/skia/src/opts/ |
D | SkBlitRow_opts_mips_dsp.cpp | 271 int dither[4]; in S32_D565_Opaque_Dither_mips_dsp() local 275 dither[i] = (dither_scan >> ((x & 3) << 2)) & 0xF; in S32_D565_Opaque_Dither_mips_dsp() 362 : [dither] "r" (dither) in S32_D565_Opaque_Dither_mips_dsp() 370 unsigned dither = DITHER_VALUE(x); in S32_D565_Opaque_Dither_mips_dsp() local 371 *dst++ = SkDitherRGB32To565(c, dither); in S32_D565_Opaque_Dither_mips_dsp() 388 int dither[4]; in S32_D565_Blend_Dither_mips_dsp() local 391 dither[i] = (dither_scan >> ((x & 3) << 2)) & 0xF; in S32_D565_Blend_Dither_mips_dsp() 511 : [dither]"r"(dither), [alpha]"r"(alpha) in S32_D565_Blend_Dither_mips_dsp() 520 int dither = DITHER_VALUE(x); in S32_D565_Blend_Dither_mips_dsp() local 524 sr = SkDITHER_R32To565(sr, dither); in S32_D565_Blend_Dither_mips_dsp() [all …]
|
D | SkBlitRow_opts_SSE2.cpp | 1068 unsigned dither = DITHER_VALUE(x); in S32_D565_Opaque_Dither_SSE2() local 1069 *dst++ = SkDitherRGB32To565(c, dither); in S32_D565_Opaque_Dither_SSE2() 1075 __m128i dither; in S32_D565_Opaque_Dither_SSE2() local 1093 dither = _mm_loadu_si128((__m128i*) dither_value); in S32_D565_Opaque_Dither_SSE2() 1112 sr = _mm_add_epi16(sr, dither); in S32_D565_Opaque_Dither_SSE2() 1125 sg = _mm_add_epi16(sg, _mm_srli_epi16(dither, 1)); in S32_D565_Opaque_Dither_SSE2() 1138 sb = _mm_add_epi16(sb, dither); in S32_D565_Opaque_Dither_SSE2() 1160 unsigned dither = DITHER_VALUE(x); in S32_D565_Opaque_Dither_SSE2() local 1161 *dst++ = SkDitherRGB32To565(c, dither); in S32_D565_Opaque_Dither_SSE2() 1208 __m128i dither, dither_cur; in S32A_D565_Opaque_Dither_SSE2() local [all …]
|
D | SkBlitRow_opts_arm_neon.cpp | 723 int dither = DITHER_VALUE(x); in S32_D565_Blend_Dither_neon() local 727 sr = SkDITHER_R32To565(sr, dither); in S32_D565_Blend_Dither_neon() 728 sg = SkDITHER_G32To565(sg, dither); in S32_D565_Blend_Dither_neon() 729 sb = SkDITHER_B32To565(sb, dither); in S32_D565_Blend_Dither_neon() 1411 unsigned dither = DITHER_VALUE(x); in S32A_D565_Opaque_Dither_neon() local 1413 int d = SkAlphaMul(dither, alpha); in S32A_D565_Opaque_Dither_neon() 1512 unsigned dither = DITHER_VALUE(myx); in S32_D565_Opaque_Dither_neon() local 1513 uint16_t val = SkDitherRGB32To565(c, dither); in S32_D565_Opaque_Dither_neon() 1516 c, dither, val, dst[i], dstart[i]); in S32_D565_Opaque_Dither_neon() 1539 unsigned dither = DITHER_VALUE(x); in S32_D565_Opaque_Dither_neon() local [all …]
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowPaint.java | 31 private boolean dither; field in ShadowPaint 206 public void setDither(boolean dither) { in setDither() argument 207 this.dither = dither; in setDither() 212 return dither; in isDither()
|
/external/chromium_org/gpu/command_buffer/client/ |
D | client_context_state_impl_autogen.h | 19 dither(true), in EnableFlags() 51 if (enable_flags.dither != enabled) { in SetCapabilityState() 53 enable_flags.dither = enabled; in SetCapabilityState() 102 *enabled = enable_flags.dither; in GetEnabled()
|
D | client_context_state_autogen.h | 20 bool dither; member
|
/external/chromium_org/ui/ozone/platform/caca/ |
D | scoped_caca_types.cc | 19 void CacaDitherDeleter::operator()(caca_dither_t* dither) const { in operator ()() 20 caca_free_dither(dither); in operator ()()
|
D | scoped_caca_types.h | 25 void operator()(caca_dither_t* dither) const;
|
/external/skia/tests/ |
D | BlitRowTest.cpp | 138 bool dither = (k & 1) != 0; in test_00_FF() local 145 paint.setDither(dither); in test_00_FF() 150 SkDebugf("--- src index %d dither %d blend %d\n", j, dither, blend); in test_00_FF() 232 bool dither = (k & 1) != 0; in test_diagonal() local 234 paint.setDither(dither); in test_diagonal() 252 gColorTypeName[gDstColorType[i]], bgColor, dither, in test_diagonal()
|
/external/chromium_org/third_party/skia/tests/ |
D | BlitRowTest.cpp | 138 bool dither = (k & 1) != 0; in test_00_FF() local 145 paint.setDither(dither); in test_00_FF() 150 SkDebugf("--- src index %d dither %d blend %d\n", j, dither, blend); in test_00_FF() 232 bool dither = (k & 1) != 0; in test_diagonal() local 234 paint.setDither(dither); in test_diagonal() 252 gColorTypeName[gDstColorType[i]], bgColor, dither, in test_diagonal()
|
/external/chromium_org/third_party/skia/gm/ |
D | cmykjpeg.cpp | 27 bool dither = false; in onOnceBeforeDraw() local 39 codec->setDitherImage(dither); in onOnceBeforeDraw()
|
/external/skia/gm/ |
D | cmykjpeg.cpp | 27 bool dither = false; in onOnceBeforeDraw() local 45 codec->setDitherImage(dither); in onOnceBeforeDraw()
|
/external/glide/library/src/main/java/com/bumptech/glide/request/target/ |
D | SquaringDrawable.java | 46 public void setDither(boolean dither) { in setDither() argument 47 wrapped.setDither(dither); in setDither()
|
/external/chromium_org/third_party/skia/include/gpu/ |
D | GrPaint.h | 84 void setDither(bool dither) { fDither = dither; } in setDither() argument
|
/external/skia/include/gpu/ |
D | GrPaint.h | 84 void setDither(bool dither) { fDither = dither; } in setDither() argument
|