[vlc-devel] [PATCH] YUV->RGBA conversion only supports multiples of 16
remi at remlab.net
Fri Feb 10 08:50:34 CET 2012
On Fri, 10 Feb 2012 01:56:16 +0100, XilasZ <xilasz at gmail.com> wrote:
>> It seems that height must be a multiple of 2 only.
>> Also can't width be anything as long as the pitch is a multiple of 16 ?
> Exactly, the converter is not limited to multiple of 16.
It is if you specify an alignment of 128-bits for load and store
> It assume the pitch is a multiple of 16,
> and since it's always the case with vlc, it's not an issue.
Of course not! VLC pads the pitches of allocated pictures to a multiple of
16 bytes (or was if 16 pixels). But that only works if the picture is
allocated by the VLC core.
More information about the vlc-devel