Home
last modified time | relevance | path

Searched refs:WEBP_RESCALER_RFIX (Results 1 – 6 of 6) sorted by relevance

/external/webp/src/dsp/
Drescaler_sse2.c27 #define MULT_FIX(x, y) (((uint64_t)(x) * (y) + ROUNDER) >> WEBP_RESCALER_RFIX)
28 #define MULT_FIX_FLOOR(x, y) (((uint64_t)(x) * (y)) >> WEBP_RESCALER_RFIX)
210 const __m128i D0 = _mm_srli_epi64(C0, WEBP_RESCALER_RFIX); in ProcessRow_SSE2()
211 const __m128i D1 = _mm_srli_epi64(C1, WEBP_RESCALER_RFIX); in ProcessRow_SSE2()
212 #if (WEBP_RESCALER_RFIX < 32) in ProcessRow_SSE2()
214 _mm_and_si128(_mm_slli_epi64(C2, 32 - WEBP_RESCALER_RFIX), mask); in ProcessRow_SSE2()
216 _mm_and_si128(_mm_slli_epi64(C3, 32 - WEBP_RESCALER_RFIX), mask); in ProcessRow_SSE2()
269 const __m128i E0 = _mm_srli_epi64(D0, WEBP_RESCALER_RFIX); in RescalerExportRowExpand_SSE2()
270 const __m128i E1 = _mm_srli_epi64(D1, WEBP_RESCALER_RFIX); in RescalerExportRowExpand_SSE2()
271 const __m128i E2 = _mm_srli_epi64(D2, WEBP_RESCALER_RFIX); in RescalerExportRowExpand_SSE2()
[all …]
Drescaler_neon.c24 #define MULT_FIX_C(x, y) (((uint64_t)(x) * (y) + ROUNDER) >> WEBP_RESCALER_RFIX)
25 #define MULT_FIX_FLOOR_C(x, y) (((uint64_t)(x) * (y)) >> WEBP_RESCALER_RFIX)
37 #if (WEBP_RESCALER_RFIX == 32)
58 vrshrn_n_u64(D0, WEBP_RESCALER_RFIX), in Interpolate_NEON()
59 vrshrn_n_u64(D1, WEBP_RESCALER_RFIX)); in Interpolate_NEON()
110 const uint32_t J = (uint32_t)((I + ROUNDER) >> WEBP_RESCALER_RFIX); in RescalerExportRowExpand_NEON()
Drescaler_mips_dsp_r2.c22 #define MULT_FIX(x, y) (((uint64_t)(x) * (y) + ROUNDER) >> WEBP_RESCALER_RFIX)
23 #define MULT_FIX_FLOOR(x, y) (((uint64_t)(x) * (y)) >> WEBP_RESCALER_RFIX)
289 const uint32_t J = (uint32_t)((I + ROUNDER) >> WEBP_RESCALER_RFIX); in ExportRowExpand_MIPSdspR2()
Drescaler_msa.c24 #define MULT_FIX(x, y) (((uint64_t)(x) * (y) + ROUNDER) >> WEBP_RESCALER_RFIX)
25 #define MULT_FIX_FLOOR(x, y) (((uint64_t)(x) * (y)) >> WEBP_RESCALER_RFIX)
121 const v4u32 shift = (v4u32)__msa_fill_w(WEBP_RESCALER_RFIX); in ExportRowExpand_0()
183 const v4u32 shift = (v4u32)__msa_fill_w(WEBP_RESCALER_RFIX); in ExportRowExpand_1()
241 const uint32_t J = (uint32_t)((I + ROUNDER) >> WEBP_RESCALER_RFIX); in ExportRowExpand_1()
271 const v4u32 shiftval = (v4u32)__msa_fill_w(WEBP_RESCALER_RFIX);
355 const v4u32 shift = (v4u32)__msa_fill_w(WEBP_RESCALER_RFIX);
Drescaler.c23 #define MULT_FIX(x, y) (((uint64_t)(x) * (y) + ROUNDER) >> WEBP_RESCALER_RFIX)
24 #define MULT_FIX_FLOOR(x, y) (((uint64_t)(x) * (y)) >> WEBP_RESCALER_RFIX)
120 const uint32_t J = (uint32_t)((I + ROUNDER) >> WEBP_RESCALER_RFIX); in WebPRescalerExportRowExpand_C()
/external/webp/src/utils/
Drescaler_utils.h23 #define WEBP_RESCALER_RFIX 32 // fixed-point precision for multiplies macro
24 #define WEBP_RESCALER_ONE (1ull << WEBP_RESCALER_RFIX)
26 ((uint32_t)(((uint64_t)(x) << WEBP_RESCALER_RFIX) / (y)))