Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkBitmapProcState_procs.h94 SkASSERT(state.fAlphaScale == 256)
106 SkASSERT(state.fAlphaScale < 256)
107 #define PREAMBLE(state) unsigned alphaScale = state.fAlphaScale
125 SkASSERT(state.fAlphaScale == 256)
141 SkASSERT(state.fAlphaScale < 256)
142 #define PREAMBLE(state) unsigned alphaScale = state.fAlphaScale
156 SkASSERT(state.fAlphaScale == 256)
170 SkASSERT(state.fAlphaScale < 256)
171 #define PREAMBLE(state) unsigned alphaScale = state.fAlphaScale; \
187 SkASSERT(state.fAlphaScale == 256)
[all …]
DSkBitmapProcState.cpp331 fAlphaScale = SkAlpha255To256(paint.getAlpha()); in chooseProcs()
376 if (fAlphaScale < 256) { // note: this distinction is not used for D16 in chooseScanlineProcs()
745 if (s.fAlphaScale < 256) { in S32_D32_constX_shaderproc()
746 Filter_32_alpha(iSubY, *row0, *row1, &color, s.fAlphaScale); in S32_D32_constX_shaderproc()
751 if (s.fAlphaScale < 256) { in S32_D32_constX_shaderproc()
752 color = SkAlphaMulQ(*row0, s.fAlphaScale); in S32_D32_constX_shaderproc()
806 if (fAlphaScale < 256) { in chooseShaderProc32()
DSkBitmapProcState.h69 uint16_t fAlphaScale; // chooseProcs member
/external/skia/src/opts/
DSkBitmapProcState_opts_SSSE3.cpp400 SkASSERT(s.fAlphaScale < 256); in S32_generic_D32_filter_DX_SSSE3()
402 SkASSERT(s.fAlphaScale == 256); in S32_generic_D32_filter_DX_SSSE3()
430 alpha = _mm_set1_epi16(s.fAlphaScale); in S32_generic_D32_filter_DX_SSSE3()
592 SkASSERT(s.fAlphaScale < 256); in S32_generic_D32_filter_DXDY_SSSE3()
594 SkASSERT(s.fAlphaScale == 256); in S32_generic_D32_filter_DXDY_SSSE3()
613 alpha = _mm_set1_epi16(s.fAlphaScale); in S32_generic_D32_filter_DXDY_SSSE3()
DSkBitmapProcState_opts_mips_dsp.cpp372 bool isOpaque = 256 == fAlphaScale; in platformProcs()
DSkBitmapProcState_opts_SSE2.cpp20 SkASSERT(s.fAlphaScale == 256); in S32_opaque_D32_filter_DX_SSE2()
126 SkASSERT(s.fAlphaScale < 256); in S32_alpha_D32_filter_DX_SSE2()
161 __m128i alpha = _mm_set1_epi16(s.fAlphaScale); in S32_alpha_D32_filter_DX_SSE2()