[vlc-devel] [PATCH 1/1] picture: increase alignment for AVX2 on x86 to 32 byte

Rémi Denis-Courmont remi at remlab.net
Sun Nov 27 16:54:09 CET 2016


Le dimanche 27 novembre 2016, 16:29:15 Janne Grunau a écrit :
> Required for direct rendering with AVX2 enabled libavcodec and AVX2
> optimizations for the blend deinterlacer.

The value in picture_Setup() does not actually apply in most scenarii, only 
when the picture is allocated from the heap.

libavcodec already has the opportunity to align picture buffer sizes correctly 
through avcodec_align_dimensions2(), which works a lot better in practice.

-- 
Rémi Denis-Courmont
http://www.remlab.net/


More information about the vlc-devel mailing list