]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Media/Effects/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Media / Effects / mod.rs
CommitLineData
5e7ed085
FG
1pub type AudioCaptureEffectsManager = *mut ::core::ffi::c_void;
2pub type AudioEffect = *mut ::core::ffi::c_void;
3pub type AudioEffectDefinition = *mut ::core::ffi::c_void;
04454e1e 4#[doc = "*Required features: `\"Media_Effects\"`*"]
5e7ed085
FG
5#[repr(transparent)]
6pub struct AudioEffectType(pub i32);
7impl AudioEffectType {
8 pub const Other: Self = Self(0i32);
9 pub const AcousticEchoCancellation: Self = Self(1i32);
10 pub const NoiseSuppression: Self = Self(2i32);
11 pub const AutomaticGainControl: Self = Self(3i32);
12 pub const BeamForming: Self = Self(4i32);
13 pub const ConstantToneRemoval: Self = Self(5i32);
14 pub const Equalizer: Self = Self(6i32);
15 pub const LoudnessEqualizer: Self = Self(7i32);
16 pub const BassBoost: Self = Self(8i32);
17 pub const VirtualSurround: Self = Self(9i32);
18 pub const VirtualHeadphones: Self = Self(10i32);
19 pub const SpeakerFill: Self = Self(11i32);
20 pub const RoomCorrection: Self = Self(12i32);
21 pub const BassManagement: Self = Self(13i32);
22 pub const EnvironmentalEffects: Self = Self(14i32);
23 pub const SpeakerProtection: Self = Self(15i32);
24 pub const SpeakerCompensation: Self = Self(16i32);
25 pub const DynamicRangeCompression: Self = Self(17i32);
26 pub const FarFieldBeamForming: Self = Self(18i32);
27 pub const DeepNoiseSuppression: Self = Self(19i32);
28}
29impl ::core::marker::Copy for AudioEffectType {}
30impl ::core::clone::Clone for AudioEffectType {
31 fn clone(&self) -> Self {
32 *self
33 }
34}
35pub type AudioRenderEffectsManager = *mut ::core::ffi::c_void;
36pub type CompositeVideoFrameContext = *mut ::core::ffi::c_void;
37pub type IAudioEffectDefinition = *mut ::core::ffi::c_void;
38pub type IBasicAudioEffect = *mut ::core::ffi::c_void;
39pub type IBasicVideoEffect = *mut ::core::ffi::c_void;
40pub type IVideoCompositor = *mut ::core::ffi::c_void;
41pub type IVideoCompositorDefinition = *mut ::core::ffi::c_void;
42pub type IVideoEffectDefinition = *mut ::core::ffi::c_void;
04454e1e 43#[doc = "*Required features: `\"Media_Effects\"`*"]
5e7ed085
FG
44#[repr(transparent)]
45pub struct MediaEffectClosedReason(pub i32);
46impl MediaEffectClosedReason {
47 pub const Done: Self = Self(0i32);
48 pub const UnknownError: Self = Self(1i32);
49 pub const UnsupportedEncodingFormat: Self = Self(2i32);
50 pub const EffectCurrentlyUnloaded: Self = Self(3i32);
51}
52impl ::core::marker::Copy for MediaEffectClosedReason {}
53impl ::core::clone::Clone for MediaEffectClosedReason {
54 fn clone(&self) -> Self {
55 *self
56 }
57}
04454e1e 58#[doc = "*Required features: `\"Media_Effects\"`*"]
5e7ed085
FG
59#[repr(transparent)]
60pub struct MediaMemoryTypes(pub i32);
61impl MediaMemoryTypes {
62 pub const Gpu: Self = Self(0i32);
63 pub const Cpu: Self = Self(1i32);
64 pub const GpuAndCpu: Self = Self(2i32);
65}
66impl ::core::marker::Copy for MediaMemoryTypes {}
67impl ::core::clone::Clone for MediaMemoryTypes {
68 fn clone(&self) -> Self {
69 *self
70 }
71}
72pub type ProcessAudioFrameContext = *mut ::core::ffi::c_void;
73pub type ProcessVideoFrameContext = *mut ::core::ffi::c_void;
74pub type SlowMotionEffectDefinition = *mut ::core::ffi::c_void;
75pub type VideoCompositorDefinition = *mut ::core::ffi::c_void;
76pub type VideoEffectDefinition = *mut ::core::ffi::c_void;
77pub type VideoTransformEffectDefinition = *mut ::core::ffi::c_void;
78pub type VideoTransformSphericalProjection = *mut ::core::ffi::c_void;