[vlc-devel] [PATCH] I420->RGB neon converter

Rémi Denis-Courmont remi at remlab.net
Tue Sep 6 23:44:52 CEST 2011


Le mercredi 7 septembre 2011 00:39:25 XilasZ, vous avez écrit :
> > You're mixing YV12 with NV12 here.
> 
> Ah yes, that one, just swap the u/v pointer then in the C code, i'll do
> that later in another patch.
> 
>  The most obvious error is the RGB ends up in the wrong endianness. If you
> 
> > don't care about this corner case, you should simply fallback to swscale.
> 
> My target was arm neon based devices running android, which i think all use
> the same endianness.

The bitmasks depend on the output or encoder downstream.
You are not supposed to assume anything about them.

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list