<html><head></head><body>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.<br><br><div class="gmail_quote">Le 12 novembre 2018 11:48:25 GMT+02:00, Francois Cartegnie <fcvlcdev@free.fr> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Le 12/11/2018 à 09:39, Steve Lhomme a écrit :<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">Code relying on AVX-2 (like dav1d) cannot work without an alignment of 32 bytes<br>at least. Even avcodec has a requirement of 64 (likely to get at least 32 on all<br>planes). So it's probably time to upgrade.<br><br>picture_Setup ensures a horizontal alignment to 32 bytes and a vertical to 16<br>bytes. So for all buffers allocated by the core, we have a size multiple of 512<br>bytes.<br></blockquote><br>Didn't we had an issue with some codec*filter*idontremember and anything<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">16 ?<br></blockquote></pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>