FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

const AVClass* ShowSpectrumContext::class

Definition at line 52 of file avf_showspectrum.c.

int ShowSpectrumContext::w
int ShowSpectrumContext::h
AVFrame* ShowSpectrumContext::outpicref

Definition at line 54 of file avf_showspectrum.c.

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

int ShowSpectrumContext::nb_display_channels
int ShowSpectrumContext::orientation
int ShowSpectrumContext::channel_width

Definition at line 57 of file avf_showspectrum.c.

Referenced by config_output(), and plot_channel().

int ShowSpectrumContext::channel_height

Definition at line 58 of file avf_showspectrum.c.

Referenced by config_output(), and plot_channel().

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

int ShowSpectrumContext::mode

channel display mode

Definition at line 60 of file avf_showspectrum.c.

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

int ShowSpectrumContext::color_mode

display color scheme

Definition at line 61 of file avf_showspectrum.c.

Referenced by color_range(), and pick_color().

int ShowSpectrumContext::scale

Definition at line 62 of file avf_showspectrum.c.

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

float ShowSpectrumContext::saturation

color saturation multiplier

Definition at line 63 of file avf_showspectrum.c.

Referenced by color_range().

float ShowSpectrumContext::rotation

color rotation

Definition at line 64 of file avf_showspectrum.c.

Referenced by color_range().

int ShowSpectrumContext::data

Definition at line 65 of file avf_showspectrum.c.

Referenced by plot_channel().

int ShowSpectrumContext::xpos

x position (current column)

Definition at line 66 of file avf_showspectrum.c.

Referenced by config_output(), and plot_spectrum_column().

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

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

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

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

float** ShowSpectrumContext::magnitudes
float** ShowSpectrumContext::phases

Definition at line 72 of file avf_showspectrum.c.

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

int ShowSpectrumContext::win_func

Definition at line 73 of file avf_showspectrum.c.

Referenced by config_output().

int ShowSpectrumContext::win_size

Definition at line 74 of file avf_showspectrum.c.

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

double ShowSpectrumContext::win_scale

Definition at line 75 of file avf_showspectrum.c.

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

float ShowSpectrumContext::overlap

Definition at line 76 of file avf_showspectrum.c.

Referenced by config_output().

float ShowSpectrumContext::gain

Definition at line 77 of file avf_showspectrum.c.

Referenced by acalc_magnitudes(), and calc_channel_magnitudes().

int ShowSpectrumContext::hop_size

Definition at line 78 of file avf_showspectrum.c.

Referenced by config_output().

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

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

AVAudioFifo* ShowSpectrumContext::fifo

Definition at line 81 of file avf_showspectrum.c.

Referenced by config_output(), and uninit().

int64_t ShowSpectrumContext::pts

Definition at line 82 of file avf_showspectrum.c.

int ShowSpectrumContext::single_pic

Definition at line 83 of file avf_showspectrum.c.

Referenced by config_output(), and plot_spectrum_column().

int ShowSpectrumContext::legend

Definition at line 84 of file avf_showspectrum.c.

Referenced by config_output().

int ShowSpectrumContext::start_x

Definition at line 85 of file avf_showspectrum.c.

Referenced by config_output(), and plot_spectrum_column().

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: