[][src]Struct ffmpeg_next::codec::encoder::video::Encoder

pub struct Encoder(pub Video);

Implementations

impl Encoder[src]

pub fn encode<P: Mut>(
    &mut self,
    frame: &Video,
    out: &mut P
) -> Result<bool, Error>
[src]

pub fn flush<P: Mut>(&mut self, out: &mut P) -> Result<bool, Error>[src]

pub fn frame_size(&self) -> u32[src]

Methods from Deref<Target = Video>

pub fn set_width(&mut self, value: u32)[src]

pub fn width(&self) -> u32[src]

pub fn set_height(&mut self, value: u32)[src]

pub fn height(&self) -> u32[src]

pub fn set_gop(&mut self, value: u32)[src]

pub fn set_format(&mut self, value: Pixel)[src]

pub fn format(&self) -> Pixel[src]

pub fn set_max_b_frames(&mut self, value: usize)[src]

pub fn set_b_quant_factor(&mut self, value: f32)[src]

pub fn set_b_quant_offset(&mut self, value: f32)[src]

pub fn set_i_quant_factor(&mut self, value: f32)[src]

pub fn set_i_quant_offset(&mut self, value: f32)[src]

pub fn set_lumi_masking(&mut self, value: f32)[src]

pub fn set_temporal_cplx_masking(&mut self, value: f32)[src]

pub fn set_spatial_cplx_masking(&mut self, value: f32)[src]

pub fn set_p_masking(&mut self, value: f32)[src]

pub fn set_dark_masking(&mut self, value: f32)[src]

pub fn set_prediction(&mut self, value: Prediction)[src]

pub fn set_aspect_ratio<R: Into<Rational>>(&mut self, value: R)[src]

pub fn set_me_comparison(&mut self, value: Comparison)[src]

pub fn set_me_sub_comparison(&mut self, value: Comparison)[src]

pub fn set_mb_comparison(&mut self, value: Comparison)[src]

pub fn set_ildct_comparison(&mut self, value: Comparison)[src]

pub fn set_dia_size(&mut self, value: usize)[src]

pub fn set_last_predictors(&mut self, value: usize)[src]

pub fn set_pre_me(&mut self, value: MotionEstimation)[src]

pub fn set_me_pre_comparison(&mut self, value: Comparison)[src]

pub fn set_pre_dia_size(&mut self, value: usize)[src]

pub fn set_me_subpel_quality(&mut self, value: usize)[src]

pub fn set_me_range(&mut self, value: usize)[src]

pub fn set_mb_decision(&mut self, value: Decision)[src]

pub fn set_mb_lmin(&mut self, value: i32)[src]

pub fn set_mb_lmax(&mut self, value: i32)[src]

pub fn set_intra_dc_precision(&mut self, value: u8)[src]

pub fn set_qmin(&mut self, value: i32)[src]

pub fn set_qmax(&mut self, value: i32)[src]

pub fn set_global_quality(&mut self, value: i32)[src]

pub fn set_colorspace(&mut self, value: Space)[src]

pub fn colorspace(&self) -> Space[src]

pub fn set_color_range(&mut self, value: Range)[src]

pub fn color_range(&self) -> Range[src]

Trait Implementations

impl AsMut<Context> for Encoder[src]

impl AsRef<Context> for Encoder[src]

impl Deref for Encoder[src]

type Target = Video

The resulting type after dereferencing.

impl DerefMut for Encoder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.