/external/skia/src/core/ |
SkBlitRow_D4444.cpp | 100 unsigned dither = DITHER_VALUE(x); local 101 *dst++ = SkDitherARGB32To4444(c, dither); 157 // need DitherExpand888To4444(expand, dither) 191 // no dither 198 // dither
|
SkBlitRow_D16.cpp | 96 unsigned dither = DITHER_VALUE(x); local 97 *dst++ = SkDitherRGB32To565(c, dither); 116 int dither = DITHER_VALUE(x); local 120 sr = SkDITHER_R32To565(sr, dither); 121 sg = SkDITHER_G32To565(sg, dither); 122 sb = SkDITHER_B32To565(sb, dither); 183 int dither = DITHER_VALUE(x); local 188 sr = SkDITHER_R32To565(sr, dither); 189 sg = SkDITHER_G32To565(sg, dither); 190 sb = SkDITHER_B32To565(sb, dither); [all...] |
/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/tests/ |
BlitRowTest.cpp | 139 bool dither = (k & 1) != 0; local 146 paint.setDither(dither); 151 SkDebugf("--- src index %d dither %d blend %d\n", j, dither, blend); 233 bool dither = (k & 1) != 0; local 235 paint.setDither(dither); 252 str.printf("Diagonal config=%s bg=0x%x dither=%d alpha=0x%x src=0x%x", 253 gConfigName[gDstConfig[i]], bgColor, dither, alpha, c);
|
/frameworks/base/services/surfaceflinger/ |
BlurFilter.cpp | 50 const int BLUR_DITHER_BITS = 6; // dither weights stored on 6 bits 80 inline uint16_t to(int shift, int last, int dither) const { 91 R += (dither << shift) >> BLUR_DITHER_BITS; 92 G += (dither << shift) >> BLUR_DITHER_BITS; 93 B += (dither << shift) >> BLUR_DITHER_BITS; 127 inline uint32_t to(int shift, int last, int dither) const { 170 inline uint16_t to(int shift, int last, int dither) const { 173 L += (dither << shift) >> BLUR_DITHER_BITS; 202 inline uint32_t to(int shift, int last, int dither) const { 206 L += (dither << (shift+2)) >> BLUR_DITHER_BITS 290 int count, dither, x=0; local [all...] |
/external/jpeg/ |
jquant1.c | 55 * We use a standard 16x16 ordered dither array. The basic concept of ordered 59 * "dither" value to the input pixel and then round the result to the nearest 60 * output value. The dither value is equivalent to (0.5 - threshold) times 63 * worse, since the dither may be too much or too little at a given point. 65 * The normal calculation would be to form pixel value + dither, range-limit 71 #define ODITHER_SIZE 16 /* dimension of dither matrix */ 80 /* 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 */ 339 /* For ordered dither, we pad the color index tables by MAXJSAMPLE i 523 int * dither; \/* points to active row of dither matrix *\/ local [all...] |
/external/quake/quake/src/QW/client/ |
vid_svgalib.c | 801 static int dither; variable 805 if (dither == 0) 808 dither = 1; 814 if (dither) 817 dither = 0;
|
vid_x.c | 948 static int dither;
variable 952 if (dither == 0)
955 dither = 1;
961 if (dither)
964 dither = 0;
|
/external/quake/quake/src/WinQuake/ |
vid_svgalib.cpp | 788 static int dither; variable 792 if (dither == 0) 795 dither = 1; 801 if (dither) 804 dither = 0;
|
vid_x.cpp | 1040 static int dither; variable 1044 if (dither == 0) 1047 dither = 1; 1053 if (dither) 1056 dither = 0;
|
vid_sunx.cpp | 1105 static int dither; variable 1109 if (dither == 0) 1112 dither = 1; 1118 if (dither) 1121 dither = 0;
|
vid_sunxil.cpp | 1165 static int dither; variable 1169 if (dither == 0) { 1171 dither = 1; 1177 if (dither) { 1179 dither = 0;
|
/external/skia/src/opts/ |
SkBlitRow_opts_arm.cpp | 315 /* dither matrix for Neon, derived from gDitherMatrix_3Bit_16. 316 * each dither value is spaced out into byte lanes, and repeated 331 /* select row and offset for dither array */ 338 "vld1.8 {d31}, [%[dstart]] \n\t" // load dither values 339 "vshr.u8 d30, d31, #1 \n\t" // calc. green dither values 348 "vaddl.u8 q8, d0, d31 \n\t" // add in dither to red and widen 349 "vaddl.u8 q9, d1, d30 \n\t" // add in dither to green and widen 350 "vaddl.u8 q10, d2, d31 \n\t" // add in dither to blue and widen 399 int dither = DITHER_VALUE(x); local 403 sr = SkDITHER_R32To565(sr, dither); 895 unsigned dither = DITHER_VALUE(x); local 998 unsigned dither = DITHER_VALUE(myx); local 1025 unsigned dither = DITHER_VALUE(x); local [all...] |
/system/core/libpixelflinger/codeflinger/ |
GGLAssembler.h | 298 reg_t dither; member in struct:android::GGLAssembler::fragment_parts_t 379 void downshift(pixel_t& d, int component, component_t s, const reg_t& dither);
|
/prebuilt/sdk/10/ |
android.jar | |
/prebuilt/sdk/4/ |
android.jar | |
/prebuilt/sdk/6/ |
android.jar | |
/prebuilt/sdk/7/ |
android.jar | |
/prebuilt/sdk/9/ |
android.jar | |
/prebuilt/sdk/8/ |
android.jar | |
/prebuilt/sdk/5/ |
android.jar | |
/prebuilt/linux-x86/swt/ |
swt.jar | |
/prebuilt/linux-x86_64/swt/ |
swt.jar | |