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

Rafaël Carré funman at videolan.org
Fri Feb 10 13:09:13 CET 2012


Le 2012-02-10 06:55, Asad Mehmood a écrit :
> Hi
> 
> This patch just makes sure that the output width is a multiple of 4
> and therefore the pitch is a multiple of 16
> 
> Any affected files now fall back to swscale and all is good :)
> 
> Unless there is something I have missed?

I still think it should check the pitch and not the width.

Also since height is incremented by 2 in the asm I think it should also
check for height % 2.

Xilasz do you confirm?

> Thanks
> 
> Asad Mehmood



More information about the vlc-devel mailing list