[][src]Struct ffmpeg_dev::sys::RateControlContext

#[repr(C)]
pub struct RateControlContext {
    pub num_entries: c_int,
    pub entry: *mut RateControlEntry,
    pub buffer_index: f64,
    pub pred: [Predictor; 5],
    pub short_term_qsum: f64,
    pub short_term_qcount: f64,
    pub pass1_rc_eq_output_sum: f64,
    pub pass1_wanted_bits: f64,
    pub last_qscale: f64,
    pub last_qscale_for: [f64; 5],
    pub last_mc_mb_var_sum: i64,
    pub last_mb_var_sum: i64,
    pub i_cplx_sum: [u64; 5],
    pub p_cplx_sum: [u64; 5],
    pub mv_bits_sum: [u64; 5],
    pub qscale_sum: [u64; 5],
    pub frame_count: [c_int; 5],
    pub last_non_b_pict_type: c_int,
    pub non_lavc_opaque: *mut c_void,
    pub dry_run_qscale: f32,
    pub last_picture_number: c_int,
    pub rc_eq_eval: *mut AVExpr,
}

rate control context.

Fields

num_entries: c_int

< number of RateControlEntries

entry: *mut RateControlEntrybuffer_index: f64

< amount of bits in the video/audio buffer

pred: [Predictor; 5]short_term_qsum: f64

< sum of recent qscales

short_term_qcount: f64

< count of recent qscales

pass1_rc_eq_output_sum: f64

< sum of the output of the rc equation, this is used for normalization

pass1_wanted_bits: f64

< bits which should have been output by the pass1 code (including complexity init)

last_qscale: f64last_qscale_for: [f64; 5]

< last qscale for a specific pict type, used for max_diff & ipb factor stuff

last_mc_mb_var_sum: i64last_mb_var_sum: i64i_cplx_sum: [u64; 5]p_cplx_sum: [u64; 5]mv_bits_sum: [u64; 5]qscale_sum: [u64; 5]frame_count: [c_int; 5]last_non_b_pict_type: c_intnon_lavc_opaque: *mut c_void

< context for non lavc rc code (for example xvid)

dry_run_qscale: f32

< for xvid rc

last_picture_number: c_int

< for xvid rc

rc_eq_eval: *mut AVExpr

Trait Implementations

impl Clone for RateControlContext[src]

impl Copy for RateControlContext[src]

impl Debug for RateControlContext[src]

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = !

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.

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

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

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