]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys-0.28.0/src/Windows/Media/Transcoding/mod.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / vendor / windows-sys-0.28.0 / src / Windows / Media / Transcoding / mod.rs
1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[link(name = "windows")]
3 extern "system" {}
4 pub type MediaTranscoder = *mut ::core::ffi::c_void;
5 #[repr(transparent)]
6 pub struct MediaVideoProcessingAlgorithm(pub i32);
7 impl MediaVideoProcessingAlgorithm {
8 pub const Default: Self = Self(0i32);
9 pub const MrfCrf444: Self = Self(1i32);
10 }
11 impl ::core::marker::Copy for MediaVideoProcessingAlgorithm {}
12 impl ::core::clone::Clone for MediaVideoProcessingAlgorithm {
13 fn clone(&self) -> Self {
14 *self
15 }
16 }
17 pub type PrepareTranscodeResult = *mut ::core::ffi::c_void;
18 #[repr(transparent)]
19 pub struct TranscodeFailureReason(pub i32);
20 impl TranscodeFailureReason {
21 pub const None: Self = Self(0i32);
22 pub const Unknown: Self = Self(1i32);
23 pub const InvalidProfile: Self = Self(2i32);
24 pub const CodecNotFound: Self = Self(3i32);
25 }
26 impl ::core::marker::Copy for TranscodeFailureReason {}
27 impl ::core::clone::Clone for TranscodeFailureReason {
28 fn clone(&self) -> Self {
29 *self
30 }
31 }