Home
last modified time | relevance | path

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

/system/core/libpixelflinger/
Dbuffer.cpp41 int sh, int sl, int dh, int dl, int ch, int cl, int dither);
169 int dither = -1; in write_pixel() local
171 dither = c->ditherMatrix[ (x & GGL_DITHER_MASK) + in write_pixel()
198 v = downshift_component(v, u, pixelSize, 0, h, l, 0, 0, dither); in write_pixel()
332 int dither) in downshift_component() argument
341 if (dither>=0) { in downshift_component()
344 if (shift >= 0) v += (dither >> shift) << sl; in downshift_component()
345 else v += (dither << (-shift)) << sl; in downshift_component()
Dscanline.cpp1470 ditherer dither(c); in scanline_t32cb16_dither() local
1474 *di.dst++ = dither.abgr8888ToRgb565(s); in scanline_t32cb16_dither()
1481 ditherer dither(c); in scanline_t32cb16_clamp_dither() local
1488 *di.dst++ = dither.abgr8888ToRgb565(s); in scanline_t32cb16_clamp_dither()
1495 *di.dst++ = dither.abgr8888ToRgb565(s); in scanline_t32cb16_clamp_dither()
1503 ditherer dither(c); in scanline_t32cb16blend_dither() local
1508 bl.write(s, di.dst, dither); in scanline_t32cb16blend_dither()
1538 ditherer dither(c); in scanline_t32cb16blend_clamp_dither() local
1544 bl.write(s, di.dst, dither); in scanline_t32cb16blend_clamp_dither()
1566 ditherer dither(c); in scanline_t32cb16blend_clamp_mod_dither() local
[all …]
/system/core/libpixelflinger/codeflinger/
Dload_store.cpp233 pixel_t& d, int component, component_t s, const reg_t& dither) in downshift() argument
336 if (shift>0) ADD(AL, 0, ireg, ireg, reg_imm(dither.reg, LSR, shift)); in downshift()
337 else if (shift<0) ADD(AL, 0, ireg, ireg, reg_imm(dither.reg, LSL,-shift)); in downshift()
338 else ADD(AL, 0, ireg, ireg, dither.reg); in downshift()
DGGLAssembler.cpp263 parts.dither = reg_t(regs.obtain()); in scanline_core()
264 AND(AL, 0, parts.dither.reg, parts.count.reg, imm(mask)); in scanline_core()
265 ADDR_ADD(AL, 0, parts.dither.reg, ctxtReg, parts.dither.reg); in scanline_core()
266 LDRB(AL, parts.dither.reg, parts.dither.reg, in scanline_core()
475 downshift(pixel, component, temp, parts.dither); in build_component()
DGGLAssembler.h316 reg_t dither; member
397 void downshift(pixel_t& d, int component, component_t s, const reg_t& dither);