Home
last modified time | relevance | path

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

12

/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.cc68 const vpx_rational timebase = { 33333333, 1000000000 }; in TEST_P() local
69 cfg_.g_timebase = timebase; in TEST_P()
79 timebase.den, timebase.num, 0, 10); in TEST_P()
89 cfg_.g_timebase = video.timebase(); in TEST_P()
103 const vpx_rational timebase = { 33333333, 1000000000 }; in TEST_P() local
104 cfg_.g_timebase = timebase; in TEST_P()
115 timebase.den, timebase.num, 0, 10); in TEST_P()
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()
118 const vpx_rational timebase = { 1, 30 }; in TEST_P() local
126 timebase.den, timebase.num, 0, 30); in TEST_P()
132 const vpx_rational timebase = { 1, 30 }; in TEST_P() local
140 timebase.den, timebase.num, 0, 30); in TEST_P()
Derror_resilience_test.cc197 const vpx_rational timebase = { 33333333, 1000000000 }; in TEST_P() local
198 cfg_.g_timebase = timebase; in TEST_P()
205 timebase.den, timebase.num, 0, 30); in TEST_P()
232 const vpx_rational timebase = { 33333333, 1000000000 }; in TEST_P() local
233 cfg_.g_timebase = timebase; in TEST_P()
242 timebase.den, timebase.num, 0, 40); in TEST_P()
294 const vpx_rational timebase = { 33333333, 1000000000 }; variable
295 cfg_.g_timebase = timebase;
312 timebase.den, timebase.num, 0, 40);
341 const vpx_rational timebase = { 33333333, 1000000000 }; variable
[all …]
Dtile_independence_test.cc84 const vpx_rational timebase = { 33333333, 1000000000 }; in TEST_P() local
85 cfg_.g_timebase = timebase; in TEST_P()
91 timebase.den, timebase.num, 0, 30); in TEST_P()
Dcq_test.cc106 const vpx_rational timebase = { 33333333, 1000000000 }; in TEST_P() local
107 cfg_.g_timebase = timebase; in TEST_P()
113 timebase.den, timebase.num, 0, 30); in TEST_P()
Dencode_perf_test.cc139 const vpx_rational timebase = { 33333333, 1000000000 }; in TEST_P() local
140 cfg_.g_timebase = timebase; in TEST_P()
149 kVP9EncodePerfTestVectors[i].height, timebase.den, timebase.num, 0, in TEST_P()
Ddecode_perf_test.cc210 const vpx_rational timebase = { 33333333, 1000000000 }; in TEST_P() local
211 cfg_.g_timebase = timebase; in TEST_P()
219 kVP9EncodePerfTestVectors[i].height, timebase.den, timebase.num, 0, in TEST_P()
Dcpu_speed_test.cc91 cfg_.g_timebase = video.timebase(); in TEST_P()
106 cfg_.g_timebase = video.timebase(); in TEST_P()
Dvideo_source.h124 virtual vpx_rational_t timebase() const = 0;
160 virtual vpx_rational_t timebase() const { in timebase() function
Dy4m_video_source.h72 virtual vpx_rational_t timebase() const { in timebase() function
Dyuv_video_source.h68 virtual vpx_rational_t timebase() const { in timebase() function
Ddatarate_test.cc67 const vpx_rational_t tb = video->timebase(); in PreEncodeFrameHook()
576 const vpx_rational_t tb = video->timebase(); in PreEncodeFrameHook()
747 cfg_.g_timebase = video.timebase(); in TEST_P()
1138 const vpx_rational_t tb = video->timebase(); in PreEncodeFrameHook()
Dencode_test_driver.cc30 cfg_.g_timebase = video->timebase(); in InitEncoder()
/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.py65 timebase = MachTimebaseInfoData()
66 libc.mach_timebase_info(ctypes.byref(timebase))
67 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/dtc/tests/
Dsubnode_iterate.dts17 timebase-frequency = <33333333>;
34 timebase-frequency = <33333333>;
Dtest01.dts22 timebase-frequency = <33333333>;
33 timebase-frequency = <33333333>;
Dlabel01.dts22 timebase-frequency = <33333333>;
33 timebase-frequency = <33333333>;
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c1032 static int64_t timebase_units_to_ticks(const vpx_rational_t *timebase, in timebase_units_to_ticks() argument
1034 return n * TICKS_PER_SEC * timebase->num / timebase->den; in timebase_units_to_ticks()
1037 static int64_t ticks_to_timebase_units(const vpx_rational_t *timebase, in ticks_to_timebase_units() argument
1039 const int64_t round = (int64_t)TICKS_PER_SEC * timebase->num / 2 - 1; in ticks_to_timebase_units()
1040 return (n * timebase->den + round) / timebase->num / TICKS_PER_SEC; in ticks_to_timebase_units()
1071 const vpx_rational_t *const timebase = &ctx->cfg.g_timebase; in encoder_encode() local
1149 int64_t dst_time_stamp = timebase_units_to_ticks(timebase, pts); in encoder_encode()
1151 timebase_units_to_ticks(timebase, pts + duration); in encoder_encode()
1219 ticks_to_timebase_units(timebase, dst_time_stamp); in encoder_encode()
1221 timebase, dst_end_time_stamp - dst_time_stamp); in encoder_encode()
[all …]
/external/libvpx/libvpx/vp8/common/
Donyx.h92 struct vpx_rational timebase; member
/external/libvpx/libvpx/
Dvpxenc.c247 static const arg_def_t timebase = ARG_DEF( variable
267 &timebase,
1173 } else if (arg_match(&arg, &timebase, argi)) { in parse_stream_params()
/external/libvpx/libvpx/vp8/
Dvp8_cx_iface.c283 oxcf->timebase = cfg.g_timebase; in set_vp8e_config()
/external/libvpx/libvpx/vp8/encoder/
Donyx_if.c1300 if (oxcf->timebase.num > 0) { in init_config()
1302 (double)(oxcf->timebase.den) / (double)(oxcf->timebase.num); in init_config()

12