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

Rémi Denis-Courmont remi at remlab.net
Tue Sep 6 22:14:45 CEST 2011


Le mardi 6 septembre 2011 22:57:11 XilasZ, vous avez écrit :
> Hi everyone, here is my I420->RGB neon converter patch for the main branch.

YV12->RV32 should be possible with very minimal extra code.

> From my tests on my phone, it's more or less 10 times faster than when
> using swscale, so huge performance boost.

Depending on bottlenecks in the NEON register bank and in your brain you could 
probably increase the performance by leveraging NEON dual issue. It seems the 
current assembler code does not make any effort at using the ALU and the 
load/store NEON units simultaneously.

Anyway, this can be merged as is and improved later.

> There's also a C version of the converter, it's commented since it's
> useless compared to the neon version, but i'd like to keep it around, as a
> reference.

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



More information about the vlc-devel mailing list