]>
Commit | Line | Data |
---|---|---|
5e7ed085 | 1 | pub type MediaTranscoder = *mut ::core::ffi::c_void; |
04454e1e | 2 | #[doc = "*Required features: `\"Media_Transcoding\"`*"] |
5e7ed085 FG |
3 | #[repr(transparent)] |
4 | pub struct MediaVideoProcessingAlgorithm(pub i32); | |
5 | impl MediaVideoProcessingAlgorithm { | |
6 | pub const Default: Self = Self(0i32); | |
7 | pub const MrfCrf444: Self = Self(1i32); | |
8 | } | |
9 | impl ::core::marker::Copy for MediaVideoProcessingAlgorithm {} | |
10 | impl ::core::clone::Clone for MediaVideoProcessingAlgorithm { | |
11 | fn clone(&self) -> Self { | |
12 | *self | |
13 | } | |
14 | } | |
15 | pub type PrepareTranscodeResult = *mut ::core::ffi::c_void; | |
04454e1e | 16 | #[doc = "*Required features: `\"Media_Transcoding\"`*"] |
5e7ed085 FG |
17 | #[repr(transparent)] |
18 | pub struct TranscodeFailureReason(pub i32); | |
19 | impl 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 | } | |
25 | impl ::core::marker::Copy for TranscodeFailureReason {} | |
26 | impl ::core::clone::Clone for TranscodeFailureReason { | |
27 | fn clone(&self) -> Self { | |
28 | *self | |
29 | } | |
30 | } |