Searched refs:FXRGB2GRAY (Results 1 – 9 of 9) sorted by relevance
/external/pdfium/core/fxge/dib/ |
D | fx_dib_main.cpp | 898 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 …]
|
D | fx_dib_convert.cpp | 213 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()
|
D | fx_dib_composite.cpp | 324 *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/ |
D | cpdf_renderoptions.cpp | 41 int gray = FXRGB2GRAY(r, g, b); in TranslateColor()
|
D | cpdf_renderstatus.cpp | 2639 *dest_pos++ = transfers[FXRGB2GRAY(src_pos[2], src_pos[1], *src_pos)]; in LoadSMask()
|
/external/pdfium/core/fxcodec/codec/ |
D | fx_codec_progress.cpp | 688 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/ |
D | fx_dib.h | 105 #define FXRGB2GRAY(r, g, b) (((b)*11 + (g)*59 + (r)*30) / 100) macro
|
/external/pdfium/core/fxge/agg/ |
D | fx_agg_driver.cpp | 1351 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/ |
D | fx_skia_device.cpp | 3024 m_Gray = FXRGB2GRAY(r, g, b); in Init() 3027 FXRGB2GRAY(FXARGB_R(color), FXARGB_G(color), FXARGB_B(color)); in Init()
|