FFmpeg
Data Fields
AVAudioResampleContext Struct Reference

#include <internal.h>

Data Fields

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

Detailed Description

Definition at line 53 of file internal.h.

Field Documentation

◆ av_class

const AVClass* AVAudioResampleContext::av_class

AVClass for logging and AVOptions

Definition at line 54 of file internal.h.

Referenced by avresample_alloc_context().

◆ in_channel_layout

uint64_t AVAudioResampleContext::in_channel_layout

◆ in_sample_fmt

enum AVSampleFormat AVAudioResampleContext::in_sample_fmt

input sample format

Definition at line 57 of file internal.h.

Referenced by avresample_config(), avresample_convert(), avresample_open(), and config_changed().

◆ in_sample_rate

int AVAudioResampleContext::in_sample_rate

◆ out_channel_layout

uint64_t AVAudioResampleContext::out_channel_layout

◆ out_sample_fmt

enum AVSampleFormat AVAudioResampleContext::out_sample_fmt

output sample format

Definition at line 60 of file internal.h.

Referenced by avresample_config(), avresample_convert(), avresample_open(), and config_changed().

◆ out_sample_rate

int AVAudioResampleContext::out_sample_rate

output sample rate

Definition at line 61 of file internal.h.

Referenced by avresample_config(), avresample_get_out_samples(), avresample_open(), config_changed(), and ff_audio_resample_init().

◆ internal_sample_fmt

enum AVSampleFormat AVAudioResampleContext::internal_sample_fmt

internal sample format

Definition at line 62 of file internal.h.

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

◆ mix_coeff_type

enum AVMixCoeffType AVAudioResampleContext::mix_coeff_type

mixing coefficient type

Definition at line 63 of file internal.h.

Referenced by ff_audio_mix_alloc().

◆ center_mix_level

double AVAudioResampleContext::center_mix_level

center mix level

Definition at line 64 of file internal.h.

Referenced by ff_audio_mix_alloc().

◆ surround_mix_level

double AVAudioResampleContext::surround_mix_level

surround mix level

Definition at line 65 of file internal.h.

Referenced by ff_audio_mix_alloc().

◆ lfe_mix_level

double AVAudioResampleContext::lfe_mix_level

lfe mix level

Definition at line 66 of file internal.h.

Referenced by ff_audio_mix_alloc().

◆ normalize_mix_level

int AVAudioResampleContext::normalize_mix_level

enable mix level normalization

Definition at line 67 of file internal.h.

Referenced by ff_audio_mix_alloc().

◆ force_resampling

int AVAudioResampleContext::force_resampling

force resampling

Definition at line 68 of file internal.h.

Referenced by avresample_open().

◆ filter_size

int AVAudioResampleContext::filter_size

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

Definition at line 69 of file internal.h.

Referenced by ff_audio_resample_init().

◆ phase_shift

int AVAudioResampleContext::phase_shift

log2 of the number of entries in the resampling polyphase filterbank

Definition at line 70 of file internal.h.

Referenced by ff_audio_resample_init().

◆ linear_interp

int AVAudioResampleContext::linear_interp

if 1 then the resampling FIR filter will be linearly interpolated

Definition at line 71 of file internal.h.

Referenced by ff_audio_resample_init().

◆ cutoff

double AVAudioResampleContext::cutoff

resampling cutoff frequency.

1.0 corresponds to half the output sample rate

Definition at line 72 of file internal.h.

Referenced by ff_audio_resample_init().

◆ filter_type

enum AVResampleFilterType AVAudioResampleContext::filter_type

resampling filter type

Definition at line 73 of file internal.h.

Referenced by ff_audio_resample_init().

◆ kaiser_beta

int AVAudioResampleContext::kaiser_beta

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

Definition at line 74 of file internal.h.

Referenced by ff_audio_resample_init().

◆ dither_method

enum AVResampleDitherMethod AVAudioResampleContext::dither_method

dither method

Definition at line 75 of file internal.h.

Referenced by ff_dither_alloc().

◆ in_channels

int AVAudioResampleContext::in_channels

number of input channels

Definition at line 77 of file internal.h.

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

◆ out_channels

int AVAudioResampleContext::out_channels

number of output channels

Definition at line 78 of file internal.h.

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

◆ resample_channels

int AVAudioResampleContext::resample_channels

number of channels used for resampling

Definition at line 79 of file internal.h.

Referenced by avresample_open(), and ff_audio_resample_init().

◆ downmix_needed

int AVAudioResampleContext::downmix_needed

downmixing is needed

Definition at line 80 of file internal.h.

Referenced by avresample_convert(), and avresample_open().

◆ upmix_needed

int AVAudioResampleContext::upmix_needed

upmixing is needed

Definition at line 81 of file internal.h.

Referenced by avresample_convert(), and avresample_open().

◆ mixing_needed

int AVAudioResampleContext::mixing_needed

either upmixing or downmixing is needed

Definition at line 82 of file internal.h.

Referenced by avresample_open().

◆ resample_needed

int AVAudioResampleContext::resample_needed

◆ in_convert_needed

int AVAudioResampleContext::in_convert_needed

input sample format conversion is needed

Definition at line 84 of file internal.h.

Referenced by avresample_convert(), and avresample_open().

◆ out_convert_needed

int AVAudioResampleContext::out_convert_needed

output sample format conversion is needed

Definition at line 85 of file internal.h.

Referenced by avresample_convert(), and avresample_open().

◆ in_copy_needed

int AVAudioResampleContext::in_copy_needed

input data copy is needed

Definition at line 86 of file internal.h.

Referenced by avresample_convert(), and avresample_open().

◆ in_buffer

AudioData* AVAudioResampleContext::in_buffer

buffer for converted input

Definition at line 88 of file internal.h.

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

◆ resample_out_buffer

AudioData* AVAudioResampleContext::resample_out_buffer

buffer for output from resampler

Definition at line 89 of file internal.h.

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

◆ out_buffer

AudioData* AVAudioResampleContext::out_buffer

buffer for converted output

Definition at line 90 of file internal.h.

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

◆ out_fifo

AVAudioFifo* AVAudioResampleContext::out_fifo

◆ ac_in

AudioConvert* AVAudioResampleContext::ac_in

input sample format conversion context

Definition at line 93 of file internal.h.

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

◆ ac_out

AudioConvert* AVAudioResampleContext::ac_out

output sample format conversion context

Definition at line 94 of file internal.h.

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

◆ resample

ResampleContext* AVAudioResampleContext::resample

◆ am

AudioMix* AVAudioResampleContext::am

channel mixing context

Definition at line 96 of file internal.h.

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

◆ matrix_encoding

enum AVMatrixEncoding AVAudioResampleContext::matrix_encoding

matrixed stereo encoding

Definition at line 97 of file internal.h.

Referenced by ff_audio_mix_alloc().

◆ mix_matrix

double* AVAudioResampleContext::mix_matrix

◆ use_channel_map

int AVAudioResampleContext::use_channel_map

Definition at line 105 of file internal.h.

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

◆ remap_point

enum RemapPoint AVAudioResampleContext::remap_point

Definition at line 106 of file internal.h.

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

◆ ch_map_info

ChannelMapInfo AVAudioResampleContext::ch_map_info

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