ffmpeg/libswscale
Martin Storsjö b9145fcab2 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>
2024-10-08 09:29:07 +03:00
..
aarch64 swscale: Fix aarch64 and i386 compilation failures 2024-10-08 09:29:07 +03:00
arm swscale/internal: constify SwsFunc 2024-10-07 19:51:34 +02:00
loongarch swscale/internal: constify SwsFunc 2024-10-07 19:51:34 +02:00
ppc swscale/internal: constify SwsFunc 2024-10-07 19:51:34 +02:00
riscv swscale/rgb2rgb: enable R-V V deinterleaveBytes 2024-09-04 22:04:11 +03:00
tests tests/swscale: fix minor typos 2024-10-07 19:51:34 +02:00
x86 swscale: Fix aarch64 and i386 compilation failures 2024-10-08 09:29:07 +03:00
alphablend.c swscale/internal: constify SwsFunc 2024-10-07 19:51:34 +02:00
bayer_template.c swscale/internal: constify SwsFunc 2024-10-07 19:51:34 +02:00
gamma.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
half2float.c
hscale_fast_bilinear.c
hscale.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
input.c swscale/input: parametrize ff_sws_init_input_funcs() pointers 2024-10-07 19:51:34 +02:00
libswscale.v
log2_tab.c
Makefile
options.c swscale/internal: rename NB_SWS_DITHER for consistency 2024-10-07 19:51:34 +02:00
output.c swscale/output: Fix undefined integer overflow in yuv2rgba64_2_c_template() 2024-09-19 00:24:26 +02:00
rgb2rgb_template.c swscale/internal: constify SwsFunc 2024-10-07 19:51:34 +02:00
rgb2rgb.c swscale/internal: constify SwsFunc 2024-10-07 19:51:34 +02:00
rgb2rgb.h swscale/internal: constify SwsFunc 2024-10-07 19:51:34 +02:00
slice.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
swscale_internal.h swscale/input: parametrize ff_sws_init_input_funcs() pointers 2024-10-07 19:51:34 +02:00
swscale_unscaled.c swscale/internal: constify SwsFunc 2024-10-07 19:51:34 +02:00
swscale.c swscale/input: parametrize ff_sws_init_input_funcs() pointers 2024-10-07 19:51:34 +02:00
swscale.h swscale: document SWS_FULL_CHR_H_* flags 2024-08-16 11:43:37 +02:00
swscaleres.rc
utils.c swscale/internal: turn cascaded_tmp into an array 2024-10-07 19:51:34 +02:00
version_major.h libs: bump major version for all libraries 2024-03-07 11:29:43 -03:00
version.c lib*/version: Use static_assert for static asserts 2024-03-31 00:08:42 +01:00
version.h */version.h: bump after release/7.1 branch 2024-09-24 17:10:35 +02:00
vscale.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
yuv2rgb.c swscale/internal: constify SwsFunc 2024-10-07 19:51:34 +02:00