Searched refs:blue_bits (Results 1 – 4 of 4) sorted by relevance
/external/pdfium/core/src/fxcodec/lbmp/ |
D | fx_bmp.cpp | 363 uint8_t blue_bits = 0; in _bmp_decode_rgb() local 368 blue_bits++; in _bmp_decode_rgb() 377 green_bits += blue_bits; in _bmp_decode_rgb() 379 blue_bits = 8 - blue_bits; in _bmp_decode_rgb() 384 *row_buf++ = (uint8_t)((*buf & bmp_ptr->mask_blue) << blue_bits); in _bmp_decode_rgb() 764 uint8_t blue_bits = 0; in _bmp_encode_bitfields() local 769 blue_bits++; in _bmp_encode_bitfields() 778 green_bits += blue_bits; in _bmp_encode_bitfields() 780 blue_bits = 8 - blue_bits; in _bmp_encode_bitfields() 793 pix_val |= (b >> blue_bits) & mask_blue; in _bmp_encode_bitfields()
|
/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
D | xm_api.c | 684 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/ |
D | xm_api.c | 758 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/ |
D | wmesa.c | 1011 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()
|