Searched refs:FXARGB_R (Results 1 – 14 of 14) sorted by relevance
/external/pdfium/core/fxcrt/css/ |
D | cfx_cssdeclaration_unittest.cpp | 20 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/ |
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 | 1208 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 …]
|
D | cfx_dibsource.cpp | 160 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()
|
D | cfx_dibitmap.cpp | 594 *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/ |
D | cfx_color.h | 20 : CFX_Color(FXARGB_R(ref), FXARGB_G(ref), FXARGB_B(ref)) {} in CFX_Color()
|
D | fx_dib.h | 101 #define FXARGB_R(argb) ((uint8_t)((argb) >> 16)) macro
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_dibsource.cpp | 1052 *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()
|
D | cpdf_dibtransferfunc.cpp | 86 (*dest_buf)[index++] = m_RampB[FXARGB_R(src_argb)]; in TranslateScanline()
|
D | cpdf_imagerenderer.cpp | 245 int matte_r = FXARGB_R(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 | 53 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/ |
D | fx_codec_progress.cpp | 663 FXRGB2GRAY(FXARGB_R(argb), FXARGB_G(argb), FXARGB_B(argb)); in GifInputRecordPositionBuf() 671 *pScanline++ = FXARGB_R(argb); in GifInputRecordPositionBuf()
|