Home
last modified time | relevance | path

Searched refs:round (Results 1 – 25 of 60) sorted by relevance

123

/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dgroverotary.js44 console.log("Abs: " + abs + " " + Math.round(parseInt(absdeg)) + " " + absrad.toFixed(3));
45 console.log("Rel: " + rel + " " + Math.round(parseInt(reldeg)) + " " + relrad.toFixed(3));
Dldt0028.js70 var stars_to_print = Math.round(average / SCALE_FACTOR);
71 var string = "(" + (" " + Math.round(average)).slice(-4) + ") | ";
Dgrovetemp.js39 Math.round(fahrenheit) + " degrees Fahrenheit");
Dguvas12d.js48 …return (Math.round((num + extraNum) * (Math.pow(10, decimalPlaces))) / Math.pow(10, decimalPlaces)…
Dgroveo2.js40 …return (Math.round((num + extraNum) * (Math.pow(10, decimalPlaces))) / Math.pow(10, decimalPlaces)…
Dina132.js40 var numerator = Math.round((num + extraNum) * (Math.pow(10, decimalPlaces)));
Djoystick12.js44 var numerator = Math.round((num + extraNum) * (Math.pow(10, decimalPlaces)));
Dotp538u.js54 return (Math.round((num + extraNum) *
Denc03r.js57 return (Math.round((num + extraNum) * (Math.pow(10, decimalPlaces))) /
Dhmc5883l.js53 return Math.round((num + 0.00001) * 100) / 100;
Ditg3200.js56 return Math.round((num + 0.00001) * 100) / 100;
Dh3lis331dl.js71 return (Math.round((num + extraNum)
/hardware/bsp/intel/peripheral/libupm/examples/python/
Dldt0028.py62 stars_to_print = int(round(average / SCALE_FACTOR))
63 print '(' + repr(int(round(average))).rjust(4) + ') |', '*' * stars_to_print
/hardware/bsp/intel/peripheral/libupm/examples/c++/
Dldt0028.cxx77 int stars_to_print = (int) round(average / SCALE_FACTOR); in main()
78 std::cout << "(" << std::setw(4) << (int) round(average) << ") | "; in main()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Didct8x8_test.cc27 static int round(double x) { in round() function
105 output[i] = round(out2[i]/32); in reference_idct_2d()
126 coeff[j] = round(output_r[j]); in TEST()
/hardware/ti/omap4-aah/libtiutils/
DUtilsCommon.h40 int round(T x);
63 inline int round(const T x) { in round() function
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/
Dmlmath.h22 #define round(x)(((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro
58 #define round(x) (((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/
Dmlmath.h22 #define round(x)(((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro
58 #define round(x) (((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/x86/
Dvp9_quantize_ssse3.asm19 cglobal quantize_%1, 0, %2, 15, coeff, ncoeff, skip, zbin, round, quant, \
35 mova m1, [roundq] ; m1 = round
73 paddsw m6, m1 ; m6 += round
75 paddsw m11, m1 ; m11 += round
130 paddsw m6, m1 ; m6 += round
131 paddsw m11, m1 ; m11 += round
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/x86/
Dquantize_sse2.c52 __m128i round0 = _mm_load_si128((__m128i *)(b->round)); in vp8_regular_quantize_b_sse2()
53 __m128i round1 = _mm_load_si128((__m128i *)(b->round + 8)); in vp8_regular_quantize_b_sse2()
150 __m128i round0 = _mm_load_si128((__m128i *)(b->round)); in vp8_fast_quantize_b_sse2()
151 __m128i round1 = _mm_load_si128((__m128i *)(b->round + 8)); in vp8_fast_quantize_b_sse2()
/hardware/bsp/intel/peripheral/libupm/src/grove/
Dgrove.cxx132 return (int) round(t); in value()
162 return (int) round(a); in value()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_systemdependent.h37 static INLINE int round(double x) { in round() function
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_encodemb.c336 vp9_quantize_b_32x32(coeff, 1024, x->skip_block, p->zbin, p->round, in vp9_xform_quant()
343 vp9_quantize_b(coeff, 256, x->skip_block, p->zbin, p->round, in vp9_xform_quant()
350 vp9_quantize_b(coeff, 64, x->skip_block, p->zbin, p->round, in vp9_xform_quant()
357 vp9_quantize_b(coeff, 16, x->skip_block, p->zbin, p->round, in vp9_xform_quant()
514 vp9_quantize_b_32x32(coeff, 1024, x->skip_block, p->zbin, p->round, in encode_block_intra()
534 vp9_quantize_b(coeff, 256, x->skip_block, p->zbin, p->round, in encode_block_intra()
554 vp9_quantize_b(coeff, 64, x->skip_block, p->zbin, p->round, p->quant, in encode_block_intra()
578 vp9_quantize_b(coeff, 16, x->skip_block, p->zbin, p->round, p->quant, in encode_block_intra()
Dvp9_quantize.c137 p->zbin, p->round, p->quant, p->quant_shift, in vp9_regular_quantize_b_4x4()
230 x->plane[0].round = quants->y_round[qindex]; in vp9_init_plane_quantizers()
239 x->plane[i].round = quants->uv_round[qindex]; in vp9_init_plane_quantizers()
248 x->plane[3].round = cpi->a_round[qindex]; in vp9_init_plane_quantizers()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dquantize.c29 short *round_ptr = b->round; in vp8_fast_quantize_b_c()
75 short *round_ptr = b->round; in vp8_fast_quantize_b_c()
114 short *round_ptr = b->round; in vp8_regular_quantize_b_c()
226 short *round_ptr = b->round; in vp8_regular_quantize_b_c()
676 x->block[i].round = cpi->Y1round[QIndex]; in vp8cx_mb_init_quantizer()
690 x->block[i].round = cpi->UVround[QIndex]; in vp8cx_mb_init_quantizer()
702 x->block[24].round = cpi->Y2round[QIndex]; in vp8cx_mb_init_quantizer()

123