FFmpeg  4.2.3
Data Fields
ShowSpectrumContext Struct Reference

Data Fields

const AVClassclass
 
int w
 
int h
 
char * rate_str
 
AVRational auto_frame_rate
 
AVRational frame_rate
 
AVFrameoutpicref
 
int nb_display_channels
 
int orientation
 
int channel_width
 
int channel_height
 
int sliding
 1 if sliding mode, 0 otherwise More...
 
int mode
 channel display mode More...
 
int color_mode
 display color scheme More...
 
int scale
 
int fscale
 
float saturation
 color saturation multiplier More...
 
float rotation
 color rotation More...
 
int start
 
int stop
 zoom mode More...
 
int data
 
int xpos
 x position (current column) More...
 
FFTContext ** fft
 Fast Fourier Transform context. More...
 
FFTContext ** ifft
 Inverse Fast Fourier Transform context. More...
 
int fft_bits
 number of bits (FFT window size = 1<<fft_bits) More...
 
FFTComplex ** fft_data
 bins holder for each (displayed) channels More...
 
FFTComplex ** fft_scratch
 scratch buffers More...
 
float * window_func_lut
 Window function LUT. More...
 
float ** magnitudes
 
float ** phases
 
int win_func
 
int win_size
 
int buf_size
 
double win_scale
 
float overlap
 
float gain
 
int consumed
 
int hop_size
 
float * combine_buffer
 color combining buffer (3 * h items) More...
 
float ** color_buffer
 color buffer (3 * h * ch items) More...
 
AVAudioFifofifo
 
int64_t pts
 
int64_t old_pts
 
int old_len
 
int single_pic
 
int legend
 
int start_x
 
int start_y
 
int(* plot_channel )(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs)
 

Detailed Description

Definition at line 54 of file avf_showspectrum.c.

Field Documentation

◆ class

const AVClass* ShowSpectrumContext::class

Definition at line 55 of file avf_showspectrum.c.

◆ w

int ShowSpectrumContext::w

◆ h

int ShowSpectrumContext::h

◆ rate_str

char* ShowSpectrumContext::rate_str

Definition at line 57 of file avf_showspectrum.c.

Referenced by config_output().

◆ auto_frame_rate

AVRational ShowSpectrumContext::auto_frame_rate

Definition at line 58 of file avf_showspectrum.c.

Referenced by config_output().

◆ frame_rate

AVRational ShowSpectrumContext::frame_rate

Definition at line 59 of file avf_showspectrum.c.

Referenced by config_output().

◆ outpicref

AVFrame* ShowSpectrumContext::outpicref

Definition at line 60 of file avf_showspectrum.c.

Referenced by config_output(), draw_legend(), plot_spectrum_column(), and uninit().

◆ nb_display_channels

int ShowSpectrumContext::nb_display_channels

◆ orientation

int ShowSpectrumContext::orientation

◆ channel_width

int ShowSpectrumContext::channel_width

Definition at line 63 of file avf_showspectrum.c.

Referenced by config_output(), plot_channel_lin(), and plot_channel_log().

◆ channel_height

int ShowSpectrumContext::channel_height

Definition at line 64 of file avf_showspectrum.c.

Referenced by config_output(), plot_channel_lin(), and plot_channel_log().

◆ sliding

int ShowSpectrumContext::sliding

1 if sliding mode, 0 otherwise

Definition at line 65 of file avf_showspectrum.c.

Referenced by config_output(), and plot_spectrum_column().

◆ mode

int ShowSpectrumContext::mode

channel display mode

Definition at line 66 of file avf_showspectrum.c.

Referenced by color_range(), config_output(), draw_legend(), plot_channel_lin(), and plot_channel_log().

◆ color_mode

int ShowSpectrumContext::color_mode

display color scheme

Definition at line 67 of file avf_showspectrum.c.

Referenced by color_range(), draw_legend(), pick_color(), and plot_spectrum_column().

◆ scale

int ShowSpectrumContext::scale

◆ fscale

int ShowSpectrumContext::fscale

Definition at line 69 of file avf_showspectrum.c.

Referenced by config_output(), draw_legend(), and plot_spectrum_column().

◆ saturation

float ShowSpectrumContext::saturation

color saturation multiplier

Definition at line 70 of file avf_showspectrum.c.

Referenced by color_range(), and plot_spectrum_column().

◆ rotation

float ShowSpectrumContext::rotation

color rotation

Definition at line 71 of file avf_showspectrum.c.

Referenced by color_range(), and plot_spectrum_column().

◆ start

int ShowSpectrumContext::start

◆ stop

int ShowSpectrumContext::stop

zoom mode

Definition at line 72 of file avf_showspectrum.c.

Referenced by config_output(), draw_legend(), plot_spectrum_column(), and run_channel_fft().

◆ data

int ShowSpectrumContext::data

Definition at line 73 of file avf_showspectrum.c.

