AVAudioResampleContext Struct Reference

#include <internal.h>


Data Fields

const AVClassav_class
 AVClass for logging and AVOptions.
uint64_t in_channel_layout
 input channel layout
enum AVSampleFormat in_sample_fmt
 input sample format
int in_sample_rate
 input sample rate
uint64_t out_channel_layout
 output channel layout
enum AVSampleFormat out_sample_fmt
 output sample format
int out_sample_rate
 output sample rate
enum AVSampleFormat internal_sample_fmt
 internal sample format
enum AVMixCoeffType mix_coeff_type
 mixing coefficient type
double center_mix_level
 center mix level
double surround_mix_level
 surround mix level
double lfe_mix_level
 lfe mix level
int normalize_mix_level
 enable mix level normalization
int force_resampling
 force resampling
int filter_size
 length of each FIR filter in the resampling filterbank relative to the cutoff frequency
int phase_shift
 log2 of the number of entries in the resampling polyphase filterbank
int linear_interp
 if 1 then the resampling FIR filter will be linearly interpolated
double cutoff
 resampling cutoff frequency.
enum AVResampleFilterType filter_type
 resampling filter type
int kaiser_beta
 beta value for Kaiser window (only applicable if filter_type == AV_FILTER_TYPE_KAISER)
int in_channels
 number of input channels
int out_channels
 number of output channels
int resample_channels
 number of channels used for resampling
int downmix_needed
 downmixing is needed
int upmix_needed
 upmixing is needed
int mixing_needed
 either upmixing or downmixing is needed
int resample_needed
 resampling is needed
int in_convert_needed
 input sample format conversion is needed
int out_convert_needed
 output sample format conversion is needed
AudioDatain_buffer
 buffer for converted input
AudioDataresample_out_buffer
 buffer for output from resampler
AudioDataout_buffer
 buffer for converted output
AVAudioFifoout_fifo
 FIFO for output samples.
AudioConvertac_in
 input sample format conversion context
AudioConvertac_out
 output sample format conversion context
ResampleContextresample
 resampling context
AudioMixam
 channel mixing context
enum AVMatrixEncoding matrix_encoding
 matrixed stereo encoding


Detailed Description

Definition at line 34 of file internal.h.


Field Documentation

input sample format conversion context

Definition at line 72 of file internal.h.

Referenced by avresample_close(), avresample_convert(), and avresample_open().

output sample format conversion context

Definition at line 73 of file internal.h.

Referenced by avresample_close(), avresample_convert(), and avresample_open().

AVClass for logging and AVOptions.

Definition at line 35 of file internal.h.

Referenced by avresample_alloc_context().

center mix level

Definition at line 45 of file internal.h.

Referenced by ff_audio_mix_init().

resampling cutoff frequency.

1.0 corresponds to half the output sample rate

Definition at line 53 of file internal.h.

Referenced by ff_audio_resample_init().

downmixing is needed

Definition at line 60 of file internal.h.

Referenced by avresample_convert(), and avresample_open().

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

Definition at line 50 of file internal.h.

Referenced by ff_audio_resample_init().

resampling filter type

Definition at line 54 of file internal.h.

Referenced by ff_audio_resample_init().

force resampling

Definition at line 49 of file internal.h.

Referenced by avresample_open(), and avresample_set_compensation().

buffer for converted input

Definition at line 67 of file internal.h.

Referenced by avresample_close(), avresample_convert(), and avresample_open().

input channel layout

Definition at line 37 of file internal.h.

Referenced by avresample_get_matrix(), avresample_open(), avresample_set_matrix(), and ff_audio_mix_init().

number of input channels

Definition at line 57 of file internal.h.

Referenced by avresample_convert(), avresample_open(), and ff_audio_mix_init().

input sample format conversion is needed

Definition at line 64 of file internal.h.

Referenced by avresample_convert(), and avresample_open().

input sample format

Definition at line 38 of file internal.h.

Referenced by avresample_convert(), and avresample_open().

input sample rate

Definition at line 39 of file internal.h.

Referenced by avresample_open(), and ff_audio_resample_init().

internal sample format

Definition at line 43 of file internal.h.

Referenced by avresample_open(), ff_audio_mix_init(), and ff_audio_resample_init().

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

Definition at line 55 of file internal.h.

Referenced by ff_audio_resample_init().

lfe mix level

Definition at line 47 of file internal.h.

Referenced by ff_audio_mix_init().

if 1 then the resampling FIR filter will be linearly interpolated

Definition at line 52 of file internal.h.

Referenced by ff_audio_resample_init().

matrixed stereo encoding

Definition at line 76 of file internal.h.

Referenced by ff_audio_mix_init().

mixing coefficient type

Definition at line 44 of file internal.h.

Referenced by avresample_get_matrix(), avresample_set_matrix(), and ff_audio_mix_init().

either upmixing or downmixing is needed

Definition at line 62 of file internal.h.

Referenced by avresample_convert(), and avresample_open().

enable mix level normalization

Definition at line 48 of file internal.h.

Referenced by ff_audio_mix_init().

buffer for converted output

Definition at line 69 of file internal.h.

Referenced by avresample_close(), avresample_convert(), and avresample_open().

output channel layout

Definition at line 40 of file internal.h.

Referenced by avresample_get_matrix(), avresample_open(), avresample_set_matrix(), and ff_audio_mix_init().

number of output channels

Definition at line 58 of file internal.h.

Referenced by avresample_convert(), avresample_open(), avresample_set_compensation(), and ff_audio_mix_init().

output sample format conversion is needed

Definition at line 65 of file internal.h.

Referenced by avresample_convert(), and avresample_open().

output sample format

Definition at line 41 of file internal.h.

Referenced by avresample_convert(), avresample_open(), and avresample_set_compensation().

output sample rate

Definition at line 42 of file internal.h.

Referenced by avresample_open(), and ff_audio_resample_init().

log2 of the number of entries in the resampling polyphase filterbank

Definition at line 51 of file internal.h.

Referenced by ff_audio_resample_init().

number of channels used for resampling

Definition at line 59 of file internal.h.

Referenced by avresample_open(), and ff_audio_resample_init().

resampling is needed

Definition at line 63 of file internal.h.

Referenced by avresample_convert(), avresample_get_delay(), avresample_open(), and avresample_set_compensation().

buffer for output from resampler

Definition at line 68 of file internal.h.

Referenced by avresample_close(), avresample_convert(), and avresample_open().

surround mix level

Definition at line 46 of file internal.h.

Referenced by ff_audio_mix_init().

upmixing is needed

Definition at line 61 of file internal.h.

Referenced by avresample_convert(), and avresample_open().


The documentation for this struct was generated from the following file:

Generated on Fri Oct 26 02:50:14 2012 for FFmpeg by  doxygen 1.5.8