blob: f7fe44dca03b1cab62b5ea85be1f8f40e40bdaba [file] [log] [blame]
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[link(name = "windows")]
extern "system" {}
pub type MediaTranscoder = *mut ::core::ffi::c_void;
#[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;
#[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
}
}