Home
last modified time | relevance | path

Searched refs:dither (Results 1 – 5 of 5) sorted by relevance

/system/core/libpixelflinger/
Dbuffer.cpp39 int sh, int sl, int dh, int dl, int ch, int cl, int dither);
167 int dither = -1; in write_pixel() local
169 dither = c->ditherMatrix[ (x & GGL_DITHER_MASK) + in write_pixel()
196 v = downshift_component(v, u, pixelSize, 0, h, l, 0, 0, dither); in write_pixel()
327 int dither) in downshift_component() argument
336 if (dither>=0) { in downshift_component()
339 if (shift >= 0) v += (dither >> shift) << sl; in downshift_component()
340 else v += (dither << (-shift)) << sl; in downshift_component()
Dscanline.cpp1475 ditherer dither(c); in scanline_t32cb16_dither() local
1479 *di.dst++ = dither.abgr8888ToRgb565(s); in scanline_t32cb16_dither()
1486 ditherer dither(c); in scanline_t32cb16_clamp_dither() local
1493 *di.dst++ = dither.abgr8888ToRgb565(s); in scanline_t32cb16_clamp_dither()
1500 *di.dst++ = dither.abgr8888ToRgb565(s); in scanline_t32cb16_clamp_dither()
1508 ditherer dither(c); in scanline_t32cb16blend_dither() local
1513 bl.write(s, di.dst, dither); in scanline_t32cb16blend_dither()
1543 ditherer dither(c); in scanline_t32cb16blend_clamp_dither() local
1549 bl.write(s, di.dst, dither); in scanline_t32cb16blend_clamp_dither()
1571 ditherer dither(c); in scanline_t32cb16blend_clamp_mod_dither() local
[all …]
/system/core/libpixelflinger/codeflinger/
Dload_store.cpp229 pixel_t& d, int component, component_t s, const reg_t& dither) in downshift() argument
333 if (shift>0) ADD(AL, 0, ireg, ireg, reg_imm(dither.reg, LSR, shift)); in downshift()
334 else if (shift<0) ADD(AL, 0, ireg, ireg, reg_imm(dither.reg, LSL,-shift)); in downshift()
335 else ADD(AL, 0, ireg, ireg, dither.reg); in downshift()
DGGLAssembler.cpp264 parts.dither = reg_t(regs.obtain()); in scanline_core()
265 AND(AL, 0, parts.dither.reg, parts.count.reg, imm(mask)); in scanline_core()
266 ADDR_ADD(AL, 0, parts.dither.reg, ctxtReg, parts.dither.reg); in scanline_core()
267 LDRB(AL, parts.dither.reg, parts.dither.reg, in scanline_core()
477 downshift(pixel, component, temp, parts.dither); in build_component()
DGGLAssembler.h308 reg_t dither; member
389 void downshift(pixel_t& d, int component, component_t s, const reg_t& dither);