[FFmpeg-devel] [PATCH] swscale/output: Altivec-optimize float yuv2plane1

Lauri Kasanen cand at gmx.com
Sun Dec 16 11:01:45 EET 2018


On Sun, 16 Dec 2018 00:22:00 +0100
Michael Niedermayer <michael at niedermayer.cc> wrote:

> On Sat, Dec 15, 2018 at 06:32:31PM +0200, Lauri Kasanen wrote:
> > Tested on POWER8 LE. Testing on earlier ppc and/or BE appreciated.
> > 
> >  libswscale/ppc/swscale_altivec.c | 139 ++++++++++++++++++++++++++++++++++++++-
> >  1 file changed, 137 insertions(+), 2 deletions(-)
> 
> breaks build:
> src/libswscale/ppc/swscale_altivec.c: In function ‘yuv2plane1_float_altivec’:
> src/libswscale/ppc/swscale_altivec.c:158:80: error: expected declaration specifiers or ‘...’ before ‘(’ token
>      const vector float vzero = (vector float) {0, 0, 0, 0};

Thanks for testing. I missed the vzero define at the top, I wonder why
my gcc did not break. Patch v2 coming.

- Lauri


More information about the ffmpeg-devel mailing list