/external/arduino/hardware/arduino/cores/arduino/ |
H A D | Print.cpp | 197 double rounding = 0.5; local 199 rounding /= 10.0; 201 number += rounding;
|
/external/libyuv/files/unit_test/ |
H A D | scale_test.cc | 22 FilterMode f, int rounding, int benchmark_iterations) { 23 const int b = 128 * rounding; 24 int src_width_uv = (src_width + rounding) >> 1; 25 int src_height_uv = (src_height + rounding) >> 1; 37 int dst_width_uv = (dst_width + rounding) >> 1; 38 int dst_height_uv = (dst_height + rounding) >> 1; 122 // operations may introduce rounding somewhere. So do a difference 20 TestFilter(int src_width, int src_height, int dst_width, int dst_height, FilterMode f, int rounding, int benchmark_iterations) argument
|
/external/chromium_org/third_party/libwebp/dsp/ |
H A D | yuv.h | 272 // Stub functions that can be called with various rounding values: 273 static WEBP_INLINE int VP8ClipUV(int uv, int rounding) { argument 274 uv = (uv + rounding + (128 << (YUV_FIX + 2))) >> (YUV_FIX + 2); 280 static WEBP_INLINE int VP8RGBToY(int r, int g, int b, int rounding) { argument 282 return (luma + rounding + (16 << YUV_FIX)) >> YUV_FIX; // no need to clip 285 static WEBP_INLINE int VP8RGBToU(int r, int g, int b, int rounding) { argument 287 return VP8ClipUV(u, rounding); 290 static WEBP_INLINE int VP8RGBToV(int r, int g, int b, int rounding) { argument 292 return VP8ClipUV(v, rounding); 300 static WEBP_INLINE int VP8RGBToY(int r, int g, int b, int rounding) { argument 305 VP8RGBToU(int r, int g, int b, int rounding) argument 310 VP8RGBToV(int r, int g, int b, int rounding) argument [all...] |
/external/webp/src/dsp/ |
H A D | yuv.h | 272 // Stub functions that can be called with various rounding values: 273 static WEBP_INLINE int VP8ClipUV(int uv, int rounding) { argument 274 uv = (uv + rounding + (128 << (YUV_FIX + 2))) >> (YUV_FIX + 2); 280 static WEBP_INLINE int VP8RGBToY(int r, int g, int b, int rounding) { argument 282 return (luma + rounding + (16 << YUV_FIX)) >> YUV_FIX; // no need to clip 285 static WEBP_INLINE int VP8RGBToU(int r, int g, int b, int rounding) { argument 287 return VP8ClipUV(u, rounding); 290 static WEBP_INLINE int VP8RGBToV(int r, int g, int b, int rounding) { argument 292 return VP8ClipUV(v, rounding); 300 static WEBP_INLINE int VP8RGBToY(int r, int g, int b, int rounding) { argument 305 VP8RGBToU(int r, int g, int b, int rounding) argument 310 VP8RGBToV(int r, int g, int b, int rounding) argument [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/ |
H A D | quantize.c | 158 /* Perform regular quantization, with unbiased rounding and no zero bin. */ 187 int rounding; local 193 rounding = dq >> 1; 197 x += rounding;
|
H A D | temporal_filter.c | 101 const int rounding = strength > 0 ? 1 << (strength - 1) : 0; local 118 modifier += rounding;
|
/external/libvpx/libvpx/vp8/encoder/ |
H A D | quantize.c | 158 /* Perform regular quantization, with unbiased rounding and no zero bin. */ 187 int rounding; local 193 rounding = dq >> 1; 197 x += rounding;
|
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | decContext.h | 36 /* round -- must be one of the enumerated rounding modes */ 74 enum rounding { enum 91 enum rounding round; /* rounding mode */ 252 U_INTERNAL enum rounding U_EXPORT2 uprv_decContextGetRounding(decContext *); 256 U_INTERNAL decContext * U_EXPORT2 uprv_decContextSetRounding(decContext *, enum rounding);
|
H A D | decimfmt.cpp | 466 // If it was a currency format, apply the appropriate rounding by 1099 // Apply rounding after multiplier 2646 * Get the rounding increment. 2647 * @return A positive rounding increment, or 0.0 if rounding 2662 * Set the rounding increment. This method also controls whether 2663 * rounding is enabled. 2664 * @param newValue A positive rounding increment, or 0.0 to disable rounding. 2687 * Get the rounding mod 4410 double rounding = 0.0; local [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
H A D | vp9_temporal_filter.c | 102 const int rounding = strength > 0 ? 1 << (strength - 1) : 0; local 115 modifier += rounding;
|
/external/icu/icu4c/source/i18n/ |
H A D | decContext.h | 37 /* round -- must be one of the enumerated rounding modes */ 75 enum rounding { enum 92 enum rounding round; /* rounding mode */ 253 U_INTERNAL enum rounding U_EXPORT2 uprv_decContextGetRounding(decContext *); 257 U_INTERNAL decContext * U_EXPORT2 uprv_decContextSetRounding(decContext *, enum rounding);
|
/external/svox/pico/lib/ |
H A D | picosig2.c | 4015 picoos_single rounding = 0.5f; local 4063 Ti = (picoos_int32) (rounding + (picoos_single) Fs 4077 = (picoos_int32) (rounding + (picoos_single) Fs
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | numrgts.cpp | 877 * Number format data rounding errors for locale FR 954 * Data rounding errors for French (Canada) locale 1026 * Data rounding errors for German (Germany) locale 1094 * Data rounding errors for Italian locale number formats 1159 * Test rounding for nearest even. 1711 // Get the currency (if there is one) so we can set the rounding and fraction 1714 double rounding = ucurr_getRoundingIncrement(currency, &status); local 1717 fmt2->setRoundingIncrement(rounding); 1722 failure(status, "Fetching currency rounding/fractions"); 2243 * DecimalFormat is incorrectly rounding number [all...] |
/external/icu/icu4c/source/test/intltest/ |
H A D | numrgts.cpp | 882 * Number format data rounding errors for locale FR 960 * Data rounding errors for French (Canada) locale 1032 * Data rounding errors for German (Germany) locale 1100 * Data rounding errors for Italian locale number formats 1165 * Test rounding for nearest even. 1717 // Get the currency (if there is one) so we can set the rounding and fraction 1720 double rounding = ucurr_getRoundingIncrement(currency, &status); local 1723 fmt2->setRoundingIncrement(rounding); 1728 failure(status, "Fetching currency rounding/fractions"); 2249 * DecimalFormat is incorrectly rounding number [all...] |
/external/chromium_org/base/third_party/dmg_fp/ |
H A D | dtoa.cc | 24 * necessary to specify double-precision (53-bit) rounding precision 39 * biased rounding (add half and chop). 76 * is also #defined, fegetround() will be queried for the rounding mode. 87 * #define ROUND_BIASED for IEEE-format with biased rounding. 485 BCinfo { int dp0, dp1, dplen, dsign, e0, inexact, nd, nd0, rounding, scale, uflchk; }; member in struct:dmg_fp::BCinfo 1693 enum { /* rounding values: same as FLT_ROUNDS */ 1733 gethex(sp, rvp, rounding, sign) 1734 CONST char **sp; U *rvp; int rounding, sign; member in namespace:dmg_fp 1736 gethex( CONST char **sp, U *rvp, int rounding, int sign) 1869 switch(rounding) { [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/x86/ |
H A D | vp9_idct_intrin_sse2.c | 35 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 59 input0 = _mm_add_epi32(input0, rounding); 60 input1 = _mm_add_epi32(input1, rounding); 61 input2 = _mm_add_epi32(input2, rounding); 62 input3 = _mm_add_epi32(input3, rounding); 98 input0 = _mm_add_epi32(input0, rounding); 99 input1 = _mm_add_epi32(input1, rounding); 100 input2 = _mm_add_epi32(input2, rounding); 101 input3 = _mm_add_epi32(input3, rounding); 413 tmp0 = _mm_add_epi32(tmp0, rounding); \ 542 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 678 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 1000 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 1377 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 2532 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 3453 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 3738 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local [all...] |
/external/libvpx/libvpx/vp9/common/x86/ |
H A D | vp9_idct_intrin_sse2.c | 35 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 59 input0 = _mm_add_epi32(input0, rounding); 60 input1 = _mm_add_epi32(input1, rounding); 61 input2 = _mm_add_epi32(input2, rounding); 62 input3 = _mm_add_epi32(input3, rounding); 98 input0 = _mm_add_epi32(input0, rounding); 99 input1 = _mm_add_epi32(input1, rounding); 100 input2 = _mm_add_epi32(input2, rounding); 101 input3 = _mm_add_epi32(input3, rounding); 413 tmp0 = _mm_add_epi32(tmp0, rounding); \ 542 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 678 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 1000 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 1377 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 2532 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 3453 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 3738 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local [all...] |