Home
last modified time | relevance | path

Searched refs:FXARGB_R (Results 1 – 14 of 14) sorted by relevance

/external/pdfium/core/fxcrt/css/
Dcfx_cssdeclaration_unittest.cpp19 EXPECT_EQ(0, FXARGB_R(color)); in TEST()
24 EXPECT_EQ(0, FXARGB_R(color)); in TEST()
29 EXPECT_EQ(255, FXARGB_R(color)); in TEST()
34 EXPECT_EQ(240, FXARGB_R(color)); in TEST()
40 EXPECT_EQ(27, FXARGB_R(color)); in TEST()
52 EXPECT_EQ(0, FXARGB_R(color)); in TEST()
58 EXPECT_EQ(128, FXARGB_R(color)); in TEST()
/external/pdfium/core/fxge/dib/
Dfx_dib_main.cpp90 return std::make_tuple(FXARGB_A(argb), FXARGB_R(argb), FXARGB_G(argb), in ArgbDecode()
99 return FXSYS_BGR(FXARGB_B(argb), FXARGB_G(argb), FXARGB_R(argb)); in ArgbToColorRef()
Dcfx_scanlinecompositor.cpp1233 int src_r = FXARGB_R(argb); in CompositeRow_8bppRgb2Rgb_NoBlend()
1266 int src_r = FXARGB_R(argb); in CompositeRow_8bppRgb2Rgb_NoBlend()
1298 reset_r = FXARGB_R(pPalette[0]); in CompositeRow_1bppRgb2Rgb_NoBlend()
1301 set_r = FXARGB_R(pPalette[1]); in CompositeRow_1bppRgb2Rgb_NoBlend()
1343 int src_r = FXARGB_R(argb); in CompositeRow_8bppRgb2Argb_NoBlend()
1380 int src_r = FXARGB_R(argb); in CompositeRow_8bppRgb2Argb_NoBlend()
1422 reset_r = FXARGB_R(pPalette[0]); in CompositeRow_1bppRgb2Argb_NoBlend()
1425 set_r = FXARGB_R(pPalette[1]); in CompositeRow_1bppRgb2Argb_NoBlend()
1474 reset_r = FXARGB_R(pPalette[0]); in CompositeRow_1bppRgb2Rgba_NoBlend()
1477 set_r = FXARGB_R(pPalette[1]); in CompositeRow_1bppRgb2Rgba_NoBlend()
[all …]
Dcfx_dibbase.cpp158 reset_r = FXARGB_R(src_plt[0]); in ConvertBuffer_1bppPlt2Gray()
161 set_r = FXARGB_R(src_plt[1]); in ConvertBuffer_1bppPlt2Gray()
201 gray[i] = FXRGB2GRAY(FXARGB_R(src_plt[i]), FXARGB_G(src_plt[i]), in ConvertBuffer_8bppPlt2Gray()
439 bgr_ptr[2] = FXARGB_R(src_plt[0]); in ConvertBuffer_1bppPlt2Rgb()
442 bgr_ptr[5] = FXARGB_R(src_plt[1]); in ConvertBuffer_1bppPlt2Rgb()
488 *bgr_ptr++ = FXARGB_R(src_plt[i]); in ConvertBuffer_8bppPlt2Rgb()
Dcfx_dibitmap.cpp621 *pos = FXRGB2GRAY(FXARGB_R(color), FXARGB_G(color), FXARGB_B(color)); in SetPixel()
630 pos[2] = (FXARGB_R(color) * alpha + pos[2] * (255 - alpha)) / 255; in SetPixel()
636 pos[2] = FXARGB_R(color); in SetPixel()
684 dest_scan[dest_pos + 2] = FXARGB_R(argb); in DownSampleScanline()
727 int gray = FXRGB2GRAY(FXARGB_R(m_pPalette.get()[i]), in ConvertBGRColorScale()
/external/pdfium/core/fxge/
Dcfx_color.h17 : CFX_Color(FXARGB_R(ref), FXARGB_G(ref), FXARGB_B(ref)) {} in CFX_Color()
Dfx_dib.h152 #define FXARGB_R(argb) ((uint8_t)((argb) >> 16)) macro
/external/pdfium/core/fpdfapi/page/
Dcpdf_transferfuncdib.cpp94 (*dest_buf)[index++] = m_RampB[FXARGB_R(src_argb)]; in TranslateScanline()
Dcpdf_dib.cpp1073 *pDestPixel++ = FXARGB_R(m_pPalette.get()[index]); in GetScanline()
1230 dest_scan[dest_pos + 2] = FXARGB_R(value_argb); in DownSampleScanline1Bit()
1271 *pDestPixel++ = FXARGB_R(m_pPalette.get()[index]); in DownSampleScanline8Bit()
1297 dest_scan[dest_pos + 2] = FXARGB_R(argb); in DownSampleScanline8Bit()
1395 *pDestPixel = FXARGB_R(argb); in DownSampleScanline32Bit()
Dcpdf_image.cpp234 ptr[0] = FXARGB_R(argb); in SetImage()
/external/pdfium/core/fxcodec/
Dprogressivedecoder.cpp473 FXRGB2GRAY(FXARGB_R(argb), FXARGB_G(argb), FXARGB_B(argb)); in GifInputRecordPositionBuf()
481 *pScanline++ = FXARGB_R(argb); in GifInputRecordPositionBuf()
1838 dest_r += pixel_weight * FXARGB_R(argb); in ReSampleScanline()
1905 dest_r += pixel_weight * FXARGB_R(argb); in ReSampleScanline()
1925 dest_r += pixel_weight * FXARGB_R(argb); in ReSampleScanline()
1946 dest_r += pixel_weight * FXARGB_R(argb); in ReSampleScanline()
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp64 pos[0] = (FXARGB_R(argb) * alpha + pos[0] * (255 - alpha)) / 255; in RgbByteOrderSetPixel()
82 int src_r = FXARGB_R(argb); in RgbByteOrderCompositeRect()
934 m_Gray = FXRGB2GRAY(FXARGB_R(color), FXARGB_G(color), FXARGB_B(color)); in Init()
/external/pdfium/core/fxge/win32/
Dcfx_psrenderer.cpp456 buf << FXARGB_R(color) / 255.0 << " " << FXARGB_G(color) / 255.0 << " " in SetColor()
/external/pdfium/core/fpdfapi/render/
Dcpdf_imagerenderer.cpp241 int matte_r = FXARGB_R(m_Loader.MatteColor()); in CalculateDrawImage()