Home
last modified time | relevance | path

Searched refs:gshift (Results 1 – 12 of 12) sorted by relevance

/external/qemu/android/skin/
Dwindow.c152 uint32_t rshift, uint32_t gshift, uint32_t bshift, uint32_t amask) in rgb565_to_rgba32() argument
157 return (r8 << rshift) | (g8 << gshift) | (b8 << bshift) | amask; in rgb565_to_rgba32()
164 uint32_t rshift, uint32_t gshift, uint32_t bshift, uint32_t amask) in xbgr_to_rgba32() argument
169 return (r8 << rshift) | (g8 << gshift) | (b8 << bshift) | amask; in xbgr_to_rgba32()
399 uint32_t gshift = surface->format->Gshift; in display_redraw_rect16() local
415 dst[xx] = rgb565_to_rgba32(src[xx], rshift, gshift, bshift, amask); in display_redraw_rect16()
432 dst[0] = rgb565_to_rgba32(((uint16_t*)src)[0], rshift, gshift, bshift, amask); in display_redraw_rect16()
450 dst[0] = rgb565_to_rgba32(src[0], rshift, gshift, bshift, amask); in display_redraw_rect16()
468 dst[0] = rgb565_to_rgba32(((uint16_t*)src)[0], rshift, gshift, bshift, amask); in display_redraw_rect16()
493 uint32_t gshift = surface->format->Gshift; in display_redraw_rect32() local
[all …]
Dscaler.c161 uint32_t gshift = dst_surface->format->Gshift; in skin_scaler_scale() local
175 line[x] = (r << rshift) | (g << gshift) | (b << bshift) | in skin_scaler_scale()
/external/qemu/ui/
Dconsole.c1682 pf.gshift = 8; in qemu_different_endianness_pixelformat()
1699 pf.gshift = 16; in qemu_different_endianness_pixelformat()
1733 pf.gshift = 5; in qemu_default_pixelformat()
1747 pf.gshift = 5; in qemu_default_pixelformat()
1761 pf.gshift = 8; in qemu_default_pixelformat()
1776 pf.gshift = 8; in qemu_default_pixelformat()
Dvnc.c403 g = ((((v & vs->server.ds->pf.gmask) >> vs->server.ds->pf.gshift) << vs->clientds.pf.gbits) >> in vnc_convert_pixel()
408 (g << vs->clientds.pf.gshift) | in vnc_convert_pixel()
1636 vs->clientds.pf.gshift = green_shift; in set_pixel_format()
1669 vnc_write_u8(vs, vs->ds->surface->pf.gshift); /* green-shift */ in pixel_format_message()
Dvnc-android.c411 g = ((((v & vs->server.ds->pf.gmask) >> vs->server.ds->pf.gshift) << vs->clientds.pf.gbits) >> in vnc_convert_pixel()
416 (g << vs->clientds.pf.gshift) | in vnc_convert_pixel()
1643 vs->clientds.pf.gshift = green_shift; in set_pixel_format()
1676 vnc_write_u8(vs, vs->ds->surface->pf.gshift); /* green-shift */ in pixel_format_message()
/external/mesa3d/src/mesa/drivers/x11/
DxmesaP.h93 GLint rshift, gshift, bshift;/* Pixel color component shifts */ member
Dxm_api.c438 v->gshift = 0; in setup_truecolor()
441 v->gshift++; in setup_truecolor()
484 v->GtoPixel[i] = (g >> (8-gBits)) << v->gshift; in setup_truecolor()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/
DxmesaP.h93 GLint rshift, gshift, bshift;/* Pixel color component shifts */ member
Dxm_api.c438 v->gshift = 0; in setup_truecolor()
441 v->gshift++; in setup_truecolor()
484 v->GtoPixel[i] = (g >> (8-gBits)) << v->gshift; in setup_truecolor()
/external/qemu/include/ui/
Dconsole.h132 uint8_t rshift, gshift, bshift, ashift; member
/external/qemu/hw/android/goldfish/
Dfb.c176 pf->gbits, pf->gmask, pf->gshift, pf->gmax); in goldfish_fb_get_pixel_format()
/external/libyuv/files/source/
Drow_common.cc451 int ashift, int rshift, int gshift, int bshift) { in YuvPixel() argument
457 (g << gshift) | in YuvPixel()