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

1 2 3 4 5

  /frameworks/base/libs/hwui/
Dither.cpp 18 #include "Dither.h"
27 Dither::Dither(): mCaches(NULL), mInitialized(false), mDitherTexture(0) {
30 void Dither::bindDitherTexture() {
48 float dither = 1.0f / (255.0f * DITHER_KERNEL_SIZE * DITHER_KERNEL_SIZE); local
50 0 * dither, 8 * dither, 2 * dither, 10 * dither,
51 12 * dither, 4 * dither, 14 * dither, 6 * dither
    [all...]
  /external/chromium_org/third_party/skia/include/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...]
  /external/skia/include/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...]
  /external/chromium_org/gpu/command_buffer/client/
client_context_state_autogen.h 18 bool dither; member in struct:EnableFlags
client_context_state_impl_autogen.h 17 dither(true),
49 if (enable_flags.dither != enabled) {
51 enable_flags.dither = enabled;
101 *enabled = enable_flags.dither;
  /external/jpeg/
jmorecfg.h 31 #define DITHER_565_R(r, dither) ((r) + ((dither)&0xFF))
32 #define DITHER_565_G(g, dither) ((g) + (((dither)&0xFF)>>1))
33 #define DITHER_565_B(b, dither) ((b) + ((dither)&0xFF))
  /external/qemu/distrib/jpeg-6b/
jmorecfg.h 33 #define DITHER_565_R(r, dither) ((r) + ((dither)&0xFF))
34 #define DITHER_565_G(g, dither) ((g) + (((dither)&0xFF)>>1))
35 #define DITHER_565_B(b, dither) ((b) + ((dither)&0xFF))
  /external/chromium_org/third_party/skia/include/images/
SkImageRef.h 43 void setDitherImage(bool dither) { fDoDither = dither; }
  /external/skia/gm/
cmykjpeg.cpp 26 bool dither = false; variable
45 codec->setDitherImage(dither);
  /external/skia/include/images/
SkImageRef.h 43 void setDitherImage(bool dither) { fDoDither = dither; }
  /external/robolectric/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/chromium_org/third_party/skia/src/core/
SkBlitRow_D16.cpp 101 unsigned dither = DITHER_VALUE(x); local
102 *dst++ = SkDitherRGB32To565(c, dither);
120 int dither = DITHER_VALUE(x); local
124 sr = SkDITHER_R32To565(sr, dither);
125 sg = SkDITHER_G32To565(sg, dither);
126 sb = SkDITHER_B32To565(sb, dither);
187 int dither = DITHER_VALUE(x); local
192 sr = SkDITHER_R32To565(sr, dither);
193 sg = SkDITHER_G32To565(sg, dither);
194 sb = SkDITHER_B32To565(sb, dither);
    [all...]
  /external/skia/src/core/
SkBlitRow_D16.cpp 101 unsigned dither = DITHER_VALUE(x); local
102 *dst++ = SkDitherRGB32To565(c, dither);
120 int dither = DITHER_VALUE(x); local
124 sr = SkDITHER_R32To565(sr, dither);
125 sg = SkDITHER_G32To565(sg, dither);
126 sb = SkDITHER_B32To565(sb, dither);
187 int dither = DITHER_VALUE(x); local
192 sr = SkDITHER_R32To565(sr, dither);
193 sg = SkDITHER_G32To565(sg, dither);
194 sb = SkDITHER_B32To565(sb, dither);
    [all...]
  /external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
arith_routines.h 39 const WebRtc_Word16 *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);
  /cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/
ProgramStoreTest.java 35 for (int dither = 0; dither <= 1; dither++) {
36 boolean isDither = (dither == 1);
  /frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
UT_program_store.java 114 boolean dither) {
123 _RS_ASSERT("ps.isDitherEnabled() == dither", ps.isDitherEnabled() == dither);
139 for (int dither = 0; dither <= 1; dither++) {
140 boolean isDither = (dither == 1);
  /external/skia/tests/
BlitRowTest.cpp 143 bool dither = (k & 1) != 0; local
150 paint.setDither(dither);
155 SkDebugf("--- src index %d dither %d blend %d\n", j, dither, blend);
237 bool dither = (k & 1) != 0; local
239 paint.setDither(dither);
256 str.printf("Diagonal config=%s bg=0x%x dither=%d alpha=0x%x src=0x%x",
257 gConfigName[gDstConfig[i]], bgColor, dither, alpha, c);
  /frameworks/base/graphics/java/android/graphics/drawable/
NinePatchDrawable.java 293 public void setDither(boolean dither) {
295 if (mPaint == null && dither == DEFAULT_DITHER) {
296 // Fast common case -- leave at default dither.
299 getPaint().setDither(dither);
336 final boolean dither = a.getBoolean(
339 if (dither) {
371 padding, opticalInsets, dither, automirrored), r);
459 NinePatchState(NinePatch ninePatch, Rect rect, Rect opticalInsets, boolean dither,
464 mDither = dither;
PictureDrawable.java 98 public void setDither(boolean 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/chromium_org/gpu/command_buffer/service/
context_state_autogen.h 18 bool dither; member in struct:EnableFlags
  /external/chromium_org/third_party/angle/src/libGLESv2/
angletypes.h 77 bool dither; member in struct:gl::BlendState
  /external/chromium_org/third_party/skia/include/gpu/
GrPaint.h 84 void setDither(bool dither) { fDither = dither; }

Completed in 1074 milliseconds

1 2 3 4 5