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.cpp365 uint8_t blue_bits = 0; in DecodeRGB() local
370 blue_bits++; in DecodeRGB()
376 green_bits += blue_bits; in DecodeRGB()
378 if (blue_bits > 8 || green_bits < 8 || red_bits < 8) in DecodeRGB()
380 blue_bits = 8 - blue_bits; in DecodeRGB()
386 static_cast<uint8_t>((*buf & mask_blue) << blue_bits); in DecodeRGB()
/external/mesa3d/src/mesa/drivers/dri/common/
Dutils.c190 int blue_bits; in driCreateConfigs() local
227 blue_bits = _mesa_get_format_bits(format, GL_BLUE_BITS); in driCreateConfigs()
250 (red_bits + green_bits + blue_bits + alpha_bits == 16)) in driCreateConfigs()
261 modes->blueBits = blue_bits; in driCreateConfigs()
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dxm_api.c768 GLint red_bits, green_bits, blue_bits, alpha_bits; in XMesaCreateVisual() local
826 blue_bits = _mesa_bitcount(GET_BLUEMASK(v)); in XMesaCreateVisual()
836 blue_bits = depth; in XMesaCreateVisual()
838 assert( red_bits + green_bits + blue_bits == v->visinfo->depth ); in XMesaCreateVisual()
853 vis->blueBits = blue_bits; in XMesaCreateVisual()
855 vis->rgbBits = red_bits + green_bits + blue_bits; in XMesaCreateVisual()
/external/mesa3d/src/mesa/drivers/x11/
Dxm_api.c761 GLint red_bits, green_bits, blue_bits, alpha_bits; in XMesaCreateVisual() local
833 blue_bits = _mesa_bitcount(GET_BLUEMASK(v)); in XMesaCreateVisual()
843 blue_bits = depth; in XMesaCreateVisual()
845 assert( red_bits + green_bits + blue_bits == GET_VISUAL_DEPTH(v) ); in XMesaCreateVisual()
853 blue_bits, alpha_bits, in XMesaCreateVisual()