Home
last modified time | relevance | path

Searched refs:constrained_add (Results 1 - 3 of 3) sorted by relevance

/third_party/skia/experimental/lowp-basic/
H A Dbilerp-study.cpp75 I16 top = (I16)((U16)(constrained_add(simulate_ssse3_mm_mulhrs_epi16(qtx, qw), qm) + 1) >> 1); in bilerp_1()
80 (I16)((U16)(constrained_add(simulate_ssse3_mm_mulhrs_epi16(qtx, qw), qm) + 1) >> 1); in bilerp_1()
86 U16 scaledAnswer = constrained_add(simulate_ssse3_mm_mulhrs_epi16(qty, qw), qm); in bilerp_1()
H A DQMath.h34 static inline U16 constrained_add(I16 a, U16 b) { in constrained_add() function
/third_party/skia/src/opts/
H A DSkRasterPipeline_opts.h3260 SI U16 constrained_add(I16 a, U16 b) {
4129 // The constrained_add is the most subtle part of lerp. The first term is on the interval
4137 U16 v2 = constrained_add(scaled_mult(tx, width), middle) + 1;
4174 U16 blend = constrained_add(scaled_mult(ty, width), middle) + 0x80;

Completed in 6 milliseconds