Home
last modified time | relevance | path

Searched refs:blue_bits (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/core/fxcodec/lbmp/
Dfx_bmp.cpp345 uint8_t blue_bits = 0; in bmp_decode_rgb() local
350 blue_bits++; in bmp_decode_rgb()
359 green_bits += blue_bits; in bmp_decode_rgb()
361 if (blue_bits > 8 || green_bits < 8 || red_bits < 8) in bmp_decode_rgb()
363 blue_bits = 8 - blue_bits; in bmp_decode_rgb()
368 *row_buf++ = (uint8_t)((*buf & bmp_ptr->mask_blue) << blue_bits); in bmp_decode_rgb()
740 uint8_t blue_bits = 0; in bmp_encode_bitfields() local
745 blue_bits++; in bmp_encode_bitfields()
754 green_bits += blue_bits; in bmp_encode_bitfields()
756 blue_bits = 8 - blue_bits; in bmp_encode_bitfields()
[all …]
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dxm_api.c684 GLint red_bits, green_bits, blue_bits, alpha_bits; in XMesaCreateVisual() local
742 blue_bits = _mesa_bitcount(GET_BLUEMASK(v)); in XMesaCreateVisual()
752 blue_bits = depth; in XMesaCreateVisual()
754 assert( red_bits + green_bits + blue_bits == v->visinfo->depth ); in XMesaCreateVisual()
769 vis->blueBits = blue_bits; in XMesaCreateVisual()
771 vis->rgbBits = red_bits + green_bits + blue_bits; in XMesaCreateVisual()
/external/mesa3d/src/mesa/drivers/x11/
Dxm_api.c758 GLint red_bits, green_bits, blue_bits, alpha_bits; in XMesaCreateVisual() local
830 blue_bits = _mesa_bitcount(GET_BLUEMASK(v)); in XMesaCreateVisual()
840 blue_bits = depth; in XMesaCreateVisual()
842 assert( red_bits + green_bits + blue_bits == GET_VISUAL_DEPTH(v) ); in XMesaCreateVisual()
850 blue_bits, alpha_bits, in XMesaCreateVisual()
/external/mesa3d/src/mesa/drivers/windows/gdi/
Dwmesa.c1011 GLint red_bits, green_bits, blue_bits, alpha_bits; in WMesaCreateContext() local
1051 red_bits = green_bits = blue_bits = 5; in WMesaCreateContext()
1055 red_bits = green_bits = blue_bits = 8; in WMesaCreateContext()
1062 red_bits, green_bits, blue_bits, /* color RGB */ in WMesaCreateContext()