Home
last modified time | relevance | path

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

/external/pdfium/xfa/fde/css/
Dcfde_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_convert.cpp206 reset_r = FXARGB_R(src_plt[0]); in ConvertBuffer_1bppPlt2Gray()
209 set_r = FXARGB_R(src_plt[1]); in ConvertBuffer_1bppPlt2Gray()
251 gray[i] = FXRGB2GRAY(FXARGB_R(src_plt[i]), FXARGB_G(src_plt[i]), in ConvertBuffer_8bppPlt2Gray()
495 bgr_ptr[2] = FXARGB_R(src_plt[0]); in ConvertBuffer_1bppPlt2Rgb()
498 bgr_ptr[5] = FXARGB_R(src_plt[1]); in ConvertBuffer_1bppPlt2Rgb()
545 *bgr_ptr++ = FXARGB_R(src_plt[i]); in ConvertBuffer_8bppPlt2Rgb()
Dfx_dib_main.cpp31 r = FXARGB_R(argb); in ArgbDecode()
38 rgb = FXSYS_RGB(FXARGB_R(argb), FXARGB_G(argb), FXARGB_B(argb)); in ArgbDecode()
1117 *pos = FXRGB2GRAY(FXARGB_R(color), FXARGB_G(color), FXARGB_B(color)); in SetPixel()
1126 pos[2] = (FXARGB_R(color) * alpha + pos[2] * (255 - alpha)) / 255; in SetPixel()
1132 pos[2] = FXARGB_R(color); in SetPixel()
1180 dest_scan[dest_pos + 2] = FXARGB_R(argb); in DownSampleScanline()
1275 int gray = FXRGB2GRAY(FXARGB_R(m_pPalette.get()[i]), in ConvertColorScale()
Dfx_dib_composite.cpp2197 int src_r = FXARGB_R(argb); in CompositeRow_8bppRgb2Rgb_NoBlend()
2230 int src_r = FXARGB_R(argb); in CompositeRow_8bppRgb2Rgb_NoBlend()
2262 reset_r = FXARGB_R(pPalette[0]); in CompositeRow_1bppRgb2Rgb_NoBlend()
2265 set_r = FXARGB_R(pPalette[1]); in CompositeRow_1bppRgb2Rgb_NoBlend()
2307 int src_r = FXARGB_R(argb); in CompositeRow_8bppRgb2Argb_NoBlend()
2348 int src_r = FXARGB_R(argb); in CompositeRow_8bppRgb2Argb_NoBlend()
2390 reset_r = FXARGB_R(pPalette[0]); in CompositeRow_1bppRgb2Argb_NoBlend()
2393 set_r = FXARGB_R(pPalette[1]); in CompositeRow_1bppRgb2Argb_NoBlend()
2442 reset_r = FXARGB_R(pPalette[0]); in CompositeRow_1bppRgb2Rgba_NoBlend()
2445 set_r = FXARGB_R(pPalette[1]); in CompositeRow_1bppRgb2Rgba_NoBlend()
[all …]
/external/pdfium/core/fpdfapi/render/
Dcpdf_dibsource.cpp1062 *pDestPixel++ = FXARGB_R(m_pPalette.get()[index]); in GetScanline()
1238 dest_scan[dest_pos + 2] = FXARGB_R(set_argb); in DownSampleScanline1Bit()
1248 dest_scan[dest_pos + 2] = FXARGB_R(reset_argb); in DownSampleScanline1Bit()
1290 *pDestPixel++ = FXARGB_R(m_pPalette.get()[index]); in DownSampleScanline8Bit()
1317 dest_scan[dest_pos + 2] = FXARGB_R(argb); in DownSampleScanline8Bit()
1419 *pDestPixel = FXARGB_R(argb); in DownSampleScanline32Bit()
Dcpdf_dibtransferfunc.cpp85 (*dest_buf)[index++] = m_RampB[FXARGB_R(src_argb)]; in TranslateScanline()
Dcpdf_imagerenderer.cpp262 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.cpp514 buf << FXARGB_R(color) / 255.0 << " " << FXARGB_G(color) / 255.0 << " " in SetColor()
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp52 pos[0] = (FXARGB_R(argb) * alpha + pos[0] * (255 - alpha)) / 255; in RgbByteOrderSetPixel()
70 int src_r = FXARGB_R(argb); in RgbByteOrderCompositeRect()
1354 FXRGB2GRAY(FXARGB_R(color), FXARGB_G(color), FXARGB_B(color)); in Init()
/external/pdfium/core/fxge/
Dfx_dib.h98 #define FXARGB_R(argb) ((uint8_t)((argb) >> 16)) macro
/external/pdfium/core/fxcodec/codec/
Dfx_codec_progress.cpp688 FXRGB2GRAY(FXARGB_R(argb), FXARGB_G(argb), FXARGB_B(argb)); in GifInputRecordPositionBuf()
696 *pScanline++ = FXARGB_R(argb); in GifInputRecordPositionBuf()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp3027 FXRGB2GRAY(FXARGB_R(color), FXARGB_G(color), FXARGB_B(color)); in Init()