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
 
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
 
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
 

Detailed Description

Definition at line 53 of file avf_showspectrum.c.

Field Documentation

const AVClass* ShowSpectrumContext::class

Definition at line 54 of file avf_showspectrum.c.

int ShowSpectrumContext::w
int ShowSpectrumContext::h
char* ShowSpectrumContext::rate_str

Definition at line 56 of file avf_showspectrum.c.

Referenced by config_output().

AVRational ShowSpectrumContext::auto_frame_rate

Definition at line 57 of file avf_showspectrum.c.

Referenced by config_output().

AVRational ShowSpectrumContext::frame_rate

Definition at line 58 of file avf_showspectrum.c.

Referenced by config_output().

AVFrame* ShowSpectrumContext::outpicref

Definition at line 59 of file avf_showspectrum.c.

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

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

Definition at line 62 of file avf_showspectrum.c.

Referenced by config_output(), and plot_channel().

int ShowSpectrumContext::channel_height

Definition at line 63 of file avf_showspectrum.c.

Referenced by config_output(), and plot_channel().

int ShowSpectrumContext::sliding

1 if sliding mode, 0 otherwise

Definition at line 64 of file avf_showspectrum.c.

Referenced by config_output(), and plot_spectrum_column().

int ShowSpectrumContext::mode

channel display mode

Definition at line 65 of file avf_showspectrum.c.

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

int ShowSpectrumContext::color_mode

display color scheme

Definition at line 66 of file avf_showspectrum.c.

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

int ShowSpectrumContext::scale

Definition at line 67 of file avf_showspectrum.c.

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

float ShowSpectrumContext::saturation

color saturation multiplier

Definition at line 68 of file avf_showspectrum.c.

Referenced by color_range().

float ShowSpectrumContext::rotation

color rotation

Definition at line 69 of file avf_showspectrum.c.

Referenced by color_range().

int ShowSpectrumContext::start

Definition at line 70 of file avf_showspectrum.c.

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

int ShowSpectrumContext::stop

zoom mode

Definition at line 70 of file avf_showspectrum.c.

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

int ShowSpectrumContext::data

Definition at line 71 of file avf_showspectrum.c.

Referenced by plot_channel().

int ShowSpectrumContext::xpos

x position (current column)

Definition at line 72 of file avf_showspectrum.c.

Referenced by config_output(), and plot_spectrum_column().

FFTContext** ShowSpectrumContext::fft

Fast Fourier Transform context.

Definition at line 73 of file avf_showspectrum.c.

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

FFTContext** ShowSpectrumContext::ifft

Inverse Fast Fourier Transform context.

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

Referenced by config_output().

FFTComplex** ShowSpectrumContext::fft_data

bins holder for each (displayed) channels

Definition at line 76 of file avf_showspectrum.c.

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

FFTComplex** ShowSpectrumContext::fft_scratch

scratch buffers

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

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

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

Definition at line 80 of file avf_showspectrum.c.

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

int ShowSpectrumContext::win_func

Definition at line 81 of file avf_showspectrum.c.

Referenced by config_output().

int ShowSpectrumContext::win_size

Definition at line 82 of file avf_showspectrum.c.

Referenced by config_output(), and run_channel_fft().

int ShowSpectrumContext::buf_size

Definition at line 83 of file avf_showspectrum.c.

Referenced by config_output(), and run_channel_fft().

double ShowSpectrumContext::win_scale

Definition at line 84 of file avf_showspectrum.c.

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

float ShowSpectrumContext::overlap

Definition at line 85 of file avf_showspectrum.c.

Referenced by config_output().

float ShowSpectrumContext::gain

Definition at line 86 of file avf_showspectrum.c.

Referenced by acalc_magnitudes(), and calc_channel_magnitudes().

int ShowSpectrumContext::consumed

Definition at line 87 of file avf_showspectrum.c.

int ShowSpectrumContext::hop_size

Definition at line 88 of file avf_showspectrum.c.

Referenced by config_output().

float* ShowSpectrumContext::combine_buffer

color combining buffer (3 * h items)

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

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

AVAudioFifo* ShowSpectrumContext::fifo

Definition at line 91 of file avf_showspectrum.c.

Referenced by config_output(), and uninit().

int64_t ShowSpectrumContext::pts

Definition at line 92 of file avf_showspectrum.c.

int64_t ShowSpectrumContext::old_pts

Definition at line 93 of file avf_showspectrum.c.

Referenced by plot_spectrum_column().

int ShowSpectrumContext::old_len

Definition at line 94 of file avf_showspectrum.c.

Referenced by plot_spectrum_column().

int ShowSpectrumContext::single_pic

Definition at line 95 of file avf_showspectrum.c.

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

int ShowSpectrumContext::legend

Definition at line 96 of file avf_showspectrum.c.

Referenced by config_output(), and plot_spectrum_column().

int ShowSpectrumContext::start_x

Definition at line 97 of file avf_showspectrum.c.

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

int ShowSpectrumContext::start_y

Definition at line 97 of file avf_showspectrum.c.

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


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