Searched refs:FXRGB2GRAY (Results 1 – 8 of 8) sorted by relevance
/external/pdfium/core/fxge/dib/ |
D | cfx_dibitmap.cpp | 594 *pos = FXRGB2GRAY(FXARGB_R(color), FXARGB_G(color), FXARGB_B(color)); in SetPixel() 700 int gray = FXRGB2GRAY(FXARGB_R(m_pPalette.get()[i]), in ConvertRGBColorScale() 714 int gray = FXRGB2GRAY(scanline[2], scanline[1], scanline[0]); in ConvertRGBColorScale() 727 int gray = FXRGB2GRAY(scanline[2], scanline[1], scanline[0]); in ConvertRGBColorScale() 761 int gray = 255 - FXRGB2GRAY(r, g, b); in ConvertCMYKColorScale() 780 *scanline++ = 255 - FXRGB2GRAY(r, g, b); in ConvertCMYKColorScale() 793 int gray = 255 - FXRGB2GRAY(r, g, b); in ConvertCMYKColorScale() 1010 gray = FXRGB2GRAY(r, g, b); in CompositeRect() 1012 gray = (uint8_t)FXRGB2GRAY((int)color_p[2], color_p[1], color_p[0]); in CompositeRect()
|
D | cfx_dibsource.cpp | 167 gray[0] = FXRGB2GRAY(reset_r, reset_g, reset_b); in ConvertBuffer_1bppPlt2Gray() 168 gray[1] = FXRGB2GRAY(set_r, set_g, set_b); in ConvertBuffer_1bppPlt2Gray() 199 gray[i] = FXRGB2GRAY(r, g, b); in ConvertBuffer_8bppPlt2Gray() 203 gray[i] = FXRGB2GRAY(FXARGB_R(src_plt[i]), FXARGB_G(src_plt[i]), in ConvertBuffer_8bppPlt2Gray() 238 *dest_scan++ = FXRGB2GRAY(r, g, b); in ConvertBuffer_RgbOrCmyk2Gray() 248 *dest_scan++ = FXRGB2GRAY(src_scan[2], src_scan[1], src_scan[0]); in ConvertBuffer_RgbOrCmyk2Gray()
|
D | cfx_scanlinecompositor.cpp | 220 return FXRGB2GRAY(src_scan[2], src_scan[1], *src_scan); in GetGray() 2886 m_MaskRed = FXRGB2GRAY(r, g, b); in InitSourceMask() 2888 m_MaskRed = FXRGB2GRAY(m_MaskRed, m_MaskGreen, m_MaskBlue); in InitSourceMask() 2927 *gray_pal++ = FXRGB2GRAY(r, g, b); in InitSourcePalette() 2933 FXRGB2GRAY(FXARGB_R(argb), FXARGB_G(argb), FXARGB_B(argb)); in InitSourcePalette()
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_renderoptions.cpp | 35 int gray = FXRGB2GRAY(r, g, b); in TranslateColor()
|
D | cpdf_renderstatus.cpp | 2684 *dest_pos++ = transfers[FXRGB2GRAY(src_pos[2], src_pos[1], *src_pos)]; in LoadSMask()
|
/external/pdfium/core/fxge/ |
D | fx_dib.h | 109 #define FXRGB2GRAY(r, g, b) (((b)*11 + (g)*59 + (r)*30) / 100) macro
|
/external/pdfium/core/fxcodec/codec/ |
D | fx_codec_progress.cpp | 663 FXRGB2GRAY(FXARGB_R(argb), FXARGB_G(argb), FXARGB_B(argb)); in GifInputRecordPositionBuf() 1520 (uint8_t)FXRGB2GRAY((des_r >> 16), (des_g >> 16), (des_b >> 16)); in ReSampleScanline() 1534 (uint8_t)FXRGB2GRAY((des_r >> 16), (des_g >> 16), (des_b >> 16)); in ReSampleScanline() 1554 (uint8_t)FXRGB2GRAY((des_r >> 16), (des_g >> 16), (des_b >> 16)); in ReSampleScanline() 2317 *des_line++ = FXRGB2GRAY(r, g, b); in TifContinueDecode()
|
/external/pdfium/core/fxge/agg/ |
D | fx_agg_driver.cpp | 909 m_Gray = FXRGB2GRAY(FXARGB_R(color), FXARGB_G(color), FXARGB_B(color)); in Init()
|