[][src]Struct ffmpeg_dev::sys::AVAudioResampleContext

#[repr(C)]
pub struct AVAudioResampleContext {
    pub av_class: *const AVClass,
    pub in_channel_layout: u64,
    pub in_sample_fmt: AVSampleFormat,
    pub in_sample_rate: c_int,
    pub out_channel_layout: u64,
    pub out_sample_fmt: AVSampleFormat,
    pub out_sample_rate: c_int,
    pub internal_sample_fmt: AVSampleFormat,
    pub mix_coeff_type: AVMixCoeffType,
    pub center_mix_level: f64,
    pub surround_mix_level: f64,
    pub lfe_mix_level: f64,
    pub normalize_mix_level: c_int,
    pub force_resampling: c_int,
    pub filter_size: c_int,
    pub phase_shift: c_int,
    pub linear_interp: c_int,
    pub cutoff: f64,
    pub filter_type: AVResampleFilterType,
    pub kaiser_beta: c_int,
    pub dither_method: AVResampleDitherMethod,
    pub in_channels: c_int,
    pub out_channels: c_int,
    pub resample_channels: c_int,
    pub downmix_needed: c_int,
    pub upmix_needed: c_int,
    pub mixing_needed: c_int,
    pub resample_needed: c_int,
    pub in_convert_needed: c_int,
    pub out_convert_needed: c_int,
    pub in_copy_needed: c_int,
    pub in_buffer: *mut AudioData,
    pub resample_out_buffer: *mut AudioData,
    pub out_buffer: *mut AudioData,
    pub out_fifo: *mut AVAudioFifo,
    pub ac_in: *mut AudioConvert,
    pub ac_out: *mut AudioConvert,
    pub resample: *mut ResampleContext,
    pub am: *mut AudioMix,
    pub matrix_encoding: AVMatrixEncoding,
    pub mix_matrix: *mut f64,
    pub use_channel_map: c_int,
    pub remap_point: RemapPoint,
    pub ch_map_info: ChannelMapInfo,
}

Fields

av_class: *const AVClass

< AVClass for logging and AVOptions

in_channel_layout: u64

< input channel layout

in_sample_fmt: AVSampleFormat

< input sample format

in_sample_rate: c_int

< input sample rate

out_channel_layout: u64

< output channel layout

out_sample_fmt: AVSampleFormat

< output sample format

out_sample_rate: c_int

< output sample rate

internal_sample_fmt: AVSampleFormat

< internal sample format

mix_coeff_type: AVMixCoeffType

< mixing coefficient type

center_mix_level: f64

< center mix level

surround_mix_level: f64

< surround mix level

lfe_mix_level: f64

< lfe mix level

normalize_mix_level: c_int

< enable mix level normalization

force_resampling: c_int

< force resampling

filter_size: c_int

< length of each FIR filter in the resampling filterbank relative to the cutoff frequency

phase_shift: c_int

< log2 of the number of entries in the resampling polyphase filterbank

linear_interp: c_int

< if 1 then the resampling FIR filter will be linearly interpolated

cutoff: f64

< resampling cutoff frequency. 1.0 corresponds to half the output sample rate

filter_type: AVResampleFilterType

< resampling filter type

kaiser_beta: c_int

< beta value for Kaiser window (only applicable if filter_type == AV_FILTER_TYPE_KAISER)

dither_method: AVResampleDitherMethod

< dither method

in_channels: c_int

< number of input channels

out_channels: c_int

< number of output channels

resample_channels: c_int

< number of channels used for resampling

downmix_needed: c_int

< downmixing is needed

upmix_needed: c_int

< upmixing is needed

mixing_needed: c_int

< either upmixing or downmixing is needed

resample_needed: c_int

< resampling is needed

in_convert_needed: c_int

< input sample format conversion is needed

out_convert_needed: c_int

< output sample format conversion is needed

in_copy_needed: c_int

< input data copy is needed

in_buffer: *mut AudioData

< buffer for converted input

resample_out_buffer: *mut AudioData

< buffer for output from resampler

out_buffer: *mut AudioData

< buffer for converted output

out_fifo: *mut AVAudioFifo

< FIFO for output samples

ac_in: *mut AudioConvert

< input sample format conversion context

ac_out: *mut AudioConvert

< output sample format conversion context

resample: *mut ResampleContext

< resampling context

am: *mut AudioMix

< channel mixing context

matrix_encoding: AVMatrixEncoding

< matrixed stereo encoding

mix_matrix: *mut f64

mix matrix only used if avresample_set_matrix() is called before avresample_open()

use_channel_map: c_intremap_point: RemapPointch_map_info: ChannelMapInfo

Trait Implementations

impl Clone for AVAudioResampleContext[src]

impl Copy for AVAudioResampleContext[src]

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