Home
last modified time | relevance | path

Searched refs:timebase (Results 1 – 24 of 24) sorted by relevance

/external/webrtc/webrtc/system_wrappers/source/
Dtick_util.cc34 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/
Dvp9_lossless_test.cc73 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()
Derror_resilience_test.cc213 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 …]
Daltref_test.cc55 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()
Dtile_independence_test.cc86 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()
Dcq_test.cc108 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()
Dencode_perf_test.cc151 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()
Ddecode_perf_test.cc220 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()
Dvideo_source.h128 virtual vpx_rational_t timebase() const = 0;
170 virtual vpx_rational_t timebase() const { in timebase() function
Dy4m_video_source.h80 virtual vpx_rational_t timebase() const { in timebase() function
Ddatarate_test.cc61 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()
Dcpu_speed_test.cc93 cfg_.g_timebase = video.timebase(); in TEST_P()
Dyuv_video_source.h77 virtual vpx_rational_t timebase() const { in timebase() function
Dencode_test_driver.cc30 cfg_.g_timebase = video->timebase(); in InitEncoder()
/external/skia/src/core/
DSkTime.cpp87 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/
Dtimeutils.cc40 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/
Dtrace_time.py61 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/
Dmidifile.py388 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/
Dvp9_cx_iface.c937 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/
Donyx.h104 struct vpx_rational timebase; member
/external/libvpx/libvpx/
Dvpxenc.c238 static const arg_def_t timebase = ARG_DEF( variable
252 &timebase, &framerate,
1161 } else if (arg_match(&arg, &timebase, argi)) { in parse_stream_params()
DCHANGELOG509 vpxenc supports the distinction between --fps and --timebase
/external/libvpx/libvpx/vp8/
Dvp8_cx_iface.c293 oxcf->timebase = cfg.g_timebase; in set_vp8e_config()
/external/libvpx/libvpx/vp8/encoder/
Donyx_if.c1371 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()