FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
MixContext Struct Reference

Data Fields

const AVClassclass
 class for AVOptions
 
AVFloatDSPContext fdsp
 
int nb_inputs
 number of inputs
 
int active_inputs
 number of input currently active
 
int duration_mode
 mode for determining duration
 
float dropout_transition
 transition time when an input drops out
 
int nb_channels
 number of channels
 
int sample_rate
 sample rate
 
int planar
 
AVAudioFifo ** fifos
 audio fifo for each input
 
uint8_tinput_state
 current state of each input
 
float * input_scale
 mixing scale factor for each input
 
float scale_norm
 normalization factor for all inputs
 
int64_t next_pts
 calculated pts for next output frame
 
FrameListframe_list
 list of frame info for the first input
 

Detailed Description

Definition at line 155 of file af_amix.c.

Field Documentation

const AVClass* MixContext::class

class for AVOptions

Definition at line 156 of file af_amix.c.

Referenced by init().

AVFloatDSPContext MixContext::fdsp

Definition at line 157 of file af_amix.c.

Referenced by init(), and output_frame().

int MixContext::nb_inputs
int MixContext::active_inputs

number of input currently active

Definition at line 160 of file af_amix.c.

Referenced by calc_active_inputs(), calculate_scales(), config_output(), and request_frame().

int MixContext::duration_mode

mode for determining duration

Definition at line 161 of file af_amix.c.

Referenced by calc_active_inputs().

float MixContext::dropout_transition

transition time when an input drops out

Definition at line 162 of file af_amix.c.

Referenced by calculate_scales().

int MixContext::nb_channels

number of channels

Definition at line 164 of file af_amix.c.

Referenced by config_output(), and output_frame().

int MixContext::sample_rate

sample rate

Definition at line 165 of file af_amix.c.

Referenced by calculate_scales(), and config_output().

int MixContext::planar

Definition at line 166 of file af_amix.c.

Referenced by config_output(), and output_frame().

AVAudioFifo** MixContext::fifos

audio fifo for each input

Definition at line 167 of file af_amix.c.

Referenced by config_output(), filter_frame(), get_available_samples(), output_frame(), request_samples(), and uninit().

uint8_t* MixContext::input_state
float* MixContext::input_scale

mixing scale factor for each input

Definition at line 169 of file af_amix.c.

Referenced by calculate_scales(), config_output(), output_frame(), and uninit().

float MixContext::scale_norm

normalization factor for all inputs

Definition at line 170 of file af_amix.c.

Referenced by calculate_scales(), and config_output().

int64_t MixContext::next_pts

calculated pts for next output frame

Definition at line 171 of file af_amix.c.

Referenced by config_output(), output_frame(), and request_frame().

FrameList* MixContext::frame_list

list of frame info for the first input

Definition at line 172 of file af_amix.c.

Referenced by config_output(), filter_frame(), request_frame(), and uninit().


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