[FFmpeg-devel] [PATCH] x86/exrdsp: optimize ff_reorder_pixels_avx2()

Martin Vignali martin.vignali at gmail.com
Mon Sep 18 10:35:29 EEST 2017


2017-09-18 3:52 GMT+02:00 James Almer <jamrial at gmail.com>:

> From: Henrik Gramner <henrik at gramner.com>
>
> Tested with "checkasm --test=exrdsp -bench"
>
> Before:
> reorder_pixels_c: 5187.8
> reorder_pixels_sse2: 377.0
> reorder_pixels_avx2: 331.3
>
> After:
> reorder_pixels_c: 5181.5
> reorder_pixels_sse2: 377.0
> reorder_pixels_avx2: 313.8
>
> I don't have the same result using a start/stop timer,
but your testing approach is probably better than mine.
And like, you both think it's a better way to do it, it's ok for me !

Thanks

Martin


More information about the ffmpeg-devel mailing list