Add pre-generated files for Bazel builds
These files are generated by build.rs scripts: - gpui: dispatch_sys.rs, shaders.metallib - media: bindings.rs - proto: zed.messages.rs Used by ex2 Bazel build to avoid running build scripts.
This commit is contained in:
150
crates/gpui/generated/dispatch_sys.rs
Normal file
150
crates/gpui/generated/dispatch_sys.rs
Normal file
@@ -0,0 +1,150 @@
|
||||
/* automatically generated by rust-bindgen 0.71.1 */
|
||||
|
||||
pub const DISPATCH_TIME_NOW: u32 = 0;
|
||||
pub const DISPATCH_QUEUE_PRIORITY_HIGH: u32 = 2;
|
||||
pub const DISPATCH_QUEUE_PRIORITY_DEFAULT: u32 = 0;
|
||||
pub const DISPATCH_QUEUE_PRIORITY_LOW: i32 = -2;
|
||||
pub type dispatch_function_t =
|
||||
::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
|
||||
pub type dispatch_time_t = u64;
|
||||
unsafe extern "C" {
|
||||
pub fn dispatch_time(when: dispatch_time_t, delta: i64) -> dispatch_time_t;
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Copy, Clone)]
|
||||
pub union dispatch_object_t {
|
||||
pub _os_obj: *mut _os_object_s,
|
||||
pub _do: *mut dispatch_object_s,
|
||||
pub _dq: *mut dispatch_queue_s,
|
||||
pub _dqa: *mut dispatch_queue_attr_s,
|
||||
pub _dg: *mut dispatch_group_s,
|
||||
pub _ds: *mut dispatch_source_s,
|
||||
pub _dch: *mut dispatch_channel_s,
|
||||
pub _dm: *mut dispatch_mach_s,
|
||||
pub _dmsg: *mut dispatch_mach_msg_s,
|
||||
pub _dsema: *mut dispatch_semaphore_s,
|
||||
pub _ddata: *mut dispatch_data_s,
|
||||
pub _dchannel: *mut dispatch_io_s,
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub fn dispatch_set_context(object: dispatch_object_t, context: *mut ::std::os::raw::c_void);
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub fn dispatch_suspend(object: dispatch_object_t);
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub fn dispatch_resume(object: dispatch_object_t);
|
||||
}
|
||||
pub type dispatch_queue_t = *mut dispatch_queue_s;
|
||||
pub type dispatch_queue_global_t = dispatch_queue_t;
|
||||
unsafe extern "C" {
|
||||
pub fn dispatch_async_f(
|
||||
queue: dispatch_queue_t,
|
||||
context: *mut ::std::os::raw::c_void,
|
||||
work: dispatch_function_t,
|
||||
);
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct dispatch_queue_s {
|
||||
pub _address: u8,
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static mut _dispatch_main_q: dispatch_queue_s;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub fn dispatch_get_global_queue(identifier: isize, flags: usize) -> dispatch_queue_global_t;
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct dispatch_queue_attr_s {
|
||||
pub _address: u8,
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub fn dispatch_after_f(
|
||||
when: dispatch_time_t,
|
||||
queue: dispatch_queue_t,
|
||||
context: *mut ::std::os::raw::c_void,
|
||||
work: dispatch_function_t,
|
||||
);
|
||||
}
|
||||
pub type dispatch_source_t = *mut dispatch_source_s;
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct dispatch_source_type_s {
|
||||
_unused: [u8; 0],
|
||||
}
|
||||
pub type dispatch_source_type_t = *const dispatch_source_type_s;
|
||||
unsafe extern "C" {
|
||||
pub static _dispatch_source_type_data_add: dispatch_source_type_s;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub fn dispatch_source_create(
|
||||
type_: dispatch_source_type_t,
|
||||
handle: usize,
|
||||
mask: usize,
|
||||
queue: dispatch_queue_t,
|
||||
) -> dispatch_source_t;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub fn dispatch_source_set_event_handler_f(
|
||||
source: dispatch_source_t,
|
||||
handler: dispatch_function_t,
|
||||
);
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub fn dispatch_source_cancel(source: dispatch_source_t);
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub fn dispatch_source_merge_data(source: dispatch_source_t, value: usize);
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct dispatch_data_s {
|
||||
pub _address: u8,
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct _os_object_s {
|
||||
pub _address: u8,
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct dispatch_object_s {
|
||||
pub _address: u8,
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct dispatch_group_s {
|
||||
pub _address: u8,
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct dispatch_source_s {
|
||||
pub _address: u8,
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct dispatch_channel_s {
|
||||
pub _address: u8,
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct dispatch_mach_s {
|
||||
pub _address: u8,
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct dispatch_mach_msg_s {
|
||||
pub _address: u8,
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct dispatch_semaphore_s {
|
||||
pub _address: u8,
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct dispatch_io_s {
|
||||
pub _address: u8,
|
||||
}
|
||||
BIN
crates/gpui/generated/shaders.metallib
Normal file
BIN
crates/gpui/generated/shaders.metallib
Normal file
Binary file not shown.
342
crates/media/generated/bindings.rs
Normal file
342
crates/media/generated/bindings.rs
Normal file
@@ -0,0 +1,342 @@
|
||||
/* automatically generated by rust-bindgen 0.71.1 */
|
||||
|
||||
pub const kCMTimeMaxTimescale: u32 = 2147483647;
|
||||
pub type UInt32 = ::std::os::raw::c_uint;
|
||||
pub type FourCharCode = UInt32;
|
||||
pub type OSType = FourCharCode;
|
||||
pub type CFIndex = ::std::os::raw::c_long;
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct __CFString {
|
||||
_unused: [u8; 0],
|
||||
}
|
||||
pub type CFStringRef = *const __CFString;
|
||||
pub type CMItemIndex = CFIndex;
|
||||
pub type CMTimeValue = i64;
|
||||
pub type CMTimeScale = i32;
|
||||
pub type CMTimeEpoch = i64;
|
||||
pub const CMTimeFlags_kCMTimeFlags_Valid: CMTimeFlags = 1;
|
||||
pub const CMTimeFlags_kCMTimeFlags_HasBeenRounded: CMTimeFlags = 2;
|
||||
pub const CMTimeFlags_kCMTimeFlags_PositiveInfinity: CMTimeFlags = 4;
|
||||
pub const CMTimeFlags_kCMTimeFlags_NegativeInfinity: CMTimeFlags = 8;
|
||||
pub const CMTimeFlags_kCMTimeFlags_Indefinite: CMTimeFlags = 16;
|
||||
pub const CMTimeFlags_kCMTimeFlags_ImpliedValueFlagsMask: CMTimeFlags = 28;
|
||||
pub type CMTimeFlags = u32;
|
||||
#[repr(C, packed(4))]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct CMTime {
|
||||
pub value: CMTimeValue,
|
||||
pub timescale: CMTimeScale,
|
||||
pub flags: CMTimeFlags,
|
||||
pub epoch: CMTimeEpoch,
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMTimeInvalid: CMTime;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMTimeIndefinite: CMTime;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMTimePositiveInfinity: CMTime;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMTimeNegativeInfinity: CMTime;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMTimeZero: CMTime;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub fn CMTimeMake(value: i64, timescale: i32) -> CMTime;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMTimeValueKey: CFStringRef;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMTimeScaleKey: CFStringRef;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMTimeEpochKey: CFStringRef;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMTimeFlagsKey: CFStringRef;
|
||||
}
|
||||
pub type CVReturn = i32;
|
||||
pub const kCVReturnSuccess: _bindgen_ty_29 = 0;
|
||||
pub const kCVReturnFirst: _bindgen_ty_29 = -6660;
|
||||
pub const kCVReturnError: _bindgen_ty_29 = -6660;
|
||||
pub const kCVReturnInvalidArgument: _bindgen_ty_29 = -6661;
|
||||
pub const kCVReturnAllocationFailed: _bindgen_ty_29 = -6662;
|
||||
pub const kCVReturnUnsupported: _bindgen_ty_29 = -6663;
|
||||
pub const kCVReturnInvalidDisplay: _bindgen_ty_29 = -6670;
|
||||
pub const kCVReturnDisplayLinkAlreadyRunning: _bindgen_ty_29 = -6671;
|
||||
pub const kCVReturnDisplayLinkNotRunning: _bindgen_ty_29 = -6672;
|
||||
pub const kCVReturnDisplayLinkCallbacksNotSet: _bindgen_ty_29 = -6673;
|
||||
pub const kCVReturnInvalidPixelFormat: _bindgen_ty_29 = -6680;
|
||||
pub const kCVReturnInvalidSize: _bindgen_ty_29 = -6681;
|
||||
pub const kCVReturnInvalidPixelBufferAttributes: _bindgen_ty_29 = -6682;
|
||||
pub const kCVReturnPixelBufferNotOpenGLCompatible: _bindgen_ty_29 = -6683;
|
||||
pub const kCVReturnPixelBufferNotMetalCompatible: _bindgen_ty_29 = -6684;
|
||||
pub const kCVReturnWouldExceedAllocationThreshold: _bindgen_ty_29 = -6689;
|
||||
pub const kCVReturnPoolAllocationFailed: _bindgen_ty_29 = -6690;
|
||||
pub const kCVReturnInvalidPoolAttributes: _bindgen_ty_29 = -6691;
|
||||
pub const kCVReturnRetry: _bindgen_ty_29 = -6692;
|
||||
pub const kCVReturnLast: _bindgen_ty_29 = -6699;
|
||||
pub type _bindgen_ty_29 = CVReturn;
|
||||
pub const kCVPixelFormatType_1Monochrome: _bindgen_ty_1462 = 1;
|
||||
pub const kCVPixelFormatType_2Indexed: _bindgen_ty_1462 = 2;
|
||||
pub const kCVPixelFormatType_4Indexed: _bindgen_ty_1462 = 4;
|
||||
pub const kCVPixelFormatType_8Indexed: _bindgen_ty_1462 = 8;
|
||||
pub const kCVPixelFormatType_1IndexedGray_WhiteIsZero: _bindgen_ty_1462 = 33;
|
||||
pub const kCVPixelFormatType_2IndexedGray_WhiteIsZero: _bindgen_ty_1462 = 34;
|
||||
pub const kCVPixelFormatType_4IndexedGray_WhiteIsZero: _bindgen_ty_1462 = 36;
|
||||
pub const kCVPixelFormatType_8IndexedGray_WhiteIsZero: _bindgen_ty_1462 = 40;
|
||||
pub const kCVPixelFormatType_16BE555: _bindgen_ty_1462 = 16;
|
||||
pub const kCVPixelFormatType_16LE555: _bindgen_ty_1462 = 1278555445;
|
||||
pub const kCVPixelFormatType_16LE5551: _bindgen_ty_1462 = 892679473;
|
||||
pub const kCVPixelFormatType_16BE565: _bindgen_ty_1462 = 1110783541;
|
||||
pub const kCVPixelFormatType_16LE565: _bindgen_ty_1462 = 1278555701;
|
||||
pub const kCVPixelFormatType_24RGB: _bindgen_ty_1462 = 24;
|
||||
pub const kCVPixelFormatType_24BGR: _bindgen_ty_1462 = 842285639;
|
||||
pub const kCVPixelFormatType_32ARGB: _bindgen_ty_1462 = 32;
|
||||
pub const kCVPixelFormatType_32BGRA: _bindgen_ty_1462 = 1111970369;
|
||||
pub const kCVPixelFormatType_32ABGR: _bindgen_ty_1462 = 1094862674;
|
||||
pub const kCVPixelFormatType_32RGBA: _bindgen_ty_1462 = 1380401729;
|
||||
pub const kCVPixelFormatType_64ARGB: _bindgen_ty_1462 = 1647719521;
|
||||
pub const kCVPixelFormatType_64RGBALE: _bindgen_ty_1462 = 1815491698;
|
||||
pub const kCVPixelFormatType_48RGB: _bindgen_ty_1462 = 1647589490;
|
||||
pub const kCVPixelFormatType_32AlphaGray: _bindgen_ty_1462 = 1647522401;
|
||||
pub const kCVPixelFormatType_16Gray: _bindgen_ty_1462 = 1647392359;
|
||||
pub const kCVPixelFormatType_30RGB: _bindgen_ty_1462 = 1378955371;
|
||||
pub const kCVPixelFormatType_30RGB_r210: _bindgen_ty_1462 = 1915892016;
|
||||
pub const kCVPixelFormatType_422YpCbCr8: _bindgen_ty_1462 = 846624121;
|
||||
pub const kCVPixelFormatType_4444YpCbCrA8: _bindgen_ty_1462 = 1983131704;
|
||||
pub const kCVPixelFormatType_4444YpCbCrA8R: _bindgen_ty_1462 = 1916022840;
|
||||
pub const kCVPixelFormatType_4444AYpCbCr8: _bindgen_ty_1462 = 2033463352;
|
||||
pub const kCVPixelFormatType_4444AYpCbCr16: _bindgen_ty_1462 = 2033463606;
|
||||
pub const kCVPixelFormatType_4444AYpCbCrFloat: _bindgen_ty_1462 = 1916036716;
|
||||
pub const kCVPixelFormatType_444YpCbCr8: _bindgen_ty_1462 = 1983066168;
|
||||
pub const kCVPixelFormatType_422YpCbCr16: _bindgen_ty_1462 = 1983000886;
|
||||
pub const kCVPixelFormatType_422YpCbCr10: _bindgen_ty_1462 = 1983000880;
|
||||
pub const kCVPixelFormatType_444YpCbCr10: _bindgen_ty_1462 = 1983131952;
|
||||
pub const kCVPixelFormatType_420YpCbCr8Planar: _bindgen_ty_1462 = 2033463856;
|
||||
pub const kCVPixelFormatType_420YpCbCr8PlanarFullRange: _bindgen_ty_1462 = 1714696752;
|
||||
pub const kCVPixelFormatType_422YpCbCr_4A_8BiPlanar: _bindgen_ty_1462 = 1630697081;
|
||||
pub const kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange: _bindgen_ty_1462 = 875704438;
|
||||
pub const kCVPixelFormatType_420YpCbCr8BiPlanarFullRange: _bindgen_ty_1462 = 875704422;
|
||||
pub const kCVPixelFormatType_422YpCbCr8BiPlanarVideoRange: _bindgen_ty_1462 = 875704950;
|
||||
pub const kCVPixelFormatType_422YpCbCr8BiPlanarFullRange: _bindgen_ty_1462 = 875704934;
|
||||
pub const kCVPixelFormatType_444YpCbCr8BiPlanarVideoRange: _bindgen_ty_1462 = 875836534;
|
||||
pub const kCVPixelFormatType_444YpCbCr8BiPlanarFullRange: _bindgen_ty_1462 = 875836518;
|
||||
pub const kCVPixelFormatType_422YpCbCr8_yuvs: _bindgen_ty_1462 = 2037741171;
|
||||
pub const kCVPixelFormatType_422YpCbCr8FullRange: _bindgen_ty_1462 = 2037741158;
|
||||
pub const kCVPixelFormatType_OneComponent8: _bindgen_ty_1462 = 1278226488;
|
||||
pub const kCVPixelFormatType_TwoComponent8: _bindgen_ty_1462 = 843264056;
|
||||
pub const kCVPixelFormatType_30RGBLEPackedWideGamut: _bindgen_ty_1462 = 1999843442;
|
||||
pub const kCVPixelFormatType_ARGB2101010LEPacked: _bindgen_ty_1462 = 1815162994;
|
||||
pub const kCVPixelFormatType_40ARGBLEWideGamut: _bindgen_ty_1462 = 1999908961;
|
||||
pub const kCVPixelFormatType_40ARGBLEWideGamutPremultiplied: _bindgen_ty_1462 = 1999908973;
|
||||
pub const kCVPixelFormatType_OneComponent10: _bindgen_ty_1462 = 1278226736;
|
||||
pub const kCVPixelFormatType_OneComponent12: _bindgen_ty_1462 = 1278226738;
|
||||
pub const kCVPixelFormatType_OneComponent16: _bindgen_ty_1462 = 1278226742;
|
||||
pub const kCVPixelFormatType_TwoComponent16: _bindgen_ty_1462 = 843264310;
|
||||
pub const kCVPixelFormatType_OneComponent16Half: _bindgen_ty_1462 = 1278226536;
|
||||
pub const kCVPixelFormatType_OneComponent32Float: _bindgen_ty_1462 = 1278226534;
|
||||
pub const kCVPixelFormatType_TwoComponent16Half: _bindgen_ty_1462 = 843264104;
|
||||
pub const kCVPixelFormatType_TwoComponent32Float: _bindgen_ty_1462 = 843264102;
|
||||
pub const kCVPixelFormatType_64RGBAHalf: _bindgen_ty_1462 = 1380411457;
|
||||
pub const kCVPixelFormatType_128RGBAFloat: _bindgen_ty_1462 = 1380410945;
|
||||
pub const kCVPixelFormatType_14Bayer_GRBG: _bindgen_ty_1462 = 1735549492;
|
||||
pub const kCVPixelFormatType_14Bayer_RGGB: _bindgen_ty_1462 = 1919379252;
|
||||
pub const kCVPixelFormatType_14Bayer_BGGR: _bindgen_ty_1462 = 1650943796;
|
||||
pub const kCVPixelFormatType_14Bayer_GBRG: _bindgen_ty_1462 = 1734505012;
|
||||
pub const kCVPixelFormatType_DisparityFloat16: _bindgen_ty_1462 = 1751411059;
|
||||
pub const kCVPixelFormatType_DisparityFloat32: _bindgen_ty_1462 = 1717856627;
|
||||
pub const kCVPixelFormatType_DepthFloat16: _bindgen_ty_1462 = 1751410032;
|
||||
pub const kCVPixelFormatType_DepthFloat32: _bindgen_ty_1462 = 1717855600;
|
||||
pub const kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange: _bindgen_ty_1462 = 2016686640;
|
||||
pub const kCVPixelFormatType_422YpCbCr10BiPlanarVideoRange: _bindgen_ty_1462 = 2016686642;
|
||||
pub const kCVPixelFormatType_444YpCbCr10BiPlanarVideoRange: _bindgen_ty_1462 = 2016687156;
|
||||
pub const kCVPixelFormatType_420YpCbCr10BiPlanarFullRange: _bindgen_ty_1462 = 2019963440;
|
||||
pub const kCVPixelFormatType_422YpCbCr10BiPlanarFullRange: _bindgen_ty_1462 = 2019963442;
|
||||
pub const kCVPixelFormatType_444YpCbCr10BiPlanarFullRange: _bindgen_ty_1462 = 2019963956;
|
||||
pub const kCVPixelFormatType_420YpCbCr8VideoRange_8A_TriPlanar: _bindgen_ty_1462 = 1982882104;
|
||||
pub const kCVPixelFormatType_16VersatileBayer: _bindgen_ty_1462 = 1651519798;
|
||||
pub const kCVPixelFormatType_96VersatileBayerPacked12: _bindgen_ty_1462 = 1651798066;
|
||||
pub const kCVPixelFormatType_64RGBA_DownscaledProResRAW: _bindgen_ty_1462 = 1651521076;
|
||||
pub const kCVPixelFormatType_422YpCbCr16BiPlanarVideoRange: _bindgen_ty_1462 = 1937125938;
|
||||
pub const kCVPixelFormatType_444YpCbCr16BiPlanarVideoRange: _bindgen_ty_1462 = 1937126452;
|
||||
pub const kCVPixelFormatType_444YpCbCr16VideoRange_16A_TriPlanar: _bindgen_ty_1462 = 1932812659;
|
||||
pub const kCVPixelFormatType_30RGBLE_8A_BiPlanar: _bindgen_ty_1462 = 1647534392;
|
||||
pub type _bindgen_ty_1462 = OSType;
|
||||
pub const kCVPixelFormatType_Lossless_32BGRA: _bindgen_ty_1463 = 641877825;
|
||||
pub const kCVPixelFormatType_Lossless_64RGBAHalf: _bindgen_ty_1463 = 642934849;
|
||||
pub const kCVPixelFormatType_Lossless_420YpCbCr8BiPlanarVideoRange: _bindgen_ty_1463 = 641234480;
|
||||
pub const kCVPixelFormatType_Lossless_420YpCbCr8BiPlanarFullRange: _bindgen_ty_1463 = 641230384;
|
||||
pub const kCVPixelFormatType_Lossless_420YpCbCr10PackedBiPlanarVideoRange: _bindgen_ty_1463 =
|
||||
645428784;
|
||||
pub const kCVPixelFormatType_Lossless_422YpCbCr10PackedBiPlanarVideoRange: _bindgen_ty_1463 =
|
||||
645428786;
|
||||
pub const kCVPixelFormatType_Lossless_420YpCbCr10PackedBiPlanarFullRange: _bindgen_ty_1463 =
|
||||
645424688;
|
||||
pub const kCVPixelFormatType_Lossless_30RGBLE_8A_BiPlanar: _bindgen_ty_1463 = 643969848;
|
||||
pub const kCVPixelFormatType_Lossless_30RGBLEPackedWideGamut: _bindgen_ty_1463 = 645346162;
|
||||
pub type _bindgen_ty_1463 = OSType;
|
||||
pub const kCVPixelFormatType_Lossy_32BGRA: _bindgen_ty_1464 = 759318337;
|
||||
pub const kCVPixelFormatType_Lossy_420YpCbCr8BiPlanarVideoRange: _bindgen_ty_1464 = 758674992;
|
||||
pub const kCVPixelFormatType_Lossy_420YpCbCr8BiPlanarFullRange: _bindgen_ty_1464 = 758670896;
|
||||
pub const kCVPixelFormatType_Lossy_420YpCbCr10PackedBiPlanarVideoRange: _bindgen_ty_1464 =
|
||||
762869296;
|
||||
pub const kCVPixelFormatType_Lossy_422YpCbCr10PackedBiPlanarVideoRange: _bindgen_ty_1464 =
|
||||
762869298;
|
||||
pub type _bindgen_ty_1464 = OSType;
|
||||
pub type CMVideoCodecType = FourCharCode;
|
||||
pub const kCMVideoCodecType_422YpCbCr8: _bindgen_ty_1474 = 846624121;
|
||||
pub const kCMVideoCodecType_Animation: _bindgen_ty_1474 = 1919706400;
|
||||
pub const kCMVideoCodecType_Cinepak: _bindgen_ty_1474 = 1668704612;
|
||||
pub const kCMVideoCodecType_JPEG: _bindgen_ty_1474 = 1785750887;
|
||||
pub const kCMVideoCodecType_JPEG_OpenDML: _bindgen_ty_1474 = 1684890161;
|
||||
pub const kCMVideoCodecType_JPEG_XL: _bindgen_ty_1474 = 1786276963;
|
||||
pub const kCMVideoCodecType_SorensonVideo: _bindgen_ty_1474 = 1398165809;
|
||||
pub const kCMVideoCodecType_SorensonVideo3: _bindgen_ty_1474 = 1398165811;
|
||||
pub const kCMVideoCodecType_H263: _bindgen_ty_1474 = 1748121139;
|
||||
pub const kCMVideoCodecType_H264: _bindgen_ty_1474 = 1635148593;
|
||||
pub const kCMVideoCodecType_HEVC: _bindgen_ty_1474 = 1752589105;
|
||||
pub const kCMVideoCodecType_HEVCWithAlpha: _bindgen_ty_1474 = 1836415073;
|
||||
pub const kCMVideoCodecType_DolbyVisionHEVC: _bindgen_ty_1474 = 1685481521;
|
||||
pub const kCMVideoCodecType_MPEG4Video: _bindgen_ty_1474 = 1836070006;
|
||||
pub const kCMVideoCodecType_MPEG2Video: _bindgen_ty_1474 = 1836069494;
|
||||
pub const kCMVideoCodecType_MPEG1Video: _bindgen_ty_1474 = 1836069238;
|
||||
pub const kCMVideoCodecType_VP9: _bindgen_ty_1474 = 1987063865;
|
||||
pub const kCMVideoCodecType_DVCNTSC: _bindgen_ty_1474 = 1685480224;
|
||||
pub const kCMVideoCodecType_DVCPAL: _bindgen_ty_1474 = 1685480304;
|
||||
pub const kCMVideoCodecType_DVCProPAL: _bindgen_ty_1474 = 1685483632;
|
||||
pub const kCMVideoCodecType_DVCPro50NTSC: _bindgen_ty_1474 = 1685468526;
|
||||
pub const kCMVideoCodecType_DVCPro50PAL: _bindgen_ty_1474 = 1685468528;
|
||||
pub const kCMVideoCodecType_DVCPROHD720p60: _bindgen_ty_1474 = 1685481584;
|
||||
pub const kCMVideoCodecType_DVCPROHD720p50: _bindgen_ty_1474 = 1685481585;
|
||||
pub const kCMVideoCodecType_DVCPROHD1080i60: _bindgen_ty_1474 = 1685481526;
|
||||
pub const kCMVideoCodecType_DVCPROHD1080i50: _bindgen_ty_1474 = 1685481525;
|
||||
pub const kCMVideoCodecType_DVCPROHD1080p30: _bindgen_ty_1474 = 1685481523;
|
||||
pub const kCMVideoCodecType_DVCPROHD1080p25: _bindgen_ty_1474 = 1685481522;
|
||||
pub const kCMVideoCodecType_AppleProRes4444XQ: _bindgen_ty_1474 = 1634743416;
|
||||
pub const kCMVideoCodecType_AppleProRes4444: _bindgen_ty_1474 = 1634743400;
|
||||
pub const kCMVideoCodecType_AppleProRes422HQ: _bindgen_ty_1474 = 1634755432;
|
||||
pub const kCMVideoCodecType_AppleProRes422: _bindgen_ty_1474 = 1634755438;
|
||||
pub const kCMVideoCodecType_AppleProRes422LT: _bindgen_ty_1474 = 1634755443;
|
||||
pub const kCMVideoCodecType_AppleProRes422Proxy: _bindgen_ty_1474 = 1634755439;
|
||||
pub const kCMVideoCodecType_AppleProResRAW: _bindgen_ty_1474 = 1634759278;
|
||||
pub const kCMVideoCodecType_AppleProResRAWHQ: _bindgen_ty_1474 = 1634759272;
|
||||
pub const kCMVideoCodecType_DisparityHEVC: _bindgen_ty_1474 = 1684632424;
|
||||
pub const kCMVideoCodecType_DepthHEVC: _bindgen_ty_1474 = 1684369512;
|
||||
pub const kCMVideoCodecType_AV1: _bindgen_ty_1474 = 1635135537;
|
||||
pub type _bindgen_ty_1474 = CMVideoCodecType;
|
||||
pub type CMTimeCodeFormatType = FourCharCode;
|
||||
pub const kCMTimeCodeFormatType_TimeCode32: _bindgen_ty_1483 = 1953325924;
|
||||
pub const kCMTimeCodeFormatType_TimeCode64: _bindgen_ty_1483 = 1952658996;
|
||||
pub const kCMTimeCodeFormatType_Counter32: _bindgen_ty_1483 = 1668166450;
|
||||
pub const kCMTimeCodeFormatType_Counter64: _bindgen_ty_1483 = 1668167220;
|
||||
pub type _bindgen_ty_1483 = CMTimeCodeFormatType;
|
||||
pub const kCMTimeCodeFlag_DropFrame: _bindgen_ty_1484 = 1;
|
||||
pub const kCMTimeCodeFlag_24HourMax: _bindgen_ty_1484 = 2;
|
||||
pub const kCMTimeCodeFlag_NegTimesOK: _bindgen_ty_1484 = 4;
|
||||
pub type _bindgen_ty_1484 = u32;
|
||||
unsafe extern "C" {
|
||||
pub static kCMTimeCodeFormatDescriptionExtension_SourceReferenceName: CFStringRef;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMTimeCodeFormatDescriptionKey_Value: CFStringRef;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMTimeCodeFormatDescriptionKey_LangCode: CFStringRef;
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct CMSampleTimingInfo {
|
||||
pub duration: CMTime,
|
||||
pub presentationTimeStamp: CMTime,
|
||||
pub decodeTimeStamp: CMTime,
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMSampleAttachmentKey_NotSync: CFStringRef;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMSampleAttachmentKey_PartialSync: CFStringRef;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMSampleAttachmentKey_HasRedundantCoding: CFStringRef;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMSampleAttachmentKey_IsDependedOnByOthers: CFStringRef;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMSampleAttachmentKey_DependsOnOthers: CFStringRef;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMSampleAttachmentKey_EarlierDisplayTimesAllowed: CFStringRef;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMSampleAttachmentKey_DisplayImmediately: CFStringRef;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMSampleAttachmentKey_DoNotDisplay: CFStringRef;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMSampleAttachmentKey_HEVCTemporalLevelInfo: CFStringRef;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMSampleAttachmentKey_HEVCTemporalSubLayerAccess: CFStringRef;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMSampleAttachmentKey_HEVCStepwiseTemporalSubLayerAccess: CFStringRef;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMSampleAttachmentKey_HEVCSyncSampleNALUnitType: CFStringRef;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMSampleAttachmentKey_AudioIndependentSampleDecoderRefreshCount: CFStringRef;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMSampleAttachmentKey_CryptorSubsampleAuxiliaryData: CFStringRef;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMSampleAttachmentKey_HDR10PlusPerFrameData: CFStringRef;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMSampleAttachmentKey_PostDecodeProcessingMetadata: CFStringRef;
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct CMTimeRange {
|
||||
pub start: CMTime,
|
||||
pub duration: CMTime,
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMTimeRangeZero: CMTimeRange;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMTimeRangeInvalid: CMTimeRange;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMTimeRangeStartKey: CFStringRef;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMTimeRangeDurationKey: CFStringRef;
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct CMTimeMapping {
|
||||
pub source: CMTimeRange,
|
||||
pub target: CMTimeRange,
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMTimeMappingInvalid: CMTimeMapping;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMTimeMappingSourceKey: CFStringRef;
|
||||
}
|
||||
unsafe extern "C" {
|
||||
pub static kCMTimeMappingTargetKey: CFStringRef;
|
||||
}
|
||||
pub const VTEncodeInfoFlags_kVTEncodeInfo_Asynchronous: VTEncodeInfoFlags = 1;
|
||||
pub const VTEncodeInfoFlags_kVTEncodeInfo_FrameDropped: VTEncodeInfoFlags = 2;
|
||||
pub type VTEncodeInfoFlags = UInt32;
|
||||
7075
crates/proto/generated/zed.messages.rs
Normal file
7075
crates/proto/generated/zed.messages.rs
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user