FFmpeg  4.0
Data Fields
AudioSurroundContext Struct Reference

Data Fields

const AVClassclass
 
char * out_channel_layout_str
 
char * in_channel_layout_str
 
float level_in
 
float level_out
 
float fc_in
 
float fc_out
 
float lfe_in
 
float lfe_out
 
float * input_levels
 
float * output_levels
 
int output_lfe
 
int lowcutf
 
int highcutf
 
float lowcut
 
float highcut
 
uint64_t out_channel_layout
 
uint64_t in_channel_layout
 
int nb_in_channels
 
int nb_out_channels
 
AVFrameinput
 
AVFrameoutput
 
AVFrameoverlap_buffer
 
int buf_size
 
int hop_size
 
AVAudioFifofifo
 
RDFTContext ** rdft
 
RDFTContext ** irdft
 
float * window_func_lut
 
int64_t pts
 
void(* filter )(AVFilterContext *ctx)
 
void(* upmix_stereo )(AVFilterContext *ctx, float l_phase, float r_phase, float c_phase, float mag_total, float x, float y, int n)
 
void(* upmix_2_1 )(AVFilterContext *ctx, float l_phase, float r_phase, float c_phase, float mag_total, float lfe_im, float lfe_re, float x, float y, int n)
 
void(* upmix_3_0 )(AVFilterContext *ctx, float l_phase, float r_phase, float c_mag, float c_phase, float mag_total, float x, float y, int n)
 
void(* upmix_5_0 )(AVFilterContext *ctx, float c_re, float c_im, float mag_totall, float mag_totalr, float fl_phase, float fr_phase, float bl_phase, float br_phase, float sl_phase, float sr_phase, float xl, float yl, float xr, float yr, int n)
 
void(* upmix_5_1 )(AVFilterContext *ctx, float c_re, float c_im, float lfe_re, float lfe_im, float mag_totall, float mag_totalr, float fl_phase, float fr_phase, float bl_phase, float br_phase, float sl_phase, float sr_phase, float xl, float yl, float xr, float yr, int n)
 

Detailed Description

Definition at line 29 of file af_surround.c.

Field Documentation

◆ class

const AVClass* AudioSurroundContext::class

Definition at line 30 of file af_surround.c.

◆ out_channel_layout_str

char* AudioSurroundContext::out_channel_layout_str

Definition at line 32 of file af_surround.c.

Referenced by init().

◆ in_channel_layout_str

char* AudioSurroundContext::in_channel_layout_str

Definition at line 33 of file af_surround.c.

Referenced by init().

◆ level_in

float AudioSurroundContext::level_in

Definition at line 35 of file af_surround.c.

Referenced by config_input(), and fft_channel().

◆ level_out

float AudioSurroundContext::level_out

Definition at line 36 of file af_surround.c.

Referenced by config_output(), and ifft_channel().

◆ fc_in

float AudioSurroundContext::fc_in

Definition at line 37 of file af_surround.c.

Referenced by config_input().

◆ fc_out

float AudioSurroundContext::fc_out

Definition at line 38 of file af_surround.c.

Referenced by config_output().

◆ lfe_in

float AudioSurroundContext::lfe_in

Definition at line 39 of file af_surround.c.

Referenced by config_input().

◆ lfe_out

float AudioSurroundContext::lfe_out

Definition at line 40 of file af_surround.c.

Referenced by config_output().

◆ input_levels

float* AudioSurroundContext::input_levels

Definition at line 42 of file af_surround.c.

Referenced by config_input(), fft_channel(), and uninit().

◆ output_levels

float* AudioSurroundContext::output_levels

Definition at line 43 of file af_surround.c.

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

◆ output_lfe

int AudioSurroundContext::output_lfe

◆ lowcutf

int AudioSurroundContext::lowcutf

Definition at line 45 of file af_surround.c.

Referenced by config_input(), and init().

◆ highcutf

int AudioSurroundContext::highcutf

Definition at line 46 of file af_surround.c.

Referenced by config_input(), and init().

