Re: [FFmpeg-devel] [PATCH v2 1/2] swscale: Replace illegal vector keyword usage in altivec code

2019-08-11 Thread Daniel Kolesa
On Sun, Aug 11, 2019, at 21:37, Reimar Döffinger wrote: > On 07.08.2019, at 19:39, Daniel Kolesa wrote: > > > While this technically compiles in current ffmpeg, this is only > > because ffmpeg is compiled in strict ISO C mode, which disables > > the builtin 'vector' keyword for AltiVec/VSX. Inste

Re: [FFmpeg-devel] [PATCH v2 1/2] swscale: Replace illegal vector keyword usage in altivec code

2019-08-11 Thread Reimar Döffinger
On 07.08.2019, at 19:39, Daniel Kolesa wrote: > While this technically compiles in current ffmpeg, this is only > because ffmpeg is compiled in strict ISO C mode, which disables > the builtin 'vector' keyword for AltiVec/VSX. Instead this gets > replaced with a macro inside altivec.h, which defin

Re: [FFmpeg-devel] [PATCH v2 1/2] swscale: Replace illegal vector keyword usage in altivec code

2019-08-08 Thread Daniel Kolesa
On Thu, Aug 8, 2019, at 15:23, Daniel Kolesa wrote: > On Thu, Aug 8, 2019, at 14:32, Carl Eugen Hoyos wrote: > > Am Mi., 7. Aug. 2019 um 19:39 Uhr schrieb Daniel Kolesa > > : > > > > > > While this technically compiles in current ffmpeg, this is only > > > because ffmpeg is compiled in strict ISO

Re: [FFmpeg-devel] [PATCH v2 1/2] swscale: Replace illegal vector keyword usage in altivec code

2019-08-08 Thread Daniel Kolesa
On Thu, Aug 8, 2019, at 14:32, Carl Eugen Hoyos wrote: > Am Mi., 7. Aug. 2019 um 19:39 Uhr schrieb Daniel Kolesa > : > > > > While this technically compiles in current ffmpeg, this is only > > because ffmpeg is compiled in strict ISO C mode, which disables > > the builtin 'vector' keyword for Alti

Re: [FFmpeg-devel] [PATCH v2 1/2] swscale: Replace illegal vector keyword usage in altivec code

2019-08-08 Thread Carl Eugen Hoyos
Am Mi., 7. Aug. 2019 um 19:39 Uhr schrieb Daniel Kolesa : > > While this technically compiles in current ffmpeg, this is only > because ffmpeg is compiled in strict ISO C mode, which disables > the builtin 'vector' keyword for AltiVec/VSX. Instead this gets > replaced with a macro inside altivec.h,

[FFmpeg-devel] [PATCH v2 1/2] swscale: Replace illegal vector keyword usage in altivec code

2019-08-07 Thread Daniel Kolesa
While this technically compiles in current ffmpeg, this is only because ffmpeg is compiled in strict ISO C mode, which disables the builtin 'vector' keyword for AltiVec/VSX. Instead this gets replaced with a macro inside altivec.h, which defines vector to be actually __vector, which accepts random