Searched refs:FXRGB2GRAY (Results 1 – 7 of 7) sorted by relevance
/external/pdfium/core/src/fxge/dib/ |
D | fx_dib_main.cpp | 907 gray[i] = (FX_BYTE)FXRGB2GRAY(r, g, b); 941 gray[i] = (FX_BYTE)FXRGB2GRAY(r, g, b); 975 *dest_pos ++ = FXRGB2GRAY(src_pos[2], src_pos[1], *src_pos); 996 *dest_pos ++ = FXRGB2GRAY(src_pos[2], src_pos[1], *src_pos); 1141 *pos = FXRGB2GRAY(FXARGB_R(color), FXARGB_G(color), FXARGB_B(color)); 1273 int gray = 255 - FXRGB2GRAY(r, g, b); 1279 … int gray = FXRGB2GRAY(FXARGB_R(m_pPalette[i]), FXARGB_G(m_pPalette[i]), FXARGB_B(m_pPalette[i])); 1296 *scanline ++ = 255 - FXRGB2GRAY(r, g, b); 1306 int gray = FXRGB2GRAY(scanline[2], scanline[1], scanline[0]); 1322 int gray = 255 - FXRGB2GRAY(r, g, b); [all …]
|
D | fx_dib_composite.cpp | 325 *dest_scan = FXRGB2GRAY(src_scan[2], src_scan[1], *src_scan); in _CompositeRow_Argb2Graya() 350 gray = FXRGB2GRAY(src_scan[2], src_scan[1], *src_scan); in _CompositeRow_Argb2Graya() 373 *dest_scan = FXRGB2GRAY(src_scan[2], src_scan[1], *src_scan); in _CompositeRow_Argb2Graya() 398 gray = FXRGB2GRAY(src_scan[2], src_scan[1], *src_scan); in _CompositeRow_Argb2Graya() 419 *dest_scan = FXRGB2GRAY(src_scan[2], src_scan[1], *src_scan); in _CompositeRow_Argb2Graya() 444 gray = FXRGB2GRAY(src_scan[2], src_scan[1], *src_scan); in _CompositeRow_Argb2Graya() 463 *dest_scan = FXRGB2GRAY(src_scan[2], src_scan[1], *src_scan); in _CompositeRow_Argb2Graya() 488 gray = FXRGB2GRAY(src_scan[2], src_scan[1], *src_scan); in _CompositeRow_Argb2Graya() 518 gray = FXRGB2GRAY(src_scan[2], src_scan[1], *src_scan); in _CompositeRow_Argb2Gray() 539 gray = FXRGB2GRAY(src_scan[2], src_scan[1], *src_scan); in _CompositeRow_Argb2Gray() [all …]
|
D | fx_dib_convert.cpp | 360 gray[0] = FXRGB2GRAY(reset_r, reset_g, reset_b); in _ConvertBuffer_1bppPlt2Gray() 361 gray[1] = FXRGB2GRAY(set_r, set_g, set_b); in _ConvertBuffer_1bppPlt2Gray() 403 gray[i] = FXRGB2GRAY(r, g, b); in _ConvertBuffer_8bppPlt2Gray() 407 … gray[i] = FXRGB2GRAY(FXARGB_R(src_plt[i]), FXARGB_G(src_plt[i]), FXARGB_B(src_plt[i])); in _ConvertBuffer_8bppPlt2Gray() 451 *dest_scan++ = FXRGB2GRAY(r, g, b); in _ConvertBuffer_RgbOrCmyk2Gray() 460 *dest_scan++ = FXRGB2GRAY(src_scan[2], src_scan[1], src_scan[0]); in _ConvertBuffer_RgbOrCmyk2Gray()
|
/external/pdfium/core/include/fxge/ |
D | fx_dib.h | 99 #define FXRGB2GRAY(r,g,b) (((b) * 11 + (g) * 59 + (r) * 30) / 100) macro
|
/external/pdfium/core/src/fxge/agg/agg23/ |
D | fx_agg_driver.cpp | 1050 m_Gray = FXRGB2GRAY(r, g, b); in Init() 1052 m_Gray = FXRGB2GRAY(FXARGB_R(color), FXARGB_G(color), FXARGB_B(color)); in Init()
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
D | fpdf_render_image.cpp | 1148 *dest_pos ++ = pTransfer[FXRGB2GRAY(src_pos[2], src_pos[1], *src_pos)]; in LoadSMask()
|
D | fpdf_render.cpp | 166 int gray = FXRGB2GRAY(r, g, b); in TranslateColor()
|