◆ lowcut

float AudioSurroundContext::lowcut

◆ highcut

float AudioSurroundContext::highcut

◆ out_channel_layout

uint64_t AudioSurroundContext::out_channel_layout

Definition at line 51 of file af_surround.c.

Referenced by init(), and query_formats().

◆ in_channel_layout

uint64_t AudioSurroundContext::in_channel_layout

Definition at line 52 of file af_surround.c.

Referenced by init(), and query_formats().

◆ nb_in_channels

int AudioSurroundContext::nb_in_channels

Definition at line 53 of file af_surround.c.

Referenced by config_input(), and uninit().

◆ nb_out_channels

int AudioSurroundContext::nb_out_channels

Definition at line 54 of file af_surround.c.

Referenced by config_output(), and uninit().

◆ input

AVFrame* AudioSurroundContext::input

◆ output

AVFrame* AudioSurroundContext::output

◆ overlap_buffer

AVFrame* AudioSurroundContext::overlap_buffer

Definition at line 58 of file af_surround.c.

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

◆ buf_size

int AudioSurroundContext::buf_size

◆ hop_size

int AudioSurroundContext::hop_size

Definition at line 61 of file af_surround.c.

Referenced by filter_frame(), ifft_channel(), and init().

◆ fifo

AVAudioFifo* AudioSurroundContext::fifo

Definition at line 62 of file af_surround.c.

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

◆ rdft

RDFTContext** AudioSurroundContext::rdft

Definition at line 63 of file af_surround.c.

Referenced by config_input(), fft_channel(), and uninit().

◆ irdft

RDFTContext ** AudioSurroundContext::irdft

Definition at line 63 of file af_surround.c.

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

◆ window_func_lut

float* AudioSurroundContext::window_func_lut

Definition at line 64 of file af_surround.c.

Referenced by fft_channel(), ifft_channel(), init(), and uninit().

◆ pts

int64_t AudioSurroundContext::pts

Definition at line 66 of file af_surround.c.

Referenced by filter_frame(), and init().

◆ filter

void(* AudioSurroundContext::filter) (AVFilterContext *ctx)

Definition at line 68 of file af_surround.c.

Referenced by filter_frame(), and init().

◆ upmix_stereo

void(* AudioSurroundContext::upmix_stereo) (AVFilterContext *ctx, float l_phase, float r_phase, float c_phase, float mag_total, float x, float y, int n)

Definition at line 69 of file af_surround.c.

Referenced by filter_stereo(), and init().

◆ upmix_2_1

void(* AudioSurroundContext::upmix_2_1) (AVFilterContext *ctx, float l_phase, float r_phase, float c_phase, float mag_total, float lfe_im, float lfe_re, float x, float y, int n)

Definition at line 76 of file af_surround.c.

Referenced by filter_2_1(), and init().

◆ upmix_3_0

void(* AudioSurroundContext::upmix_3_0) (AVFilterContext *ctx, float l_phase, float r_phase, float c_mag, float c_phase, float mag_total, float x, float y, int n)

Definition at line 85 of file af_surround.c.

Referenced by filter_surround(), and init().

◆ upmix_5_0

void(* AudioSurroundContext::upmix_5_0) (AVFilterContext *ctx, float c_re, float c_im, float mag_totall, float mag_totalr, float fl_phase, float fr_phase, float bl_phase, float br_phase, float sl_phase, float sr_phase, float xl, float yl, float xr, float yr, int n)

Definition at line 93 of file af_surround.c.

Referenced by filter_5_0_side(), and init().

◆ upmix_5_1

void(* AudioSurroundContext::upmix_5_1) (AVFilterContext *ctx, float c_re, float c_im, float lfe_re, float lfe_im, float mag_totall, float mag_totalr, float fl_phase, float fr_phase, float bl_phase, float br_phase, float sl_phase, float sr_phase, float xl, float yl, float xr, float yr, int n)

Definition at line 102 of file af_surround.c.

Referenced by filter_5_1_back(), filter_5_1_side(), and init().


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