[vlc-devel] [PATCH v3] picture: align pictures on 64 bytes

Rémi Denis-Courmont remi at remlab.net
Mon Nov 12 11:59:57 CET 2018


As far as I am concerned, the picture buffer could and maybe should be page-aligned anyway. The real question is what the plane and scan line alignment should be, which this patch leaves entirely open.

Le 12 novembre 2018 11:48:25 GMT+02:00, Francois Cartegnie <fcvlcdev at free.fr> a écrit :
>Le 12/11/2018 à 09:39, Steve Lhomme a écrit :
>> Code relying on AVX-2 (like dav1d) cannot work without an alignment
>of 32 bytes
>> at least. Even avcodec has a requirement of 64 (likely to get at
>least 32 on all
>> planes). So it's probably time to upgrade.
>> 
>> picture_Setup ensures a horizontal alignment to 32 bytes and a
>vertical to 16
>> bytes. So for all buffers allocated by the core, we have a size
>multiple of 512
>> bytes.
>
>Didn't we had an issue with some codec*filter*idontremember and
>anything
>> 16 ?
>
>-- 
>Francois Cartegnie
>VideoLAN - VLC Developer
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20181112/b1ff3a36/attachment.html>


More information about the vlc-devel mailing list