Searched defs:dither (Results 1 - 25 of 34) sorted by relevance

12

/external/skia/gm/
H A Dshallowgradient.cpp37 ShallowGradientGM(MakeShaderProc proc, const char name[], bool dither) argument
39 , fDither(dither) {
H A Dgradients_no_texture.cpp83 GradientsNoTextureGM(bool dither) : fDither(dither) { argument
223 GradientsManyColorsGM(bool dither) : fDither(dither) {} argument
H A Dgradients_2pt_conical.cpp292 ConicalGradientsGM(GradCaseType gradCaseType, bool dither, argument
295 , fDither(dither)
H A Dgradients.cpp172 GradientsGM(bool dither) : fDither(dither) { argument
228 Gradients4fGM(bool dither) : fDither(dither) { argument
285 GradientsLocalPerspectiveGM(bool dither) : fDither(dither) { argument
341 GradientsViewPerspectiveGM(bool dither) : INHERITED(dither) { } argument
384 GradientsDegenrate2PointGM(bool dither) : fDither(dither) {} argument
464 ClampedGradientsGM(bool dither) argument
546 RadialGradient2GM(bool dither) argument
614 RadialGradient3GM(bool dither) argument
651 RadialGradient4GM(bool dither) argument
689 LinearGradientGM(bool dither) argument
[all...]
/external/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_rs.h53 uint32_t dither[2]; member in struct:rs_state
/external/glide/library/src/main/java/com/bumptech/glide/request/target/
H A DSquaringDrawable.java51 public void setDither(boolean dither) { argument
52 wrapped.setDither(dither);
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowPaint.java31 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 DSkDither.h70 static inline SkPMColor SkDitherARGB32For565(SkPMColor c, unsigned dither) argument
72 SkASSERT(dither <= SK_DitherValueMax565);
75 dither = SkAlphaMul(dither, SkAlpha255To256(sa));
80 sr = SkDITHER_R32_FOR_565(sr, dither);
81 sg = SkDITHER_G32_FOR_565(sg, dither);
82 sb = SkDITHER_B32_FOR_565(sb, dither);
87 static inline SkPMColor SkDitherRGB32For565(SkPMColor c, unsigned dither) argument
89 SkASSERT(dither <= SK_DitherValueMax565);
94 sr = SkDITHER_R32_FOR_565(sr, dither);
101 SkDitherRGBTo565(U8CPU r, U8CPU g, U8CPU b, unsigned dither) argument
111 SkDitherRGB32To565(SkPMColor c, unsigned dither) argument
125 SkDitherARGB32To565(U8CPU sa, SkPMColor c, unsigned dither) argument
142 SkDitherARGB32To4444(U8CPU a, U8CPU r, U8CPU g, U8CPU b, unsigned dither) argument
155 SkDitherARGB32To4444(SkPMColor c, unsigned dither) argument
[all...]
/external/skia/bench/
H A DGradientBench.cpp211 GradientBench(GradType gradType, GradData data, bool dither) argument
218 if (dither) {
224 fPaint.setDither(dither);
/external/webp/src/utils/
H A Dquant_levels_dec_utils.c138 const uint8_t* const dither = kOrderedDither[p->row_ % DSIZE]; local
147 dst[x] = clip_8b(c + dither[x % DSIZE]);
/external/dng_sdk/source/
H A Ddng_utils.cpp422 static dng_dither dither; local
424 return dither;
/external/libjpeg-turbo/
H A Djquant1.c58 * We use a standard 16x16 ordered dither array. The basic concept of ordered
62 * "dither" value to the input pixel and then round the result to the nearest
63 * output value. The dither value is equivalent to (0.5 - threshold) times
66 * worse, since the dither may be too much or too little at a given point.
68 * The normal calculation would be to form pixel value + dither, range-limit
74 #define ODITHER_SIZE 16 /* dimension of dither matrix */
83 /* Bayer's order-4 dither array. Generated by the code given in
159 int row_index; /* cur row's vertical index in dither matrix */
160 ODITHER_MATRIX_PTR odither[MAX_Q_COMPS]; /* one dither array per component */
342 /* For ordered dither, w
526 int *dither; /* points to active row of dither matrix */ local
[all...]
/external/skia/src/shaders/gradients/
H A DSkLinearGradient.cpp513 // As an optimization, we can apply the dither bias before interpolation -- but only when
625 const float dither[2]) {
626 Sk4f dither0(dither[0]);
627 Sk4f dither1(dither[1]);
742 // Default our dither bias values to 1/2, (rounding), which is no dithering
757 const float dither[2] = { dither0, dither1 }; local
774 this->shade4_dx_clamp<true, true>(dstC, count, fx, dx, invDx, dither);
776 this->shade4_dx_clamp<false, true>(dstC, count, fx, dx, invDx, dither);
780 this->shade4_dx_clamp<true, false>(dstC, count, fx, dx, invDx, dither);
782 this->shade4_dx_clamp<false, false>(dstC, count, fx, dx, invDx, dither);
623 shade4_dx_clamp(SkPMColor dstC[], int count, float fx, float dx, float invDx, const float dither[2]) argument
[all...]
H A DSkGradientShader.cpp555 U8CPU alpha, bool dither, const SkGradientShaderBase& shader)
557 , fCacheDither(dither)
586 int count, U8CPU paintAlpha, uint32_t gradFlags, bool dither) {
626 const SkUFixed bias0 = dither ? 0x2000 : 0x8000;
627 const SkUFixed bias1 = dither ? 0x8000 : 0;
628 const SkUFixed bias2 = dither ? 0xC000 : 0;
629 const SkUFixed bias3 = dither ? 0x4000 : 0;
637 * Our dither-cell (spatially) is
814 bool dither) const {
816 if (!fCache || fCache->getAlpha() != alpha || fCache->getDither() != dither) {
554 GradientShaderCache( U8CPU alpha, bool dither, const SkGradientShaderBase& shader) argument
584 Build32bitCache( SkPMColor cache[], SkColor c0, SkColor c1, int count, U8CPU paintAlpha, uint32_t gradFlags, bool dither) argument
[all...]
/external/webp/src/dec/
H A Dframe_dec.c341 // TODO(skal): should we specially dither more for uv_quant_ < 0?
362 // Convert to range: [-2,2] for dither=50, [-4,4] for dither=100
364 uint8_t dither[64]; local
367 dither[i] = VP8RandomBits2(rg, VP8_DITHER_AMP_BITS + 1, amp);
369 VP8DitherCombine8x8(dither, dst, bps);
/external/webp/src/dsp/
H A Ddec.c658 static void DitherCombine8x8(const uint8_t* dither, uint8_t* dst, argument
663 const int delta0 = dither[i] - VP8_DITHER_AMP_CENTER;
669 dither += 8;
694 void (*VP8DitherCombine8x8)(const uint8_t* dither, uint8_t* dst,
/external/ImageMagick/MagickCore/
H A Dimage.h270 dither; /* dithering on/off */ member in struct:_Image
423 dither, /* dither enable-disable */ member in struct:_ImageInfo
/external/ImageMagick/coders/
H A Dmsl.c3598 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 Dr300_state.c353 uint32_t dither = 0; /* R300_RB3D_DITHER_CTL: 0x4e50 */ local
461 * out and never dither.
465 if (state->dither) {
466 dither = R300_RB3D_DITHER_CTL_DITHER_MODE_LUT |
493 OUT_CB_REG(R300_RB3D_DITHER_CTL, dither);
505 OUT_CB_REG(R300_RB3D_DITHER_CTL, dither);
515 OUT_CB_REG(R300_RB3D_DITHER_CTL, dither);
525 OUT_CB_REG(R300_RB3D_DITHER_CTL, dither);
/external/mesa3d/src/gallium/include/pipe/
H A Dp_state.h325 unsigned dither:1; member in struct:pipe_blend_state
/external/ImageMagick/MagickWand/
H A Dmagick-image.c7610 % MagickOrderedDitherImage() performs an ordered dither based on a number
7624 % o threshold_map: A string containing the name of the threshold dither
7626 % color levels tho dither between.
7631 % No numbers also means a 2 level (bitmap) dither will be applied to all
7637 % with a ordered 3x3 diffused pixel dither being applied between each
7895 % o method: choose the dither method: UndefinedDitherMethod,
7900 const size_t levels,const DitherMethod dither)
7911 status=PosterizeImage(wand->images,levels,dither,wand->exception);
8142 % o dither_method: choose from these dither methods: NoDitherMethod,
8495 % o method: choose from these dither method
7741 MagickPosterizeImage(MagickWand *wand, const size_t levels,const DitherMethod dither) argument
[all...]
/external/robolectric/v3/runtime/
H A Dshadows-core-3.1-SNAPSHOT-16.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-17.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-18.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-19.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...

Completed in 1256 milliseconds

12