summaryrefslogtreecommitdiffstats
path: root/libavfilter/avf_showcqt.h
diff options
context:
space:
mode:
authorMuhammad Faiz <mfcc64@gmail.com>2016-03-06 12:54:32 +0700
committerMuhammad Faiz <mfcc64@gmail.com>2016-03-08 20:50:26 +0700
commitfd0c9789cfe88d9b07d390339f193072d8d662af (patch)
tree3c73ede6e4f745b2e7d9d623025e5d6339b38998 /libavfilter/avf_showcqt.h
parentf78ef2d885aa2245606e1fe95ce85b84f634c18b (diff)
downloadffmpeg-streaming-fd0c9789cfe88d9b07d390339f193072d8d662af.zip
ffmpeg-streaming-fd0c9789cfe88d9b07d390339f193072d8d662af.tar.gz
avfilter/avf_showcqt: add performance debugging log
for easier development Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Diffstat (limited to 'libavfilter/avf_showcqt.h')
-rw-r--r--libavfilter/avf_showcqt.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavfilter/avf_showcqt.h b/libavfilter/avf_showcqt.h
index 82025b1..b945f49 100644
--- a/libavfilter/avf_showcqt.h
+++ b/libavfilter/avf_showcqt.h
@@ -79,6 +79,15 @@ typedef struct {
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);
+ /* performance debugging */
+ 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;
/* option */
int width, height;
AVRational rate;
OpenPOWER on IntegriCloud