1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
FFmpeg/libswscale/x86
Martin Storsjö b9145fcab2 swscale: Fix aarch64 and i386 compilation failures
This unbreaks builds after c1a0e65763,
which broke with errors like

src/libswscale/aarch64/rgb2rgb.c:66:25: error: incompatible function pointer types assigning to 'void (*)(const uint8_t *, uint8_t *, uint8_t *, uint8_t *, int, int, int, int, int, const int32_t *)' (aka 'void (*)(const unsigned char *, unsigned char *, unsigned char *, unsigned char *, int, int, int, int, int, const int *)') from 'void (const uint8_t *, uint8_t *, uint8_t *, uint8_t *, int, int, int, int, int, int32_t *)' (aka 'void (const unsigned char *, unsigned char *, unsigned char *, unsigned char *, int, int, int, int, int, int *)') [-Wincompatible-function-pointer-types]
   66 |         ff_rgb24toyv12  = rgb24toyv12;
      |                         ^ ~~~~~~~~~~~

and

src/libswscale/aarch64/swscale_unscaled.c:213:29: error: incompatible function pointer types assigning to 'SwsFunc' (aka 'int (*)(struct SwsContext *, const unsigned char *const *, const int *, int, int, unsigned char *const *, const int *)') from 'int (SwsContext *, const uint8_t *const *, const int *, int, int, const uint8_t **, const int *)' (aka 'int (struct SwsContext *, const unsigned char *const *, const int *, int, int, const unsigned char **, const int *)') [-Wincompatible-function-pointer-types]
  213 |         c->convert_unscaled = nv24_to_yuv420p_neon_wrapper;
      |                             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Martin Storsjö <martin@martin.st>
2024-10-08 09:29:07 +03:00
..
hscale_fast_bilinear_simd.c Include attributes.h directly 2021-04-19 14:34:10 +02:00
input.asm swscale/x86/rgb2rgb: fix deinterleaveBytes for unaligned dst pointers 2024-09-06 23:05:01 +02:00
Makefile swscale/x86: add sse2 and avx2 {lum,chr}ConvertRange 2024-06-16 00:35:51 +02:00
output.asm x86: replace explicit REP_RETs with RETs 2023-02-01 04:23:55 +01:00
range_convert.asm swscale/x86/range_convert: add missing AVX2 preprocessor wrapper 2024-06-16 10:09:38 -03:00
rgb2rgb.c swscale: Fix aarch64 and i386 compilation failures 2024-10-08 09:29:07 +03:00
rgb_2_rgb.asm swscale/x86/rgb_2_rgb: add missing wrap to ff_uyvytoyuv422_avx2 2024-06-09 16:04:36 -03:00
scale_avx2.asm x86: replace explicit REP_RETs with RETs 2023-02-01 04:23:55 +01:00
scale.asm avutil/x86util: Fix broken pre-SSE4.1 PMINSD emulation 2024-03-17 13:52:27 +01:00
swscale_template.c swscale: remove unconditional #define DITHER1XBPP 2024-07-10 12:25:03 +02:00
swscale.c swscale: remove unconditional #define DITHER1XBPP 2024-07-10 12:25:03 +02:00
w64xmmtest.c
yuv2rgb.c swscale/internal: constify SwsFunc 2024-10-07 19:51:34 +02:00
yuv2yuvX.asm x86: replace explicit REP_RETs with RETs 2023-02-01 04:23:55 +01:00
yuv_2_rgb.asm swscale/x86/yuv2rgb: add ssse3 yuv42{0,2}p -> gbrp unscaled colorspace converters 2024-08-18 22:26:14 +02:00