Searched refs:FXARGB_R (Results 1 – 14 of 14) sorted by relevance
/external/pdfium/core/fxcrt/css/ |
D | cfx_cssdeclaration_unittest.cpp | 19 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/ |
D | fx_dib_main.cpp | 90 return std::make_tuple(FXARGB_A(argb), FXARGB_R(argb), FXARGB_G(argb), in ArgbDecode() 99 return FXSYS_BGR(FXARGB_B(argb), FXARGB_G(argb), FXARGB_R(argb)); in ArgbToColorRef()
|
D | cfx_scanlinecompositor.cpp | 1233 int src_r = FXARGB_R(argb); in CompositeRow_8bppRgb2Rgb_NoBlend() 1266 int src_r = FXARGB_R(argb); in CompositeRow_8bppRgb2Rgb_NoBlend() 1298 reset_r = FXARGB_R(pPalette[0]); in CompositeRow_1bppRgb2Rgb_NoBlend() 1301 set_r = FXARGB_R(pPalette[1]); in CompositeRow_1bppRgb2Rgb_NoBlend() 1343 int src_r = FXARGB_R(argb); in CompositeRow_8bppRgb2Argb_NoBlend() 1380 int src_r = FXARGB_R(argb); in CompositeRow_8bppRgb2Argb_NoBlend() 1422 reset_r = FXARGB_R(pPalette[0]); in CompositeRow_1bppRgb2Argb_NoBlend() 1425 set_r = FXARGB_R(pPalette[1]); in CompositeRow_1bppRgb2Argb_NoBlend() 1474 reset_r = FXARGB_R(pPalette[0]); in CompositeRow_1bppRgb2Rgba_NoBlend() 1477 set_r = FXARGB_R(pPalette[1]); in CompositeRow_1bppRgb2Rgba_NoBlend() [all …]
|
D | cfx_dibbase.cpp | 158 reset_r = FXARGB_R(src_plt[0]); in ConvertBuffer_1bppPlt2Gray() 161 set_r = FXARGB_R(src_plt[1]); in ConvertBuffer_1bppPlt2Gray() 201 gray[i] = FXRGB2GRAY(FXARGB_R(src_plt[i]), FXARGB_G(src_plt[i]), in ConvertBuffer_8bppPlt2Gray() 439 bgr_ptr[2] = FXARGB_R(src_plt[0]); in ConvertBuffer_1bppPlt2Rgb() 442 bgr_ptr[5] = FXARGB_R(src_plt[1]); in ConvertBuffer_1bppPlt2Rgb() 488 *bgr_ptr++ = FXARGB_R(src_plt[i]); in ConvertBuffer_8bppPlt2Rgb()
|
D | cfx_dibitmap.cpp | 621 *pos = FXRGB2GRAY(FXARGB_R(color), FXARGB_G(color), FXARGB_B(color)); in SetPixel() 630 pos[2] = (FXARGB_R(color) * alpha + pos[2] * (255 - alpha)) / 255; in SetPixel() 636 pos[2] = FXARGB_R(color); in SetPixel() 684 dest_scan[dest_pos + 2] = FXARGB_R(argb); in DownSampleScanline() 727 int gray = FXRGB2GRAY(FXARGB_R(m_pPalette.get()[i]), in ConvertBGRColorScale()
|
/external/pdfium/core/fxge/ |
D | cfx_color.h | 17 : CFX_Color(FXARGB_R(ref), FXARGB_G(ref), FXARGB_B(ref)) {} in CFX_Color()
|
D | fx_dib.h | 152 #define FXARGB_R(argb) ((uint8_t)((argb) >> 16)) macro
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_transferfuncdib.cpp | 94 (*dest_buf)[index++] = m_RampB[FXARGB_R(src_argb)]; in TranslateScanline()
|
D | cpdf_dib.cpp | 1073 *pDestPixel++ = FXARGB_R(m_pPalette.get()[index]); in GetScanline() 1230 dest_scan[dest_pos + 2] = FXARGB_R(value_argb); in DownSampleScanline1Bit() 1271 *pDestPixel++ = FXARGB_R(m_pPalette.get()[index]); in DownSampleScanline8Bit() 1297 dest_scan[dest_pos + 2] = FXARGB_R(argb); in DownSampleScanline8Bit() 1395 *pDestPixel = FXARGB_R(argb); in DownSampleScanline32Bit()
|
D | cpdf_image.cpp | 234 ptr[0] = FXARGB_R(argb); in SetImage()
|
/external/pdfium/core/fxcodec/ |
D | progressivedecoder.cpp | 473 FXRGB2GRAY(FXARGB_R(argb), FXARGB_G(argb), FXARGB_B(argb)); in GifInputRecordPositionBuf() 481 *pScanline++ = FXARGB_R(argb); in GifInputRecordPositionBuf() 1838 dest_r += pixel_weight * FXARGB_R(argb); in ReSampleScanline() 1905 dest_r += pixel_weight * FXARGB_R(argb); in ReSampleScanline() 1925 dest_r += pixel_weight * FXARGB_R(argb); in ReSampleScanline() 1946 dest_r += pixel_weight * FXARGB_R(argb); in ReSampleScanline()
|
/external/pdfium/core/fxge/agg/ |
D | fx_agg_driver.cpp | 64 pos[0] = (FXARGB_R(argb) * alpha + pos[0] * (255 - alpha)) / 255; in RgbByteOrderSetPixel() 82 int src_r = FXARGB_R(argb); in RgbByteOrderCompositeRect() 934 m_Gray = FXRGB2GRAY(FXARGB_R(color), FXARGB_G(color), FXARGB_B(color)); in Init()
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_imagerenderer.cpp | 241 int matte_r = FXARGB_R(m_Loader.MatteColor()); in CalculateDrawImage()
|
/external/pdfium/core/fxge/win32/ |
D | cfx_psrenderer.cpp | 456 buf << FXARGB_R(color) / 255.0 << " " << FXARGB_G(color) / 255.0 << " " in SetColor()
|