[FFmpeg-trac] #8750(swscale:new): Patch to fix #7124 break the build for powerpc

FFmpeg trac at avcodec.org
Tue Jun 30 16:33:01 EEST 2020


#8750: Patch to fix #7124 break the build for powerpc
-------------------------------------+-------------------------------------
             Reporter:  marillat     |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  swscale
              Version:  git-master   |               Resolution:
             Keywords:  ppc          |               Blocked By:
  regression                         |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by marillat):

 Still doesn't build


 {{{
 libswscale/ppc/yuv2rgb_altivec.c: In function ‘altivec_yuv2_abgr’:
 libswscale/ppc/yuv2rgb_altivec.c:348:18: error: too many arguments to
 function ‘vec_xl’
   348 |             y0 = vec_xl(0, y1i);
 \
       |                  ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:447:1: note: in expansion of macro
 ‘DEFCSP420_CVT’
   447 | DEFCSP420_CVT(yuv2_abgr,  out_abgr)
       | ^~~~~~~~~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:287:36: note: declared here
   287 | static inline vector unsigned char vec_xl(const ubyte *addr)
       |                                    ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:350:18: error: too many arguments to
 function ‘vec_xl’
   350 |             y1 = vec_xl(0, y2i);
 \
       |                  ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:447:1: note: in expansion of macro
 ‘DEFCSP420_CVT’
   447 | DEFCSP420_CVT(yuv2_abgr,  out_abgr)
       | ^~~~~~~~~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:287:36: note: declared here
   287 | static inline vector unsigned char vec_xl(const ubyte *addr)
       |                                    ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:352:38: error: too many arguments to
 function ‘vec_xl’
   352 |             u = (vector signed char) vec_xl(0, ui);
 \
       |                                      ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:447:1: note: in expansion of macro
 ‘DEFCSP420_CVT’
   447 | DEFCSP420_CVT(yuv2_abgr,  out_abgr)
       | ^~~~~~~~~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:287:36: note: declared here
   287 | static inline vector unsigned char vec_xl(const ubyte *addr)
       |                                    ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:354:38: error: too many arguments to
 function ‘vec_xl’
   354 |             v = (vector signed char) vec_xl(0, vi);
 \
       |                                      ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:447:1: note: in expansion of macro
 ‘DEFCSP420_CVT’
   447 | DEFCSP420_CVT(yuv2_abgr,  out_abgr)
       | ^~~~~~~~~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:287:36: note: declared here
   287 | static inline vector unsigned char vec_xl(const ubyte *addr)
       |                                    ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c: In function ‘altivec_yuv2_bgra’:
 libswscale/ppc/yuv2rgb_altivec.c:348:18: error: too many arguments to
 function ‘vec_xl’
   348 |             y0 = vec_xl(0, y1i);
 \
       |                  ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:448:1: note: in expansion of macro
 ‘DEFCSP420_CVT’
   448 | DEFCSP420_CVT(yuv2_bgra,  out_bgra)
       | ^~~~~~~~~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:287:36: note: declared here
   287 | static inline vector unsigned char vec_xl(const ubyte *addr)
       |                                    ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:350:18: error: too many arguments to
 function ‘vec_xl’
   350 |             y1 = vec_xl(0, y2i);
 \
       |                  ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:448:1: note: in expansion of macro
 ‘DEFCSP420_CVT’
   448 | DEFCSP420_CVT(yuv2_bgra,  out_bgra)
       | ^~~~~~~~~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:287:36: note: declared here
   287 | static inline vector unsigned char vec_xl(const ubyte *addr)
       |                                    ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:352:38: error: too many arguments to
 function ‘vec_xl’
   352 |             u = (vector signed char) vec_xl(0, ui);
 \
       |                                      ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:448:1: note: in expansion of macro
 ‘DEFCSP420_CVT’
   448 | DEFCSP420_CVT(yuv2_bgra,  out_bgra)
       | ^~~~~~~~~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:287:36: note: declared here
   287 | static inline vector unsigned char vec_xl(const ubyte *addr)
       |                                    ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:354:38: error: too many arguments to
 function ‘vec_xl’
   354 |             v = (vector signed char) vec_xl(0, vi);
 \
       |                                      ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:448:1: note: in expansion of macro
 ‘DEFCSP420_CVT’
   448 | DEFCSP420_CVT(yuv2_bgra,  out_bgra)
       | ^~~~~~~~~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:287:36: note: declared here
   287 | static inline vector unsigned char vec_xl(const ubyte *addr)
       |                                    ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c: In function ‘altivec_yuv2_rgba’:
 libswscale/ppc/yuv2rgb_altivec.c:348:18: error: too many arguments to
 function ‘vec_xl’
   348 |             y0 = vec_xl(0, y1i);
 \
       |                  ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:449:1: note: in expansion of macro
 ‘DEFCSP420_CVT’
   449 | DEFCSP420_CVT(yuv2_rgba,  out_rgba)
       | ^~~~~~~~~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:287:36: note: declared here
   287 | static inline vector unsigned char vec_xl(const ubyte *addr)
       |                                    ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:350:18: error: too many arguments to
 function ‘vec_xl’
   350 |             y1 = vec_xl(0, y2i);
 \
       |                  ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:449:1: note: in expansion of macro
 ‘DEFCSP420_CVT’
   449 | DEFCSP420_CVT(yuv2_rgba,  out_rgba)
       | ^~~~~~~~~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:287:36: note: declared here
   287 | static inline vector unsigned char vec_xl(const ubyte *addr)
       |                                    ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:352:38: error: too many arguments to
 function ‘vec_xl’
   352 |             u = (vector signed char) vec_xl(0, ui);
 \
       |                                      ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:449:1: note: in expansion of macro
 ‘DEFCSP420_CVT’
   449 | DEFCSP420_CVT(yuv2_rgba,  out_rgba)
       | ^~~~~~~~~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:287:36: note: declared here
   287 | static inline vector unsigned char vec_xl(const ubyte *addr)
       |                                    ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:354:38: error: too many arguments to
 function ‘vec_xl’
   354 |             v = (vector signed char) vec_xl(0, vi);
 \
       |                                      ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:449:1: note: in expansion of macro
 ‘DEFCSP420_CVT’
   449 | DEFCSP420_CVT(yuv2_rgba,  out_rgba)
       | ^~~~~~~~~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:287:36: note: declared here
   287 | static inline vector unsigned char vec_xl(const ubyte *addr)
       |                                    ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c: In function ‘altivec_yuv2_argb’:
 libswscale/ppc/yuv2rgb_altivec.c:348:18: error: too many arguments to
 function ‘vec_xl’
   348 |             y0 = vec_xl(0, y1i);
 \
       |                  ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:450:1: note: in expansion of macro
 ‘DEFCSP420_CVT’
   450 | DEFCSP420_CVT(yuv2_argb,  out_argb)
       | ^~~~~~~~~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:287:36: note: declared here
   287 | static inline vector unsigned char vec_xl(const ubyte *addr)
       |                                    ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:350:18: error: too many arguments to
 function ‘vec_xl’
   350 |             y1 = vec_xl(0, y2i);
 \
       |                  ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:450:1: note: in expansion of macro
 ‘DEFCSP420_CVT’
   450 | DEFCSP420_CVT(yuv2_argb,  out_argb)
       | ^~~~~~~~~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:287:36: note: declared here
   287 | static inline vector unsigned char vec_xl(const ubyte *addr)
       |                                    ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:352:38: error: too many arguments to
 function ‘vec_xl’
   352 |             u = (vector signed char) vec_xl(0, ui);
 \
       |                                      ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:450:1: note: in expansion of macro
 ‘DEFCSP420_CVT’
   450 | DEFCSP420_CVT(yuv2_argb,  out_argb)
       | ^~~~~~~~~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:287:36: note: declared here
   287 | static inline vector unsigned char vec_xl(const ubyte *addr)
       |                                    ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:354:38: error: too many arguments to
 function ‘vec_xl’
   354 |             v = (vector signed char) vec_xl(0, vi);
 \
       |                                      ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:450:1: note: in expansion of macro
 ‘DEFCSP420_CVT’
   450 | DEFCSP420_CVT(yuv2_argb,  out_argb)
       | ^~~~~~~~~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:287:36: note: declared here
   287 | static inline vector unsigned char vec_xl(const ubyte *addr)
       |                                    ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c: In function ‘altivec_yuv2_rgb24’:
 libswscale/ppc/yuv2rgb_altivec.c:348:18: error: too many arguments to
 function ‘vec_xl’
   348 |             y0 = vec_xl(0, y1i);
 \
       |                  ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:451:1: note: in expansion of macro
 ‘DEFCSP420_CVT’
   451 | DEFCSP420_CVT(yuv2_rgb24, out_rgb24)
       | ^~~~~~~~~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:287:36: note: declared here
   287 | static inline vector unsigned char vec_xl(const ubyte *addr)
       |                                    ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:350:18: error: too many arguments to
 function ‘vec_xl’
   350 |             y1 = vec_xl(0, y2i);
 \
       |                  ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:451:1: note: in expansion of macro
 ‘DEFCSP420_CVT’
   451 | DEFCSP420_CVT(yuv2_rgb24, out_rgb24)
       | ^~~~~~~~~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:287:36: note: declared here
   287 | static inline vector unsigned char vec_xl(const ubyte *addr)
       |                                    ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:352:38: error: too many arguments to
 function ‘vec_xl’
   352 |             u = (vector signed char) vec_xl(0, ui);
 \
       |                                      ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:451:1: note: in expansion of macro
 ‘DEFCSP420_CVT’
   451 | DEFCSP420_CVT(yuv2_rgb24, out_rgb24)
       | ^~~~~~~~~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:287:36: note: declared here
   287 | static inline vector unsigned char vec_xl(const ubyte *addr)
       |                                    ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:354:38: error: too many arguments to
 function ‘vec_xl’
   354 |             v = (vector signed char) vec_xl(0, vi);
 \
       |                                      ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:451:1: note: in expansion of macro
 ‘DEFCSP420_CVT’
   451 | DEFCSP420_CVT(yuv2_rgb24, out_rgb24)
       | ^~~~~~~~~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:287:36: note: declared here
   287 | static inline vector unsigned char vec_xl(const ubyte *addr)
       |                                    ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c: In function ‘altivec_yuv2_bgr24’:
 libswscale/ppc/yuv2rgb_altivec.c:348:18: error: too many arguments to
 function ‘vec_xl’
   348 |             y0 = vec_xl(0, y1i);
 \
       |                  ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:452:1: note: in expansion of macro
 ‘DEFCSP420_CVT’
   452 | DEFCSP420_CVT(yuv2_bgr24, out_bgr24)
       | ^~~~~~~~~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:287:36: note: declared here
   287 | static inline vector unsigned char vec_xl(const ubyte *addr)
       |                                    ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:350:18: error: too many arguments to
 function ‘vec_xl’
   350 |             y1 = vec_xl(0, y2i);
 \
       |                  ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:452:1: note: in expansion of macro
 ‘DEFCSP420_CVT’
   452 | DEFCSP420_CVT(yuv2_bgr24, out_bgr24)
       | ^~~~~~~~~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:287:36: note: declared here
   287 | static inline vector unsigned char vec_xl(const ubyte *addr)
       |                                    ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:352:38: error: too many arguments to
 function ‘vec_xl’
   352 |             u = (vector signed char) vec_xl(0, ui);
 \
       |                                      ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:452:1: note: in expansion of macro
 ‘DEFCSP420_CVT’
   452 | DEFCSP420_CVT(yuv2_bgr24, out_bgr24)
       | ^~~~~~~~~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:287:36: note: declared here
   287 | static inline vector unsigned char vec_xl(const ubyte *addr)
       |                                    ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:354:38: error: too many arguments to
 function ‘vec_xl’
   354 |             v = (vector signed char) vec_xl(0, vi);
 \
       |                                      ^~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:452:1: note: in expansion of macro
 ‘DEFCSP420_CVT’
   452 | DEFCSP420_CVT(yuv2_bgr24, out_bgr24)
       | ^~~~~~~~~~~~~
 libswscale/ppc/yuv2rgb_altivec.c:287:36: note: declared here
   287 | static inline vector unsigned char vec_xl(const ubyte *addr)
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8750#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list