librempeg/libswscale/aarch64
Martin Storsjö c4d6429f56 swscale: Fix aarch64 and i386 compilation failures
This unbreaks builds after c1a0e657638f7007dcc807a2d985c22631fcd6d3,
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>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2024-10-08 19:45:34 +02:00
..
hscale.S lavc/hevcdsp_qpel_neon: using movi.16b instead of movi.2d 2023-11-28 15:54:49 +02:00
input.S swscale/aarch64: Add argb/abgr to yuv 2024-07-05 23:19:38 +02:00
Makefile swscale/aarch64: add nv24/nv42 to yuv420p unscaled converter 2024-08-30 18:02:51 +02:00
output.S aarch64: Reindent all assembly to 8/24 column indentation 2023-10-21 23:25:54 +03:00
range_convert_neon.S swscale/aarch64: add neon {lum,chr}ConvertRange 2024-06-19 17:49:30 +02:00
rgb2rgb_neon.S swscale/aarch64/rgb2rgb: add neon implementation for rgb24toyv12 2024-09-08 20:51:02 +02:00
rgb2rgb.c swscale: Fix aarch64 and i386 compilation failures 2024-10-08 19:45:34 +02:00
swscale_unscaled_neon.S swscale/aarch64: cosmetics fix (spaces inside curly braces) 2024-08-30 18:02:51 +02:00
swscale_unscaled.c swscale: Fix aarch64 and i386 compilation failures 2024-10-08 19:45:34 +02:00
swscale.c swscale/aarch64: Add argb/abgr to yuv 2024-07-05 23:19:38 +02:00
yuv2rgb_neon.S libswscale: aarch64: Fix the indentation of some macro invocations 2024-08-30 18:02:49 +02:00