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.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/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/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/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_conv.c947 double src_scale = lp_const_scale(src_type); in lp_build_conv() local
966 if (src_scale != 1.0) { in lp_build_conv()
967 LLVMValueRef scale = lp_build_const_vec(gallivm, tmp_type, 1.0/src_scale); in lp_build_conv()
/external/libaom/libaom/av1/encoder/
Drdopt.c13972 const int src_scale = AOM_BLEND_A64_MAX_ALPHA * AOM_BLEND_A64_MAX_ALPHA; in calc_target_weighted_pred() local
14013 wsrc_buf[col] = src[col] * src_scale - wsrc_buf[col]; in calc_target_weighted_pred()
14023 wsrc_buf[col] = src[col] * src_scale - wsrc_buf[col]; in calc_target_weighted_pred()