From fd0c9789cfe88d9b07d390339f193072d8d662af Mon Sep 17 00:00:00 2001 From: Muhammad Faiz Date: Sun, 6 Mar 2016 12:54:32 +0700 Subject: avfilter/avf_showcqt: add performance debugging log for easier development Signed-off-by: Muhammad Faiz --- libavfilter/avf_showcqt.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libavfilter/avf_showcqt.h') diff --git a/libavfilter/avf_showcqt.h b/libavfilter/avf_showcqt.h index 82025b1df4..b945f49c08 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; -- cgit v1.2.3