FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ShowCQTContext Struct Reference

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

const AVClass* ShowCQTContext::class

Definition at line 47 of file avf_showcqt.h.

AVFilterContext* ShowCQTContext::ctx
AVFrame* ShowCQTContext::axis_frame
AVFrame* ShowCQTContext::sono_frame

Definition at line 50 of file avf_showcqt.h.

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

enum AVPixelFormat ShowCQTContext::format
int ShowCQTContext::sono_idx

Definition at line 52 of file avf_showcqt.h.

Referenced by config_output(), and plot_cqt().

int ShowCQTContext::sono_count

Definition at line 53 of file avf_showcqt.h.

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

int ShowCQTContext::step

Definition at line 54 of file avf_showcqt.h.

Referenced by config_output(), and filter_frame().

AVRational ShowCQTContext::step_frac

Definition at line 55 of file avf_showcqt.h.

Referenced by config_output(), and filter_frame().

int ShowCQTContext::remaining_frac

Definition at line 56 of file avf_showcqt.h.

Referenced by config_output(), and filter_frame().

int ShowCQTContext::remaining_fill

Definition at line 57 of file avf_showcqt.h.

Referenced by config_output(), and filter_frame().

int ShowCQTContext::remaining_fill_max

Definition at line 58 of file avf_showcqt.h.

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

int64_t ShowCQTContext::next_pts

Definition at line 59 of file avf_showcqt.h.

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

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

FFTContext* ShowCQTContext::fft_ctx

Definition at line 61 of file avf_showcqt.h.

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

Coeffs* ShowCQTContext::coeffs

Definition at line 62 of file avf_showcqt.h.

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

FFTComplex* ShowCQTContext::fft_data

Definition at line 63 of file avf_showcqt.h.

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

FFTComplex* ShowCQTContext::fft_result

Definition at line 64 of file avf_showcqt.h.

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

FFTComplex* ShowCQTContext::cqt_result

Definition at line 65 of file avf_showcqt.h.

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

float* ShowCQTContext::attack_data

Definition at line 66 of file avf_showcqt.h.

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

int ShowCQTContext::fft_bits

Definition at line 67 of file avf_showcqt.h.

Referenced by config_output().

int ShowCQTContext::fft_len

Definition at line 68 of file avf_showcqt.h.

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

int ShowCQTContext::cqt_len
int ShowCQTContext::cqt_align

Definition at line 70 of file avf_showcqt.h.

Referenced by config_output(), and init_cqt().

ColorFloat* ShowCQTContext::c_buf

Definition at line 71 of file avf_showcqt.h.

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

float* ShowCQTContext::h_buf

Definition at line 72 of file avf_showcqt.h.

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

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

float* ShowCQTContext::sono_v_buf

Definition at line 74 of file avf_showcqt.h.

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

float* ShowCQTContext::bar_v_buf

Definition at line 75 of file avf_showcqt.h.

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

float ShowCQTContext::cmatrix[3][3]

Definition at line 76 of file avf_showcqt.h.

Referenced by init_colormatrix(), and process_cqt().

float ShowCQTContext::cscheme_v[6]

Definition at line 77 of file avf_showcqt.h.

Referenced by init_cscheme(), and process_cqt().

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

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

Definition at line 81 of file avf_showcqt.h.

Referenced by config_output(), and init_cqt().

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

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

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

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

int64_t ShowCQTContext::fft_time

Definition at line 88 of file avf_showcqt.h.

Referenced by common_uninit(), and plot_cqt().

int64_t ShowCQTContext::cqt_time

Definition at line 89 of file avf_showcqt.h.

Referenced by common_uninit(), and plot_cqt().

int64_t ShowCQTContext::process_cqt_time

Definition at line 90 of file avf_showcqt.h.

Referenced by common_uninit(), and plot_cqt().

int64_t ShowCQTContext::update_sono_time

Definition at line 91 of file avf_showcqt.h.

Referenced by common_uninit(), and plot_cqt().

int64_t ShowCQTContext::alloc_time

Definition at line 92 of file avf_showcqt.h.

Referenced by common_uninit(), and plot_cqt().

int64_t ShowCQTContext::bar_time

Definition at line 93 of file avf_showcqt.h.

Referenced by common_uninit(), and plot_cqt().

int64_t ShowCQTContext::axis_time

Definition at line 94 of file avf_showcqt.h.

Referenced by common_uninit(), and plot_cqt().

int64_t ShowCQTContext::sono_time

Definition at line 95 of file avf_showcqt.h.

Referenced by common_uninit(), and plot_cqt().

int ShowCQTContext::width
int ShowCQTContext::height

Definition at line 97 of file avf_showcqt.h.

Referenced by config_output(), and init().

AVRational ShowCQTContext::rate

Definition at line 98 of file avf_showcqt.h.

Referenced by config_output().

int ShowCQTContext::bar_h

Definition at line 99 of file avf_showcqt.h.

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

int ShowCQTContext::axis_h
int ShowCQTContext::sono_h

Definition at line 101 of file avf_showcqt.h.

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

int ShowCQTContext::fullhd

Definition at line 102 of file avf_showcqt.h.

Referenced by init().

char* ShowCQTContext::sono_v

Definition at line 103 of file avf_showcqt.h.

Referenced by init_volume().

char* ShowCQTContext::bar_v

Definition at line 104 of file avf_showcqt.h.

Referenced by init_volume().

float ShowCQTContext::sono_g

Definition at line 105 of file avf_showcqt.h.

Referenced by process_cqt().

float ShowCQTContext::bar_g

Definition at line 106 of file avf_showcqt.h.

Referenced by process_cqt().

float ShowCQTContext::bar_t

Definition at line 107 of file avf_showcqt.h.

Referenced by plot_cqt().

double ShowCQTContext::timeclamp

Definition at line 108 of file avf_showcqt.h.

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

double ShowCQTContext::attack

Definition at line 109 of file avf_showcqt.h.

Referenced by config_output().

double ShowCQTContext::basefreq

Definition at line 110 of file avf_showcqt.h.

Referenced by config_output(), and init_axis_color().

double ShowCQTContext::endfreq

Definition at line 111 of file avf_showcqt.h.

Referenced by config_output(), and init_axis_color().

float ShowCQTContext::coeffclamp

Definition at line 112 of file avf_showcqt.h.

char* ShowCQTContext::tlength

Definition at line 113 of file avf_showcqt.h.

Referenced by init_cqt().

int ShowCQTContext::count

Definition at line 114 of file avf_showcqt.h.

Referenced by config_output(), and plot_cqt().

int ShowCQTContext::fcount

Definition at line 115 of file avf_showcqt.h.

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

char* ShowCQTContext::fontfile

Definition at line 116 of file avf_showcqt.h.

Referenced by init_axis_from_font().

char* ShowCQTContext::font

Definition at line 117 of file avf_showcqt.h.

Referenced by init_axis_from_font().

char* ShowCQTContext::fontcolor

Definition at line 118 of file avf_showcqt.h.

Referenced by init_axis_color().

char* ShowCQTContext::axisfile

Definition at line 119 of file avf_showcqt.h.

Referenced by config_output(), and init_axis_from_file().

int ShowCQTContext::axis

Definition at line 120 of file avf_showcqt.h.

Referenced by config_output().

int ShowCQTContext::csp

Definition at line 121 of file avf_showcqt.h.

Referenced by init_colormatrix(), and plot_cqt().

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: