FFmpeg  4.0
Data Fields
ShowCQTContext Struct Reference

#include <libavfilter/avf_showcqt.h>

Data Fields

const AVClassclass
 
AVFilterContextctx
 
AVFrameaxis_frame
 
AVFramesono_frame
 
enum AVPixelFormat format
 
int sono_idx
 
int sono_count
 
int step
 
AVRational step_frac
 
int remaining_frac
 
int remaining_fill
 
int remaining_fill_max
 
int64_t next_pts
 
double * freq
 
FFTContextfft_ctx
 
Coeffscoeffs
 
FFTComplexfft_data
 
FFTComplexfft_result
 
FFTComplexcqt_result
 
float * attack_data
 
int fft_bits
 
int fft_len
 
int cqt_len
 
int cqt_align
 
ColorFloatc_buf
 
float * h_buf
 
float * rcp_h_buf
 
float * sono_v_buf
 
float * bar_v_buf
 
float cmatrix [3][3]
 
float cscheme_v [6]
 
void(* cqt_calc )(FFTComplex *dst, const FFTComplex *src, const Coeffs *coeffs, int len, int fft_len)
 
void(* permute_coeffs )(float *v, int len)
 
void(* draw_bar )(AVFrame *out, const float *h, const float *rcp_h, const ColorFloat *c, int bar_h, float bar_t)
 
void(* draw_axis )(AVFrame *out, AVFrame *axis, const ColorFloat *c, int off)
 
void(* draw_sono )(AVFrame *out, AVFrame *sono, int off, int idx)
 
void(* update_sono )(AVFrame *sono, const ColorFloat *c, int idx)
 
int64_t fft_time
 
int64_t cqt_time
 
int64_t process_cqt_time
 
int64_t update_sono_time
 
int64_t alloc_time
 
int64_t bar_time
 
int64_t axis_time
 
int64_t sono_time
 
int width
 
int height
 
AVRational rate
 
int bar_h
 
int axis_h
 
int sono_h
 
int fullhd
 
char * sono_v
 
char * bar_v
 
float sono_g
 
float bar_g
 
float bar_t
 
double timeclamp
 
double attack
 
double basefreq
 
double endfreq
 
float coeffclamp
 
char * tlength
 
int count
 
int fcount
 
char * fontfile
 
char * font
 
char * fontcolor
 
char * axisfile
 
int axis
 
int csp
 
char * cscheme
 

Detailed Description

Definition at line 46 of file avf_showcqt.h.

Field Documentation

◆ class

const AVClass* ShowCQTContext::class

Definition at line 47 of file avf_showcqt.h.

◆ ctx

AVFilterContext* ShowCQTContext::ctx

◆ axis_frame

AVFrame* ShowCQTContext::axis_frame

◆ sono_frame

AVFrame* ShowCQTContext::sono_frame

Definition at line 50 of file avf_showcqt.h.

Referenced by common_uninit(), config_output(), and plot_cqt().

◆ format

enum AVPixelFormat ShowCQTContext::format

◆ sono_idx

int ShowCQTContext::sono_idx

Definition at line 52 of file avf_showcqt.h.

Referenced by config_output(), and plot_cqt().

◆ sono_count

int ShowCQTContext::sono_count

Definition at line 53 of file avf_showcqt.h.

Referenced by config_output(), plot_cqt(), and process_cqt().

◆ step

int ShowCQTContext::step

Definition at line 54 of file avf_showcqt.h.

Referenced by config_output(), and filter_frame().

◆ step_frac

AVRational ShowCQTContext::step_frac

Definition at line 55 of file avf_showcqt.h.

Referenced by config_output(), and filter_frame().

◆ remaining_frac

int ShowCQTContext::remaining_frac

Definition at line 56 of file avf_showcqt.h.

Referenced by config_output(), and filter_frame().

◆ remaining_fill

int ShowCQTContext::remaining_fill

Definition at line 57 of file avf_showcqt.h.

Referenced by config_output(), and filter_frame().

◆ remaining_fill_max

int ShowCQTContext::remaining_fill_max

Definition at line 58 of file avf_showcqt.h.

Referenced by config_output(), filter_frame(), and plot_cqt().

◆ next_pts

int64_t ShowCQTContext::next_pts

Definition at line 59 of file avf_showcqt.h.

Referenced by config_output(), filter_frame(), and plot_cqt().

◆ freq

double* ShowCQTContext::freq

Definition at line 60 of file avf_showcqt.h.

Referenced by common_uninit(), config_output(), init_axis_color(), init_cqt(), and init_volume().

◆ fft_ctx

FFTContext* ShowCQTContext::fft_ctx

Definition at line 61 of file avf_showcqt.h.

Referenced by common_uninit(), config_output(), and plot_cqt().

◆ coeffs

