Home
last modified time | relevance | path

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

/external/pdfium/core/fxcodec/lbmp/
Dfx_bmp.cpp237 bmp_ptr->mask_red = GetDWord_LSBFirst((uint8_t*)&mask[0]); in bmp_read_header()
240 if (bmp_ptr->mask_red & bmp_ptr->mask_green || in bmp_read_header()
241 bmp_ptr->mask_red & bmp_ptr->mask_blue || in bmp_read_header()
252 bmp_ptr->mask_red = 0x7C00; in bmp_read_header()
355 if ((bmp_ptr->mask_red >> i) & 0x01) { in bmp_decode_rgb()
370 *row_buf++ = (uint8_t)((*buf++ & bmp_ptr->mask_red) >> red_bits); in bmp_decode_rgb()
715 uint32_t mask_red; in bmp_encode_bitfields() local
718 mask_red = 0x7C00; in bmp_encode_bitfields()
723 mask_red = 0xF800; in bmp_encode_bitfields()
728 mask_red = 0xFF0000; in bmp_encode_bitfields()
[all …]
Dfx_bmp.h98 uint32_t mask_red; member
/external/pdfium/core/fxge/dib/
Dfx_dib_composite.cpp3809 int& mask_red, in ScanlineCompositor_InitSourceMask() argument
3817 mask_red = FXSYS_GetCValue(mask_color); in ScanlineCompositor_InitSourceMask()
3823 mask_red = FXARGB_R(mask_color); in ScanlineCompositor_InitSourceMask()
3836 mask_red = dest_format & 0x0400 ? FX_CCOLOR(gray_p[0]) : gray_p[0]; in ScanlineCompositor_InitSourceMask()
3840 AdobeCMYK_to_sRGB1(mask_red, mask_green, mask_blue, mask_black, r, g, in ScanlineCompositor_InitSourceMask()
3842 mask_red = FXRGB2GRAY(r, g, b); in ScanlineCompositor_InitSourceMask()
3844 mask_red = FXRGB2GRAY(mask_red, mask_green, mask_blue); in ScanlineCompositor_InitSourceMask()
3847 mask_red = FX_CCOLOR(mask_red); in ScanlineCompositor_InitSourceMask()
3857 mask_red = mask_color_p[2]; in ScanlineCompositor_InitSourceMask()
3864 mask_red = mask_color_p[2]; in ScanlineCompositor_InitSourceMask()