/external/webrtc/webrtc/system_wrappers/source/ |
H A D | tick_util.cc | 34 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 D | altref_test.cc | 55 const vpx_rational timebase = { 33333333, 1000000000 }; local 56 cfg_.g_timebase = timebase; 61 timebase.den, timebase.num, 0, 30);
|
H A D | vp9_lossless_test.cc | 73 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 D | tile_independence_test.cc | 86 const vpx_rational timebase = { 33333333, 1000000000 }; local 87 cfg_.g_timebase = timebase; 93 timebase.den, timebase.num, 0, 30);
|
H A D | error_resilience_test.cc | 213 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 D | cq_test.cc | 108 const vpx_rational timebase = { 33333333, 1000000000 }; local 109 cfg_.g_timebase = timebase; 115 timebase.den, timebase.num, 0, 30);
|
H A D | encode_perf_test.cc | 151 const vpx_rational timebase = { 33333333, 1000000000 }; local 152 cfg_.g_timebase = timebase; 163 timebase.den, timebase.num, 0,
|
H A D | decode_perf_test.cc | 220 const vpx_rational timebase = { 33333333, 1000000000 }; local 221 cfg_.g_timebase = timebase; 231 timebase.den, timebase.num, 0,
|
H A D | video_source.h | 127 // 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 D | cpu_speed_test.cc | 93 cfg_.g_timebase = video.timebase();
|
H A D | y4m_video_source.h | 80 virtual vpx_rational_t timebase() const { function in class:libvpx_test::Y4mVideoSource
|
H A D | yuv_video_source.h | 77 virtual vpx_rational_t timebase() const { function in class:libvpx_test::YUVVideoSource
|
H A D | datarate_test.cc | 61 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 D | encode_test_driver.cc | 30 cfg_.g_timebase = video->timebase();
|
/external/skia/src/core/ |
H A D | SkTime.cpp | 87 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 D | trace_time.py | 54 """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 D | timeutils.cc | 40 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 D | midifile.py | 388 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 D | vp9_cx_iface.c | 850 // 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 D | onyx.h | 104 struct vpx_rational timebase; member in struct:__anon11015
|
/external/libvpx/libvpx/ |
H A D | vpxenc.c | 238 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 D | vp8_cx_iface.c | 293 oxcf->timebase = cfg.g_timebase; 773 /* Convert duration parameter from stream timebase to microseconds */
|
/external/libvpx/libvpx/vp8/encoder/ |
H A D | onyx_if.c | 1371 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,
|