[FFmpeg-devel] [PATCH] swscale/output: VSX-optimize 9-16 bit yuv2planeX

Lauri Kasanen cand at gmx.com
Sun Jan 6 20:56:33 EET 2019


On Sun, 6 Jan 2019 13:23:43 +0100
Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:

> 2019-01-04 20:43 GMT+01:00, Lauri Kasanen <cand at gmx.com>:
> > +#ifdef __POWER8_VECTOR__
> 
> If this is correct, I assume it fixes a bug in the current code
> and should be a separate patch, no?
> 
> >          case 16:
> >              c->yuv2plane1 = isBE(dstFormat) ? yuv2plane1_16BE_vsx  :
> > yuv2plane1_16LE_vsx;
> > +            c->yuv2planeX = isBE(dstFormat) ? yuv2planeX_16BE_vsx  :
> > yuv2planeX_16LE_vsx;
> >              break;
> > -#endif
> > +#endif /* __POWER8_VECTOR__ */

These mails do tend to get long with so many bench results, but that was
covered:
> The existing VSX yuv2plane1 is also ifdefed out for POWER7, even though it works there.
> This is for cleanliness mainly, separating the macros would be a bit
> uglier. If we have POWER7 users who need that one, please speak up.

- Lauri


More information about the ffmpeg-devel mailing list