/system/core/libpixelflinger/ |
H A D | 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 323 downshift_component( uint32_t in, uint32_t v, int sh, int sl, int dh, int dl, int ch, int cl, int dither) argument
|
H A D | scanline.cpp | 175 * dither means we dither 32 bit values to 16 bits 187 "565 fb, 8888 tx, blend SRC_OVER dither", scanline_t32cb16blend_dither, init_y_noop }, 191 "565 fb, 8888 tx, SRC dither", scanline_t32cb16_dither, init_y_noop }, 202 "565 fb, 8888 tx, SRC_OVER clamp dither", scanline_t32cb16blend_clamp_dither, init_y }, 213 "565 fb, 8888 tx, SRC_OVER clamp modulate dither", scanline_t32cb16blend_clamp_mod_dither, init_y }, 216 "565 fb, x888 tx, SRC_OVER clamp modulate dither", scanline_x32cb16blend_clamp_mod_dither, init_y }, 225 "565 fb, 8888 tx, SRC clamp dither", scanline_t32cb16_clamp_dither, init_y }, 228 "565 fb, x888 tx, SRC clamp dither", scanline_t32cb16_clamp_dither, init_y }, 1129 /* dither i [all...] |
/system/core/libpixelflinger/codeflinger/ |
H A D | load_store.cpp | 248 pixel_t& d, int component, component_t s, const reg_t& dither) 267 // see if we need to dither 352 if (shift>0) ADD(AL, 0, ireg, ireg, reg_imm(dither.reg, LSR, shift)); 353 else if (shift<0) ADD(AL, 0, ireg, ireg, reg_imm(dither.reg, LSL,-shift)); 354 else ADD(AL, 0, ireg, ireg, dither.reg); 247 downshift( pixel_t& d, int component, component_t s, const reg_t& dither) argument
|
H A D | GGLAssembler.cpp | 207 // update the dither index. 264 parts.dither = reg_t(regs.obtain()); 265 AND(AL, 0, parts.dither.reg, parts.count.reg, imm(mask)); 266 ADD(AL, 0, parts.dither.reg, parts.dither.reg, ctxtReg); 267 LDRB(AL, parts.dither.reg, parts.dither.reg, 373 // DD = dither offset 477 downshift(pixel, component, temp, parts.dither);
|
H A D | GGLAssembler.h | 302 reg_t dither; member in struct:android::GGLAssembler::fragment_parts_t 383 void downshift(pixel_t& d, int component, component_t s, const reg_t& dither);
|