/external/pdfium/core/src/fxcodec/lbmp/ |
fx_bmp.cpp | 365 uint8_t red_bits = 0;
local 374 red_bits++;
378 red_bits += green_bits;
381 red_bits -= 8;
386 *row_buf++ = (uint8_t)((*buf++ & bmp_ptr->mask_red) >> red_bits);
766 uint8_t red_bits = 0;
local 775 red_bits++;
779 red_bits += green_bits;
782 red_bits -= 8;
795 pix_val |= (r << red_bits) & mask_red; [all...] |
/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
xm_api.c | 684 GLint red_bits, green_bits, blue_bits, alpha_bits; local 740 red_bits = _mesa_bitcount(GET_REDMASK(v)); 748 red_bits = depth / 3; 749 depth -= red_bits; 754 assert( red_bits + green_bits + blue_bits == v->visinfo->depth ); 767 vis->redBits = red_bits; 771 vis->rgbBits = red_bits + green_bits + blue_bits; [all...] |
/external/mesa3d/src/mesa/drivers/x11/ |
xm_api.c | 758 GLint red_bits, green_bits, blue_bits, alpha_bits; local 828 red_bits = _mesa_bitcount(GET_REDMASK(v)); 836 red_bits = depth / 3; 837 depth -= red_bits; 842 assert( red_bits + green_bits + blue_bits == GET_VISUAL_DEPTH(v) ); 849 red_bits, green_bits, [all...] |
/external/mesa3d/src/mesa/drivers/windows/gdi/ |
wmesa.c | 1011 GLint red_bits, green_bits, blue_bits, alpha_bits; local 1051 red_bits = green_bits = blue_bits = 5; 1055 red_bits = green_bits = blue_bits = 8; 1062 red_bits, green_bits, blue_bits, /* color RGB */ [all...] |