Lines Matching refs:mad
122 SI F mad(F f, F m, F a) { return f*m+a; } in mad() function
208 SI F mad(F f, F m, F a) { return vfmaq_f32(a,f,m); }
213 SI F mad(F f, F m, F a) { return vmlaq_f32(a,f,m); }
227 return vcvtq_u32_f32(mad(v,scale,0.5f));
349 SI F mad(F f, F m, F a) {
687 SI F mad(F f, F m, F a) { return f*m+a; }
1392 BLEND_MODE(srcover) { return mad(d, inv(sa), s); } in BLEND_MODE()
1393 BLEND_MODE(dstover) { return mad(s, inv(da), d); } in BLEND_MODE()
1409 a = mad(da, inv(a), a); \
1569 r = mad(dr, inv(a), r*255.0f); in STAGE()
1570 g = mad(dg, inv(a), g*255.0f); in STAGE()
1571 b = mad(db, inv(a), b*255.0f); in STAGE()
1572 a = mad(da, inv(a), a*255.0f); in STAGE()
1748 return mad(to-from, t, from); in lerp()
1796 r = mad(r, mul, add); in STAGE()
1797 g = mad(g, mul, add); in STAGE()
1798 b = mad(b, mul, add); in STAGE()
1826 F r = if_then_else(v <= ctx->d, mad(ctx->c, v, ctx->f) in STAGE()
1827 , approx_powf(mad(ctx->a, v, ctx->b), ctx->g) + ctx->e); in STAGE()
1851 auto hi = mad(s*s, mad(s, 0.3000f, 0.6975f), 0.0025f); in STAGE()
1879 auto hi = mad(t, mad(t, -0.0024542345f, 0.013832027f), c) in STAGE()
2244 r = mad(r,m[0], m[2]); in STAGE()
2245 g = mad(g,m[1], m[3]); in STAGE()
2248 auto R = mad(r,m[0], mad(g,m[2], m[4])), in STAGE()
2249 G = mad(r,m[1], mad(g,m[3], m[5])); in STAGE()
2254 auto R = mad(r,m[0], mad(g,m[3], b*m[6])), in STAGE()
2255 G = mad(r,m[1], mad(g,m[4], b*m[7])), in STAGE()
2256 B = mad(r,m[2], mad(g,m[5], b*m[8])); in STAGE()
2262 auto R = mad(r,m[0], mad(g,m[3], mad(b,m[6], m[ 9]))), in STAGE()
2263 G = mad(r,m[1], mad(g,m[4], mad(b,m[7], m[10]))), in STAGE()
2264 B = mad(r,m[2], mad(g,m[5], mad(b,m[8], m[11]))); in STAGE()
2270 auto R = mad(r,m[ 0], mad(g,m[ 1], mad(b,m[ 2], mad(a,m[ 3], m[ 4])))), in STAGE()
2271 G = mad(r,m[ 5], mad(g,m[ 6], mad(b,m[ 7], mad(a,m[ 8], m[ 9])))), in STAGE()
2272 B = mad(r,m[10], mad(g,m[11], mad(b,m[12], mad(a,m[13], m[14])))), in STAGE()
2273 A = mad(r,m[15], mad(g,m[16], mad(b,m[17], mad(a,m[18], m[19])))); in STAGE()
2283 r = mad(X, m[0], mad(Y, m[4], m[ 8])); in STAGE()
2284 g = mad(X, m[1], mad(Y, m[5], m[ 9])); in STAGE()
2285 b = mad(X, m[2], mad(Y, m[6], m[10])); in STAGE()
2286 a = mad(X, m[3], mad(Y, m[7], m[11])); in STAGE()
2290 auto R = mad(r,m[0], mad(g,m[1], m[2])), in STAGE()
2291 G = mad(r,m[3], mad(g,m[4], m[5])), in STAGE()
2292 Z = mad(r,m[6], mad(g,m[7], m[8])); in STAGE()
2323 *r = mad(t, fr, br); in gradient_lookup()
2324 *g = mad(t, fg, bg); in gradient_lookup()
2325 *b = mad(t, fb, bb); in gradient_lookup()
2326 *a = mad(t, fa, ba); in gradient_lookup()
2353 r = mad(t, c->f[0], c->b[0]); in STAGE()
2354 g = mad(t, c->f[1], c->b[1]); in STAGE()
2355 b = mad(t, c->f[2], c->b[2]); in STAGE()
2356 a = mad(t, c->f[3], c->b[3]); in STAGE()
2471 dr = mad(scale, r, dr); in STAGE()
2472 dg = mad(scale, g, dg); in STAGE()
2473 db = mad(scale, b, db); in STAGE()
2474 da = mad(scale, a, da); in STAGE()
2517 return mad(t, mad(t, mad((-21/18.0f), t, (27/18.0f)), (9/18.0f)), (1/18.0f)); in bicubic_near()
2521 return (t*t)*mad((7/18.0f), t, (-6/18.0f)); in bicubic_far()
2613 a = mad(a, mad(a, mad(a, mad(a, c4, c3), c2), c1), c0); in STAGE()
2668 *r = mad(w,R,*r); in sampler()
2669 *g = mad(w,G,*g); in sampler()
2670 *b = mad(w,B,*b); in sampler()
2671 *a = mad(w,A,*a); in sampler()
2771 r = mad(scale, sr, r); in STAGE()
2772 g = mad(scale, sg, g); in STAGE()
2773 b = mad(scale, sb, b); in STAGE()
2774 a = mad(scale, sa, a); in STAGE()
3039 SI F mad(F f, F m, F a) { return f*m+a; }
3131 x = mad(x,m[0], m[2]);
3132 y = mad(y,m[1], m[3]);
3135 auto X = mad(x,m[0], mad(y,m[2], m[4])),
3136 Y = mad(x,m[1], mad(y,m[3], m[5]));
3142 auto X = mad(x,m[0], mad(y,m[1], m[2])),
3143 Y = mad(x,m[3], mad(y,m[4], m[5])),
3144 Z = mad(x,m[6], mad(y,m[7], m[8]));
3842 round_F_to_U16(mad(t, fr, br),
3843 mad(t, fg, bg),
3844 mad(t, fb, bb),
3845 mad(t, fa, ba),
3870 round_F_to_U16(mad(t, c->f[0], c->b[0]),
3871 mad(t, c->f[1], c->b[1]),
3872 mad(t, c->f[2], c->b[2]),
3873 mad(t, c->f[3], c->b[3]),