FFmpeg  4.0
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...
 
char * weights_str
 string for custom weights for every input 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 * weights
 custom weights for every input More...
 
float weight_sum
 sum of custom weights for every input More...
 
float * scale_norm
 normalization factor for every input More...
 
int64_t next_pts
 calculated pts for next output frame More...
 
FrameListframe_list
 list of frame info for the first input More...
 
const AVPixFmtDescriptordesc
 
int duration
 
float wfactor
 
int depth
 
int nb_planes
 
int linesize [4]
 
int height [4]
 
AVFrame ** frames
 
FFFrameSync fs
 

Detailed Description

Definition at line 157 of file af_amix.c.

Field Documentation

◆ class

const AVClass * MixContext::class

class for AVOptions

Definition at line 158 of file af_amix.c.

◆ fdsp

AVFloatDSPContext* MixContext::fdsp

Definition at line 159 of file af_amix.c.

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

◆ nb_inputs

int MixContext::nb_inputs

◆ active_inputs

int MixContext::active_inputs

number of input currently active

Definition at line 162 of file af_amix.c.

Referenced by calc_active_inputs(), and config_output().

◆ duration_mode

int MixContext::duration_mode

mode for determining duration

Definition at line 163 of file af_amix.c.

Referenced by calc_active_inputs().

◆ dropout_transition

float MixContext::dropout_transition

transition time when an input drops out

Definition at line 164 of file af_amix.c.

Referenced by calculate_scales().

◆ weights_str

char * MixContext::weights_str

string for custom weights for every input

Definition at line 165 of file af_amix.c.

Referenced by init().

◆ nb_channels

int MixContext::nb_channels

number of channels

Definition at line 167 of file af_amix.c.

Referenced by config_output(), and output_frame().

◆ sample_rate

int MixContext::sample_rate

sample rate

Definition at line 168 of file af_amix.c.

Referenced by calculate_scales(), and config_output().

◆ planar

int MixContext::planar

Definition at line 169 of file af_amix.c.

Referenced by config_output(), and output_frame().

◆ fifos

AVAudioFifo** MixContext::fifos

audio fifo for each input

Definition at line 170 of file af_amix.c.

Referenced by activate(), config_output(), output_frame(), request_samples(), and uninit().

◆ input_state

uint8_t* MixContext::input_state

current state of each input

Definition at line 171 of file af_amix.c.

Referenced by activate(), calc_active_inputs(), calculate_scales(), config_output(), output_frame(), request_samples(), and uninit().

◆ input_scale

float* MixContext::input_scale

mixing scale factor for each input

Definition at line 172 of file af_amix.c.

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

◆ weights

float * MixContext::weights

custom weights for every input

Definition at line 173 of file af_amix.c.

Referenced by calculate_scales(), config_output(), init(), process_frame(), and uninit().

◆ weight_sum

float MixContext::weight_sum

sum of custom weights for every input

Definition at line 174 of file af_amix.c.

Referenced by calculate_scales(), config_output(), and init().

◆ scale_norm

float* MixContext::scale_norm

normalization factor for every input

Definition at line 175 of file af_amix.c.

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

◆ next_pts

int64_t MixContext::next_pts

calculated pts for next output frame

Definition at line 176 of file af_amix.c.

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

◆ frame_list

FrameList* MixContext::frame_list

list of frame info for the first input

Definition at line 177 of file af_amix.c.

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

◆ desc

const AVPixFmtDescriptor* MixContext::desc

Definition at line 35 of file vf_mix.c.

Referenced by config_output(), and query_formats().

◆ duration

int MixContext::duration

Definition at line 38 of file vf_mix.c.

Referenced by config_output().

◆ wfactor

float MixContext::wfactor

Definition at line 40 of file vf_mix.c.

Referenced by init(), and process_frame().

◆ depth

int MixContext::depth

Definition at line 42 of file vf_mix.c.

Referenced by config_output(), and process_frame().

◆ nb_planes

int MixContext::nb_planes

Definition at line 43 of file vf_mix.c.

Referenced by config_output(), and process_frame().

◆ linesize

int MixContext::linesize[4]

Definition at line 44 of file vf_mix.c.

Referenced by config_output(), and process_frame().

◆ height

int MixContext::height[4]

Definition at line 45 of file vf_mix.c.

Referenced by config_output(), and process_frame().

◆ frames

AVFrame** MixContext::frames

Definition at line 47 of file vf_mix.c.

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

◆ fs

FFFrameSync MixContext::fs

Definition at line 48 of file vf_mix.c.

Referenced by activate(), config_output(), process_frame(), and uninit().


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