Searched refs:MULT_FIX (Results 1 – 5 of 5) sorted by relevance
/external/webp/src/dsp/ |
D | rescaler_neon.c | 40 #define MULT_FIX(A, B) \ macro 80 const uint32x4_t B0 = MULT_FIX(A0, fy_scale_half); in RescalerExportRowExpand_NEON() 81 const uint32x4_t B1 = MULT_FIX(A1, fy_scale_half); in RescalerExportRowExpand_NEON() 100 const uint32x4_t D0 = MULT_FIX(C0, fy_scale_half); in RescalerExportRowExpand_NEON() 101 const uint32x4_t D1 = MULT_FIX(C1, fy_scale_half); in RescalerExportRowExpand_NEON() 140 const uint32x4_t C0 = MULT_FIX(B0, fxy_scale_half); in RescalerExportRowShrink_NEON() 141 const uint32x4_t C1 = MULT_FIX(B1, fxy_scale_half); in RescalerExportRowShrink_NEON() 157 const uint32x4_t A0 = MULT_FIX(in0, fxy_scale_half); in RescalerExportRowShrink_NEON() 158 const uint32x4_t A1 = MULT_FIX(in1, fxy_scale_half); in RescalerExportRowShrink_NEON() 176 #undef MULT_FIX
|
D | rescaler.c | 23 #define MULT_FIX(x, y) (((uint64_t)(x) * (y) + ROUNDER) >> WEBP_RESCALER_RFIX) macro 87 sum = (int)MULT_FIX(frac, wrk->fx_scale); in WebPRescalerImportRowShrink_C() 111 const int v = (int)MULT_FIX(J, wrk->fy_scale); in WebPRescalerExportRowExpand_C() 121 const int v = (int)MULT_FIX(J, wrk->fy_scale); in WebPRescalerExportRowExpand_C() 140 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale); in WebPRescalerExportRowShrink_C() 146 const int v = (int)MULT_FIX(irow[x_out], wrk->fxy_scale); in WebPRescalerExportRowShrink_C() 154 #undef MULT_FIX
|
D | rescaler_mips_dsp_r2.c | 22 #define MULT_FIX(x, y) (((uint64_t)(x) * (y) + ROUNDER) >> WEBP_RESCALER_RFIX) macro 111 const int v = (int)MULT_FIX(*irow - frac, wrk->fxy_scale); 219 const int v = (int)MULT_FIX(J, wrk->fy_scale); in ExportRowExpand_MIPSdspR2() 290 const int v = (int)MULT_FIX(J, wrk->fy_scale); in ExportRowExpand_MIPSdspR2() 297 #undef MULT_FIX
|
D | rescaler_sse2.c | 27 #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); in RescalerExportRowExpand_SSE2() 280 const int v = (int)MULT_FIX(J, wrk->fy_scale); in RescalerExportRowExpand_SSE2() 324 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale); in RescalerExportRowShrink_SSE2() 340 const int v = (int)MULT_FIX(irow[x_out], scale); in RescalerExportRowShrink_SSE2() 348 #undef MULT_FIX
|
D | rescaler_msa.c | 24 #define MULT_FIX(x, y) (((uint64_t)(x) * (y) + ROUNDER) >> WEBP_RESCALER_RFIX) macro 168 const int v = (int)MULT_FIX(J, wrk->fy_scale); in ExportRowExpand_0() 242 const int v = (int)MULT_FIX(J, wrk->fy_scale); in ExportRowExpand_1() 344 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale); 405 const int v = (int)MULT_FIX(irow[x_out], wrk->fxy_scale);
|