Home
last modified time | relevance | path

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

/external/pdfium/core/fxcrt/css/
Dcfx_cssdeclaration_unittest.cpp21 EXPECT_EQ(0, FXARGB_G(color)); in TEST()
26 EXPECT_EQ(0, FXARGB_G(color)); in TEST()
31 EXPECT_EQ(255, FXARGB_G(color)); in TEST()
36 EXPECT_EQ(240, FXARGB_G(color)); in TEST()
42 EXPECT_EQ(47, FXARGB_G(color)); in TEST()
54 EXPECT_EQ(0, FXARGB_G(color)); in TEST()
60 EXPECT_EQ(255, FXARGB_G(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.cpp1209 int src_g = FXARGB_G(argb); in CompositeRow_8bppRgb2Rgb_NoBlend()
1242 int src_g = FXARGB_G(argb); in CompositeRow_8bppRgb2Rgb_NoBlend()
1274 reset_g = FXARGB_G(pPalette[0]); in CompositeRow_1bppRgb2Rgb_NoBlend()
1277 set_g = FXARGB_G(pPalette[1]); in CompositeRow_1bppRgb2Rgb_NoBlend()
1319 int src_g = FXARGB_G(argb); in CompositeRow_8bppRgb2Argb_NoBlend()
1360 int src_g = FXARGB_G(argb); in CompositeRow_8bppRgb2Argb_NoBlend()
1402 reset_g = FXARGB_G(pPalette[0]); in CompositeRow_1bppRgb2Argb_NoBlend()
1405 set_g = FXARGB_G(pPalette[1]); in CompositeRow_1bppRgb2Argb_NoBlend()
1454 reset_g = FXARGB_G(pPalette[0]); in CompositeRow_1bppRgb2Rgba_NoBlend()
1457 set_g = FXARGB_G(pPalette[1]); in CompositeRow_1bppRgb2Rgba_NoBlend()
[all …]
Dcfx_dibsource.cpp161 reset_g = FXARGB_G(src_plt[0]); in ConvertBuffer_1bppPlt2Gray()
164 set_g = FXARGB_G(src_plt[1]); in ConvertBuffer_1bppPlt2Gray()
203 gray[i] = FXRGB2GRAY(FXARGB_R(src_plt[i]), FXARGB_G(src_plt[i]), in ConvertBuffer_8bppPlt2Gray()
442 bgr_ptr[1] = FXARGB_G(src_plt[0]); in ConvertBuffer_1bppPlt2Rgb()
445 bgr_ptr[4] = FXARGB_G(src_plt[1]); in ConvertBuffer_1bppPlt2Rgb()
491 *bgr_ptr++ = FXARGB_G(src_plt[i]); in ConvertBuffer_8bppPlt2Rgb()
Dcfx_dibitmap.cpp594 *pos = FXRGB2GRAY(FXARGB_R(color), FXARGB_G(color), FXARGB_B(color)); in SetPixel()
602 pos[1] = (FXARGB_G(color) * alpha + pos[1] * (255 - alpha)) / 255; in SetPixel()
608 pos[1] = FXARGB_G(color); in SetPixel()
656 dest_scan[dest_pos + 1] = FXARGB_G(argb); in DownSampleScanline()
701 FXARGB_G(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.h102 #define FXARGB_G(argb) ((uint8_t)((argb) >> 8)) macro
/external/pdfium/core/fpdfapi/render/
Dcpdf_dibsource.cpp1051 *pDestPixel++ = FXARGB_G(m_pPalette.get()[index]); in GetScanline()
1226 dest_scan[dest_pos + 1] = FXARGB_G(set_argb); in DownSampleScanline1Bit()
1236 dest_scan[dest_pos + 1] = FXARGB_G(reset_argb); in DownSampleScanline1Bit()
1278 *pDestPixel++ = FXARGB_G(m_pPalette.get()[index]); in DownSampleScanline8Bit()
1305 dest_scan[dest_pos + 1] = FXARGB_G(argb); in DownSampleScanline8Bit()
1403 *pDestPixel++ = FXARGB_G(argb); in DownSampleScanline32Bit()
Dcpdf_dibtransferfunc.cpp87 (*dest_buf)[index++] = m_RampG[FXARGB_G(src_argb)]; in TranslateScanline()
Dcpdf_imagerenderer.cpp246 int matte_g = FXARGB_G(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.cpp54 pos[1] = (FXARGB_G(argb) * alpha + pos[1] * (255 - alpha)) / 255; in RgbByteOrderSetPixel()
72 int src_g = FXARGB_G(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()
670 *pScanline++ = FXARGB_G(argb); in GifInputRecordPositionBuf()