[vlc-devel] [PATCH] core: avcodec requires 32-bytes memory alignment in many cases
robux4 at gmail.com
Wed Dec 13 09:40:18 CET 2017
I think you sent the reply to the wrong thread Rémi.
> If the plane alignment is the same as the scan line alignment, there is no plane alignment requirement as such.
> SIMD code cares about scan lines not only whole planes.
Is it possible to have scan lines aligned correctly but not the planes
? No. So we should *at least* get the planes right. Which we don't
right now. On some OS it may lucky enough that allocations are 32
bytes aligned but that's not the case on Windows if you don't request
On Wed, Dec 13, 2017 at 9:22 AM, Steve Lhomme <robux4 at gmail.com> wrote:
> On Tue, Mar 31, 2015 at 11:25 AM, Rémi Denis-Courmont <remi at remlab.net> wrote:
>> I doubt that libavcodec has alignment requirement for the whole picture.
> It does. And when SIMD is enabled (so pretty much always) the
> alignment for all planes must be 32.
>> Usually, alignment constraints are on the scan line or possibly on the
>> Rémi Denis-Courmont
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
More information about the vlc-devel