/external/skia/gm/ |
H A D | cmykjpeg.cpp | 27 bool dither = false; variable 39 codec->setDitherImage(dither);
|
H A D | shallowgradient.cpp | 40 ShallowGradientGM(MakeShaderProc proc, const char name[], bool dither) argument 42 , fDither(dither) {
|
H A D | gradients_2pt_conical.cpp | 308 ConicalGradientsGM(GradCaseType gradCaseType, bool dither) argument 310 , fDither(dither) {
|
H A D | gradients_no_texture.cpp | 83 GradientsNoTextureGM(bool dither) : fDither(dither) { argument 224 GradientsManyColorsGM(bool dither) : fDither(dither) {} argument
|
H A D | gradients.cpp | 104 GradientsGM(bool dither) : fDither(dither) { argument 164 GradientsLocalPerspectiveGM(bool dither) : fDither(dither) { argument 223 GradientsViewPerspectiveGM(bool dither) : INHERITED(dither) { } argument 266 GradientsDegenrate2PointGM(bool dither) : fDither(dither) {} argument 311 ClampedGradientsGM(bool dither) : fDither(dither) {} argument 397 RadialGradient2GM(bool dither) argument 471 RadialGradient3GM(bool dither) argument 508 RadialGradient4GM(bool dither) argument 546 LinearGradientGM(bool dither) argument [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/request/target/ |
H A D | SquaringDrawable.java | 51 public void setDither(boolean dither) { argument 52 wrapped.setDither(dither);
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | api_images.c | 275 VGboolean dither) 291 width, height, dither); local 272 vegaCopyImage(VGImage dst, VGint dx, VGint dy, VGImage src, VGint sx, VGint sy, VGint width, VGint height, VGboolean dither) argument
|
H A D | image.c | 513 VGboolean dither) 510 image_copy(struct vg_image *dst, VGint dx, VGint dy, struct vg_image *src, VGint sx, VGint sy, VGint width, VGint height, VGboolean dither) argument
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowPaint.java | 31 private boolean dither; field in class:ShadowPaint 206 public void setDither(boolean dither) { argument 207 this.dither = dither; 212 return dither;
|
/external/skia/src/core/ |
H A D | SkBlitRow_D16.cpp | 98 unsigned dither = DITHER_VALUE(x); local 99 *dst++ = SkDitherRGB32To565(c, dither); 117 int dither = DITHER_VALUE(x); local 121 sr = SkDITHER_R32To565(sr, dither); 122 sg = SkDITHER_G32To565(sg, dither); 123 sb = SkDITHER_B32To565(sb, dither); 184 int dither = DITHER_VALUE(x); local 189 sr = SkDITHER_R32To565(sr, dither); 190 sg = SkDITHER_G32To565(sg, dither); 191 sb = SkDITHER_B32To565(sb, dither); [all...] |
H A D | SkDither.h | 71 static inline SkPMColor SkDitherARGB32For565(SkPMColor c, unsigned dither) argument 73 SkASSERT(dither <= SK_DitherValueMax565); 76 dither = SkAlphaMul(dither, SkAlpha255To256(sa)); 81 sr = SkDITHER_R32_FOR_565(sr, dither); 82 sg = SkDITHER_G32_FOR_565(sg, dither); 83 sb = SkDITHER_B32_FOR_565(sb, dither); 88 static inline SkPMColor SkDitherRGB32For565(SkPMColor c, unsigned dither) argument 90 SkASSERT(dither <= SK_DitherValueMax565); 95 sr = SkDITHER_R32_FOR_565(sr, dither); 102 SkDitherRGBTo565(U8CPU r, U8CPU g, U8CPU b, unsigned dither) argument 112 SkDitherRGB32To565(SkPMColor c, unsigned dither) argument 126 SkDitherARGB32To565(U8CPU sa, SkPMColor c, unsigned dither) argument 143 SkDitherARGB32To4444(U8CPU a, U8CPU r, U8CPU g, U8CPU b, unsigned dither) argument 156 SkDitherARGB32To4444(SkPMColor c, unsigned dither) argument [all...] |
/external/skia/tests/ |
H A D | BlitRowTest.cpp | 138 bool dither = (k & 1) != 0; local 145 paint.setDither(dither); 150 SkDebugf("--- src index %d dither %d blend %d\n", j, dither, blend); 232 bool dither = (k & 1) != 0; local 234 paint.setDither(dither); 250 ERRORF(reporter, "Diagonal colortype=%s bg=0x%x dither=%d" 252 gColorTypeName[gDstColorType[i]], bgColor, dither,
|
/external/skia/bench/ |
H A D | GradientBench.cpp | 221 GradientBench(GradType gradType, GradData data, bool dither, bool force4f = false) argument 228 if (dither) { 236 fPaint.setDither(dither);
|
/external/skia/src/opts/ |
H A D | SkBlitRow_opts_mips_dsp.cpp | 271 int dither[4]; local 275 dither[i] = (dither_scan >> ((x & 3) << 2)) & 0xF; 290 "lw %[t0], 0(%[dither]) \n\t" 291 "lw %[t1], 4(%[dither]) \n\t" 296 "lw %[t0], 8(%[dither]) \n\t" 297 "lw %[t1], 12(%[dither]) \n\t" 362 : [dither] "r" (dither) 370 unsigned dither = DITHER_VALUE(x); local 371 *dst++ = SkDitherRGB32To565(c, dither); 388 int dither[4]; local 520 int dither = DITHER_VALUE(x); local [all...] |
H A D | SkBlitRow_opts_SSE2.cpp | 829 unsigned dither = DITHER_VALUE(x); local 830 *dst++ = SkDitherRGB32To565(c, dither); 836 __m128i dither; local 854 dither = _mm_loadu_si128((__m128i*) dither_value); 871 // SkDITHER_R32To565(sr, dither) 873 sr = _mm_add_epi16(sr, dither); 884 // SkDITHER_R32To565(sg, dither) 886 sg = _mm_add_epi16(sg, _mm_srli_epi16(dither, 1)); 897 // SkDITHER_R32To565(sb, dither) 899 sb = _mm_add_epi16(sb, dither); 921 unsigned dither = DITHER_VALUE(x); local 969 __m128i dither, dither_cur; local [all...] |
H A D | SkBlitRow_opts_arm_neon.cpp | 726 /* dither matrix for Neon, derived from gDitherMatrix_3Bit_16. 727 * each dither value is spaced out into byte lanes, and repeated 749 /* select row and offset for dither array */ 752 uint8x8_t vdither = vld1_u8(dstart); // load dither values 753 uint8x8_t vdither_g = vshr_n_u8(vdither, 1); // calc. green dither values 770 // Load source and add dither 798 vsrc_dit_g = vaddl_u8(vsrc_g, vdither_g); // add in dither to green and widen 799 vsrc_dit_r = vaddl_u8(vsrc_r, vdither); // add in dither to red and widen 800 vsrc_dit_b = vaddl_u8(vsrc_b, vdither); // add in dither to blue and widen 857 int dither local 1420 unsigned dither = DITHER_VALUE(x); local 1527 unsigned dither = DITHER_VALUE(x); local [all...] |
/external/webp/src/utils/ |
H A D | quant_levels_dec.c | 137 const uint8_t* const dither = kOrderedDither[p->row_ % DSIZE]; local 146 dst[x] = clip_8b(c + dither[x % DSIZE]);
|
/external/dng_sdk/source/ |
H A D | dng_utils.cpp | 422 static dng_dither dither; local 424 return dither;
|
/external/libjpeg-turbo/ |
H A D | jquant1.c | 57 * We use a standard 16x16 ordered dither array. The basic concept of ordered 61 * "dither" value to the input pixel and then round the result to the nearest 62 * output value. The dither value is equivalent to (0.5 - threshold) times 65 * worse, since the dither may be too much or too little at a given point. 67 * The normal calculation would be to form pixel value + dither, range-limit 73 #define ODITHER_SIZE 16 /* dimension of dither matrix */ 82 /* Bayer's order-4 dither array. Generated by the code given in 158 int row_index; /* cur row's vertical index in dither matrix */ 159 ODITHER_MATRIX_PTR odither[MAX_Q_COMPS]; /* one dither array per component */ 341 /* For ordered dither, w 525 int * dither; /* points to active row of dither matrix */ local [all...] |
/external/opencv3/3rdparty/libjpeg/ |
H A D | jquant1.c | 56 * We use a standard 16x16 ordered dither array. The basic concept of ordered 60 * "dither" value to the input pixel and then round the result to the nearest 61 * output value. The dither value is equivalent to (0.5 - threshold) times 64 * worse, since the dither may be too much or too little at a given point. 66 * The normal calculation would be to form pixel value + dither, range-limit 72 #define ODITHER_SIZE 16 /* dimension of dither matrix */ 81 /* Bayer's order-4 dither array. Generated by the code given in 160 int row_index; /* cur row's vertical index in dither matrix */ 161 ODITHER_MATRIX_PTR odither[MAX_Q_COMPS]; /* one dither array per component */ 340 /* For ordered dither, w 524 int * dither; /* points to active row of dither matrix */ local [all...] |
/external/skia/include/core/ |
H A D | SkImageDecoder.h | 91 /** Returns true if the decoder should try to dither the resulting image. 96 /** Set to true if the the decoder should try to dither the resulting image. 99 void setDitherImage(bool dither) { fDitherImage = dither; } argument
|
/external/skia/src/effects/gradients/ |
H A D | SkLinearGradient.cpp | 619 const float dither[2]) { 620 Sk4f dither0(dither[0]); 621 Sk4f dither1(dither[1]); 729 // Default our dither bias values to 1/2, (rounding), which is no dithering 744 const float dither[2] = { dither0, dither1 }; local 760 this->shade4_dx_clamp<true, true>(dstC, count, fx, dx, invDx, dither); 762 this->shade4_dx_clamp<false, true>(dstC, count, fx, dx, invDx, dither); 766 this->shade4_dx_clamp<true, false>(dstC, count, fx, dx, invDx, dither); 768 this->shade4_dx_clamp<false, false>(dstC, count, fx, dx, invDx, dither); 617 shade4_dx_clamp(SkPMColor dstC[], int count, float fx, float dx, float invDx, const float dither[2]) argument
|
/external/ImageMagick/MagickCore/ |
H A D | image.h | 270 dither; /* dithering on/off */ member in struct:_Image 423 dither, /* dither enable-disable */ member in struct:_ImageInfo
|
/external/ImageMagick/coders/ |
H A D | msl.c | 3598 dither; 3613 dither=MagickFalse; 3627 if (LocaleCompare(keyword,"dither") == 0) 3634 dither=(MagickBooleanType) option; 3671 quantize_info->dither_method=dither != MagickFalse ? 4515 if (LocaleCompare(keyword,"dither") == 0) 3592 dither; local
|
/external/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_state.c | 231 uint32_t dither = 0; /* R300_RB3D_DITHER_CTL: 0x4e50 */ local 381 * out and never dither. 385 if (state->dither) { 386 dither = R300_RB3D_DITHER_CTL_DITHER_MODE_LUT | 409 OUT_CB_REG(R300_RB3D_DITHER_CTL, dither); 421 OUT_CB_REG(R300_RB3D_DITHER_CTL, dither); 431 OUT_CB_REG(R300_RB3D_DITHER_CTL, dither);
|