[][src]Struct ffmpeg_dev::sys::ResampleContext

#[repr(C)]
pub struct ResampleContext {
    pub avr: *mut AVAudioResampleContext,
    pub buffer: *mut AudioData,
    pub filter_bank: *mut u8,
    pub filter_length: c_int,
    pub ideal_dst_incr: c_int,
    pub dst_incr: c_int,
    pub index: c_uint,
    pub frac: c_int,
    pub src_incr: c_int,
    pub compensation_distance: c_int,
    pub phase_shift: c_int,
    pub phase_mask: c_int,
    pub linear: c_int,
    pub filter_type: AVResampleFilterType,
    pub kaiser_beta: c_int,
    pub set_filter: Option<unsafe extern "C" fn(filter: *mut c_void, tab: *mut f64, phase: c_int, tap_count: c_int)>,
    pub resample_one: Option<unsafe extern "C" fn(c: *mut ResampleContext, dst0: *mut c_void, dst_index: c_int, src0: *const c_void, index: c_uint, frac: c_int)>,
    pub resample_nearest: Option<unsafe extern "C" fn(dst0: *mut c_void, dst_index: c_int, src0: *const c_void, index: c_uint)>,
    pub padding_size: c_int,
    pub initial_padding_filled: c_int,
    pub initial_padding_samples: c_int,
    pub final_padding_filled: c_int,
    pub final_padding_samples: c_int,
}

Fields

avr: *mut AVAudioResampleContextbuffer: *mut AudioDatafilter_bank: *mut u8filter_length: c_intideal_dst_incr: c_intdst_incr: c_intindex: c_uintfrac: c_intsrc_incr: c_intcompensation_distance: c_intphase_shift: c_intphase_mask: c_intlinear: c_intfilter_type: AVResampleFilterTypekaiser_beta: c_intset_filter: Option<unsafe extern "C" fn(filter: *mut c_void, tab: *mut f64, phase: c_int, tap_count: c_int)>resample_one: Option<unsafe extern "C" fn(c: *mut ResampleContext, dst0: *mut c_void, dst_index: c_int, src0: *const c_void, index: c_uint, frac: c_int)>resample_nearest: Option<unsafe extern "C" fn(dst0: *mut c_void, dst_index: c_int, src0: *const c_void, index: c_uint)>padding_size: c_intinitial_padding_filled: c_intinitial_padding_samples: c_intfinal_padding_filled: c_intfinal_padding_samples: c_int

Trait Implementations

impl Clone for ResampleContext[src]

impl Copy for ResampleContext[src]

impl Debug for ResampleContext[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]