#[repr(C)]pub struct SwsContext {Show 21 fields
pub av_class: *const AVClass,
pub opaque: *mut c_void,
pub flags: c_uint,
pub scaler_params: [f64; 2],
pub threads: c_int,
pub dither: SwsDither,
pub alpha_blend: SwsAlphaBlend,
pub gamma_flag: c_int,
pub src_w: c_int,
pub src_h: c_int,
pub dst_w: c_int,
pub dst_h: c_int,
pub src_format: c_int,
pub dst_format: c_int,
pub src_range: c_int,
pub dst_range: c_int,
pub src_v_chr_pos: c_int,
pub src_h_chr_pos: c_int,
pub dst_v_chr_pos: c_int,
pub dst_h_chr_pos: c_int,
pub intent: c_int,
}Fields§
§av_class: *const AVClass§opaque: *mut c_void§flags: c_uint§scaler_params: [f64; 2]§threads: c_int§dither: SwsDither§alpha_blend: SwsAlphaBlend§gamma_flag: c_int§src_w: c_int§src_h: c_int§dst_w: c_int§dst_h: c_int§src_format: c_int§dst_format: c_int§src_range: c_int§dst_range: c_int§src_v_chr_pos: c_int§src_h_chr_pos: c_int§dst_v_chr_pos: c_int§dst_h_chr_pos: c_int§intent: c_intTrait Implementations§
Source§impl Clone for SwsContext
impl Clone for SwsContext
Source§fn clone(&self) -> SwsContext
fn clone(&self) -> SwsContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SwsContext
Source§impl Debug for SwsContext
impl Debug for SwsContext
Source§impl PartialEq for SwsContext
impl PartialEq for SwsContext
impl StructuralPartialEq for SwsContext
Auto Trait Implementations§
impl !Send for SwsContext
impl !Sync for SwsContext
impl Freeze for SwsContext
impl RefUnwindSafe for SwsContext
impl Unpin for SwsContext
impl UnsafeUnpin for SwsContext
impl UnwindSafe for SwsContext
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more