Home
last modified time | relevance | path

Searched refs:bshift (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/third_party/opus/src/celt/
Dmathops.c45 int bshift; in isqrt32() local
51 bshift=(EC_ILOG(_val)-1)>>1; in isqrt32()
52 b=1U<<bshift; in isqrt32()
55 t=(((opus_uint32)g<<1)+b)<<bshift; in isqrt32()
61 bshift--; in isqrt32()
63 while(bshift>=0); in isqrt32()
/external/libopus/celt/
Dmathops.c45 int bshift; in isqrt32() local
51 bshift=(EC_ILOG(_val)-1)>>1; in isqrt32()
52 b=1U<<bshift; in isqrt32()
55 t=(((opus_uint32)g<<1)+b)<<bshift; in isqrt32()
61 bshift--; in isqrt32()
63 while(bshift>=0); in isqrt32()
/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()
400 uint32_t bshift = surface->format->Bshift; 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()
494 uint32_t bshift = surface->format->Bshift; in display_redraw_rect32() local
[all …]
Dscaler.c162 uint32_t bshift = dst_surface->format->Bshift; in skin_scaler_scale() local
175 line[x] = (r << rshift) | (g << gshift) | (b << bshift) | in skin_scaler_scale()
/external/qemu/ui/
Dconsole.c1683 pf.bshift = 16; in qemu_different_endianness_pixelformat()
1700 pf.bshift = 24; in qemu_different_endianness_pixelformat()
1734 pf.bshift = 0; in qemu_default_pixelformat()
1748 pf.bshift = 0; in qemu_default_pixelformat()
1762 pf.bshift = 0; in qemu_default_pixelformat()
1777 pf.bshift = 0; in qemu_default_pixelformat()
Dvnc.c405 b = ((((v & vs->server.ds->pf.bmask) >> vs->server.ds->pf.bshift) << vs->clientds.pf.bbits) >> in vnc_convert_pixel()
409 (b << vs->clientds.pf.bshift); in vnc_convert_pixel()
1640 vs->clientds.pf.bshift = blue_shift; in set_pixel_format()
1670 vnc_write_u8(vs, vs->ds->surface->pf.bshift); /* blue-shift */ in pixel_format_message()
Dvnc-android.c413 b = ((((v & vs->server.ds->pf.bmask) >> vs->server.ds->pf.bshift) << vs->clientds.pf.bbits) >> in vnc_convert_pixel()
417 (b << vs->clientds.pf.bshift); in vnc_convert_pixel()
1647 vs->clientds.pf.bshift = blue_shift; in set_pixel_format()
1677 vnc_write_u8(vs, vs->ds->surface->pf.bshift); /* blue-shift */ in pixel_format_message()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/
DxmesaP.h93 GLint rshift, gshift, bshift;/* Pixel color component shifts */ member
Dxm_api.c446 v->bshift = 0; in setup_truecolor()
449 v->bshift++; in setup_truecolor()
485 v->BtoPixel[i] = (b >> (8-bBits)) << v->bshift; in setup_truecolor()
/external/mesa3d/src/mesa/drivers/x11/
DxmesaP.h93 GLint rshift, gshift, bshift;/* Pixel color component shifts */ member
Dxm_api.c446 v->bshift = 0; in setup_truecolor()
449 v->bshift++; in setup_truecolor()
485 v->BtoPixel[i] = (b >> (8-bBits)) << v->bshift; in setup_truecolor()
/external/qemu/include/ui/
Dconsole.h132 uint8_t rshift, gshift, bshift, ashift; member
/external/qemu/hw/android/goldfish/
Dfb.c178 pf->bbits, pf->bmask, pf->bshift, pf->bmax); in goldfish_fb_get_pixel_format()
/external/libyuv/files/source/
Drow_common.cc451 int ashift, int rshift, int gshift, int bshift) { in YuvPixel() argument
456 *reinterpret_cast<uint32*>(rgb_buf) = (b << bshift) | in YuvPixel()
/external/chromium_org/third_party/icu/source/i18n/
DdecNumber.c6378 const Unit *b, Int blength, Int bshift, argument
6397 if (bshift!=0) { /* B is shifted; low As copy across */
6398 minC+=bshift;
6400 if (a==c && bshift<=alength) {
6401 c+=bshift;
6402 a+=bshift;
6404 else for (; c<clsu+bshift; a++, c++) { /* copy needed */
/external/icu/icu4c/source/i18n/
DdecNumber.c6380 const Unit *b, Int blength, Int bshift, argument
6399 if (bshift!=0) { /* B is shifted; low As copy across */
6400 minC+=bshift;
6402 if (a==c && bshift<=alength) {
6403 c+=bshift;
6404 a+=bshift;
6406 else for (; c<clsu+bshift; a++, c++) { /* copy needed */