Home
last modified time | relevance | path

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

/external/pdfium/core/fxcodec/lbmp/
Dfx_bmp.cpp366 uint8_t green_bits = 0; in DecodeRGB() local
372 green_bits++; in DecodeRGB()
376 green_bits += blue_bits; in DecodeRGB()
377 red_bits += green_bits; in DecodeRGB()
378 if (blue_bits > 8 || green_bits < 8 || red_bits < 8) in DecodeRGB()
381 green_bits -= 8; in DecodeRGB()
388 static_cast<uint8_t>((*buf & mask_green) >> green_bits); in DecodeRGB()
/external/mesa3d/src/mesa/drivers/dri/common/
Dutils.c189 int green_bits; in driCreateConfigs() local
226 green_bits = _mesa_get_format_bits(format, GL_GREEN_BITS); in driCreateConfigs()
250 (red_bits + green_bits + blue_bits + alpha_bits == 16)) in driCreateConfigs()
260 modes->greenBits = green_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
825 green_bits = _mesa_bitcount(GET_GREENMASK(v)); in XMesaCreateVisual()
834 green_bits = depth / 2; in XMesaCreateVisual()
835 depth -= green_bits; in XMesaCreateVisual()
838 assert( red_bits + green_bits + blue_bits == v->visinfo->depth ); in XMesaCreateVisual()
852 vis->greenBits = green_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
832 green_bits = _mesa_bitcount(GET_GREENMASK(v)); in XMesaCreateVisual()
841 green_bits = depth / 2; in XMesaCreateVisual()
842 depth -= green_bits; in XMesaCreateVisual()
845 assert( red_bits + green_bits + blue_bits == GET_VISUAL_DEPTH(v) ); in XMesaCreateVisual()
852 red_bits, green_bits, in XMesaCreateVisual()