Home
last modified time | relevance | path

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

/external/webp/src/dsp/
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()
255 const __m128i rounder = _mm_set_epi32(0, ROUNDER, 0, ROUNDER); in RescalerExportRowExpand_SSE2()
279 const uint32_t J = (uint32_t)((I + ROUNDER) >> WEBP_RESCALER_RFIX); in RescalerExportRowExpand_SSE2()
349 #undef ROUNDER
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)
289 const uint32_t J = (uint32_t)((I + ROUNDER) >> WEBP_RESCALER_RFIX); in ExportRowExpand_MIPSdspR2()
298 #undef ROUNDER
Drescaler.c22 #define ROUNDER (WEBP_RESCALER_ONE >> 1) macro
23 #define MULT_FIX(x, y) (((uint64_t)(x) * (y) + ROUNDER) >> WEBP_RESCALER_RFIX)
120 const uint32_t J = (uint32_t)((I + ROUNDER) >> WEBP_RESCALER_RFIX); in WebPRescalerExportRowExpand_C()
155 #undef ROUNDER
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)
110 const uint32_t J = (uint32_t)((I + ROUNDER) >> WEBP_RESCALER_RFIX); in RescalerExportRowExpand_NEON()
177 #undef ROUNDER
Drescaler_msa.c23 #define ROUNDER (WEBP_RESCALER_ONE >> 1) macro
24 #define MULT_FIX(x, y) (((uint64_t)(x) * (y) + ROUNDER) >> WEBP_RESCALER_RFIX)
241 const uint32_t J = (uint32_t)((I + ROUNDER) >> WEBP_RESCALER_RFIX); in ExportRowExpand_1()
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); \
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); \
/external/caliper/caliper/src/main/java/com/google/caliper/util/
DShortDuration.java277 return new BigDecimal(picos).divide(divisor, ROUNDER) + preferredAbbrev(bestUnit); in toString()
280 private static final MathContext ROUNDER = new MathContext(4); field in ShortDuration.PositiveShortDuration