[FFmpeg-devel] [PATCH] sws/aarch64: add {nv12, nv21, yuv420p, yuv422p}_to_{argb, rgba, abgr, rgba}_neon

Clément Bœsch u at pkh.me
Thu Feb 18 14:42:40 CET 2016


On Thu, Feb 18, 2016 at 02:40:06PM +0100, Clément Bœsch wrote:
> On Thu, Feb 18, 2016 at 01:00:10PM +0000, Carl Eugen Hoyos wrote:
> > Clément Bœsch <u <at> pkh.me> writes:
> > 
> > > It's not tested on real hardware (qemu only), so I have 
> > > no idea about performance.
> > 
> > I can test this on real hardware if you can provide 
> > (exact) command lines.
> > 
> 
> for ifmt in nv12 nv21 yuv420p yuv422p; do
>     for ofmt in argb rgba abgr bgra; do
>         ./ffmpeg -f lavfi -i testsrc2=d=10 -vf format=$ifmt,format=$ofmt -f null -
>     done
> done

This will unfortunately involve more converts (testsrc fmt -> ifmt) so it
won't really give you much hint. You probably want to test with sth like
av_gettime() before and after the
ff_##ifmt##_to_##ofmt##_neon_##precision() calls in
libswscale/aarch64/swscale_unscaled.c

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160218/04360cdf/attachment.sig>


More information about the ffmpeg-devel mailing list