Searched defs:MULT_FIX (Results 1 - 5 of 5) sorted by relevance

/external/webp/src/dsp/
H A Drescaler.c23 #define MULT_FIX(x, y) (((uint64_t)(x) * (y) + ROUNDER) >> WEBP_RESCALER_RFIX) macro
84 sum = (int)MULT_FIX(frac, wrk->fx_scale);
108 const int v = (int)MULT_FIX(J, wrk->fy_scale);
119 const int v = (int)MULT_FIX(J, wrk->fy_scale);
138 const uint32_t frac = (uint32_t)MULT_FIX(frow[x_out], yscale);
139 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale);
146 const int v = (int)MULT_FIX(irow[x_out], wrk->fxy_scale);
154 #undef MULT_FIX macro
H A Drescaler_mips_dsp_r2.c22 #define MULT_FIX(x, y) (((uint64_t)(x) * (y) + ROUNDER) >> WEBP_RESCALER_RFIX) macro
108 const uint32_t frac = (uint32_t)MULT_FIX(*frow++, yscale);
109 const int v = (int)MULT_FIX(*irow - frac, wrk->fxy_scale);
157 const int v = (int)MULT_FIX(*irow, wrk->fxy_scale);
218 const int v = (int)MULT_FIX(J, wrk->fy_scale);
290 const int v = (int)MULT_FIX(J, wrk->fy_scale);
297 #undef MULT_FIX macro
H A Drescaler_neon.c38 #define MULT_FIX(A, B) /* note: B is actualy scale>>1. See MAKE_HALF_CST */ \ macro
41 #error "MULT_FIX/WEBP_RESCALER_RFIX need some more work"
76 const uint32x4_t B0 = MULT_FIX(A0, fy_scale_half);
77 const uint32x4_t B1 = MULT_FIX(A1, fy_scale_half);
97 const uint32x4_t D0 = MULT_FIX(C0, fy_scale_half);
98 const uint32x4_t D1 = MULT_FIX(C1, fy_scale_half);
134 const uint32x4_t A0 = MULT_FIX(in0, yscale_half);
135 const uint32x4_t A1 = MULT_FIX(in1, yscale_half);
138 const uint32x4_t C0 = MULT_FIX(B0, fxy_scale_half);
139 const uint32x4_t C1 = MULT_FIX(B
[all...]
H A Drescaler_msa.c24 #define MULT_FIX(x, y) (((uint64_t)(x) * (y) + ROUNDER) >> WEBP_RESCALER_RFIX) macro
167 const int v = (int)MULT_FIX(J, wrk->fy_scale);
242 const int v = (int)MULT_FIX(J, wrk->fy_scale);
343 const uint32_t frac = (uint32_t)MULT_FIX(frow[x_out], yscale);
344 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale);
406 const int v = (int)MULT_FIX(irow[x_out], wrk->fxy_scale);
H A Drescaler_sse2.c27 #define MULT_FIX(x, y) (((uint64_t)(x) * (y) + ROUNDER) >> WEBP_RESCALER_RFIX) macro
248 const int v = (int)MULT_FIX(J, wrk->fy_scale);
282 const int v = (int)MULT_FIX(J, wrk->fy_scale);
331 const uint32_t frac = (int)MULT_FIX(frow[x_out], yscale);
332 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale);
349 const int v = (int)MULT_FIX(irow[x_out], scale);
357 #undef MULT_FIX macro

Completed in 48 milliseconds