/external/webrtc/webrtc/system_wrappers/source/ |
D | tick_util.cc | 34 mach_timebase_info_data_t timebase; in MillisecondsToTicks() 35 (void)mach_timebase_info(&timebase); in MillisecondsToTicks() 36 timebase_from_millisecond_fract = (timebase.denom * 1e6) / timebase.numer; in MillisecondsToTicks() 53 mach_timebase_info_data_t timebase; in TicksToMilliseconds() 54 (void)mach_timebase_info(&timebase); in TicksToMilliseconds() 55 timebase_microsecond_fract = timebase.numer / (timebase.denom * 1e6); in TicksToMilliseconds() 72 mach_timebase_info_data_t timebase; in TicksToMicroseconds() 73 (void)mach_timebase_info(&timebase); in TicksToMicroseconds() 74 timebase_microsecond_fract = timebase.numer / (timebase.denom * 1e3); in TicksToMicroseconds()
|
/external/libvpx/libvpx/test/ |
D | vp9_lossless_test.cc | 73 const vpx_rational timebase = { 33333333, 1000000000 }; in TEST_P() local 74 cfg_.g_timebase = timebase; in TEST_P() 84 timebase.den, timebase.num, 0, 10); in TEST_P() 94 cfg_.g_timebase = video.timebase(); in TEST_P() 108 const vpx_rational timebase = { 33333333, 1000000000 }; in TEST_P() local 109 cfg_.g_timebase = timebase; in TEST_P() 120 timebase.den, timebase.num, 0, 10); in TEST_P()
|
D | error_resilience_test.cc | 213 const vpx_rational timebase = { 33333333, 1000000000 }; in TEST_P() local 214 cfg_.g_timebase = timebase; in TEST_P() 221 timebase.den, timebase.num, 0, 30); in TEST_P() 248 const vpx_rational timebase = { 33333333, 1000000000 }; in TEST_P() local 249 cfg_.g_timebase = timebase; in TEST_P() 258 timebase.den, timebase.num, 0, 40); in TEST_P() 312 const vpx_rational timebase = { 33333333, 1000000000 }; variable 313 cfg_.g_timebase = timebase; 330 timebase.den, timebase.num, 0, 40); 361 const vpx_rational timebase = { 33333333, 1000000000 }; variable [all …]
|
D | altref_test.cc | 55 const vpx_rational timebase = { 33333333, 1000000000 }; in TEST_P() local 56 cfg_.g_timebase = timebase; in TEST_P() 61 timebase.den, timebase.num, 0, 30); in TEST_P()
|
D | tile_independence_test.cc | 86 const vpx_rational timebase = { 33333333, 1000000000 }; in TEST_P() local 87 cfg_.g_timebase = timebase; in TEST_P() 93 timebase.den, timebase.num, 0, 30); in TEST_P()
|
D | cq_test.cc | 108 const vpx_rational timebase = { 33333333, 1000000000 }; in TEST_P() local 109 cfg_.g_timebase = timebase; in TEST_P() 115 timebase.den, timebase.num, 0, 30); in TEST_P()
|
D | encode_perf_test.cc | 151 const vpx_rational timebase = { 33333333, 1000000000 }; in TEST_P() local 152 cfg_.g_timebase = timebase; in TEST_P() 163 timebase.den, timebase.num, 0, in TEST_P()
|
D | decode_perf_test.cc | 220 const vpx_rational timebase = { 33333333, 1000000000 }; in TEST_P() local 221 cfg_.g_timebase = timebase; in TEST_P() 231 timebase.den, timebase.num, 0, in TEST_P()
|
D | video_source.h | 128 virtual vpx_rational_t timebase() const = 0; 170 virtual vpx_rational_t timebase() const { in timebase() function
|
D | y4m_video_source.h | 80 virtual vpx_rational_t timebase() const { in timebase() function
|
D | datarate_test.cc | 61 const vpx_rational_t tb = video->timebase(); in PreEncodeFrameHook() 381 const vpx_rational_t tb = video->timebase(); in PreEncodeFrameHook() 482 cfg_.g_timebase = video.timebase(); in TEST_P() 788 const vpx_rational_t tb = video->timebase(); in PreEncodeFrameHook()
|
D | yuv_video_source.h | 77 virtual vpx_rational_t timebase() const { in timebase() function
|
D | cpu_speed_test.cc | 93 cfg_.g_timebase = video.timebase(); in TEST_P()
|
D | encode_test_driver.cc | 30 cfg_.g_timebase = video->timebase(); in InitEncoder()
|
/external/skia/src/core/ |
D | SkTime.cpp | 87 mach_timebase_info_data_t timebase; in GetNSecs() local 88 (void)mach_timebase_info(&timebase); in GetNSecs() 89 return new double(timebase.numer * 1.0 / timebase.denom); in GetNSecs()
|
/external/webrtc/webrtc/base/ |
D | timeutils.cc | 40 static mach_timebase_info_data_t timebase; in TimeNanos() local 41 if (timebase.denom == 0) { in TimeNanos() 44 if (mach_timebase_info(&timebase) != KERN_SUCCESS) { in TimeNanos() 49 ticks = mach_absolute_time() * timebase.numer / timebase.denom; in TimeNanos()
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/ |
D | trace_time.py | 61 timebase = MachTimebaseInfoData() 62 libc.mach_timebase_info(ctypes.byref(timebase)) 63 ticks_per_second = timebase.numer / timebase.denom * 1.0e9
|
/external/sonivox/jet_tools/JetCreator/ |
D | midifile.py | 388 def TimeEventStr (self, timebase): argument 389 return '[%s]: %s' % (timebase.ConvertTicksToStr(self.ticks), self.__str__()) 955 def DumpEvents (self, output, timebase): argument 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 1195 controller_events.DumpEvents(None, self.stream.timebase) 1219 …er.debug('Trim: trimming note that extends past end %s' % event.TimeEventStr(self.stream.timebase)) 1242 self.events.DumpEvents(output, self.stream.timebase) 1244 output.write('[%s]: end-of-track\n' % self.stream.timebase.ConvertTicksToStr(self.end_of_track)) [all …]
|
/external/libvpx/libvpx/vp9/ |
D | vp9_cx_iface.c | 937 static int64_t timebase_units_to_ticks(const vpx_rational_t *timebase, in timebase_units_to_ticks() argument 939 return n * TICKS_PER_SEC * timebase->num / timebase->den; in timebase_units_to_ticks() 942 static int64_t ticks_to_timebase_units(const vpx_rational_t *timebase, in ticks_to_timebase_units() argument 944 const int64_t round = TICKS_PER_SEC * timebase->num / 2 - 1; in ticks_to_timebase_units() 945 return (n * timebase->den + round) / timebase->num / TICKS_PER_SEC; in ticks_to_timebase_units() 974 const vpx_rational_t *const timebase = &ctx->cfg.g_timebase; in encoder_encode() local 1024 int64_t dst_time_stamp = timebase_units_to_ticks(timebase, pts); in encoder_encode() 1026 timebase_units_to_ticks(timebase, pts + duration); in encoder_encode() 1093 pkt.data.frame.pts = ticks_to_timebase_units(timebase, in encoder_encode() 1096 (unsigned long)ticks_to_timebase_units(timebase, in encoder_encode() [all …]
|
/external/libvpx/libvpx/vp8/common/ |
D | onyx.h | 104 struct vpx_rational timebase; member
|
/external/libvpx/libvpx/ |
D | vpxenc.c | 238 static const arg_def_t timebase = ARG_DEF( variable 252 &timebase, &framerate, 1161 } else if (arg_match(&arg, &timebase, argi)) { in parse_stream_params()
|
D | CHANGELOG | 509 vpxenc supports the distinction between --fps and --timebase
|
/external/libvpx/libvpx/vp8/ |
D | vp8_cx_iface.c | 293 oxcf->timebase = cfg.g_timebase; in set_vp8e_config()
|
/external/libvpx/libvpx/vp8/encoder/ |
D | onyx_if.c | 1371 if (oxcf->timebase.num > 0) { in init_config() 1372 cpi->framerate = (double)(oxcf->timebase.den) / in init_config() 1373 (double)(oxcf->timebase.num); in init_config()
|