]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Media/Transcoding/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Media / Transcoding / mod.rs
CommitLineData
5e7ed085 1pub type MediaTranscoder = *mut ::core::ffi::c_void;
04454e1e 2#[doc = "*Required features: `\"Media_Transcoding\"`*"]
5e7ed085
FG
3#[repr(transparent)]
4pub struct MediaVideoProcessingAlgorithm(pub i32);
5impl MediaVideoProcessingAlgorithm {
6 pub const Default: Self = Self(0i32);
7 pub const MrfCrf444: Self = Self(1i32);
8}
9impl ::core::marker::Copy for MediaVideoProcessingAlgorithm {}
10impl ::core::clone::Clone for MediaVideoProcessingAlgorithm {
11 fn clone(&self) -> Self {
12 *self
13 }
14}
15pub type PrepareTranscodeResult = *mut ::core::ffi::c_void;
04454e1e 16#[doc = "*Required features: `\"Media_Transcoding\"`*"]
5e7ed085
FG
17#[repr(transparent)]
18pub struct TranscodeFailureReason(pub i32);
19impl TranscodeFailureReason {
20 pub const None: Self = Self(0i32);
21 pub const Unknown: Self = Self(1i32);
22 pub const InvalidProfile: Self = Self(2i32);
23 pub const CodecNotFound: Self = Self(3i32);
24}
25impl ::core::marker::Copy for TranscodeFailureReason {}
26impl ::core::clone::Clone for TranscodeFailureReason {
27 fn clone(&self) -> Self {
28 *self
29 }
30}