Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkBitmapProcState_procs.h86 SkASSERT(state.fAlphaScale == 256)
97 SkASSERT(state.fAlphaScale < 256)
98 #define PREAMBLE(state) unsigned alphaScale = state.fAlphaScale
DSkBitmapProcState.cpp162 fAlphaScale = SkAlpha255To256(SkColorGetA(fPaintColor)); in chooseProcs()
195 if (fAlphaScale < 256) { // note: this distinction is not used for D16 in chooseScanlineProcs()
422 if (s.fAlphaScale < 256) { in S32_D32_constX_shaderproc()
423 Filter_32_alpha(iSubY, *row0, *row1, &color, s.fAlphaScale); in S32_D32_constX_shaderproc()
428 if (s.fAlphaScale < 256) { in S32_D32_constX_shaderproc()
429 color = SkAlphaMulQ(*row0, s.fAlphaScale); in S32_D32_constX_shaderproc()
484 if (fAlphaScale < 256) { in chooseShaderProc32()
DSkBitmapProcState.h94 uint16_t fAlphaScale; // chooseProcs member
/external/skia/src/opts/
DSkBitmapProcState_opts_SSSE3.cpp394 SkASSERT(s.fAlphaScale < 256); in S32_generic_D32_filter_DX_SSSE3()
396 SkASSERT(s.fAlphaScale == 256); in S32_generic_D32_filter_DX_SSSE3()
424 alpha = _mm_set1_epi16(s.fAlphaScale); in S32_generic_D32_filter_DX_SSSE3()
586 SkASSERT(s.fAlphaScale < 256); in S32_generic_D32_filter_DXDY_SSSE3()
588 SkASSERT(s.fAlphaScale == 256); in S32_generic_D32_filter_DXDY_SSSE3()
607 alpha = _mm_set1_epi16(s.fAlphaScale); in S32_generic_D32_filter_DXDY_SSSE3()
DSkBitmapProcState_opts_SSE2.cpp21 SkASSERT(s.fAlphaScale == 256); in S32_opaque_D32_filter_DX_SSE2()
127 SkASSERT(s.fAlphaScale < 256); in S32_alpha_D32_filter_DX_SSE2()
162 __m128i alpha = _mm_set1_epi16(s.fAlphaScale); in S32_alpha_D32_filter_DX_SSE2()