[vlc-devel] [PATCH] arm_neon: YUV->RGBA Only allow pitch to be a multiple of 16 on output

Rémi Denis-Courmont remi at remlab.net
Fri Feb 10 13:23:02 CET 2012

On Fri, 10 Feb 2012 13:17:10 +0100, XilasZ <xilasz at gmail.com> wrote:
> The same issue still exists, if you have a width of 520 for instance,
> a multiple of 4, but not a multiple of 16.
> It will crash on your device.

If it is a multiple of 4 aligned RGBA pixels, it is a multiple of 16
bytes. Nevertheless, it is a pitch issue, not a pixel width issue. So the
unit should indeed be bytes (16) rather than pixels (4).

Rémi Denis-Courmont

More information about the vlc-devel mailing list