Home
last modified time | relevance | path

Searched refs:mask_red (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/core/src/fxcodec/lbmp/
Dfx_bmp.cpp244 bmp_ptr->mask_red = _GetDWord_LSBFirst((uint8_t*)&mask[0]); in _bmp_read_header()
247 if (bmp_ptr->mask_red & bmp_ptr->mask_green || in _bmp_read_header()
248 bmp_ptr->mask_red & bmp_ptr->mask_blue || in _bmp_read_header()
259 bmp_ptr->mask_red = 0x7C00; in _bmp_read_header()
373 if ((bmp_ptr->mask_red >> i) & 0x01) { in _bmp_decode_rgb()
386 *row_buf++ = (uint8_t)((*buf++ & bmp_ptr->mask_red) >> red_bits); in _bmp_decode_rgb()
739 FX_DWORD mask_red; in _bmp_encode_bitfields() local
742 mask_red = 0x7C00; in _bmp_encode_bitfields()
747 mask_red = 0xF800; in _bmp_encode_bitfields()
752 mask_red = 0xFF0000; in _bmp_encode_bitfields()
[all …]
Dfx_bmp.h97 FX_DWORD mask_red; member
/external/pdfium/core/src/fxge/dib/
Dfx_dib_composite.cpp3984 int& mask_red, in _ScanlineCompositor_InitSourceMask() argument
3993 mask_red = FXSYS_GetCValue(mask_color); in _ScanlineCompositor_InitSourceMask()
3999 mask_red = FXARGB_R(mask_color); in _ScanlineCompositor_InitSourceMask()
4012 mask_red = dest_format & 0x0400 ? FX_CCOLOR(gray_p[0]) : gray_p[0]; in _ScanlineCompositor_InitSourceMask()
4016 AdobeCMYK_to_sRGB1(mask_red, mask_green, mask_blue, mask_black, r, g, in _ScanlineCompositor_InitSourceMask()
4018 mask_red = FXRGB2GRAY(r, g, b); in _ScanlineCompositor_InitSourceMask()
4020 mask_red = FXRGB2GRAY(mask_red, mask_green, mask_blue); in _ScanlineCompositor_InitSourceMask()
4023 mask_red = FX_CCOLOR(mask_red); in _ScanlineCompositor_InitSourceMask()
4033 mask_red = mask_color_p[2]; in _ScanlineCompositor_InitSourceMask()
4040 mask_red = mask_color_p[2]; in _ScanlineCompositor_InitSourceMask()