Home
last modified time | relevance | path

Searched refs:MULT_FIX (Results 1 – 5 of 5) sorted by relevance

/external/webp/src/dsp/
Drescaler_neon.c38 #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_NEON()
77 const uint32x4_t B1 = MULT_FIX(A1, fy_scale_half); in RescalerExportRowExpand_NEON()
97 const uint32x4_t D0 = MULT_FIX(C0, fy_scale_half); in RescalerExportRowExpand_NEON()
98 const uint32x4_t D1 = MULT_FIX(C1, fy_scale_half); in RescalerExportRowExpand_NEON()
134 const uint32x4_t A0 = MULT_FIX(in0, yscale_half); in RescalerExportRowShrink_NEON()
135 const uint32x4_t A1 = MULT_FIX(in1, yscale_half); in RescalerExportRowShrink_NEON()
138 const uint32x4_t C0 = MULT_FIX(B0, fxy_scale_half); in RescalerExportRowShrink_NEON()
139 const uint32x4_t C1 = MULT_FIX(B1, fxy_scale_half); in RescalerExportRowShrink_NEON()
156 const uint32x4_t A0 = MULT_FIX(in0, fxy_scale_half); in RescalerExportRowShrink_NEON()
[all …]
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); in ExportRowShrink_MIPSdspR2()
109 const int v = (int)MULT_FIX(*irow - frac, wrk->fxy_scale); in ExportRowShrink_MIPSdspR2()
157 const int v = (int)MULT_FIX(*irow, wrk->fxy_scale); in ExportRowShrink_MIPSdspR2()
218 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
Drescaler.c23 #define MULT_FIX(x, y) (((uint64_t)(x) * (y) + ROUNDER) >> WEBP_RESCALER_RFIX) macro
86 sum = (int)MULT_FIX(frac, wrk->fx_scale); in WebPRescalerImportRowShrink_C()
110 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 uint32_t frac = (uint32_t)MULT_FIX(frow[x_out], yscale); in WebPRescalerExportRowShrink_C()
141 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale); in WebPRescalerExportRowShrink_C()
148 const int v = (int)MULT_FIX(irow[x_out], wrk->fxy_scale); in WebPRescalerExportRowShrink_C()
156 #undef MULT_FIX
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); in RescalerExportRowExpand_SSE2()
282 const int v = (int)MULT_FIX(J, wrk->fy_scale); in RescalerExportRowExpand_SSE2()
331 const uint32_t frac = (int)MULT_FIX(frow[x_out], yscale); in RescalerExportRowShrink_SSE2()
332 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale); in RescalerExportRowShrink_SSE2()
349 const int v = (int)MULT_FIX(irow[x_out], scale); in RescalerExportRowShrink_SSE2()
357 #undef MULT_FIX
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); 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()