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.cpp20 EXPECT_EQ(0, FXARGB_R(color)); in TEST()
25 EXPECT_EQ(0, FXARGB_R(color)); in TEST()
30 EXPECT_EQ(255, FXARGB_R(color)); in TEST()
35 EXPECT_EQ(240, FXARGB_R(color)); in TEST()
41 EXPECT_EQ(27, FXARGB_R(color)); in TEST()
53 EXPECT_EQ(0, FXARGB_R(color)); in TEST()
59 EXPECT_EQ(128, FXARGB_R(color)); in TEST()
/external/pdfium/core/fxge/dib/
Dfx_dib_main.cpp78 return std::make_tuple(FXARGB_A(argb), FXARGB_R(argb), FXARGB_G(argb), in ArgbDecode()
84 FXSYS_RGB(FXARGB_R(argb), FXARGB_G(argb), FXARGB_B(argb))}; in ArgbToColorRef()
Dcfx_scanlinecompositor.cpp1208 int src_r = FXARGB_R(argb); in CompositeRow_8bppRgb2Rgb_NoBlend()
1241 int src_r = FXARGB_R(argb); in CompositeRow_8bppRgb2Rgb_NoBlend()
1273 reset_r = FXARGB_R(pPalette[0]); in CompositeRow_1bppRgb2Rgb_NoBlend()
1276 set_r = FXARGB_R(pPalette[1]); in CompositeRow_1bppRgb2Rgb_NoBlend()
1318 int src_r = FXARGB_R(argb); in CompositeRow_8bppRgb2Argb_NoBlend()
1359 int src_r = FXARGB_R(argb); in CompositeRow_8bppRgb2Argb_NoBlend()
1401 reset_r = FXARGB_R(pPalette[0]); in CompositeRow_1bppRgb2Argb_NoBlend()
1404 set_r = FXARGB_R(pPalette[1]); in CompositeRow_1bppRgb2Argb_NoBlend()
1453 reset_r = FXARGB_R(pPalette[0]); in CompositeRow_1bppRgb2Rgba_NoBlend()
1456 set_r = FXARGB_R(pPalette[1]); in CompositeRow_1bppRgb2Rgba_NoBlend()
[all …]
Dcfx_dibsource.cpp160 reset_r = FXARGB_R(src_plt[0]); in ConvertBuffer_1bppPlt2Gray()
163 set_r = FXARGB_R(src_plt[1]); in ConvertBuffer_1bppPlt2Gray()
203 gray[i] = FXRGB2GRAY(FXARGB_R(src_plt[i]), FXARGB_G(src_plt[i]), in ConvertBuffer_8bppPlt2Gray()
443 bgr_ptr[2] = FXARGB_R(src_plt[0]); in ConvertBuffer_1bppPlt2Rgb()
446 bgr_ptr[5] = FXARGB_R(src_plt[1]); in ConvertBuffer_1bppPlt2Rgb()
492 *bgr_ptr++ = FXARGB_R(src_plt[i]); in ConvertBuffer_8bppPlt2Rgb()
Dcfx_dibitmap.cpp594 *pos = FXRGB2GRAY(FXARGB_R(color), FXARGB_G(color), FXARGB_B(color)); in SetPixel()
603 pos[2] = (FXARGB_R(color) * alpha + pos[2] * (255 - alpha)) / 255; in SetPixel()
609 pos[2] = FXARGB_R(color); in SetPixel()
657 dest_scan[dest_pos + 2] = FXARGB_R(argb); in DownSampleScanline()
700 int gray = FXRGB2GRAY(FXARGB_R(m_pPalette.get()[i]), in ConvertRGBColorScale()
/external/pdfium/core/fxge/
Dcfx_color.h20 : CFX_Color(FXARGB_R(ref), FXARGB_G(ref), FXARGB_B(ref)) {} in CFX_Color()
Dfx_dib.h101 #define FXARGB_R(argb) ((uint8_t)((argb) >> 16)) macro
/external/pdfium/core/fpdfapi/render/
Dcpdf_dibsource.cpp1052 *pDestPixel++ = FXARGB_R(m_pPalette.get()[index]); in GetScanline()
1227 dest_scan[dest_pos + 2] = FXARGB_R(set_argb); in DownSampleScanline1Bit()
1237 dest_scan[dest_pos + 2] = FXARGB_R(reset_argb); in DownSampleScanline1Bit()
1279 *pDestPixel++ = FXARGB_R(m_pPalette.get()[index]); in DownSampleScanline8Bit()
1306 dest_scan[dest_pos + 2] = FXARGB_R(argb); in DownSampleScanline8Bit()
1404 *pDestPixel = FXARGB_R(argb); in DownSampleScanline32Bit()
Dcpdf_dibtransferfunc.cpp86 (*dest_buf)[index++] = m_RampB[FXARGB_R(src_argb)]; in TranslateScanline()
Dcpdf_imagerenderer.cpp245 int matte_r = FXARGB_R(m_Loader.m_MatteColor); in CalculateDrawImage()
/external/pdfium/core/fxge/win32/
Dfx_win32_dwrite.cpp264 RGB(FXARGB_R(text_color), FXARGB_G(text_color), FXARGB_B(text_color))); in DwRendingString()
Dcfx_psrenderer.cpp522 buf << FXARGB_R(color) / 255.0 << " " << FXARGB_G(color) / 255.0 << " " in SetColor()
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp53 pos[0] = (FXARGB_R(argb) * alpha + pos[0] * (255 - alpha)) / 255; in RgbByteOrderSetPixel()
71 int src_r = FXARGB_R(argb); in RgbByteOrderCompositeRect()
909 m_Gray = FXRGB2GRAY(FXARGB_R(color), FXARGB_G(color), FXARGB_B(color)); in Init()
/external/pdfium/core/fxcodec/codec/
Dfx_codec_progress.cpp663 FXRGB2GRAY(FXARGB_R(argb), FXARGB_G(argb), FXARGB_B(argb)); in GifInputRecordPositionBuf()
671 *pScanline++ = FXARGB_R(argb); in GifInputRecordPositionBuf()