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...
 
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 scale
 
float wfactor
 
int tmix
 
int nb_frames
 
int depth
 
int max
 
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

const AVClass * MixContext::class

class for AVOptions

Definition at line 158 of file af_amix.c.

AVFloatDSPContext* MixContext::fdsp

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

Referenced by calc_active_inputs(), and config_output().

int MixContext::duration_mode

mode for determining duration

Definition at line 163 of file af_amix.c.

Referenced by calc_active_inputs().

float MixContext::dropout_transition

transition time when an input drops out

Definition at line 164 of file af_amix.c.

Referenced by calculate_scales().

char * MixContext::weights_str

string for custom weights for every input

Definition at line 165 of file af_amix.c.

Referenced by init().

int MixContext::nb_channels

number of channels

Definition at line 167 of file af_amix.c.

Referenced by config_output(), and output_frame().

int MixContext::sample_rate

sample rate

Definition at line 168 of file af_amix.c.

Referenced by calculate_scales(), and config_output().

int MixContext::planar

Definition at line 169 of file af_amix.c.

Referenced by config_output(), and output_frame().

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().

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().

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().

float * MixContext::weights

custom weights for every input

Definition at line 173 of file af_amix.c.

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

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().

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().

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().

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().

const AVPixFmtDescriptor* MixContext::desc

Definition at line 35 of file vf_mix.c.

Referenced by config_output().

int MixContext::duration

Definition at line 38 of file vf_mix.c.

Referenced by config_output().

float MixContext::scale

Definition at line 40 of file vf_mix.c.

Referenced by init().

float MixContext::wfactor

Definition at line 41 of file vf_mix.c.

Referenced by init(), and mix_frames().

int MixContext::tmix

Definition at line 43 of file vf_mix.c.

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

int MixContext::nb_frames

Definition at line 44 of file vf_mix.c.

Referenced by uninit().

int MixContext::depth

Definition at line 46 of file vf_mix.c.

Referenced by config_output(), and mix_frames().

int MixContext::max

Definition at line 47 of file vf_mix.c.

Referenced by config_output(), and mix_frames().

int MixContext::nb_planes

Definition at line 48 of file vf_mix.c.

Referenced by config_output(), and mix_frames().

int MixContext::linesize[4]

Definition at line 49 of file vf_mix.c.

Referenced by config_output(), and mix_frames().

int MixContext::height[4]

Definition at line 50 of file vf_mix.c.

Referenced by config_output(), mix_frames(), and process_frame().

AVFrame** MixContext::frames

Definition at line 52 of file vf_mix.c.

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

FFFrameSync MixContext::fs

Definition at line 53 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: