Home
last modified time | relevance | path

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

/external/skqp/src/core/
DSkBlitRow_D32.cpp33 const unsigned src_scale) { in SkPMLerp_SSE2() argument
46 __m128i s = _mm_set1_epi16(src_scale); in SkPMLerp_SSE2()
89 __m128i src_scale = _mm_set1_epi16(alpha); in SkBlendARGB32_SSE2() local
93 dst_scale = _mm_mullo_epi16(dst_scale, src_scale); in SkBlendARGB32_SSE2()
110 src_rb = _mm_mullo_epi16(src_rb, src_scale); in SkBlendARGB32_SSE2()
111 src_ag = _mm_mullo_epi16(src_ag, src_scale); in SkBlendARGB32_SSE2()
156 uint16_t src_scale = SkAlpha255To256(alpha); in blit_row_s32_blend() local
157 uint16_t dst_scale = 256 - src_scale; in blit_row_s32_blend()
167 vsrc_wide = vmulq_u16(vsrc_wide, vdupq_n_u16(src_scale)); in blit_row_s32_blend()
189 vsrc_wide = vmulq_u16(vsrc_wide, vdupq_n_u16(src_scale)); in blit_row_s32_blend()
/external/skia/src/core/
DSkBlitRow_D32.cpp32 const unsigned src_scale) { in SkPMLerp_SSE2() argument
45 __m128i s = _mm_set1_epi16(src_scale); in SkPMLerp_SSE2()
88 __m128i src_scale = _mm_set1_epi16(alpha); in SkBlendARGB32_SSE2() local
92 dst_scale = _mm_mullo_epi16(dst_scale, src_scale); in SkBlendARGB32_SSE2()
109 src_rb = _mm_mullo_epi16(src_rb, src_scale); in SkBlendARGB32_SSE2()
110 src_ag = _mm_mullo_epi16(src_ag, src_scale); in SkBlendARGB32_SSE2()
155 uint16_t src_scale = SkAlpha255To256(alpha); in blit_row_s32_blend() local
156 uint16_t dst_scale = 256 - src_scale; in blit_row_s32_blend()
166 vsrc_wide = vmulq_u16(vsrc_wide, vdupq_n_u16(src_scale)); in blit_row_s32_blend()
188 vsrc_wide = vmulq_u16(vsrc_wide, vdupq_n_u16(src_scale)); in blit_row_s32_blend()
/external/skqp/include/private/
DSkColorData.h282 unsigned src_scale = SkAlpha255To256(aa); in SkBlendARGB32() local
283 unsigned dst_scale = SkAlphaMulInv256(SkGetPackedA32(src), src_scale); in SkBlendARGB32()
287 uint32_t src_rb = (src & mask) * src_scale; in SkBlendARGB32()
288 uint32_t src_ag = ((src >> 8) & mask) * src_scale; in SkBlendARGB32()
/external/skia/include/private/
DSkColorData.h282 unsigned src_scale = SkAlpha255To256(aa); in SkBlendARGB32() local
283 unsigned dst_scale = SkAlphaMulInv256(SkGetPackedA32(src), src_scale); in SkBlendARGB32()
287 uint32_t src_rb = (src & mask) * src_scale; in SkBlendARGB32()
288 uint32_t src_ag = ((src >> 8) & mask) * src_scale; in SkBlendARGB32()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_conv.c966 double src_scale = lp_const_scale(src_type); in lp_build_conv() local
985 if (src_scale != 1.0) { in lp_build_conv()
986 LLVMValueRef scale = lp_build_const_vec(gallivm, tmp_type, 1.0/src_scale); in lp_build_conv()
/external/libaom/libaom/av1/encoder/
Drdopt.c5328 const int src_scale = AOM_BLEND_A64_MAX_ALPHA * AOM_BLEND_A64_MAX_ALPHA; in calc_target_weighted_pred() local
5369 wsrc_buf[col] = src[col] * src_scale - wsrc_buf[col]; in calc_target_weighted_pred()
5379 wsrc_buf[col] = src[col] * src_scale - wsrc_buf[col]; in calc_target_weighted_pred()