[FFmpeg-devel] [PATCH] swscale/output: VSX-optimize nbps yuv2plane1

Lauri Kasanen cand at gmx.com
Fri Dec 7 09:34:06 EET 2018


On Thu, 6 Dec 2018 22:36:01 +0100
Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:

> 2018-11-27 14:26 GMT+01:00, Lauri Kasanen <cand at gmx.com>:
> > ./ffmpeg_g -f rawvideo -pix_fmt rgb24 -s hd1080 -i /dev/zero -pix_fmt
> > yuv420p9le \
> > -f null -vframes 100 -v error -nostats -
> >
> > Speedups:
> > yuv2plane1_9BE_vsx	11.2042
> > yuv2plane1_9LE_vsx	11.156
> > yuv2plane1_10BE_vsx	9.89428
> > yuv2plane1_10LE_vsx	10.3637
> > yuv2plane1_12BE_vsx	9.71923
> > yuv2plane1_12LE_vsx	11.0404
> > yuv2plane1_14BE_vsx	10.1763
> > yuv2plane1_14LE_vsx	11.2728
> >
> > Fate passes, each format tested with an image to video conversion.
> >
> > Depends on "swscale/ppc: Move VSX-using code to its own file".
> 
> > Only tested on LE.
> 
> This patch breaks output on BE, tested with fate-v410enc and:
> $ ffmpeg -i fate-suite/lena.pnm -pix_fmt yuv420p10 -vcodec ffv1 out.nut

Just checking, was that with the !BE guards removed? Otherwise I don't
see how it could affect BE?

- Lauri


More information about the ffmpeg-devel mailing list