Home
last modified time | relevance | path

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

/external/webp/src/dsp/
Drescaler_sse2.c25 #define ROUNDER (WEBP_RESCALER_ONE >> 1) macro
26 #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 RescalerImportRowShrinkSSE2()
200 const __m128i rounder = _mm_set_epi32(0, ROUNDER, 0, ROUNDER); in ProcessRow()
256 const __m128i rounder = _mm_set_epi32(0, ROUNDER, 0, ROUNDER); in RescalerExportRowExpandSSE2()
280 const uint32_t J = (uint32_t)((I + ROUNDER) >> WEBP_RESCALER_RFIX); in RescalerExportRowExpandSSE2()
302 const __m128i rounder = _mm_set_epi32(0, ROUNDER, 0, ROUNDER); in RescalerExportRowShrinkSSE2()
357 #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()
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)
118 const uint32_t J = (uint32_t)((I + ROUNDER) >> WEBP_RESCALER_RFIX); in WebPRescalerExportRowExpandC()
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)
107 const uint32_t J = (uint32_t)((I + ROUNDER) >> WEBP_RESCALER_RFIX); in RescalerExportRowExpand()
Dyuv_sse2.c526 ROUNDER, DESCALE_FIX, OUT) do { \ argument
533 const __m128i V3_lo = _mm_add_epi32(V2_lo, ROUNDER); \
534 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