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

/system/core/libpixelflinger/codeflinger/
H A Dload_store.cpp248 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 DGGLAssembler.h302 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);
/system/core/libpixelflinger/
H A Dbuffer.cpp39 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

Completed in 25 milliseconds