[vlc-devel] [PATCH] YUV->RGBA conversion only supports multiples of 16

XilasZ xilasz at gmail.com
Fri Feb 10 07:55:49 CET 2012


> Exactly, the converter is not limited to multiple of 16. It assume the
pitch is a multiple of 16, and since it's always the case with vlc, it's
not an issue.

humm, on second though, it's true for the input of the converter, but not
the output.
the output picture_t is a wrapper around a surface buffer, grab from the OS
by the androidsurface vout. So the output pitch may not be a multiple of 16
pixels on all devices.

Can you check the output pitch ?

On Fri, Feb 10, 2012 at 6:58 AM, XilasZ <xilasz at gmail.com> wrote:

> It plays fine on my phone.
> which device do you have ? which android version ?
>
> Does it works with the converter disabled (set the priority to 0) ?
>
>
> On Fri, Feb 10, 2012 at 2:18 AM, Asad Mehmood <asad78611 at googlemail.com>wrote:
>
>> I have a recurrent crash with various files in the android port of vlc
>>
>> gdb:
>> loop_col ()
>>    at modules/arm_neon/i420_rgb.S:196
>> 196 vst4.u8 {red1,green1,blue1,alpha1}, [O2,:128]!
>>
>> The only thing in common with these files is a resolution which is not
>> a multiple of 16
>>
>>
>> I currently have a file which has a resolution of 526 x 394 for test
>>
>> http://dl.dropbox.com/u/52470615/yuv526394.mp4
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> http://mailman.videolan.org/listinfo/vlc-devel
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120210/53ef1692/attachment.html>


More information about the vlc-devel mailing list