Searched refs:timebase (Results 1 - 25 of 84) sorted by last modified time

1234

/external/webrtc/src/system_wrappers/interface/
H A Dtick_util.h179 static mach_timebase_info_data_t timebase; local
180 if (timebase.denom == 0) {
181 // Get the timebase if this is the first time we run.
183 kern_return_t retval = mach_timebase_info(&timebase);
190 // Use timebase to convert absolute time tick units into nanoseconds.
191 result._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/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 Dcq_test.cc81 const vpx_rational timebase = { 33333333, 1000000000 }; local
82 cfg_.g_timebase = timebase;
88 timebase.den, timebase.num, 0, 30);
H A Ddatarate_test.cc45 const vpx_rational_t tb = video->timebase();
293 const vpx_rational_t tb = video->timebase();
391 cfg_.g_timebase = video.timebase();
H A Dencode_test_driver.cc46 cfg_.g_timebase = video.timebase();
H A Derror_resilience_test.cc149 const vpx_rational timebase = { 33333333, 1000000000 }; local
150 cfg_.g_timebase = timebase;
157 timebase.den, timebase.num, 0, 30);
184 const vpx_rational timebase = { 33333333, 1000000000 }; local
185 cfg_.g_timebase = timebase;
194 timebase.den, timebase.num, 0, 40);
H A Di420_video_source.h74 virtual vpx_rational_t timebase() const { function in class:libvpx_test::I420VideoSource
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 Dvideo_source.h74 // Get the timebase for the stream
75 virtual vpx_rational_t timebase() const = 0;
112 virtual vpx_rational_t timebase() const { function in class:libvpx_test::DummyVideoSource
H A Dvp9_lossless_test.cc60 const vpx_rational timebase = { 33333333, 1000000000 }; local
61 cfg_.g_timebase = timebase;
71 timebase.den, timebase.num, 0, 10);
81 cfg_.g_timebase = video.timebase();
H A Dy4m_video_source.h73 virtual vpx_rational_t timebase() const { function in class:libvpx_test::Y4mVideoSource
/external/libvpx/libvpx/vp8/common/
H A Donyx.h104 struct vpx_rational timebase; member in struct:__anon24854
/external/libvpx/libvpx/vp8/encoder/
H A Donyx_if.c1336 * too much, as it will adapt quickly. If the reciprocal of the timebase
1340 cpi->framerate = (double)(oxcf->timebase.den) /
1341 (double)(oxcf->timebase.num);
/external/libvpx/libvpx/vp8/
H A Dvp8_cx_iface.c295 oxcf->timebase = cfg.g_timebase;
711 /* Convert duration parameter from stream timebase to microseconds */
/external/libvpx/libvpx/
H A Dvpxenc.c269 static const arg_def_t timebase = ARG_DEF(NULL, "timebase", 1, variable
278 &width, &height, &stereo_mode, &timebase, &framerate,
454 fprintf(stderr, "\nStream timebase (--timebase):\n"
829 /* Change the default timebase to a high enough value so that the
918 } else if (arg_match(&arg, &timebase, argi)) {
/external/chromium_org/third_party/webrtc/system_wrappers/source/
H A Dtick_util.cc72 static mach_timebase_info_data_t timebase; local
73 if (timebase.denom == 0) {
74 // Get the timebase if this is the first time we run.
76 kern_return_t retval = mach_timebase_info(&timebase);
87 // Use timebase to convert absolute time tick units into nanoseconds.
88 result.ticks_ = mach_absolute_time() * timebase.numer / timebase.denom;
/external/chromium_org/third_party/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/chromium_org/third_party/libvpx/source/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 Dcpu_speed_test.cc93 cfg_.g_timebase = video.timebase();
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 Ddatarate_test.cc48 const vpx_rational_t tb = video->timebase();
333 const vpx_rational_t tb = video->timebase();
432 cfg_.g_timebase = video.timebase();
H A Dencode_perf_test.cc128 const vpx_rational timebase = { 33333333, 1000000000 }; local
129 cfg_.g_timebase = timebase;
140 timebase.den, timebase.num, 0,
H A Dencode_test_driver.cc46 cfg_.g_timebase = video.timebase();
H A Derror_resilience_test.cc149 const vpx_rational timebase = { 33333333, 1000000000 }; local
150 cfg_.g_timebase = timebase;
157 timebase.den, timebase.num, 0, 30);
184 const vpx_rational timebase = { 33333333, 1000000000 }; local
185 cfg_.g_timebase = timebase;
194 timebase.den, timebase.num, 0, 40);

Completed in 1147 milliseconds

1234