Searched refs:alpha_ratio (Results 1 – 3 of 3) sorted by relevance
/external/pdfium/core/src/fxge/dib/ |
D | fx_dib_composite.cpp | 345 int alpha_ratio = src_alpha * 255 / (*dst_alpha_scan); in _CompositeRow_Argb2Graya() local 356 *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() 439 int alpha_ratio = src_alpha * 255 / (*dst_alpha_scan); in _CompositeRow_Argb2Graya() local 446 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, gray, alpha_ratio); in _CompositeRow_Argb2Graya() 483 int alpha_ratio = src_alpha * 255 / (*dst_alpha_scan); in _CompositeRow_Argb2Graya() local 490 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, gray, alpha_ratio); in _CompositeRow_Argb2Graya() 670 int alpha_ratio = src_alpha * 255 / dest_alpha; in _CompositeRow_Rgb2Graya() local 681 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, gray, alpha_ratio); in _CompositeRow_Rgb2Graya() [all …]
|
/external/pdfium/core/src/fxge/agg/agg23/ |
D | fx_agg_driver.cpp | 416 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeSpan() local 418 *dest_scan++ = FXDIB_ALPHA_MERGE(*ori_scan++, m_Red, alpha_ratio); in CompositeSpan() 419 *dest_scan++ = FXDIB_ALPHA_MERGE(*ori_scan++, m_Green, alpha_ratio); in CompositeSpan() 420 *dest_scan++ = FXDIB_ALPHA_MERGE(*ori_scan++, m_Blue, alpha_ratio); in CompositeSpan() 424 int r = FXDIB_ALPHA_MERGE(*ori_scan++, m_Red, alpha_ratio); in CompositeSpan() 425 int g = FXDIB_ALPHA_MERGE(*ori_scan++, m_Green, alpha_ratio); in CompositeSpan() 426 int b = FXDIB_ALPHA_MERGE(*ori_scan++, m_Blue, alpha_ratio); in CompositeSpan() 643 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeSpanGray() local 644 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, m_Gray, alpha_ratio); in CompositeSpanGray() 701 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeSpanARGB() local [all …]
|
/external/pdfium/core/src/fxge/ge/ |
D | fx_ge_text.cpp | 487 int alpha_ratio = src_alpha1 * 255 / dest_alpha; in DrawNormalText() local 488 … dest_scan[2] = FX_GAMMA_INVERSE(FXDIB_ALPHA_MERGE(FX_GAMMA(dest_scan[2]), r, alpha_ratio)); in DrawNormalText() 489 … dest_scan[1] = FX_GAMMA_INVERSE(FXDIB_ALPHA_MERGE(FX_GAMMA(dest_scan[1]), g, alpha_ratio)); in DrawNormalText() 490 … dest_scan[0] = FX_GAMMA_INVERSE(FXDIB_ALPHA_MERGE(FX_GAMMA(dest_scan[0]), b, alpha_ratio)); in DrawNormalText() 526 int alpha_ratio = src_alpha1 * 255 / dest_alpha; in DrawNormalText() local 527 … dest_scan[2] = FX_GAMMA_INVERSE(FXDIB_ALPHA_MERGE(FX_GAMMA(dest_scan[2]), r, alpha_ratio)); in DrawNormalText() 528 … dest_scan[1] = FX_GAMMA_INVERSE(FXDIB_ALPHA_MERGE(FX_GAMMA(dest_scan[1]), g, alpha_ratio)); in DrawNormalText() 529 … dest_scan[0] = FX_GAMMA_INVERSE(FXDIB_ALPHA_MERGE(FX_GAMMA(dest_scan[0]), b, alpha_ratio)); in DrawNormalText() 572 int alpha_ratio = src_alpha1 * 255 / dest_alpha; in DrawNormalText() local 573 … dest_scan[2] = FX_GAMMA_INVERSE(FXDIB_ALPHA_MERGE(FX_GAMMA(dest_scan[2]), r, alpha_ratio)); in DrawNormalText() [all …]
|