Searched refs:alpha_ratio (Results 1 – 3 of 3) sorted by relevance
/external/pdfium/core/fxge/dib/ |
D | cfx_scanlinecompositor.cpp | 265 int alpha_ratio = src_alpha * 255 / (*dst_alpha_scan); in CompositeRow_Argb2Graya() local 274 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, gray, alpha_ratio); in CompositeRow_Argb2Graya() 354 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeRow_Rgb2Graya() local 356 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, gray, alpha_ratio); in CompositeRow_Rgb2Graya() 420 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeRow_Argb2Argb() local 429 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, blended, alpha_ratio); in CompositeRow_Argb2Argb() 431 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, *src_scan, alpha_ratio); in CompositeRow_Argb2Argb() 533 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeRow_Rgb2Argb_Blend_Clip() local 542 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, blended, alpha_ratio); in CompositeRow_Rgb2Argb_Blend_Clip() 580 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeRow_Rgb2Argb_NoBlend_Clip() local [all …]
|
D | cfx_dibitmap.cpp | 1122 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeRect() local 1123 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, color_p[0], alpha_ratio); in CompositeRect() 1125 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, color_p[1], alpha_ratio); in CompositeRect() 1127 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, color_p[2], alpha_ratio); in CompositeRect() 1145 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeRect() local 1148 FXDIB_ALPHA_MERGE(*dest_scan, color_p[comps], alpha_ratio); in CompositeRect()
|
/external/pdfium/core/fxge/agg/ |
D | fx_agg_driver.cpp | 110 int alpha_ratio = src_alpha * 255 / dest_alpha; in RgbByteOrderCompositeRect() local 111 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, src_r, alpha_ratio); in RgbByteOrderCompositeRect() 113 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, src_g, alpha_ratio); in RgbByteOrderCompositeRect() 115 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, src_b, alpha_ratio); in RgbByteOrderCompositeRect() 470 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeSpan() local 472 *dest_scan++ = FXDIB_ALPHA_MERGE(*ori_scan++, m_Red, alpha_ratio); in CompositeSpan() 473 *dest_scan++ = FXDIB_ALPHA_MERGE(*ori_scan++, m_Green, alpha_ratio); in CompositeSpan() 474 *dest_scan++ = FXDIB_ALPHA_MERGE(*ori_scan++, m_Blue, alpha_ratio); in CompositeSpan() 478 int r = FXDIB_ALPHA_MERGE(*ori_scan++, m_Red, alpha_ratio); in CompositeSpan() 479 int g = FXDIB_ALPHA_MERGE(*ori_scan++, m_Green, alpha_ratio); in CompositeSpan() [all …]
|