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 req_fullfilled
 
int nb_display_channels
 
int channel_height
 
int sliding
 1 if sliding mode, 0 otherwise
 
enum DisplayMode mode
 channel display mode
 
enum ColorMode color_mode
 display color scheme
 
enum DisplayScale scale
 
float saturation
 color saturation multiplier
 
int xpos
 x position (current column)
 
RDFTContextrdft
 Real Discrete Fourier Transform context.
 
int rdft_bits
 number of bits (RDFT window size = 1<<rdft_bits)
 
FFTSample ** rdft_data
 bins holder for each (displayed) channels
 
int filled
 number of samples (per channel) filled in current rdft_buffer
 
int consumed
 number of samples (per channel) consumed from the input frame
 
float * window_func_lut
 Window function LUT.
 
enum WindowFunc win_func
 
float * combine_buffer
 color combining buffer (3 * h items)
 

Detailed Description

Definition at line 42 of file avf_showspectrum.c.

Field Documentation

const AVClass* ShowSpectrumContext::class

Definition at line 43 of file avf_showspectrum.c.

int ShowSpectrumContext::w

Definition at line 44 of file avf_showspectrum.c.

Referenced by config_output().

int ShowSpectrumContext::h

Definition at line 44 of file avf_showspectrum.c.

Referenced by config_output().

AVFrame* ShowSpectrumContext::outpicref
int ShowSpectrumContext::req_fullfilled

Definition at line 46 of file avf_showspectrum.c.

Referenced by push_frame(), and request_frame().

int ShowSpectrumContext::nb_display_channels

Definition at line 47 of file avf_showspectrum.c.

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

int ShowSpectrumContext::channel_height

Definition at line 48 of file avf_showspectrum.c.

Referenced by config_output(), and plot_spectrum_column().

int ShowSpectrumContext::sliding

1 if sliding mode, 0 otherwise

Definition at line 49 of file avf_showspectrum.c.

Referenced by plot_spectrum_column().

enum DisplayMode ShowSpectrumContext::mode

channel display mode

Definition at line 50 of file avf_showspectrum.c.

Referenced by config_output(), and plot_spectrum_column().

enum ColorMode ShowSpectrumContext::color_mode

display color scheme

Definition at line 51 of file avf_showspectrum.c.

Referenced by plot_spectrum_column().

enum DisplayScale ShowSpectrumContext::scale

Definition at line 52 of file avf_showspectrum.c.

Referenced by plot_spectrum_column().

float ShowSpectrumContext::saturation

color saturation multiplier

Definition at line 53 of file avf_showspectrum.c.

Referenced by plot_spectrum_column().

int ShowSpectrumContext::xpos

x position (current column)

Definition at line 54 of file avf_showspectrum.c.

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

RDFTContext* ShowSpectrumContext::rdft

Real Discrete Fourier Transform context.

Definition at line 55 of file avf_showspectrum.c.

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

int ShowSpectrumContext::rdft_bits

number of bits (RDFT window size = 1<<rdft_bits)

Definition at line 56 of file avf_showspectrum.c.

Referenced by config_output(), and plot_spectrum_column().

FFTSample** ShowSpectrumContext::rdft_data

bins holder for each (displayed) channels

Definition at line 57 of file avf_showspectrum.c.

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

int ShowSpectrumContext::filled

number of samples (per channel) filled in current rdft_buffer

Definition at line 58 of file avf_showspectrum.c.

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

int ShowSpectrumContext::consumed

number of samples (per channel) consumed from the input frame

Definition at line 59 of file avf_showspectrum.c.

Referenced by filter_frame(), and plot_spectrum_column().

float* ShowSpectrumContext::window_func_lut

Window function LUT.

Definition at line 60 of file avf_showspectrum.c.

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

enum WindowFunc ShowSpectrumContext::win_func

Definition at line 61 of file avf_showspectrum.c.

Referenced by config_output().

float* ShowSpectrumContext::combine_buffer

color combining buffer (3 * h items)

Definition at line 62 of file avf_showspectrum.c.

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


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