Referenced by get_value(), and plot_spectrum_column().

◆ xpos

int ShowSpectrumContext::xpos

x position (current column)

Definition at line 74 of file avf_showspectrum.c.

Referenced by config_output(), and plot_spectrum_column().

◆ fft

FFTContext** ShowSpectrumContext::fft

Fast Fourier Transform context.

Definition at line 75 of file avf_showspectrum.c.

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

◆ ifft

FFTContext** ShowSpectrumContext::ifft

Inverse Fast Fourier Transform context.

Definition at line 76 of file avf_showspectrum.c.

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

◆ fft_bits

int ShowSpectrumContext::fft_bits

number of bits (FFT window size = 1<<fft_bits)

Definition at line 77 of file avf_showspectrum.c.

Referenced by config_output().

◆ fft_data

FFTComplex** ShowSpectrumContext::fft_data

bins holder for each (displayed) channels

Definition at line 78 of file avf_showspectrum.c.

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

◆ fft_scratch

FFTComplex** ShowSpectrumContext::fft_scratch

scratch buffers

Definition at line 79 of file avf_showspectrum.c.

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

◆ window_func_lut

float* ShowSpectrumContext::window_func_lut

Window function LUT.

Definition at line 80 of file avf_showspectrum.c.

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

◆ magnitudes

float** ShowSpectrumContext::magnitudes

◆ phases

float** ShowSpectrumContext::phases

Definition at line 82 of file avf_showspectrum.c.

Referenced by calc_channel_phases(), config_output(), get_value(), and uninit().

◆ win_func

int ShowSpectrumContext::win_func

Definition at line 83 of file avf_showspectrum.c.

Referenced by config_output(), and plot_spectrum_column().

◆ win_size

int ShowSpectrumContext::win_size

Definition at line 84 of file avf_showspectrum.c.

Referenced by config_output(), plot_spectrum_column(), and run_channel_fft().

◆ buf_size

int ShowSpectrumContext::buf_size

Definition at line 85 of file avf_showspectrum.c.

Referenced by config_output(), and run_channel_fft().

◆ win_scale

double ShowSpectrumContext::win_scale

Definition at line 86 of file avf_showspectrum.c.

Referenced by acalc_magnitudes(), calc_channel_magnitudes(), and config_output().

◆ overlap

float ShowSpectrumContext::overlap

Definition at line 87 of file avf_showspectrum.c.

Referenced by config_output().

◆ gain

float ShowSpectrumContext::gain

◆ consumed

int ShowSpectrumContext::consumed

Definition at line 89 of file avf_showspectrum.c.

Referenced by plot_spectrum_column().

◆ hop_size

int ShowSpectrumContext::hop_size

Definition at line 90 of file avf_showspectrum.c.

Referenced by config_output(), and plot_spectrum_column().

◆ combine_buffer

float* ShowSpectrumContext::combine_buffer

color combining buffer (3 * h items)

Definition at line 91 of file avf_showspectrum.c.

Referenced by clear_combine_buffer(), config_output(), plot_spectrum_column(), and uninit().

◆ color_buffer

float** ShowSpectrumContext::color_buffer

color buffer (3 * h * ch items)

Definition at line 92 of file avf_showspectrum.c.

Referenced by config_output(), plot_channel_lin(), plot_channel_log(), plot_spectrum_column(), and uninit().

◆ fifo

AVAudioFifo* ShowSpectrumContext::fifo

Definition at line 93 of file avf_showspectrum.c.

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

◆ pts

int64_t ShowSpectrumContext::pts

Definition at line 94 of file avf_showspectrum.c.

Referenced by plot_spectrum_column().

◆ old_pts

int64_t ShowSpectrumContext::old_pts

Definition at line 95 of file avf_showspectrum.c.

Referenced by plot_spectrum_column().

◆ old_len

int ShowSpectrumContext::old_len

Definition at line 96 of file avf_showspectrum.c.

Referenced by plot_spectrum_column().

◆ single_pic

int ShowSpectrumContext::single_pic

Definition at line 97 of file avf_showspectrum.c.

Referenced by config_output(), draw_legend(), and plot_spectrum_column().

◆ legend

int ShowSpectrumContext::legend

Definition at line 98 of file avf_showspectrum.c.

Referenced by config_output(), and plot_spectrum_column().

◆ start_x

int ShowSpectrumContext::start_x

Definition at line 99 of file avf_showspectrum.c.

Referenced by config_output(), draw_legend(), and plot_spectrum_column().

◆ start_y

int ShowSpectrumContext::start_y

Definition at line 99 of file avf_showspectrum.c.

Referenced by config_output(), draw_legend(), and plot_spectrum_column().

◆ plot_channel

int(* ShowSpectrumContext::plot_channel) (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs)

Definition at line 100 of file avf_showspectrum.c.

Referenced by config_output(), and plot_spectrum_column().


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