Searched refs:MULT_FIX (Results 1 – 5 of 5) sorted by relevance
/external/webp/src/dsp/ |
D | rescaler_neon.c | 38 #define MULT_FIX(A, B) /* note: B is actualy scale>>1. See MAKE_HALF_CST */ \ macro 76 const uint32x4_t B0 = MULT_FIX(A0, fy_scale_half); in RescalerExportRowExpand() 77 const uint32x4_t B1 = MULT_FIX(A1, fy_scale_half); in RescalerExportRowExpand() 97 const uint32x4_t D0 = MULT_FIX(C0, fy_scale_half); in RescalerExportRowExpand() 98 const uint32x4_t D1 = MULT_FIX(C1, fy_scale_half); in RescalerExportRowExpand() 134 const uint32x4_t A0 = MULT_FIX(in0, yscale_half); in RescalerExportRowShrink() 135 const uint32x4_t A1 = MULT_FIX(in1, yscale_half); in RescalerExportRowShrink() 138 const uint32x4_t C0 = MULT_FIX(B0, fxy_scale_half); in RescalerExportRowShrink() 139 const uint32x4_t C1 = MULT_FIX(B1, fxy_scale_half); in RescalerExportRowShrink() 156 const uint32x4_t A0 = MULT_FIX(in0, fxy_scale_half); in RescalerExportRowShrink() [all …]
|
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); in ExportRowShrink() 109 const int v = (int)MULT_FIX(*irow - frac, wrk->fxy_scale); in ExportRowShrink() 157 const int v = (int)MULT_FIX(*irow, wrk->fxy_scale); in ExportRowShrink() 218 const int v = (int)MULT_FIX(J, wrk->fy_scale); in ExportRowExpand() 290 const int v = (int)MULT_FIX(J, wrk->fy_scale); in ExportRowExpand() 297 #undef MULT_FIX
|
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); in WebPRescalerImportRowShrinkC() 108 const int v = (int)MULT_FIX(J, wrk->fy_scale); in WebPRescalerExportRowExpandC() 119 const int v = (int)MULT_FIX(J, wrk->fy_scale); in WebPRescalerExportRowExpandC() 138 const uint32_t frac = (uint32_t)MULT_FIX(frow[x_out], yscale); in WebPRescalerExportRowShrinkC() 139 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale); in WebPRescalerExportRowShrinkC() 146 const int v = (int)MULT_FIX(irow[x_out], wrk->fxy_scale); in WebPRescalerExportRowShrinkC() 154 #undef MULT_FIX
|
D | rescaler_sse2.c | 27 #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); in RescalerExportRowExpandSSE2() 282 const int v = (int)MULT_FIX(J, wrk->fy_scale); in RescalerExportRowExpandSSE2() 331 const uint32_t frac = (int)MULT_FIX(frow[x_out], yscale); in RescalerExportRowShrinkSSE2() 332 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale); in RescalerExportRowShrinkSSE2() 349 const int v = (int)MULT_FIX(irow[x_out], scale); in RescalerExportRowShrinkSSE2() 357 #undef MULT_FIX
|
D | rescaler_msa.c | 24 #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); in ExportRowExpand_0() 242 const int v = (int)MULT_FIX(J, wrk->fy_scale); in ExportRowExpand_1() 343 const uint32_t frac = (uint32_t)MULT_FIX(frow[x_out], yscale); in ExportRowShrink_0() 344 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale); in ExportRowShrink_0() 406 const int v = (int)MULT_FIX(irow[x_out], wrk->fxy_scale); in ExportRowShrink_1()
|