[vlc-devel] [PATCH] arm_neon: YUV->RGBA Only allow pitch to be a multiple of 16 on output
remi at remlab.net
Fri Feb 10 13:24:04 CET 2012
On Fri, 10 Feb 2012 12:22:38 +0000, Asad Mehmood
<asad78611 at googlemail.com>
>> The same issue still exists, if you have a width of 520 for instance,
>> it's a
>> multiple of 4, but not a multiple of 16.
>> It will crash on your device.
> I might have misunderstood this ...
> But I though that if the width was a multiple of 4 for the output the
> pitch would be a multiple of 16 in RGBA space.
> e.g. A width of 520 will have a pitch of 2080?
You seem to assume that
pitch == pixel_width * bytes_per_pixel
pitch >= pixel_width * bytes_per_pixel
More information about the vlc-devel