diff options
author | Muhammad Faiz <mfcc64@gmail.com> | 2016-10-28 12:55:04 +0700 |
---|---|---|
committer | Muhammad Faiz <mfcc64@gmail.com> | 2016-10-29 22:11:58 +0700 |
commit | 0686537002278f8802ecf2af1d5b2d0d5afe308a (patch) | |
tree | 16424d6ef5bb22314939fdbdedad290aea7167b1 /libavfilter/avf_showcqt.h | |
parent | 7c27da686c06d219258270643088d2f9b393b585 (diff) | |
download | ffmpeg-0686537002278f8802ecf2af1d5b2d0d5afe308a.tar.gz |
avfilter/avf_showcqt: add bar_t option
custom bargraph transparency
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Diffstat (limited to 'libavfilter/avf_showcqt.h')
-rw-r--r-- | libavfilter/avf_showcqt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/avf_showcqt.h b/libavfilter/avf_showcqt.h index 165d36e763..3fa36f851c 100644 --- a/libavfilter/avf_showcqt.h +++ b/libavfilter/avf_showcqt.h @@ -78,7 +78,7 @@ typedef struct { 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); + 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); @@ -102,6 +102,7 @@ typedef struct { char *bar_v; float sono_g; float bar_g; + float bar_t; double timeclamp; double basefreq; double endfreq; |