HomeSort by relevance Sort by last modified time
    Searched refs:den (Results 1 - 25 of 193) sorted by null

1 2 3 4 5 6 7 8

  /external/libcxx/test/std/utilities/ratio/
typedefs.pass.cpp 16 static_assert(std::atto::num == 1 && std::atto::den == 1000000000000000000ULL, "");
17 static_assert(std::femto::num == 1 && std::femto::den == 1000000000000000ULL, "");
18 static_assert(std::pico::num == 1 && std::pico::den == 1000000000000ULL, "");
19 static_assert(std::nano::num == 1 && std::nano::den == 1000000000ULL, "");
20 static_assert(std::micro::num == 1 && std::micro::den == 1000000ULL, "");
21 static_assert(std::milli::num == 1 && std::milli::den == 1000ULL, "");
22 static_assert(std::centi::num == 1 && std::centi::den == 100ULL, "");
23 static_assert(std::deci::num == 1 && std::deci::den == 10ULL, "");
24 static_assert(std::deca::num == 10ULL && std::deca::den == 1, "");
25 static_assert(std::hecto::num == 100ULL && std::hecto::den == 1, "")
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/ratio/
typedefs.pass.cpp 16 static_assert(std::atto::num == 1 && std::atto::den == 1000000000000000000ULL, "");
17 static_assert(std::femto::num == 1 && std::femto::den == 1000000000000000ULL, "");
18 static_assert(std::pico::num == 1 && std::pico::den == 1000000000000ULL, "");
19 static_assert(std::nano::num == 1 && std::nano::den == 1000000000ULL, "");
20 static_assert(std::micro::num == 1 && std::micro::den == 1000000ULL, "");
21 static_assert(std::milli::num == 1 && std::milli::den == 1000ULL, "");
22 static_assert(std::centi::num == 1 && std::centi::den == 100ULL, "");
23 static_assert(std::deci::num == 1 && std::deci::den == 10ULL, "");
24 static_assert(std::deca::num == 10ULL && std::deca::den == 1, "");
25 static_assert(std::hecto::num == 100ULL && std::hecto::den == 1, "")
    [all...]
  /frameworks/av/include/media/stagefright/foundation/
