Home
last modified time | relevance | path

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

/external/pdfium/core/fxge/dib/
Dfx_dib_main.cpp898 gray[i] = static_cast<uint8_t>(FXRGB2GRAY(r, g, b)); in GetGrayData()
929 gray[i] = static_cast<uint8_t>(FXRGB2GRAY(r, g, b)); in GetGrayData()
957 *dest_pos++ = FXRGB2GRAY(src_pos[2], src_pos[1], *src_pos); in GetGrayData()
975 *dest_pos++ = FXRGB2GRAY(src_pos[2], src_pos[1], *src_pos); in GetGrayData()
1117 *pos = FXRGB2GRAY(FXARGB_R(color), FXARGB_G(color), FXARGB_B(color)); in SetPixel()
1268 int gray = 255 - FXRGB2GRAY(r, g, b); in ConvertColorScale()
1275 int gray = FXRGB2GRAY(FXARGB_R(m_pPalette.get()[i]), in ConvertColorScale()
1296 *scanline++ = 255 - FXRGB2GRAY(r, g, b); in ConvertColorScale()
1306 int gray = FXRGB2GRAY(scanline[2], scanline[1], scanline[0]); in ConvertColorScale()
1322 int gray = 255 - FXRGB2GRAY(r, g, b); in ConvertColorScale()
[all …]
Dfx_dib_convert.cpp213 gray[0] = FXRGB2GRAY(reset_r, reset_g, reset_b); in ConvertBuffer_1bppPlt2Gray()
214 gray[1] = FXRGB2GRAY(set_r, set_g, set_b); in ConvertBuffer_1bppPlt2Gray()
247 gray[i] = FXRGB2GRAY(r, g, b); in ConvertBuffer_8bppPlt2Gray()
251 gray[i] = FXRGB2GRAY(FXARGB_R(src_plt[i]), FXARGB_G(src_plt[i]), in ConvertBuffer_8bppPlt2Gray()
285 *dest_scan++ = FXRGB2GRAY(r, g, b); in ConvertBuffer_RgbOrCmyk2Gray()
295 *dest_scan++ = FXRGB2GRAY(src_scan[2], src_scan[1], src_scan[0]); in ConvertBuffer_RgbOrCmyk2Gray()
Dfx_dib_composite.cpp324 *dest_scan = FXRGB2GRAY(src_scan[2], src_scan[1], *src_scan); in CompositeRow_Argb2Graya()
349 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()
421 *dest_scan = FXRGB2GRAY(src_scan[2], src_scan[1], *src_scan); in CompositeRow_Argb2Graya()
446 gray = FXRGB2GRAY(src_scan[2], src_scan[1], *src_scan); in CompositeRow_Argb2Graya()
466 *dest_scan = FXRGB2GRAY(src_scan[2], src_scan[1], *src_scan); in CompositeRow_Argb2Graya()
491 gray = FXRGB2GRAY(src_scan[2], src_scan[1], *src_scan); in CompositeRow_Argb2Graya()
525 gray = FXRGB2GRAY(src_scan[2], src_scan[1], *src_scan); in CompositeRow_Argb2Gray()
546 gray = FXRGB2GRAY(src_scan[2], src_scan[1], *src_scan); in CompositeRow_Argb2Gray()
[all …]
/external/pdfium/core/fpdfapi/render/
Dcpdf_renderoptions.cpp41 int gray = FXRGB2GRAY(r, g, b); in TranslateColor()
Dcpdf_renderstatus.cpp2639 *dest_pos++ = transfers[FXRGB2GRAY(src_pos[2], src_pos[1], *src_pos)]; in LoadSMask()
/external/pdfium/core/fxcodec/codec/
Dfx_codec_progress.cpp688 FXRGB2GRAY(FXARGB_R(argb), FXARGB_G(argb), FXARGB_B(argb)); in GifInputRecordPositionBuf()
1492 (uint8_t)FXRGB2GRAY((des_r >> 16), (des_g >> 16), (des_b >> 16)); in ReSampleScanline()
1506 (uint8_t)FXRGB2GRAY((des_r >> 16), (des_g >> 16), (des_b >> 16)); in ReSampleScanline()
1524 (uint8_t)FXRGB2GRAY((des_r >> 16), (des_g >> 16), (des_b >> 16)); in ReSampleScanline()
2292 *des_line++ = FXRGB2GRAY(r, g, b); in ContinueDecode()
/external/pdfium/core/fxge/
Dfx_dib.h105 #define FXRGB2GRAY(r, g, b) (((b)*11 + (g)*59 + (r)*30) / 100) macro
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp1351 m_Gray = FXRGB2GRAY(r, g, b); in Init()
1354 FXRGB2GRAY(FXARGB_R(color), FXARGB_G(color), FXARGB_B(color)); in Init()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp3024 m_Gray = FXRGB2GRAY(r, g, b); in Init()
3027 FXRGB2GRAY(FXARGB_R(color), FXARGB_G(color), FXARGB_B(color)); in Init()