summaryrefslogtreecommitdiff
path: root/libavfilter/avf_showcqt.h
diff options
context:
space:
mode:
authorMuhammad Faiz <mfcc64@gmail.com>2017-04-08 09:55:06 +0700
committerMuhammad Faiz <mfcc64@gmail.com>2017-04-09 14:38:42 +0700
commit3408f4669427f5e950774d135c007f77d0d08d61 (patch)
tree48748ea278d66c14eb2ee25ab2b8a7b7615b3517 /libavfilter/avf_showcqt.h
parent47ccefac211fba57979335907467923cd27e792f (diff)
avfilter/avf_showcqt: add attack option
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Diffstat (limited to 'libavfilter/avf_showcqt.h')
-rw-r--r--libavfilter/avf_showcqt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/avf_showcqt.h b/libavfilter/avf_showcqt.h
index 3fa36f851c..010f85c951 100644
--- a/libavfilter/avf_showcqt.h
+++ b/libavfilter/avf_showcqt.h
@@ -55,6 +55,7 @@ typedef struct {
AVRational step_frac;
int remaining_frac;
int remaining_fill;
+ int remaining_fill_max;
int64_t next_pts;
double *freq;
FFTContext *fft_ctx;
@@ -62,6 +63,7 @@ typedef struct {
FFTComplex *fft_data;
FFTComplex *fft_result;
FFTComplex *cqt_result;
+ float *attack_data;
int fft_bits;
int fft_len;
int cqt_len;
@@ -104,6 +106,7 @@ typedef struct {
float bar_g;
float bar_t;
double timeclamp;
+ double attack;
double basefreq;
double endfreq;
float coeffclamp; /* deprecated - ignored */