FFmpeg  4.0
Data Fields
ShowSpectrumContext Struct Reference

Data Fields

const AVClassclass
 
int w
 
int h
 
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
 
float saturation
 color saturation multiplier More...
 
float rotation
 color rotation More...
 
int data
 
int xpos
 x position (current column) More...
 
FFTContext ** fft
 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...
 
float * window_func_lut
 Window function LUT. More...
 
float ** magnitudes
 
float ** phases
 
int win_func
 
int win_size
 
double win_scale
 
float overlap
 
float gain
 
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
 
int single_pic
 
int legend
 
int start_x
 
int start_y
 

Detailed Description

Definition at line 51 of file avf_showspectrum.c.

Field Documentation

◆ class

const AVClass* ShowSpectrumContext::class

Definition at line 52 of file avf_showspectrum.c.

◆ w

int ShowSpectrumContext::w

◆ h

int ShowSpectrumContext::h

◆ outpicref

AVFrame* ShowSpectrumContext::outpicref

Definition at line 54 of file avf_showspectrum.c.

Referenced by config_output(), 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 57 of file avf_showspectrum.c.

Referenced by config_output(), and plot_channel().

◆ channel_height

int ShowSpectrumContext::channel_height

Definition at line 58 of file avf_showspectrum.c.

Referenced by config_output(), and plot_channel().

◆ sliding

int ShowSpectrumContext::sliding

1 if sliding mode, 0 otherwise

Definition at line 59 of file avf_showspectrum.c.

Referenced by config_output(), and plot_spectrum_column().

◆ mode

int ShowSpectrumContext::mode

channel display mode

Definition at line 60 of file avf_showspectrum.c.

Referenced by color_range(), config_output(), plot_channel(), and plot_spectrum_column().

◆ color_mode

int ShowSpectrumContext::color_mode

display color scheme

Definition at line 61 of file avf_showspectrum.c.

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

◆ scale

int ShowSpectrumContext::scale

◆ saturation

float ShowSpectrumContext::saturation

color saturation multiplier

Definition at line 63 of file avf_showspectrum.c.

Referenced by color_range(), and plot_spectrum_column().

◆ rotation

float ShowSpectrumContext::rotation

color rotation

Definition at line 64 of file avf_showspectrum.c.

Referenced by color_range(), and plot_spectrum_column().

◆ data

int ShowSpectrumContext::data

Definition at line 65 of file avf_showspectrum.c.

Referenced by plot_channel(), and plot_spectrum_column().

◆ xpos

int ShowSpectrumContext::xpos

x position (current column)

Definition at line 66 of file avf_showspectrum.c.

Referenced by config_output(), and plot_spectrum_column().

◆ fft

FFTContext** ShowSpectrumContext::fft

Fast Fourier Transform context.

Definition at line 67 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 68 of file avf_showspectrum.c.

Referenced by config_output().

◆ fft_data

FFTComplex** ShowSpectrumContext::fft_data

bins holder for each (displayed) channels

Definition at line 69 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 70 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 72 of file avf_showspectrum.c.

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

◆ win_func

int ShowSpectrumContext::win_func

Definition at line 73 of file avf_showspectrum.c.

Referenced by config_output(), and plot_spectrum_column().

◆ win_size

int ShowSpectrumContext::win_size

Definition at line 74 of file avf_showspectrum.c.

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

◆ win_scale

double ShowSpectrumContext::win_scale

Definition at line 75 of file avf_showspectrum.c.

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

◆ overlap

float ShowSpectrumContext::overlap

Definition at line 76 of file avf_showspectrum.c.

Referenced by config_output().

◆ gain

float ShowSpectrumContext::gain

◆ hop_size

int ShowSpectrumContext::hop_size

Definition at line 78 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 79 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 80 of file avf_showspectrum.c.

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

◆ fifo

AVAudioFifo* ShowSpectrumContext::fifo

Definition at line 81 of file avf_showspectrum.c.

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

◆ pts

int64_t ShowSpectrumContext::pts

Definition at line 82 of file avf_showspectrum.c.

Referenced by config_output(), and plot_spectrum_column().

◆ single_pic

int ShowSpectrumContext::single_pic

Definition at line 83 of file avf_showspectrum.c.

Referenced by config_output(), and plot_spectrum_column().

◆ legend

int ShowSpectrumContext::legend

Definition at line 84 of file avf_showspectrum.c.

Referenced by config_output(), and plot_spectrum_column().

◆ start_x

int ShowSpectrumContext::start_x

Definition at line 85 of file avf_showspectrum.c.

Referenced by config_output(), and plot_spectrum_column().

◆ start_y

int ShowSpectrumContext::start_y

Definition at line 85 of file avf_showspectrum.c.

Referenced by config_output(), and plot_spectrum_column().


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