Searched defs:timebase (Results 1 - 25 of 47) sorted by last modified time

12

/external/webrtc/src/system_wrappers/interface/
H A Dtick_util.h179 static mach_timebase_info_data_t timebase; local
180 if (timebase.denom == 0) {
181 // Get the timebase if this is the first time we run.
183 kern_return_t retval = mach_timebase_info(&timebase);
190 // Use timebase to convert absolute time tick units into nanoseconds.
191 result._ticks = mach_absolute_time() * timebase.numer / timebase.denom;
/external/libvpx/libvpx/test/
H A Daltref_test.cc55 const vpx_rational timebase = { 33333333, 1000000000 }; local
56 cfg_.g_timebase = timebase;
61 timebase.den, timebase.num, 0, 30);
H A Dcq_test.cc81 const vpx_rational timebase = { 33333333, 1000000000 }; local
82 cfg_.g_timebase = timebase;
88 timebase.den, timebase.num, 0, 30);
H A Derror_resilience_test.cc149 const vpx_rational timebase = { 33333333, 1000000000 }; local
150 cfg_.g_timebase = timebase;
157 timebase.den, timebase.num, 0, 30);
184 const vpx_rational timebase = { 33333333, 1000000000 }; local
185 cfg_.g_timebase = timebase;
194 timebase.den, timebase.num, 0, 40);
H A Di420_video_source.h74 virtual vpx_rational_t timebase() const { function in class:libvpx_test::I420VideoSource
H A Dtile_independence_test.cc86 const vpx_rational timebase = { 33333333, 1000000000 }; local
87 cfg_.g_timebase = timebase;
93 timebase.den, timebase.num, 0, 30);
H A Dvideo_source.h74 // Get the timebase for the stream
75 virtual vpx_rational_t timebase() const = 0;
112 virtual vpx_rational_t timebase() const { function in class:libvpx_test::DummyVideoSource
H A Dvp9_lossless_test.cc60 const vpx_rational timebase = { 33333333, 1000000000 }; local
61 cfg_.g_timebase = timebase;
71 timebase.den, timebase.num, 0, 10);
81 cfg_.g_timebase = video.timebase();
H A Dy4m_video_source.h73 virtual vpx_rational_t timebase() const { function in class:libvpx_test::Y4mVideoSource
/external/libvpx/libvpx/vp8/common/
H A Donyx.h104 struct vpx_rational timebase; member in struct:__anon24854
/external/libvpx/libvpx/
H A Dvpxenc.c269 static const arg_def_t timebase = ARG_DEF(NULL, "timebase", 1, variable
278 &width, &height, &stereo_mode, &timebase, &framerate,
454 fprintf(stderr, "\nStream timebase (--timebase):\n"
829 /* Change the default timebase to a high enough value so that the
918 } else if (arg_match(&arg, &timebase, argi)) {
/external/chromium_org/third_party/webrtc/system_wrappers/source/
H A Dtick_util.cc72 static mach_timebase_info_data_t timebase; local
73 if (timebase.denom == 0) {
74 // Get the timebase if this is the first time we run.
76 kern_return_t retval = mach_timebase_info(&timebase);
87 // Use timebase to convert absolute time tick units into nanoseconds.
88 result.ticks_ = mach_absolute_time() * timebase.numer / timebase.denom;
/external/chromium_org/third_party/webrtc/base/
H A Dtimeutils.cc40 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/chromium_org/third_party/libvpx/source/libvpx/test/
H A Daltref_test.cc55 const vpx_rational timebase = { 33333333, 1000000000 }; local
56 cfg_.g_timebase = timebase;
61 timebase.den, timebase.num, 0, 30);
H A Dcq_test.cc108 const vpx_rational timebase = { 33333333, 1000000000 }; local
109 cfg_.g_timebase = timebase;
115 timebase.den, timebase.num, 0, 30);
H A Dencode_perf_test.cc128 const vpx_rational timebase = { 33333333, 1000000000 }; local
129 cfg_.g_timebase = timebase;
140 timebase.den, timebase.num, 0,
H A Derror_resilience_test.cc149 const vpx_rational timebase = { 33333333, 1000000000 }; local
150 cfg_.g_timebase = timebase;
157 timebase.den, timebase.num, 0, 30);
184 const vpx_rational timebase = { 33333333, 1000000000 }; local
185 cfg_.g_timebase = timebase;
194 timebase.den, timebase.num, 0, 40);
H A Di420_video_source.h74 virtual vpx_rational_t timebase() const { function in class:libvpx_test::I420VideoSource
H A Dtile_independence_test.cc86 const vpx_rational timebase = { 33333333, 1000000000 }; local
87 cfg_.g_timebase = timebase;
93 timebase.den, timebase.num, 0, 30);
H A Dvideo_source.h124 // Get the timebase for the stream
125 virtual vpx_rational_t timebase() const = 0;
162 virtual vpx_rational_t timebase() const { function in class:libvpx_test::DummyVideoSource
H A Dvp9_lossless_test.cc71 const vpx_rational timebase = { 33333333, 1000000000 }; local
72 cfg_.g_timebase = timebase;
82 timebase.den, timebase.num, 0, 10);
92 cfg_.g_timebase = video.timebase();
106 const vpx_rational timebase = { 33333333, 1000000000 }; local
107 cfg_.g_timebase = timebase;
118 timebase.den, timebase.num, 0, 10);
H A Dy4m_video_source.h79 virtual vpx_rational_t timebase() const { function in class:libvpx_test::Y4mVideoSource
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/
H A Donyx.h104 struct vpx_rational timebase; member in struct:__anon13063
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/
H A Dvp9_cx_iface.c718 // Convert duration parameter from stream timebase to microseconds.
805 static int64_t timebase_units_to_ticks(const vpx_rational_t *timebase, argument
807 return n * TICKS_PER_SEC * timebase->num / timebase->den;
810 static int64_t ticks_to_timebase_units(const vpx_rational_t *timebase, argument
812 const int64_t round = TICKS_PER_SEC * timebase->num / 2 - 1;
813 return (n * timebase->den + round) / timebase->num / TICKS_PER_SEC;
841 const vpx_rational_t *const timebase = &ctx->cfg.g_timebase; local
887 int64_t dst_time_stamp = timebase_units_to_ticks(timebase, pt
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/
H A Dvpxenc.c239 static const arg_def_t timebase = ARG_DEF(NULL, "timebase", 1, variable
253 &timebase, &framerate,
467 fprintf(stderr, "\nStream timebase (--timebase):\n"
967 /* Change the default timebase to a high enough value so that the
1073 } else if (arg_match(&arg, &timebase, argi)) {

Completed in 7472 milliseconds

12