Searched refs:FXARGB_G (Results 1 – 14 of 14) sorted by relevance
/external/pdfium/core/fxcrt/css/ |
D | cfx_cssdeclaration_unittest.cpp | 21 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/ |
D | fx_dib_main.cpp | 78 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()
|
D | cfx_scanlinecompositor.cpp | 1209 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 …]
|
D | cfx_dibsource.cpp | 161 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()
|
D | cfx_dibitmap.cpp | 594 *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/ |
D | cfx_color.h | 20 : CFX_Color(FXARGB_R(ref), FXARGB_G(ref), FXARGB_B(ref)) {} in CFX_Color()
|
D | fx_dib.h | 102 #define FXARGB_G(argb) ((uint8_t)((argb) >> 8)) macro
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_dibsource.cpp | 1051 *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()
|
D | cpdf_dibtransferfunc.cpp | 87 (*dest_buf)[index++] = m_RampG[FXARGB_G(src_argb)]; in TranslateScanline()
|
D | cpdf_imagerenderer.cpp | 246 int matte_g = FXARGB_G(m_Loader.m_MatteColor); in CalculateDrawImage()
|
/external/pdfium/core/fxge/win32/ |
D | fx_win32_dwrite.cpp | 264 RGB(FXARGB_R(text_color), FXARGB_G(text_color), FXARGB_B(text_color))); in DwRendingString()
|
D | cfx_psrenderer.cpp | 522 buf << FXARGB_R(color) / 255.0 << " " << FXARGB_G(color) / 255.0 << " " in SetColor()
|
/external/pdfium/core/fxge/agg/ |
D | fx_agg_driver.cpp | 54 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/ |
D | fx_codec_progress.cpp | 663 FXRGB2GRAY(FXARGB_R(argb), FXARGB_G(argb), FXARGB_B(argb)); in GifInputRecordPositionBuf() 670 *pScanline++ = FXARGB_G(argb); in GifInputRecordPositionBuf()
|