avfilter/avf_showcqt: cqt_calc optimization on x86
authorMuhammad Faiz <mfcc64@gmail.com>
Sat, 4 Jun 2016 07:33:05 +0000 (14:33 +0700)
committerMuhammad Faiz <mfcc64@gmail.com>
Wed, 8 Jun 2016 09:09:43 +0000 (16:09 +0700)
commit1e69ac9246be8c9a1bf595e7fe949df5bc541c55
tree1a27b5398516a8ccbaeb71048a17200f621f6b30
parent49b024663501320310ec729f3bd15d0420bd9e59
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>
libavfilter/avf_showcqt.c
libavfilter/avf_showcqt.h
libavfilter/x86/Makefile
libavfilter/x86/avf_showcqt.asm [new file with mode: 0644]
libavfilter/x86/avf_showcqt_init.c [new file with mode: 0644]