Searched refs:den (Results 51 - 75 of 111) sorted by relevance

12345

/external/libvpx/libvpx/test/
H A Derror_resilience_test.cc205 timebase.den, timebase.num, 0, 30);
242 timebase.den, timebase.num, 0, 40);
312 timebase.den, timebase.num, 0, 40);
359 timebase.den, timebase.num, 0, 100);
473 timebase_ = static_cast<double>(tb.num) / tb.den;
H A Dcq_test.cc113 timebase.den, timebase.num, 0, 30);
H A Dencode_perf_test.cc149 kVP9EncodePerfTestVectors[i].height, timebase.den, timebase.num, 0,
/external/libvpx/libvpx/
H A Drate_hist.c43 fps->den == 0) {
51 hist->samples = cfg->rc_buf_sz * 5 / 4 * fps->num / fps->den / 1000;
87 (uint64_t)cfg->g_timebase.den;
H A Dwebmenc.cc76 cfg->g_timebase.den;
H A Dargs.c157 int den; /**< fraction denominator */ member in struct:vpx_rational
181 rat.den = (int)rawval;
H A Dvpxenc.c868 if (rat->den < 0) {
870 rat->den *= -1;
875 if (!rat->den) die("Error: %s has zero denominator\n", msg);
1066 stream->config.cfg.g_timebase.den = 1000;
1406 SHOW(g_timebase.den);
1566 (cfg->g_timebase.den * (int64_t)(frames_in - 1) * global->framerate.den) /
1569 (cfg->g_timebase.den * (int64_t)(frames_in)*global->framerate.den) /
2021 global.framerate.den
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
H A DDfpField.java728 int den = 1;
737 den = den + 2;
738 Dfp t = num.divide(den);
/external/libvpx/libvpx/vpx/src/
H A Dvpx_encoder.c89 if (dsf->num < 1 || dsf->num > 4096 || dsf->den < 1 ||
90 dsf->den > dsf->num) {
99 mr_cfg.mr_down_sampling_factor.den = dsf->den;
/external/libvpx/libvpx/examples/
H A Dtwopass_encoder.c158 { cfg->g_timebase.num, cfg->g_timebase.den } };
235 cfg.g_timebase.den = fps;
H A Dsimple_encoder.c210 cfg.g_timebase.den = info.time_base.denominator;
H A Dvp8_multi_resolution_encoder.c138 mem_put_le32(header + 16, cfg->g_timebase.den); /* rate */
436 cfg[0].g_timebase.den = framerate;
449 unsigned int iw = cfg[i - 1].g_w * dsf[i - 1].den + dsf[i - 1].num - 1;
450 unsigned int ih = cfg[i - 1].g_h * dsf[i - 1].den + dsf[i - 1].num - 1;
H A Dvp8cx_set_ref.c148 cfg.g_timebase.den = info.time_base.denominator;
H A Dvp9_lossless_encoder.c104 cfg.g_timebase.den = info.time_base.denominator;
/external/webrtc/webrtc/modules/audio_processing/agc/legacy/
H A Ddigital_agc.c70 int32_t tmp32, tmp32no1, tmp32no2, numFIX, den, y32; local
134 // den = 20*constMaxGain (in Q8)
135 den = WEBRTC_SPL_MUL_16_U16(20, constMaxGain); // in Q8
193 // Ensure we avoid wrap-around in |den| as well.
194 if (numFIX > (den >> 8)) // |den| is Q8.
199 zeros = WebRtcSpl_NormW32(den) + 8;
203 // Shift den so we end up in Qy1
204 tmp32no1 = WEBRTC_SPL_SHIFT_W32(den, zeros - 8); // Q(zeros)
/external/speex/libspeex/
H A Dfilters.c93 const spx_word16_t *den, *num; local
97 den = Pcoef[filtID]; num = Zcoef[filtID];
104 mem[0] = ADD32(MAC16_16(mem[1], num[1],x[i]), SHL32(MULT16_32_Q15(-den[1],vout),1));
105 mem[1] = ADD32(MULT16_16(num[2],x[i]), SHL32(MULT16_32_Q15(-den[2],vout),1));
319 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) argument
330 mem[j] = MAC16_16(MAC16_16(mem[j+1], num[j],xi), den[j],nyi);
332 mem[ord-1] = ADD32(MULT16_16(num[ord-1],xi), MULT16_16(den[ord-1],nyi));
339 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) argument
350 mem[j] = MAC16_16(mem[j+1],den[j],nyi);
352 mem[ord-1] = MULT16_16(den[or
[all...]
/external/libvpx/libvpx/vp8/
H A Dvp8_cx_iface.c135 RANGE_CHECK(cfg, g_timebase.den, 1, 1000000000);
366 oxcf->mr_down_sampling_factor.den = mr_cfg->mr_down_sampling_factor.den;
727 (uint64_t)ctx->cfg.g_timebase.den;
856 pts * 10000000 * ctx->cfg.g_timebase.num / ctx->cfg.g_timebase.den;
858 ctx->cfg.g_timebase.den;
899 (dst_time_stamp * ctx->cfg.g_timebase.den + round) /
902 (unsigned long)((delta * ctx->cfg.g_timebase.den + round) /
919 ((cpi->last_time_stamp_seen * ctx->cfg.g_timebase.den + round) /
/external/libcxx/src/
H A Dchrono.cpp208 return time_point(duration(counter.QuadPart * nano::den / freq.QuadPart));
/external/libjpeg-turbo/
H A Djquant1.c403 JLONG num,den; local
413 den = 2 * ODITHER_CELLS * ((JLONG) (ncolors - 1));
421 odither[j][k] = (int) (num<0 ? -((-num)/den) : num/den);
/external/libvpx/libvpx/vpx/
H A Dvpx_encoder.h233 int den; /**< fraction denominator */ member in struct:vpx_rational
/external/opencv/cvaux/src/
H A Dcv3dtracker.cpp534 double den = cross.x*cross.x + cross.y*cross.y + cross.z*cross.z; local
536 if (den < EPS)
539 double t1 = det(x, d2, cross) / den;
540 double t2 = det(x, d1, cross) / den;
/external/webrtc/webrtc/common_audio/signal_processing/include/
H A Dsignal_processing_library.h592 uint32_t WebRtcSpl_DivU32U16(uint32_t num, uint16_t den);
593 int32_t WebRtcSpl_DivW32W16(int32_t num, int16_t den);
594 int16_t WebRtcSpl_DivW32W16ResW16(int32_t num, int16_t den);
595 int32_t WebRtcSpl_DivResultInQ31(int32_t num, int32_t den);
1375 // Divides a uint32_t |num| by a uint16_t |den|.
1377 // If |den|==0, (uint32_t)0xFFFFFFFF is returned.
1381 // - den : Denominator
1384 // integer part of num/den.
1390 // Divides a int32_t |num| by a int16_t |den|.
1392 // If |den|
[all...]
/external/webrtc/webrtc/common_audio/signal_processing/
H A Dsignal_processing_unittest.cc146 int32_t den = -5; local
152 EXPECT_EQ(-91772805, WebRtcSpl_DivResultInQ31(den, num));
153 EXPECT_EQ(-23, WebRtcSpl_DivW32W16ResW16(num, (int16_t)den));
154 EXPECT_EQ(-23, WebRtcSpl_DivW32W16(num, (int16_t)den));
/external/libvncserver/client_examples/
H A Dvnc2mpg.c77 c->time_base.den = STREAM_FRAME_RATE;
425 video_pts = (double)video_st->pts.val * video_st->time_base.num / video_st->time_base.den;
/external/libopus/src/
H A Danalysis.c127 float den = (y2 + cB*x2) * (y2 + cC*x2); local
128 if (den!=0)
129 return -x*y*(y2 + cA*x2) / den + (y<0 ? -cE : cE);
133 float den = (x2 + cB*y2) * (x2 + cC*y2); local
134 if (den!=0)
135 return x*y*(x2 + cA*y2) / den + (y<0 ? -cE : cE) - (x*y<0 ? -cE : cE);

Completed in 2205 milliseconds

12345