Coeffs* ShowCQTContext::coeffs

Definition at line 62 of file avf_showcqt.h.

Referenced by common_uninit(), init_cqt(), and plot_cqt().

◆ fft_data

FFTComplex* ShowCQTContext::fft_data

Definition at line 63 of file avf_showcqt.h.

Referenced by common_uninit(), config_output(), filter_frame(), and plot_cqt().

◆ fft_result

FFTComplex* ShowCQTContext::fft_result

Definition at line 64 of file avf_showcqt.h.

Referenced by common_uninit(), config_output(), and plot_cqt().

◆ cqt_result

FFTComplex* ShowCQTContext::cqt_result

Definition at line 65 of file avf_showcqt.h.

Referenced by common_uninit(), config_output(), plot_cqt(), and process_cqt().

◆ attack_data

float* ShowCQTContext::attack_data

Definition at line 66 of file avf_showcqt.h.

Referenced by common_uninit(), config_output(), and plot_cqt().

◆ fft_bits

int ShowCQTContext::fft_bits

Definition at line 67 of file avf_showcqt.h.

Referenced by config_output().

◆ fft_len

int ShowCQTContext::fft_len

Definition at line 68 of file avf_showcqt.h.

Referenced by config_output(), filter_frame(), init_cqt(), and plot_cqt().

◆ cqt_len

int ShowCQTContext::cqt_len

◆ cqt_align

int ShowCQTContext::cqt_align

Definition at line 70 of file avf_showcqt.h.

Referenced by config_output(), and init_cqt().

◆ c_buf

ColorFloat* ShowCQTContext::c_buf

Definition at line 71 of file avf_showcqt.h.

Referenced by common_uninit(), config_output(), plot_cqt(), and process_cqt().

◆ h_buf

float* ShowCQTContext::h_buf

Definition at line 72 of file avf_showcqt.h.

Referenced by common_uninit(), config_output(), plot_cqt(), and process_cqt().

◆ rcp_h_buf

float* ShowCQTContext::rcp_h_buf

Definition at line 73 of file avf_showcqt.h.

Referenced by common_uninit(), config_output(), plot_cqt(), and process_cqt().

◆ sono_v_buf

float* ShowCQTContext::sono_v_buf

Definition at line 74 of file avf_showcqt.h.

Referenced by common_uninit(), init_volume(), and process_cqt().

◆ bar_v_buf

float* ShowCQTContext::bar_v_buf

Definition at line 75 of file avf_showcqt.h.

Referenced by common_uninit(), init_volume(), and process_cqt().

◆ cmatrix

float ShowCQTContext::cmatrix[3][3]

Definition at line 76 of file avf_showcqt.h.

Referenced by init_colormatrix(), and process_cqt().

◆ cscheme_v

float ShowCQTContext::cscheme_v[6]

Definition at line 77 of file avf_showcqt.h.

Referenced by init_cscheme(), and process_cqt().

◆ cqt_calc

void(* ShowCQTContext::cqt_calc) (FFTComplex *dst, const FFTComplex *src, const Coeffs *coeffs, int len, int fft_len)

Definition at line 79 of file avf_showcqt.h.

Referenced by config_output(), and plot_cqt().

◆ permute_coeffs

void(* ShowCQTContext::permute_coeffs) (float *v, int len)

Definition at line 81 of file avf_showcqt.h.

Referenced by config_output(), and init_cqt().

◆ draw_bar

void(* ShowCQTContext::draw_bar) (AVFrame *out, const float *h, const float *rcp_h, const ColorFloat *c, int bar_h, float bar_t)

Definition at line 82 of file avf_showcqt.h.

Referenced by config_output(), and plot_cqt().

◆ draw_axis

void(* ShowCQTContext::draw_axis) (AVFrame *out, AVFrame *axis, const ColorFloat *c, int off)

Definition at line 84 of file avf_showcqt.h.

Referenced by config_output(), and plot_cqt().

◆ draw_sono

void(* ShowCQTContext::draw_sono) (AVFrame *out, AVFrame *sono, int off, int idx)

Definition at line 85 of file avf_showcqt.h.

Referenced by config_output(), and plot_cqt().

◆ update_sono

void(* ShowCQTContext::update_sono) (AVFrame *sono, const ColorFloat *c, int idx)

Definition at line 86 of file avf_showcqt.h.

Referenced by config_output(), and plot_cqt().

◆ fft_time

int64_t ShowCQTContext::fft_time

Definition at line 88 of file avf_showcqt.h.

Referenced by common_uninit(), and plot_cqt().

◆ cqt_time

int64_t ShowCQTContext::cqt_time

Definition at line 89 of file avf_showcqt.h.

Referenced by common_uninit(), and plot_cqt().

◆ process_cqt_time

int64_t ShowCQTContext::process_cqt_time

