21 #ifndef AVRESAMPLE_INTERNAL_H
22 #define AVRESAMPLE_INTERNAL_H
enum attribute_deprecated AVResampleDitherMethod
enum attribute_deprecated AVResampleFilterType
enum attribute_deprecated AVMixCoeffType
#define AVRESAMPLE_MAX_CHANNELS
AVSampleFormat
Audio sample formats.
void ff_audio_resample_init_arm(ResampleContext *c, enum AVSampleFormat sample_fmt)
void ff_audio_resample_init_aarch64(ResampleContext *c, enum AVSampleFormat sample_fmt)
Context for an Audio FIFO Buffer.
double cutoff
resampling cutoff frequency.
enum AVMixCoeffType mix_coeff_type
mixing coefficient type
int downmix_needed
downmixing is needed
ChannelMapInfo ch_map_info
AudioMix * am
channel mixing context
int mixing_needed
either upmixing or downmixing is needed
int normalize_mix_level
enable mix level normalization
uint64_t in_channel_layout
input channel layout
enum AVSampleFormat internal_sample_fmt
internal sample format
enum AVMatrixEncoding matrix_encoding
matrixed stereo encoding
uint64_t out_channel_layout
output channel layout
int out_sample_rate
output sample rate
int in_convert_needed
input sample format conversion is needed
enum AVResampleDitherMethod dither_method
dither method
AudioConvert * ac_out
output sample format conversion context
int out_convert_needed
output sample format conversion is needed
enum AVSampleFormat in_sample_fmt
input sample format
ResampleContext * resample
resampling context
AudioData * out_buffer
buffer for converted output
int phase_shift
log2 of the number of entries in the resampling polyphase filterbank
double center_mix_level
center mix level
int in_sample_rate
input sample rate
int linear_interp
if 1 then the resampling FIR filter will be linearly interpolated
enum AVResampleFilterType filter_type
resampling filter type
enum RemapPoint remap_point
int kaiser_beta
beta value for Kaiser window (only applicable if filter_type == AV_FILTER_TYPE_KAISER)
AudioData * resample_out_buffer
buffer for output from resampler
AudioConvert * ac_in
input sample format conversion context
AVAudioFifo * out_fifo
FIFO for output samples
int upmix_needed
upmixing is needed
int resample_channels
number of channels used for resampling
enum AVSampleFormat out_sample_fmt
output sample format
int in_copy_needed
input data copy is needed
int out_channels
number of output channels
const AVClass * av_class
AVClass for logging and AVOptions
int filter_size
length of each FIR filter in the resampling filterbank relative to the cutoff frequency
double lfe_mix_level
lfe mix level
int resample_needed
resampling is needed
AudioData * in_buffer
buffer for converted input
int force_resampling
force resampling
int in_channels
number of input channels
double * mix_matrix
mix matrix only used if avresample_set_matrix() is called before avresample_open()
double surround_mix_level
surround mix level
Describe the class of an AVClass context structure.
Audio buffer used for intermediate storage between conversion phases.
int channel_map[AVRESAMPLE_MAX_CHANNELS]
source index of each output channel, -1 if not remapped
int input_map[AVRESAMPLE_MAX_CHANNELS]
dest index of each input channel
int channel_copy[AVRESAMPLE_MAX_CHANNELS]
dest index to copy from
int do_zero
zeroing needed
int channel_zero[AVRESAMPLE_MAX_CHANNELS]
dest index to zero