From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- .../src/Windows/Media/Transcoding/mod.rs | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 vendor/windows-sys/src/Windows/Media/Transcoding/mod.rs (limited to 'vendor/windows-sys/src/Windows/Media/Transcoding/mod.rs') diff --git a/vendor/windows-sys/src/Windows/Media/Transcoding/mod.rs b/vendor/windows-sys/src/Windows/Media/Transcoding/mod.rs new file mode 100644 index 000000000..9c1e99155 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Media/Transcoding/mod.rs @@ -0,0 +1,30 @@ +pub type MediaTranscoder = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Media_Transcoding\"`*"] +#[repr(transparent)] +pub struct MediaVideoProcessingAlgorithm(pub i32); +impl MediaVideoProcessingAlgorithm { + pub const Default: Self = Self(0i32); + pub const MrfCrf444: Self = Self(1i32); +} +impl ::core::marker::Copy for MediaVideoProcessingAlgorithm {} +impl ::core::clone::Clone for MediaVideoProcessingAlgorithm { + fn clone(&self) -> Self { + *self + } +} +pub type PrepareTranscodeResult = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Media_Transcoding\"`*"] +#[repr(transparent)] +pub struct TranscodeFailureReason(pub i32); +impl TranscodeFailureReason { + pub const None: Self = Self(0i32); + pub const Unknown: Self = Self(1i32); + pub const InvalidProfile: Self = Self(2i32); + pub const CodecNotFound: Self = Self(3i32); +} +impl ::core::marker::Copy for TranscodeFailureReason {} +impl ::core::clone::Clone for TranscodeFailureReason { + fn clone(&self) -> Self { + *self + } +} -- cgit v1.2.3