Home
last modified time | relevance | path

Searched refs:clip_scan (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/core/fxge/dib/
Dcfx_scanlinecompositor.cpp182 int GetAlpha(uint8_t src_alpha, const uint8_t* clip_scan, int col) { in GetAlpha() argument
183 return clip_scan ? clip_scan[col] * src_alpha / 255 : src_alpha; in GetAlpha()
189 const uint8_t* clip_scan, in CompositeRow_AlphaToMask() argument
193 int src_alpha = GetAlpha(*src_scan, clip_scan, col); in CompositeRow_AlphaToMask()
207 const uint8_t* clip_scan) { in CompositeRow_Rgb2Mask() argument
208 if (!clip_scan) { in CompositeRow_Rgb2Mask()
213 *dest_scan = FXDIB_ALPHA_UNION(*dest_scan, *clip_scan); in CompositeRow_Rgb2Mask()
215 ++clip_scan; in CompositeRow_Rgb2Mask()
238 const uint8_t* clip_scan, in CompositeRow_Argb2Graya() argument
247 int src_alpha = GetAlpha(*alpha_scan, clip_scan, col); in CompositeRow_Argb2Graya()
[all …]
Dcfx_bitmapcomposer.cpp74 const uint8_t* clip_scan, in DoCompose() argument
79 if (clip_scan) { in DoCompose()
81 pAddClipScan[i] = clip_scan[i] * m_BitmapAlpha / 255; in DoCompose()
85 clip_scan = pAddClipScan; in DoCompose()
89 clip_scan, dst_extra_alpha); in DoCompose()
92 clip_scan, src_extra_alpha, in DoCompose()
96 clip_scan, src_extra_alpha, in DoCompose()
108 const uint8_t* clip_scan = nullptr; in ComposeScanline() local
110 clip_scan = m_pClipMask->GetBuffer() + in ComposeScanline()
124 DoCompose(dest_scan, scanline, m_DestWidth, clip_scan, scan_extra_alpha, in ComposeScanline()
[all …]
Dcfx_scanlinecompositor.h33 const uint8_t* clip_scan,
41 const uint8_t* clip_scan,
48 const uint8_t* clip_scan,
55 const uint8_t* clip_scan,
Dcfx_dibitmap.cpp887 const uint8_t* clip_scan = nullptr; in CompositeBitmap() local
889 clip_scan = pClipMask->m_pBuffer.Get() + in CompositeBitmap()
894 compositor.CompositeRgbBitmapLine(dest_scan, src_scan, width, clip_scan, in CompositeBitmap()
899 clip_scan, src_scan_extra_alpha, in CompositeBitmap()
959 const uint8_t* clip_scan = nullptr; in CompositeMask() local
961 clip_scan = pClipMask->m_pBuffer.Get() + in CompositeMask()
967 clip_scan, dst_scan_extra_alpha); in CompositeMask()
970 clip_scan, dst_scan_extra_alpha); in CompositeMask()
Dcfx_bitmapcomposer.h52 const uint8_t* clip_scan,
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp328 uint8_t* clip_scan);
337 uint8_t* clip_scan,
347 uint8_t* clip_scan,
357 uint8_t* clip_scan,
367 uint8_t* clip_scan,
377 uint8_t* clip_scan,
405 const uint8_t* clip_scan,
408 inline int GetSrcAlpha(const uint8_t* clip_scan, int col) const { in GetSrcAlpha() argument
409 return clip_scan ? m_Alpha * clip_scan[col] / 255 : m_Alpha; in GetSrcAlpha()
413 const uint8_t* clip_scan, in GetSourceAlpha() argument
[all …]