aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avf_showcqt.h
diff options
context:
space:
mode:
authorMuhammad Faiz <mfcc64@gmail.com>2016-06-04 14:33:05 +0700
committerMuhammad Faiz <mfcc64@gmail.com>2016-06-08 16:09:43 +0700
commit1e69ac9246be8c9a1bf595e7fe949df5bc541c55 (patch)
tree1a27b5398516a8ccbaeb71048a17200f621f6b30 /libavfilter/avf_showcqt.h
parent49b024663501320310ec729f3bd15d0420bd9e59 (diff)
downloadffmpeg-1e69ac9246be8c9a1bf595e7fe949df5bc541c55.tar.gz
avfilter/avf_showcqt: cqt_calc optimization on x86
on x86_64: time PSNR plain 3.303 inf SSE 1.649 107.087535 SSE3 1.632 107.087535 AVX 1.409 106.986771 FMA3 1.265 107.108437 on x86_32 (PSNR compared to x86_64 plain): time PSNR plain 7.225 103.951979 SSE 1.827 105.859282 SSE3 1.819 105.859282 AVX 1.533 105.997661 FMA3 1.384 105.885377 FMA4 test is not available Reviewed-by: James Almer <jamrial@gmail.com> 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 b945f49c08..588830fa3d 100644
--- a/libavfilter/avf_showcqt.h
+++ b/libavfilter/avf_showcqt.h
@@ -74,6 +74,7 @@ typedef struct {
/* callback */
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);
void (*draw_axis)(AVFrame *out, AVFrame *axis, const ColorFloat *c, int off);
@@ -112,4 +113,6 @@ typedef struct {
int axis;
} ShowCQTContext;
+void ff_showcqt_init_x86(ShowCQTContext *s);
+
#endif