Home
last modified time | relevance | path

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

123

/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/libaom/libaom/test/
Dlossless_test.cc70 const aom_rational timebase = { 33333333, 1000000000 }; in TEST_P() local
71 cfg_.g_timebase = timebase; in TEST_P()
81 timebase.den, timebase.num, 0, 5); in TEST_P()
91 cfg_.g_timebase = video.timebase(); in TEST_P()
105 const aom_rational timebase = { 33333333, 1000000000 }; in TEST_P() local
106 cfg_.g_timebase = timebase; in TEST_P()
117 timebase.den, timebase.num, 0, 5); in TEST_P()
Daltref_test.cc66 const aom_rational timebase = { 1, 30 }; in TEST_P() local
74 timebase.den, timebase.num, 0, 30); in TEST_P()
80 const aom_rational timebase = { 1, 30 }; in TEST_P() local
88 timebase.den, timebase.num, 0, 30); in TEST_P()
Dencode_perf_test.cc139 const aom_rational timebase = { 33333333, 1000000000 }; in TEST_P() local
140 cfg_.g_timebase = timebase; in TEST_P()
149 kAV1EncodePerfTestVectors[i].height, timebase.den, timebase.num, 0, in TEST_P()
Dtile_independence_test.cc94 const aom_rational timebase = { 33333333, 1000000000 }; in DoTest() local
95 cfg_.g_timebase = timebase; in DoTest()
101 timebase.den, timebase.num, 0, 5); in DoTest()
Ddecode_multithreaded_test.cc107 const aom_rational timebase = { 33333333, 1000000000 }; in DoTest() local
108 cfg_.g_timebase = timebase; in DoTest()
114 timebase.den, timebase.num, 0, 5); in DoTest()
Ddecode_perf_test.cc194 const aom_rational timebase = { 33333333, 1000000000 }; in TEST_P() local
195 cfg_.g_timebase = timebase; in TEST_P()
203 kAV1EncodePerfTestVectors[i].height, timebase.den, timebase.num, 0, in TEST_P()
Dfwd_kf_test.cc44 const aom_rational timebase = { 1, 30 }; in SetUp() local
45 cfg_.g_timebase = timebase; in SetUp()
Dgf_max_pyr_height_test.cc55 const aom_rational timebase = { 1, 30 }; in SetUp() local
56 cfg_.g_timebase = timebase; in SetUp()
/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.cc212 const vpx_rational timebase = { 33333333, 1000000000 }; in TEST_P() local
213 cfg_.g_timebase = timebase; in TEST_P()
221 kVP9EncodePerfTestVectors[i].height, timebase.den, timebase.num, 0, in TEST_P()
/external/curl/lib/
Dtimeval.c125 static mach_timebase_info_data_t timebase; in Curl_now() local
129 if(0 == timebase.denom) in Curl_now()
130 (void) mach_timebase_info(&timebase); in Curl_now()
133 usecs *= timebase.numer; in Curl_now()
134 usecs /= timebase.denom; in Curl_now()
/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/python/cpython3/Python/
Dpytime.c803 static mach_timebase_info_data_t timebase; in pymonotonic()
807 if (timebase.denom == 0) { in pymonotonic()
810 (void)mach_timebase_info(&timebase); in pymonotonic()
813 if (timebase.numer < 1 || timebase.denom < 1) { in pymonotonic()
823 assert(sizeof(timebase.numer) < sizeof(_PyTime_t)); in pymonotonic()
824 assert(sizeof(timebase.denom) < sizeof(_PyTime_t)); in pymonotonic()
836 if ((_PyTime_t)timebase.numer > _PyTime_MAX / (_PyTime_t)timebase.denom) { in pymonotonic()
847 info->resolution = (double)timebase.numer / (double)timebase.denom * 1e-9; in pymonotonic()
857 (_PyTime_t)timebase.numer, in pymonotonic()
858 (_PyTime_t)timebase.denom); in pymonotonic()
/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/libaom/libaom/av1/encoder/
Dencoder.h1063 const aom_rational_t *timebase);
1102 static INLINE int64_t timebase_units_to_ticks(const aom_rational_t *timebase, in timebase_units_to_ticks() argument
1104 return n * TICKS_PER_SEC * timebase->num / timebase->den; in timebase_units_to_ticks()
1107 static INLINE int64_t ticks_to_timebase_units(const aom_rational_t *timebase, in ticks_to_timebase_units() argument
1109 const int64_t round = TICKS_PER_SEC * timebase->num / 2 - 1; in ticks_to_timebase_units()
1110 return (n * timebase->den + round) / timebase->num / TICKS_PER_SEC; in ticks_to_timebase_units()

123