[vlc-devel] [PATCH 0/2] Use SSE copy function in the MediaCodec module.

Felix Abecassis felix.abecassis at gmail.com
Fri Oct 25 15:45:06 CEST 2013


The function in copy.c is also performing unshuffling during copying, so we
copy and convert from NV12 to YV12 at the same time, this is improving
performance because we don't need to use the slow conversion routines from
swscale.
On a Bay Trail tablet, decoding
http://people.videolan.org/~jb/android_test/in_to_tree/in_to_tree_1080p25_10000.mp4with
HW acceleration enabled is now faster (it is not yet totally smooth
however).


2013/10/25 Steinar H. Gunderson <sgunderson at bigfoot.com>

> On Fri, Oct 25, 2013 at 03:26:55PM +0200, Felix Abecassis wrote:
> > Splitted the patch sent earlier.
> >
> > Felix Abecassis (2):
> >   Move copy.{c,h} from module avcodec to module video_chroma.
> >   MediaCodec: use SSE copy function from the avcodec module if the CPU
> >     supports it.
>
> How much does this actually improve performance in reality? memcpy() in
> glibc
> already uses SSSE3 when available, and in general looks more efficient than
> the code in copy.c to me.
>
> /* Steinar */
> --
> Homepage: http://www.sesse.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
>



-- 
Félix Abecassis
http://felix.abecassis.me
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20131025/3b5c843f/attachment.html>


More information about the vlc-devel mailing list