/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 …]
|
D | SkImageDecoder.h | 98 void setDitherImage(bool dither) { fDitherImage = dither; } in setDitherImage() argument
|
/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/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 | 874 unsigned dither = DITHER_VALUE(x); in S32_D565_Opaque_Dither_SSE2() local 875 *dst++ = SkDitherRGB32To565(c, dither); in S32_D565_Opaque_Dither_SSE2() 881 __m128i dither; in S32_D565_Opaque_Dither_SSE2() local 899 dither = _mm_loadu_si128((__m128i*) dither_value); in S32_D565_Opaque_Dither_SSE2() 918 sr = _mm_add_epi16(sr, dither); in S32_D565_Opaque_Dither_SSE2() 931 sg = _mm_add_epi16(sg, _mm_srli_epi16(dither, 1)); in S32_D565_Opaque_Dither_SSE2() 944 sb = _mm_add_epi16(sb, dither); in S32_D565_Opaque_Dither_SSE2() 966 unsigned dither = DITHER_VALUE(x); in S32_D565_Opaque_Dither_SSE2() local 967 *dst++ = SkDitherRGB32To565(c, dither); in S32_D565_Opaque_Dither_SSE2() 1014 __m128i dither, dither_cur; in S32A_D565_Opaque_Dither_SSE2() local [all …]
|
D | SkBlitRow_opts_arm_neon.cpp | 859 int dither = DITHER_VALUE(x); in S32_D565_Blend_Dither_neon() local 863 sr = SkDITHER_R32To565(sr, dither); in S32_D565_Blend_Dither_neon() 864 sg = SkDITHER_G32To565(sg, dither); in S32_D565_Blend_Dither_neon() 865 sb = SkDITHER_B32To565(sb, dither); in S32_D565_Blend_Dither_neon() 1547 unsigned dither = DITHER_VALUE(x); in S32A_D565_Opaque_Dither_neon() local 1549 int d = SkAlphaMul(dither, alpha); in S32A_D565_Opaque_Dither_neon() 1648 unsigned dither = DITHER_VALUE(myx); in S32_D565_Opaque_Dither_neon() local 1649 uint16_t val = SkDitherRGB32To565(c, dither); in S32_D565_Opaque_Dither_neon() 1652 c, dither, val, dst[i], dstart[i]); in S32_D565_Opaque_Dither_neon() 1675 unsigned dither = DITHER_VALUE(x); in S32_D565_Opaque_Dither_neon() local [all …]
|
/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
|
D | jquant1.c | 523 int * dither; /* points to active row of dither matrix */ in quantize_ord_dither() local 540 dither = cquantize->odither[ci][row_index]; in quantize_ord_dither() 551 *output_ptr += colorindex_ci[GETJSAMPLE(*input_ptr)+dither[col_index]]; in quantize_ord_dither()
|
D | usage.doc | 224 to "-dct fast -nosmooth -onepass -dither ordered". 277 -dither fs Use Floyd-Steinberg dithering in color quantization. 278 -dither ordered Use ordered dithering in color quantization. 279 -dither none Do not use dithering in color quantization. 282 the best results. Ordered dither is a compromise 286 Ordered dither is only available in -onepass mode. 349 When producing a color-quantized image, "-onepass -dither ordered" is fast but 350 much lower quality than the default behavior. "-dither none" may give
|
/external/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/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/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/skia/gm/ |
D | cmykjpeg.cpp | 27 bool dither = false; in onOnceBeforeDraw() local 39 codec->setDitherImage(dither); in onOnceBeforeDraw()
|
/external/skia/include/gpu/ |
D | GrPaint.h | 62 void setDither(bool dither) { fDither = dither; } in setDither() argument
|
/external/deqp/android/cts/master/src/ |
D | gles3-test-issues.txt | 156 dEQP-GLES3.functional.dither.disabled.gradient_white 157 dEQP-GLES3.functional.dither.disabled.gradient_red 158 dEQP-GLES3.functional.dither.disabled.gradient_green 159 dEQP-GLES3.functional.dither.disabled.gradient_blue 160 dEQP-GLES3.functional.dither.disabled.gradient_alpha
|
D | gles3-pixelformat.txt | 11 dEQP-GLES3.functional.dither.*
|
/external/glide/library/src/main/java/com/bumptech/glide/request/target/ |
D | SquaringDrawable.java | 51 public void setDither(boolean dither) { in setDither() argument 52 wrapped.setDither(dither); in setDither()
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
D | arith_routines.h | 39 const WebRtc_Word16 *dither, /* input: dither vector */
|
/external/eigen/bench/btl/data/ |
D | mk_new_gnuplot.sh | 52 convert -background white -density 120 -rotate 90 -resize 800 +dither -colors 256 -quality 0 ../${D…
|
/external/skia/bench/ |
D | GradientBench.cpp | 228 GradientBench(GradType gradType, GradData data, bool dither) { in GradientBench() argument 233 fDither = dither; in GradientBench() 234 if (dither) { in GradientBench()
|
/external/webp/src/utils/ |
D | quant_levels_dec.c | 137 const uint8_t* const dither = kOrderedDither[p->row_ % DSIZE]; in ApplyFilter() local 146 dst[x] = clip_8b(c + dither[x % DSIZE]); in ApplyFilter()
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
D | image.h | 80 VGboolean dither);
|
D | api_images.c | 275 VGboolean dither) in vegaCopyImage() argument 291 width, height, dither); in vegaCopyImage()
|
/external/skia/src/images/ |
D | SkScaledBitmapSampler.cpp | 857 for (int dither = 0; dither <= 1; ++dither) { in test_row_proc_choice() local 863 dummyDecoder.setDitherImage(SkToBool(dither)); in test_row_proc_choice()
|
/external/mesa3d/src/gallium/include/pipe/ |
D | p_state.h | 272 unsigned dither:1; member
|