Searched refs:MULT_FIX (Results 1 - 4 of 4) sorted by relevance
/external/webp/src/dsp/ |
H A D | rescaler_neon.c | 38 #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 D | rescaler.c | 23 #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 D | rescaler_mips_dsp_r2.c | 22 #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 D | rescaler_sse2.c | 26 #define MULT_FIX(x, y) (((uint64_t)(x) * (y) + ROUNDER) >> WEBP_RESCALER_RFIX) macro 247 const int v = (int)MULT_FIX(J, wrk->fy_scale); 281 const int v = (int)MULT_FIX(J, wrk->fy_scale); 330 const uint32_t frac = (int)MULT_FIX(frow[x_out], yscale); 331 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale); 348 const int v = (int)MULT_FIX(irow[x_out], scale); 356 #undef MULT_FIX macro
|
Completed in 2902 milliseconds