Searched refs:alpha_ratio (Results 1 – 4 of 4) sorted by relevance
/external/pdfium/core/fxge/dib/ |
D | fx_dib_composite.cpp | 344 int alpha_ratio = src_alpha * 255 / (*dst_alpha_scan); in CompositeRow_Argb2Graya() local 355 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, gray, alpha_ratio); in CompositeRow_Argb2Graya() 393 int alpha_ratio = src_alpha * 255 / (*dst_alpha_scan); in CompositeRow_Argb2Graya() local 400 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, gray, alpha_ratio); in CompositeRow_Argb2Graya() 441 int alpha_ratio = src_alpha * 255 / (*dst_alpha_scan); in CompositeRow_Argb2Graya() local 448 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, gray, alpha_ratio); in CompositeRow_Argb2Graya() 486 int alpha_ratio = src_alpha * 255 / (*dst_alpha_scan); in CompositeRow_Argb2Graya() local 493 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, gray, alpha_ratio); in CompositeRow_Argb2Graya() 687 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeRow_Rgb2Graya() local 698 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, gray, alpha_ratio); in CompositeRow_Rgb2Graya() [all …]
|
/external/pdfium/core/fxge/agg/ |
D | fx_agg_driver.cpp | 109 int alpha_ratio = src_alpha * 255 / dest_alpha; in RgbByteOrderCompositeRect() local 110 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, src_r, alpha_ratio); in RgbByteOrderCompositeRect() 112 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, src_g, alpha_ratio); in RgbByteOrderCompositeRect() 114 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, src_b, alpha_ratio); in RgbByteOrderCompositeRect() 659 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeSpan() local 661 *dest_scan++ = FXDIB_ALPHA_MERGE(*ori_scan++, m_Red, alpha_ratio); in CompositeSpan() 662 *dest_scan++ = FXDIB_ALPHA_MERGE(*ori_scan++, m_Green, alpha_ratio); in CompositeSpan() 663 *dest_scan++ = FXDIB_ALPHA_MERGE(*ori_scan++, m_Blue, alpha_ratio); in CompositeSpan() 667 int r = FXDIB_ALPHA_MERGE(*ori_scan++, m_Red, alpha_ratio); in CompositeSpan() 668 int g = FXDIB_ALPHA_MERGE(*ori_scan++, m_Green, alpha_ratio); in CompositeSpan() [all …]
|
/external/pdfium/core/fxge/skia/ |
D | fx_skia_device.cpp | 2349 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeSpan() local 2351 *dest_scan++ = FXDIB_ALPHA_MERGE(*ori_scan++, m_Red, alpha_ratio); in CompositeSpan() 2352 *dest_scan++ = FXDIB_ALPHA_MERGE(*ori_scan++, m_Green, alpha_ratio); in CompositeSpan() 2353 *dest_scan++ = FXDIB_ALPHA_MERGE(*ori_scan++, m_Blue, alpha_ratio); in CompositeSpan() 2357 int r = FXDIB_ALPHA_MERGE(*ori_scan++, m_Red, alpha_ratio); in CompositeSpan() 2358 int g = FXDIB_ALPHA_MERGE(*ori_scan++, m_Green, alpha_ratio); in CompositeSpan() 2359 int b = FXDIB_ALPHA_MERGE(*ori_scan++, m_Blue, alpha_ratio); in CompositeSpan() 2595 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeSpanGray() local 2596 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, m_Gray, alpha_ratio); in CompositeSpanGray() 2661 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeSpanARGB() local [all …]
|
/external/pdfium/core/fxge/ge/ |
D | cfx_renderdevice.cpp | 130 int alpha_ratio = src_alpha * 255 / dest_alpha; in ApplyDestAlpha() local 131 dest[0] = FXDIB_ALPHA_MERGE(dest[0], b, alpha_ratio); in ApplyDestAlpha() 132 dest[1] = FXDIB_ALPHA_MERGE(dest[1], g, alpha_ratio); in ApplyDestAlpha() 133 dest[2] = FXDIB_ALPHA_MERGE(dest[2], r, alpha_ratio); in ApplyDestAlpha()
|