21 #ifndef AVRESAMPLE_INTERNAL_H 22 #define AVRESAMPLE_INTERNAL_H 25 #include "libavutil/log.h" 27 #include "libavutil/samplefmt.h" 97 enum AVMatrixEncoding matrix_encoding;
106 enum RemapPoint remap_point;
int in_channels
number of input channels
Definition: internal.h:77
AudioConvert * ac_in
input sample format conversion context
Definition: internal.h:93
int input_map[AVRESAMPLE_MAX_CHANNELS]
dest index of each input channel
Definition: internal.h:50
AudioData * out_buffer
buffer for converted output
Definition: internal.h:90
Audio buffer used for intermediate storage between conversion phases.
Definition: audio_data.h:37
enum attribute_deprecated AVResampleFilterType
Definition: avresample.h:123
int do_zero
zeroing needed
Definition: internal.h:49
double * mix_matrix
mix matrix only used if avresample_set_matrix() is called before avresample_open() ...
Definition: internal.h:103
uint64_t out_channel_layout
output channel layout
Definition: internal.h:59
enum attribute_deprecated AVMixCoeffType
Definition: avresample.h:112
Definition: audio_convert.c:48
double cutoff
resampling cutoff frequency.
Definition: internal.h:72
int channel_zero[AVRESAMPLE_MAX_CHANNELS]
dest index to zero
Definition: internal.h:48
Definition: af_resample.c:38
double surround_mix_level
surround mix level
Definition: internal.h:65
AudioData * in_buffer
buffer for converted input
Definition: internal.h:88
int out_channels
number of output channels
Definition: internal.h:78
int normalize_mix_level
enable mix level normalization
Definition: internal.h:67
AudioMix * am
channel mixing context
Definition: internal.h:96
Definition: internal.h:43
double center_mix_level
center mix level
Definition: internal.h:64
int out_convert_needed
output sample format conversion is needed
Definition: internal.h:85
AudioConvert * ac_out
output sample format conversion context
Definition: internal.h:94
Definition: audio_fifo.c:34
int channel_copy[AVRESAMPLE_MAX_CHANNELS]
dest index to copy from
Definition: internal.h:46
int upmix_needed
upmixing is needed
Definition: internal.h:81
ResampleContext * resample
resampling context
Definition: internal.h:95
int do_remap
remap needed
Definition: internal.h:45
Definition: audio_mix.c:33
int phase_shift
log2 of the number of entries in the resampling polyphase filterbank
Definition: internal.h:70
int linear_interp
if 1 then the resampling FIR filter will be linearly interpolated
Definition: internal.h:71
int kaiser_beta
beta value for Kaiser window (only applicable if filter_type == AV_FILTER_TYPE_KAISER) ...
Definition: internal.h:74
uint64_t in_channel_layout
input channel layout
Definition: internal.h:56
int in_sample_rate
input sample rate
Definition: internal.h:58
const AVClass * av_class
AVClass for logging and AVOptions.
Definition: internal.h:54
AVSampleFormat
Audio sample formats.
Definition: samplefmt.h:58
AVAudioFifo * out_fifo
FIFO for output samples.
Definition: internal.h:91
enum attribute_deprecated AVResampleDitherMethod
Definition: avresample.h:132
int force_resampling
force resampling
Definition: internal.h:68
Definition: internal.h:53
int in_copy_needed
input data copy is needed
Definition: internal.h:86
Describe the class of an AVClass context structure.
Definition: log.h:67
int filter_size
length of each FIR filter in the resampling filterbank relative to the cutoff frequency ...
Definition: internal.h:69
int in_convert_needed
input sample format conversion is needed
Definition: internal.h:84
int channel_map[AVRESAMPLE_MAX_CHANNELS]
source index of each output channel, -1 if not remapped
Definition: internal.h:44
int resample_channels
number of channels used for resampling
Definition: internal.h:79
AudioData * resample_out_buffer
buffer for output from resampler
Definition: internal.h:89
int resample_needed
resampling is needed
Definition: internal.h:83
int do_copy
copy needed
Definition: internal.h:47
int out_sample_rate
output sample rate
Definition: internal.h:61
int downmix_needed
downmixing is needed
Definition: internal.h:80
double lfe_mix_level
lfe mix level
Definition: internal.h:66
int mixing_needed
either upmixing or downmixing is needed
Definition: internal.h:82