Searched refs:timebase (Results 1 - 23 of 23) sorted by relevance

/external/webrtc/webrtc/system_wrappers/source/
H A Dtick_util.cc34 mach_timebase_info_data_t timebase;
35 (void)mach_timebase_info(&timebase);
36 timebase_from_millisecond_fract = (timebase.denom * 1e6) / timebase.numer;
53 mach_timebase_info_data_t timebase;
54 (void)mach_timebase_info(&timebase);
55 timebase_microsecond_fract = timebase.numer / (timebase.denom * 1e6);
72 mach_timebase_info_data_t timebase;
73 (void)mach_timebase_info(&timebase);
[all...]
/external/libvpx/libvpx/test/
H A Daltref_test.cc55 const vpx_rational timebase = { 33333333, 1000000000 }; local
56 cfg_.g_timebase = timebase;
61 timebase.den, timebase.num, 0, 30);
H A Dvp9_lossless_test.cc73 const vpx_rational timebase = { 33333333, 1000000000 }; local
74 cfg_.g_timebase = timebase;
84 timebase.den, timebase.num, 0, 10);
94 cfg_.g_timebase = video.timebase();
108 const vpx_rational timebase = { 33333333, 1000000000 }; local
109 cfg_.g_timebase = timebase;
120 timebase.den, timebase.num, 0, 10);
H A Dtile_independence_test.cc86 const vpx_rational timebase = { 33333333, 1000000000 }; local
87 cfg_.g_timebase = timebase;
93 timebase.den, timebase.num, 0, 30);
H A Derror_resilience_test.cc213 const vpx_rational timebase = { 33333333, 1000000000 }; local
214 cfg_.g_timebase = timebase;
221 timebase.den, timebase.num, 0, 30);
248 const vpx_rational timebase = { 33333333, 1000000000 }; local
249 cfg_.g_timebase = timebase;
258 timebase.den, timebase.num, 0, 40);
312 const vpx_rational timebase = { 33333333, 1000000000 }; local
313 cfg_.g_timebase = timebase;
361 const vpx_rational timebase = { 33333333, 1000000000 }; local
[all...]
H A Dcq_test.cc108 const vpx_rational timebase = { 33333333, 1000000000 }; local
109 cfg_.g_timebase = timebase;
115 timebase.den, timebase.num, 0, 30);
H A Dencode_perf_test.cc151 const vpx_rational timebase = { 33333333, 1000000000 }; local
152 cfg_.g_timebase = timebase;
163 timebase.den, timebase.num, 0,
H A Ddecode_perf_test.cc220 const vpx_rational timebase = { 33333333, 1000000000 }; local
221 cfg_.g_timebase = timebase;
231 timebase.den, timebase.num, 0,
H A Dvideo_source.h127 // Get the timebase for the stream
128 virtual vpx_rational_t timebase() const = 0;
170 virtual vpx_rational_t timebase() const { function in class:libvpx_test::DummyVideoSource
H A Dcpu_speed_test.cc93 cfg_.g_timebase = video.timebase();
H A Dy4m_video_source.h80 virtual vpx_rational_t timebase() const { function in class:libvpx_test::Y4mVideoSource
H A Dyuv_video_source.h77 virtual vpx_rational_t timebase() const { function in class:libvpx_test::YUVVideoSource
H A Ddatarate_test.cc61 const vpx_rational_t tb = video->timebase();
381 const vpx_rational_t tb = video->timebase();
482 cfg_.g_timebase = video.timebase();
788 const vpx_rational_t tb = video->timebase();
H A Dencode_test_driver.cc30 cfg_.g_timebase = video->timebase();
/external/skia/src/core/
H A DSkTime.cpp87 mach_timebase_info_data_t timebase;
88 (void)mach_timebase_info(&timebase);
89 return new double(timebase.numer * 1.0 / timebase.denom);
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
H A Dtrace_time.py54 """System timebase info. Defined in <mach/mach_time.h>."""
61 timebase = MachTimebaseInfoData()
62 libc.mach_timebase_info(ctypes.byref(timebase))
63 ticks_per_second = timebase.numer / timebase.denom * 1.0e9
/external/webrtc/webrtc/base/
H A Dtimeutils.cc40 static mach_timebase_info_data_t timebase; local
41 if (timebase.denom == 0) {
42 // Get the timebase if this is the first time we run.
44 if (mach_timebase_info(&timebase) != KERN_SUCCESS) {
48 // Use timebase to convert absolute time tick units into nanoseconds.
49 ticks = mach_absolute_time() * timebase.numer / timebase.denom;
/external/sonivox/jet_tools/JetCreator/
H A Dmidifile.py388 def TimeEventStr (self, timebase):
389 return '[%s]: %s' % (timebase.ConvertTicksToStr(self.ticks), self.__str__())
955 def DumpEvents (self, output, timebase):
958 output.write('%s\n' % event.TimeEventStr(timebase))
961 midi_file_logger.debug(event.TimeEventStr(timebase))
983 tick_warning_level = stream.timebase.ppqn * LARGE_TICK_WARNING
1057 stream.Warning(' [%s]: %s' % (stream.timebase.ConvertTicksToStr(event.ticks), event.__str__()))
1077 # stream.Warning(' [%s]: %s' % (stream.timebase.ConvertTicksToStr(event.ticks), event.__str__()))
1195 controller_events.DumpEvents(None, self.stream.timebase)
1219 midi_file_logger.debug('Trim: trimming note that extends past end %s' % event.TimeEventStr(self.stream.timebase))
[all...]
/external/libvpx/libvpx/vp9/
H A Dvp9_cx_iface.c850 // Convert duration parameter from stream timebase to microseconds.
937 static int64_t timebase_units_to_ticks(const vpx_rational_t *timebase, argument
939 return n * TICKS_PER_SEC * timebase->num / timebase->den;
942 static int64_t ticks_to_timebase_units(const vpx_rational_t *timebase, argument
944 const int64_t round = TICKS_PER_SEC * timebase->num / 2 - 1;
945 return (n * timebase->den + round) / timebase->num / TICKS_PER_SEC;
974 const vpx_rational_t *const timebase = &ctx->cfg.g_timebase; local
1024 int64_t dst_time_stamp = timebase_units_to_ticks(timebase, pt
[all...]
/external/libvpx/libvpx/vp8/common/
H A Donyx.h104 struct vpx_rational timebase; member in struct:__anon11015
/external/libvpx/libvpx/
H A Dvpxenc.c238 static const arg_def_t timebase = ARG_DEF( variable
239 NULL, "timebase", 1, "Output timestamp precision (fractional seconds)");
252 &timebase, &framerate,
531 fprintf(stderr, "\nStream timebase (--timebase):\n"
1043 /* Change the default timebase to a high enough value so that the
1161 } else if (arg_match(&arg, &timebase, argi)) {
/external/libvpx/libvpx/vp8/
H A Dvp8_cx_iface.c293 oxcf->timebase = cfg.g_timebase;
773 /* Convert duration parameter from stream timebase to microseconds */
/external/libvpx/libvpx/vp8/encoder/
H A Donyx_if.c1371 if (oxcf->timebase.num > 0) {
1372 cpi->framerate = (double)(oxcf->timebase.den) /
1373 (double)(oxcf->timebase.num);
1378 /* If the reciprocal of the timebase seems like a reasonable framerate,

Completed in 484 milliseconds