HomeSort by relevance Sort by last modified time
    Searched refs:dither (Results 1 - 25 of 140) sorted by null

1 2 3 4 5 6

  /frameworks/base/libs/hwui/
Dither.cpp 18 #include "Dither.h"
27 Dither::Dither(Caches& caches)
33 void Dither::bindDitherTexture() {
49 float dither = 1.0f / (255.0f * DITHER_KERNEL_SIZE * DITHER_KERNEL_SIZE); local
51 0 * dither, 8 * dither, 2 * dither, 10 * dither,
52 12 * dither, 4 * dither, 14 * dither, 6 * dither
    [all...]
Caches.h 21 #include "Dither.h"
163 Dither dither; member in class:android::uirenderer::Caches
  /external/skia/src/core/
SkDither.h 71 static inline SkPMColor SkDitherARGB32For565(SkPMColor c, unsigned dither)
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)
90 SkASSERT(dither <= SK_DitherValueMax565);
95 sr = SkDITHER_R32_FOR_565(sr, dither);
    [all...]
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...]
  /external/skia/gm/
cmykjpeg.cpp 27 bool dither = false; variable
39 codec->setDitherImage(dither);
gradients.cpp 104 GradientsGM(bool dither) : fDither(dither) {
164 GradientsLocalPerspectiveGM(bool dither) : fDither(dither) {
223 GradientsViewPerspectiveGM(bool dither) : INHERITED(dither) { }
266 GradientsDegenrate2PointGM(bool dither) : fDither(dither) {}
311 ClampedGradientsGM(bool dither) : fDither(dither) {}
    [all...]
shallowgradient.cpp 40 ShallowGradientGM(MakeShaderProc proc, const char name[], bool dither)
42 , fDither(dither) {
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowPaint.java 31 private boolean dither; field in class:ShadowPaint
206 public void setDither(boolean dither) {
207 this.dither = dither;
212 return dither;
  /external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
arith_routines.h 39 const int16_t *dither, /* input: dither vector */
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
ProxyDrawable.java 73 public void setDither(boolean dither) {
75 mProxy.setDither(dither);
  /external/ImageMagick/PerlMagick/t/ps/
read.t 52 $x=$image->Set(font=>"$font", pen=>'#0000FF', dither=>'False');
  /external/ImageMagick/PerlMagick/t/x11/
read.t 28 $x=$image->Set(font=>"$font", pen=>'#0000FF', dither=>'False');
  /external/skia/src/opts/
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...]
  /external/skia/tests/
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,
  /packages/apps/Settings/src/com/android/settings/drawable/
DrawableWrapper.java 64 public void setDither(boolean dither) {
65 mDrawable.setDither(dither);
  /system/core/libpixelflinger/
buffer.cpp 39 int sh, int sl, int dh, int dl, int ch, int cl, int dither);
167 int dither = -1; local
169 dither = c->ditherMatrix[ (x & GGL_DITHER_MASK) +
196 v = downshift_component(v, u, pixelSize, 0, h, l, 0, 0, dither);
327 int dither)
336 if (dither>=0) {
339 if (shift >= 0) v += (dither >> shift) << sl;
340 else v += (dither << (-shift)) << sl;
344 // -> this is not really needed if we don't dither
  /external/skia/src/effects/gradients/
SkGradientShaderPriv.h 129 GradientShaderCache(U8CPU alpha, bool dither, const SkGradientShaderBase& shader);
150 const bool fCacheDither; // The dither flag used when we computed the cache.
161 static void Build16bitCache(uint16_t[], SkColor c0, SkColor c1, int count, bool dither);
163 U8CPU alpha, uint32_t gradFlags, bool dither);
204 /// This value is used to *read* the dither cache; it may be 0
273 GradientShaderCache* refCache(U8CPU alpha, bool dither) const;
SkLinearGradient.h 55 float invDx, const float dither[2]);
SkGradientShader.cpp 321 U8CPU alpha, bool dither, const SkGradientShaderBase& shader)
323 , fCacheDither(dither)
347 uint16_t cache[], SkColor c0, SkColor c1, int count, bool dither) {
364 if (dither) {
411 int count, U8CPU paintAlpha, uint32_t gradFlags, bool dither) {
451 const SkUFixed bias0 = dither ? 0x2000 : 0x8000;
452 const SkUFixed bias1 = dither ? 0x8000 : 0;
453 const SkUFixed bias2 = dither ? 0xC000 : 0;
454 const SkUFixed bias3 = dither ? 0x4000 : 0;
462 * Our dither-cell (spatially) i
    [all...]
  /external/libjpeg-turbo/
jdmerge.c 446 #define DITHER_565_R(r, dither) ((r) + ((dither) & 0xFF))
447 #define DITHER_565_G(g, dither) ((g) + (((dither) & 0xFF) >> 1))
448 #define DITHER_565_B(b, dither) ((b) + ((dither) & 0xFF))
453 * We use a 4x4 ordered dither array packed into 32 bits. This array is
  /frameworks/base/graphics/java/android/graphics/drawable/
ShapeDrawable.java 326 public void setDither(boolean dither) {
327 mShapeState.mPaint.setDither(dither);
446 boolean dither = paint.isDither();
447 dither = a.getBoolean(R.styleable.ShapeDrawable_dither, dither);
448 paint.setDither(dither);
  /external/eigen/bench/btl/data/
mk_new_gnuplot.sh 52 convert -background white -density 120 -rotate 90 -resize 800 +dither -colors 256 -quality 0 ../${DIR}/$WHAT.ps -background white -flatten ../${DIR}/$WHAT.png
  /external/glide/library/src/main/java/com/bumptech/glide/request/target/
SquaringDrawable.java 51 public void setDither(boolean dither) {
52 wrapped.setDither(dither);
  /external/skia/include/core/
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; }
  /frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/
DrawableWrapper.java 70 public void setDither(boolean dither) {
71 mDrawable.setDither(dither);

Completed in 1341 milliseconds

1 2 3 4 5 6