Home
last modified time | relevance | path

Searched refs:FXRGB2GRAY (Results 1 – 7 of 7) sorted by relevance

/external/pdfium/core/src/fxge/dib/
Dfx_dib_main.cpp907 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 …]
Dfx_dib_composite.cpp325 *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 …]
Dfx_dib_convert.cpp360 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/
Dfx_dib.h99 #define FXRGB2GRAY(r,g,b) (((b) * 11 + (g) * 59 + (r) * 30) / 100) macro
/external/pdfium/core/src/fxge/agg/agg23/
Dfx_agg_driver.cpp1050 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/
Dfpdf_render_image.cpp1148 *dest_pos ++ = pTransfer[FXRGB2GRAY(src_pos[2], src_pos[1], *src_pos)]; in LoadSMask()
Dfpdf_render.cpp166 int gray = FXRGB2GRAY(r, g, b); in TranslateColor()