Home
last modified time | relevance | path

Searched refs:ROUNDER (Results 1 – 7 of 7) sorted by relevance

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Drescaler_sse2.c26 #define ROUNDER (WEBP_RESCALER_ONE >> 1) macro
27 #define MULT_FIX(x, y) (((uint64_t)(x) * (y) + ROUNDER) >> WEBP_RESCALER_RFIX)
119 const __m128i rounder = _mm_set_epi32(0, ROUNDER, 0, ROUNDER); in RescalerImportRowShrink_SSE2()
200 const __m128i rounder = _mm_set_epi32(0, ROUNDER, 0, ROUNDER); in ProcessRow_SSE2()
285 const __m128i rounder = _mm_set_epi32(0, ROUNDER, 0, ROUNDER); in RescalerExportRowExpand_SSE2()
309 const uint32_t J = (uint32_t)((I + ROUNDER) >> WEBP_RESCALER_RFIX); in RescalerExportRowExpand_SSE2()
331 const __m128i rounder = _mm_set_epi32(0, ROUNDER, 0, ROUNDER); in RescalerExportRowShrink_SSE2()
387 #undef ROUNDER
A Drescaler_mips_dsp_r2.c21 #define ROUNDER (WEBP_RESCALER_ONE >> 1) macro
22 #define MULT_FIX(x, y) (((uint64_t)(x) * (y) + ROUNDER) >> WEBP_RESCALER_RFIX)
292 const uint32_t J = (uint32_t)((I + ROUNDER) >> WEBP_RESCALER_RFIX); in ExportRowExpand_MIPSdspR2()
302 #undef ROUNDER
A Drescaler.c22 #define ROUNDER (WEBP_RESCALER_ONE >> 1) macro
23 #define MULT_FIX(x, y) (((uint64_t)(x) * (y) + ROUNDER) >> WEBP_RESCALER_RFIX)
121 const uint32_t J = (uint32_t)((I + ROUNDER) >> WEBP_RESCALER_RFIX); in WebPRescalerExportRowExpand_C()
159 #undef ROUNDER
A Drescaler_neon.c23 #define ROUNDER (WEBP_RESCALER_ONE >> 1) macro
24 #define MULT_FIX_C(x, y) (((uint64_t)(x) * (y) + ROUNDER) >> WEBP_RESCALER_RFIX)
111 const uint32_t J = (uint32_t)((I + ROUNDER) >> WEBP_RESCALER_RFIX); in RescalerExportRowExpand_NEON()
181 #undef ROUNDER
A Drescaler_msa.c23 #define ROUNDER (WEBP_RESCALER_ONE >> 1) macro
24 #define MULT_FIX(x, y) (((uint64_t)(x) * (y) + ROUNDER) >> WEBP_RESCALER_RFIX)
242 const uint32_t J = (uint32_t)((I + ROUNDER) >> WEBP_RESCALER_RFIX); in ExportRowExpand_1()
A Dyuv_sse41.c354 ROUNDER, DESCALE_FIX, OUT) do { \ argument
361 const __m128i V3_lo = _mm_add_epi32(V2_lo, ROUNDER); \
362 const __m128i V3_hi = _mm_add_epi32(V2_hi, ROUNDER); \
A Dyuv_sse2.c508 ROUNDER, DESCALE_FIX, OUT) do { \ argument
515 const __m128i V3_lo = _mm_add_epi32(V2_lo, ROUNDER); \
516 const __m128i V3_hi = _mm_add_epi32(V2_hi, ROUNDER); \

Completed in 14 milliseconds