[FFmpeg-devel] avfilter/vf_threshold : add checkasm and avx2 version for threshold8

Martin Vignali martin.vignali at gmail.com
Sun Dec 3 18:10:34 EET 2017


Hello,

In attach patch to add a checkasm test for the recently added threshold8
SIMD

also add AVX2 version

Checkasm result :
threshold8_c: 584.8
threshold8_sse4: 65.0
threshold8_avx2: 43.5


001 : create ff_threshold_init_func in order to simplify checkasm write
(more like previous checkasm test for filter)

002 : Add checkasm test for vf_threshold

003 : make macro for existing asm, in order to add avx2 version

004 : add avx2 version for threshold 8

005 : cosmetic indent asm

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avfilter-vf_threshold-move-context-func-init-in-ff_t.patch
Type: application/octet-stream
Size: 1489 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171203/7c423d0b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-checkasm-vf_threshold-add-checkasm-test-for-threshol.patch
Type: application/octet-stream
Size: 5212 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171203/7c423d0b/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-avfilter-x86-vf_threshold-make-macro-for-threshold8.patch
Type: application/octet-stream
Size: 1060 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171203/7c423d0b/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-avfilter-x86-vf_threshold-add-avx2-version-for-thres.patch
Type: application/octet-stream
Size: 2469 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171203/7c423d0b/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-avfilter-x86-vf_threshold-cosmetic-indent.patch
Type: application/octet-stream
Size: 1240 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171203/7c423d0b/attachment-0004.obj>


More information about the ffmpeg-devel mailing list