AUtils.h 23 /* T must be integer type, den must not be 0 */
25 inline static const T divRound(const T &nom, const T &den) {
26 if ((nom >= 0) ^ (den >= 0)) {
27 return (nom - den / 2) / den;
29 return (nom + den / 2) / den;
33 /* == ceil(nom / den). T must be integer type, den must not be 0 */
35 inline static const T divUp(const T &nom, const T &den) {
    [all...]
  /external/opencv3/3rdparty/include/ffmpeg_/libavutil/
rational.h 45 int den; ///< denominator member in struct:AVRational
56 const int64_t tmp= a.num * (int64_t)b.den - b.num * (int64_t)a.den;
58 if(tmp) return ((tmp ^ a.den ^ b.den)>>63)|1;
59 else if(b.den && a.den) return 0;
70 return a.num / (double) a.den;
79 * @param den source denominator
83 int av_reduce(int *dst_num, int *dst_den, int64_t num, int64_t den, int64_t max)
    [all...]
  /external/webrtc/webrtc/common_audio/signal_processing/
division_operations.c 26 uint32_t WebRtcSpl_DivU32U16(uint32_t num, uint16_t den)
29 if (den != 0)
31 return (uint32_t)(num / den);
38 int32_t WebRtcSpl_DivW32W16(int32_t num, int16_t den)
41 if (den != 0)
43 return (int32_t)(num / den);
50 int16_t WebRtcSpl_DivW32W16ResW16(int32_t num, int16_t den)
53 if (den != 0)
55 return (int16_t)(num / den);
62 int32_t WebRtcSpl_DivResultInQ31(int32_t num, int32_t den)
    [all...]
  /external/libvpx/libvpx/vpx_dsp/
prob.h 50 static INLINE vpx_prob get_prob(int num, int den) {
51 return (den == 0) ? 128u : clip_prob(((int64_t)num * 256 + (den >> 1)) / den);
81 const unsigned int den = ct[0] + ct[1]; local
82 if (den == 0) {
85 const unsigned int count = VPXMIN(den, MODE_MV_COUNT_SAT);
88 clip_prob(((int64_t)(ct[0]) * 256 + (den >> 1)) / den);
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
vp9_prob.h 54 static INLINE vp9_prob get_prob(int num, int den) {
55 return (den == 0) ? 128u : clip_prob(((int64_t)num * 256 + (den >> 1)) / den);
58 static INLINE vp9_prob get_prob(int num, int den) {
59 return (den == 0) ? 128u : clip_prob((num * 256 + (den >> 1)) / den);
  /external/libcxx/test/std/utilities/ratio/ratio.arithmetic/
ratio_divide.pass.cpp 20 static_assert(R::num == 1 && R::den == 1, "");
26 static_assert(R::num == 1 && R::den == 2, "");
32 static_assert(R::num == -1 && R::den == 2, "");
38 static_assert(R::num == -1 && R::den == 2, "");
44 static_assert(R::num == -1 && R::den == 2, "");
50 static_assert(R::num == -1 && R::den == 2, "");
56 static_assert(R::num == 630992477165LL && R::den == 127339199162436LL, "");
ratio_multiply.pass.cpp 20 static_assert(R::num == 1 && R::den == 1, "");
26 static_assert(R::num == 1 && R::den == 2, "");
32 static_assert(R::num == -1 && R::den == 2, "");
38 static_assert(R::num == -1 && R::den == 2, "");
44 static_assert(R::num == -1 && R::den == 2, "");
50 static_assert(R::num == -1 && R::den == 2, "");
56 static_assert(R::num == 15519594064236LL && R::den == 5177331081415LL, "");
ratio_add.pass.cpp 20 static_assert(R::num == 2 && R::den == 1, "");
26 static_assert(R::num == 3 && R::den == 2, "");
32 static_assert(R::num == 1 && R::den == 2, "");
38 static_assert(R::num == 1 && R::den == 2, "");
44 static_assert(R::num == -1 && R::den == 2, "");
50 static_assert(R::num == -1 && R::den == 2, "");
56 static_assert(R::num == 127970191639601LL && R::den == 5177331081415LL, "");
62 static_assert(R::num == 0 && R::den == 1, "");
68 static_assert(R::num == 1 && R::den == 1, "");
74 static_assert(R::num == 1 && R::den == 1, "")
    [all...]
ratio_subtract.pass.cpp 20 static_assert(R::num == 0 && R::den == 1, "");
26 static_assert(R::num == -1 && R::den == 2, "");
32 static_assert(R::num == -3 && R::den == 2, "");
38 static_assert(R::num == -3 && R::den == 2, "");
44 static_assert(R::num == 3 && R::den == 2, "");
50 static_assert(R::num == 3 && R::den == 2, "");
56 static_assert(R::num == -126708206685271LL && R::den == 5177331081415LL, "");
62 static_assert(R::num == 0 && R::den == 1, "");
68 static_assert(R::num == 1 && R::den == 1, "");
74 static_assert(R::num == -1 && R::den == 1, "")
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/ratio/ratio.arithmetic/
ratio_divide.pass.cpp 20 static_assert(R::num == 1 && R::den == 1, "");
26 static_assert(R::num == 1 && R::den == 2, "");
32 static_assert(R::num == -1 && R::den == 2, "");
38 static_assert(R::num == -1 && R::den == 2, "");
44 static_assert(R::num == -1 && R::den == 2, "");
50 static_assert(R::num == -1 && R::den == 2, "");
56 static_assert(R::num == 630992477165LL && R::den == 127339199162436LL, "");
ratio_multiply.pass.cpp 20 static_assert(R::num == 1 && R::den == 1, "");
26 static_assert(R::num == 1 && R::den == 2, "");
32 static_assert(R::num == -1 && R::den == 2, "");
38 static_assert(R::num == -1 && R::den == 2, "");
44 static_assert(R::num == -1 && R::den == 2, "");
50 static_assert(R::num == -1 && R::den == 2, "");
56 static_assert(R::num == 15519594064236LL && R::den == 5177331081415LL, "");
ratio_add.pass.cpp 20 static_assert(R::num == 2 && R::den == 1, "");
26 static_assert(R::num == 3 && R::den == 2, "");
32 static_assert(R::num == 1 && R::den == 2, "");
38 static_assert(R::num == 1 && R::den == 2, "");
44 static_assert(R::num == -1 && R::den == 2, "");
50 static_assert(R::num == -1 && R::den == 2, "");
56 static_assert(R::num == 127970191639601LL && R::den == 5177331081415LL, "");
62 static_assert(R::num == 0 && R::den == 1, "");
68 static_assert(R::num == 1 && R::den == 1, "");
74 static_assert(R::num == 1 && R::den == 1, "")
    [all...]
ratio_subtract.pass.cpp 20 static_assert(R::num == 0 && R::den == 1, "");
26 static_assert(R::num == -1 && R::den == 2, "");
32 static_assert(R::num == -3 && R::den == 2, "");
38 static_assert(R::num == -3 && R::den == 2, "");
44 static_assert(R::num == 3 && R::den == 2, "");
50 static_assert(R::num == 3 && R::den == 2, "");
56 static_assert(R::num == -126708206685271LL && R::den == 5177331081415LL, "");
62 static_assert(R::num == 0 && R::den == 1, "");
68 static_assert(R::num == 1 && R::den == 1, "");
74 static_assert(R::num == -1 && R::den == 1, "")
    [all...]
  /external/libcxx/test/std/utilities/time/time.duration/
ratio.fail.cpp 23 static const int den = D; member in class:Ratio
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/
ratio.fail.cpp 23 static const int den = D; member in class:Ratio
  /external/valgrind/VEX/test/
x87fxam.c 25 double den ( void ) { return 9.1e-220 / 1e100; } function
41 d = den(); do_fxam(); printf("0x%4x: %f\n", i, d );
42 d = -den(); do_fxam(); printf("0x%4x: %f\n", i, d );
  /external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/
ProperBigFractionFormat.java 96 BigInteger den = fraction.getDenominator(); local
97 BigInteger whole = num.divide(den);
98 num = num.remainder(den);
109 getDenominatorFormat().format(den, toAppendTo, pos);
200 final BigInteger den = parseNextBigInteger(source, pos); local
201 if (den == null) {
209 if (den.compareTo(BigInteger.ZERO) < 0) {
219 num = whole.multiply(den).add(num);
224 return new BigFraction(num, den);
ProperFractionFormat.java 97 int den = fraction.getDenominator(); local
98 int whole = num / den;
99 num = num % den;
108 getDenominatorFormat().format(den, toAppendTo,
200 Number den = getDenominatorFormat().parse(source, pos); local
201 if (den == null) {
209 if (den.intValue() < 0) {
217 int d = den.intValue();
  /external/pdfium/third_party/agg23/
agg_math.h 54 FX_FLOAT den = FXSYS_Mul(bx - ax, dy - cy) - FXSYS_Mul(by - ay, dx - cx); local
55 if (FXSYS_fabs(den) < intersection_epsilon) {
58 *x = ax + FXSYS_MulDiv(bx - ax, num, den);
59 *y = ay + FXSYS_MulDiv(by - ay, num, den);
  /external/libvpx/libvpx/
ivfdec.c 21 static void fix_framerate(int *num, int *den) {
29 *den *= 2;
36 *den = 1;
  /external/speex/libspeex/
filters_bfin.h 85 void filter_mem16(const spx_word16_t *_x, const spx_coef_t *num, const spx_coef_t *den, spx_word16_t *_y, int N, int ord, spx_mem_t *mem, char *stack)
101 numden[2*i+1] = den[i];
230 void iir_mem16(const spx_word16_t *_x, const spx_coef_t *den, spx_word16_t *_y, int N, int ord, spx_mem_t *mem, char *stack)
347 : : "m" (yy), "m" (_x), "m" (_y), "m" (den), "m" (N), "m" (ord), "m" (mem)
359 spx_coef_t *den; local
360 den = (spx_coef_t*)((((int)den2)+4)&0xfffffffc);
362 den[i] = 0;
363 filter_mem16(x, num, den, y, N, ord, mem, stack);
468 void filter_mem2(const spx_sig_t *_x, const spx_coef_t *num, const spx_coef_t *den, spx_sig_t *_y, int N, int ord, spx_mem_t *mem)
487 yi = MAC16_16(yi, den[j], -y[i-j-1])
    [all...]
filters_sse.h 39 __m128 num[3], den[3], mem[3]; local
48 den[i] = _mm_loadu_ps(_den+4*i);
52 den[2] = _mm_setr_ps(_den[8], _den[9], 0, 0);
69 mem[0] = _mm_sub_ps(mem[0], _mm_mul_ps(yy, den[0]));
75 mem[1] = _mm_sub_ps(mem[1], _mm_mul_ps(yy, den[1]));
80 mem[2] = _mm_sub_ps(mem[2], _mm_mul_ps(yy, den[2]));
92 __m128 num[2], den[2], mem[2]; local
101 den[i] = _mm_loadu_ps(_den+4*i);
119 mem[0] = _mm_sub_ps(mem[0], _mm_mul_ps(yy, den[0]));
125 mem[1] = _mm_sub_ps(mem[1], _mm_mul_ps(yy, den[1]))
146 __m128 den[3], mem[3]; local
195 __m128 den[2], mem[2]; local
    [all...]
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
ivfdec.c 21 static void fix_framerate(int *num, int *den) {
29 *den *= 2;
36 *den = 1;

Completed in 489 milliseconds

1 2 3 4 5 6 7 8