Definition at line 90 of file avf_showcqt.h.

Referenced by common_uninit(), and plot_cqt().

◆ update_sono_time

int64_t ShowCQTContext::update_sono_time

Definition at line 91 of file avf_showcqt.h.

Referenced by common_uninit(), and plot_cqt().

◆ alloc_time

int64_t ShowCQTContext::alloc_time

Definition at line 92 of file avf_showcqt.h.

Referenced by common_uninit(), and plot_cqt().

◆ bar_time

int64_t ShowCQTContext::bar_time

Definition at line 93 of file avf_showcqt.h.

Referenced by common_uninit(), and plot_cqt().

◆ axis_time

int64_t ShowCQTContext::axis_time

Definition at line 94 of file avf_showcqt.h.

Referenced by common_uninit(), and plot_cqt().

◆ sono_time

int64_t ShowCQTContext::sono_time

Definition at line 95 of file avf_showcqt.h.

Referenced by common_uninit(), and plot_cqt().

◆ width

int ShowCQTContext::width

◆ height

int ShowCQTContext::height

Definition at line 97 of file avf_showcqt.h.

Referenced by config_output(), and init().

◆ rate

AVRational ShowCQTContext::rate

Definition at line 98 of file avf_showcqt.h.

Referenced by config_output().

◆ bar_h

int ShowCQTContext::bar_h

Definition at line 99 of file avf_showcqt.h.

Referenced by config_output(), init(), and plot_cqt().

◆ axis_h

int ShowCQTContext::axis_h

◆ sono_h

int ShowCQTContext::sono_h

Definition at line 101 of file avf_showcqt.h.

Referenced by config_output(), init(), and plot_cqt().

◆ fullhd

int ShowCQTContext::fullhd

Definition at line 102 of file avf_showcqt.h.

Referenced by init().

◆ sono_v

char* ShowCQTContext::sono_v

Definition at line 103 of file avf_showcqt.h.

Referenced by init_volume().

◆ bar_v

char* ShowCQTContext::bar_v

Definition at line 104 of file avf_showcqt.h.

Referenced by init_volume().

◆ sono_g

float ShowCQTContext::sono_g

Definition at line 105 of file avf_showcqt.h.

Referenced by process_cqt().

◆ bar_g

float ShowCQTContext::bar_g

Definition at line 106 of file avf_showcqt.h.

Referenced by process_cqt().

◆ bar_t

float ShowCQTContext::bar_t

Definition at line 107 of file avf_showcqt.h.

Referenced by plot_cqt().

◆ timeclamp

double ShowCQTContext::timeclamp

Definition at line 108 of file avf_showcqt.h.

Referenced by config_output(), init_axis_color(), init_cqt(), and init_volume().

◆ attack

double ShowCQTContext::attack

Definition at line 109 of file avf_showcqt.h.

Referenced by config_output().

◆ basefreq

double ShowCQTContext::basefreq

Definition at line 110 of file avf_showcqt.h.

Referenced by config_output(), and init_axis_color().

◆ endfreq

double ShowCQTContext::endfreq

Definition at line 111 of file avf_showcqt.h.

Referenced by config_output(), and init_axis_color().

◆ coeffclamp

float ShowCQTContext::coeffclamp

Definition at line 112 of file avf_showcqt.h.

◆ tlength

char* ShowCQTContext::tlength

Definition at line 113 of file avf_showcqt.h.

Referenced by init_cqt().

◆ count

int ShowCQTContext::count

Definition at line 114 of file avf_showcqt.h.

Referenced by config_output(), and plot_cqt().

◆ fcount

int ShowCQTContext::fcount

Definition at line 115 of file avf_showcqt.h.

Referenced by config_output(), init(), and process_cqt().

◆ fontfile

char* ShowCQTContext::fontfile

Definition at line 116 of file avf_showcqt.h.

Referenced by init_axis_from_font().

◆ font

char* ShowCQTContext::font

Definition at line 117 of file avf_showcqt.h.

Referenced by init_axis_from_font().

◆ fontcolor

char* ShowCQTContext::fontcolor

Definition at line 118 of file avf_showcqt.h.

Referenced by init_axis_color().

◆ axisfile

char* ShowCQTContext::axisfile

Definition at line 119 of file avf_showcqt.h.

Referenced by config_output(), and init_axis_from_file().

◆ axis

int ShowCQTContext::axis

Definition at line 120 of file avf_showcqt.h.

Referenced by config_output().

◆ csp

int ShowCQTContext::csp

Definition at line 121 of file avf_showcqt.h.

Referenced by init_colormatrix(), and plot_cqt().

◆ cscheme

char* ShowCQTContext::cscheme

Definition at line 122 of file avf_showcqt.h.

Referenced by init_cscheme().


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