objc2_core_video/generated/CVHostTime.rs
1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ffi::*;
4
5use crate::*;
6
7extern "C-unwind" {
8 /// Retrieve the current value of the host time base.
9 ///
10 /// On Mac OS X, the host time base for CoreVideo and CoreAudio are identical, and the values returned from either API
11 /// may be used interchangeably.
12 ///
13 /// Returns: The current host time.
14 pub fn CVGetCurrentHostTime() -> u64;
15}
16
17extern "C-unwind" {
18 /// Retrieve the frequency of the host time base.
19 ///
20 /// On Mac OS X, the host time base for CoreVideo and CoreAudio are identical, and the values returned from either API
21 /// may be used interchangeably.
22 ///
23 /// Returns: The current host frequency.
24 pub fn CVGetHostClockFrequency() -> c_double;
25}
26
27extern "C-unwind" {
28 /// Retrieve the smallest possible increment in the host time base.
29 ///
30 /// Returns: The smallest valid increment in the host time base.
31 pub fn CVGetHostClockMinimumTimeDelta() -> u32;
32}