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

Data Fields

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

Detailed Description

Definition at line 156 of file af_amix.c.

Field Documentation

const AVClass* MixContext::class

class for AVOptions

Definition at line 157 of file af_amix.c.

AVFloatDSPContext* MixContext::fdsp

Definition at line 158 of file af_amix.c.

Referenced by init(), output_frame(), and uninit().

int MixContext::nb_inputs
int MixContext::active_inputs

number of input currently active

Definition at line 161 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 162 of file af_amix.c.

Referenced by calc_active_inputs().

float MixContext::dropout_transition

transition time when an input drops out

Definition at line 163 of file af_amix.c.

Referenced by calculate_scales().

int MixContext::nb_channels

number of channels

Definition at line 165 of file af_amix.c.

Referenced by config_output(), and output_frame().

int MixContext::sample_rate

sample rate

Definition at line 166 of file af_amix.c.

Referenced by calculate_scales(), and config_output().

int MixContext::planar

Definition at line 167 of file af_amix.c.

Referenced by config_output(), and output_frame().

AVAudioFifo** MixContext::fifos

audio fifo for each input

Definition at line 168 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 170 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 171 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 172 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 173 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: