Commit Graph

118046 Commits

Author SHA1 Message Date
Martin Schitter
741e44d0fe RELEASE: update release number after release/7.1 branch
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2024-10-10 13:33:47 +02:00
Lynne
68c566fa87 hwcontext_vulkan: set hwctx->device_features
This was forgotten during the recent device feature refactor.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
2024-10-10 13:33:47 +02:00
Lynne
82dc555518 hwcontext_vulkan: remove redundant hostQueryReset setting
Its set just a few lines earlier.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
2024-10-10 13:33:47 +02:00
Lynne
c88ef0d14a vulkan: add a #define when printf debugging is enabled
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2024-10-10 13:33:46 +02:00
Lynne
da2c338300 configure: explicitly disable spirv_compiler
spirv_compiler is an undeclared variable that was spontaneously
enabled if libshaderc or libglslang were detected, and served as
a way to enable filters.

However, it being undeclared had the effect that it was neither
considered explicitly disabled nor enabled if libshaderc or
libglslang were detected.

The only category we have which explicitly disables variables
is EXTERNAL_LIBRARY_LIST, however, spirv_compiler is not a real
external library, and making it present there would report its
detection on ./configure.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
2024-10-10 13:33:46 +02:00
Lynne
da585e3471 configure: add spirv_compiler to avfilter_suggest as well
If someone were to enable libglslang/libshaderc, and then disable
all Vulkan filters, they would have the same issue as the earlier
fix for libavcodec.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
2024-10-10 13:33:46 +02:00
James Almer
3746ef09d3 avutil/pixfmt: add V30X pixel format
This maps to the 444YpCbCr10 pixel format as defined by Apple.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2024-10-10 13:33:46 +02:00
James Almer
e416f52cd4 avutil/pixfmt: add VYU444 pixel format
This maps to the 444YpCbCr8 pixel format as defined by Apple, which is ordered
Cr Y' Cb.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2024-10-10 13:33:46 +02:00
James Almer
e6bd1e2ff3 avutil/pixfmt: add UYVA pixel format
This maps to the 4444YpCbCrA8 pixel format as defined by Apple, which is ordered
Cb Y' Cr A.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2024-10-10 13:33:45 +02:00
James Almer
1e72543b8f avutil/pixfmt: add AYUV pixel format
This maps to the 4444AYpCbCr8 pixel format as defined by Apple, which is ordered
A Y’ Cb Cr.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2024-10-10 13:33:45 +02:00
James Almer
8de4e46c5c avutil/pixfmt: extend the VUY{A,X} description
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2024-10-10 13:33:45 +02:00
Paul B Mahol
19d655a4a3 avfilter: add peakpass audio filter 2024-10-10 13:11:07 +02:00
Paul B Mahol
7cff2a1148 avfilter/acrossover_template: fix regression 2024-10-10 09:57:31 +02:00
Paul B Mahol
850e9d2d3c avfilter/af_acrossover: ignore out of range splits 2024-10-09 23:06:26 +02:00
Paul B Mahol
0531b15bba avfilter/aiireq_template: fix unstable output in some cases 2024-10-09 22:28:42 +02:00
Paul B Mahol
e1057e7c7d avfilter/aiireq_template: factor same divisors out 2024-10-09 22:02:59 +02:00
Paul B Mahol
b5cb8a04a4 avfilter/af_asupercut: refactor by using biquads_template
Make it also much faster.
2024-10-09 21:22:59 +02:00
Paul B Mahol
1733df7ada avfilter/biquads_template: make biquad functions work with any private filter context 2024-10-09 19:15:59 +02:00
Paul B Mahol
0168f01d51 avfilter/compand_template: use fma() in one more place 2024-10-09 18:18:30 +02:00
Paul B Mahol
f75ac22e00 avfilter/window_func: change overlap for windows to match COLA 2024-10-09 15:00:11 +02:00
Paul B Mahol
4adc17a081 avfilter/af_astats: refactor into template 2024-10-09 14:45:55 +02:00
Paul B Mahol
e5554c2bb7 avfilter/af_astats: reduce level of referencing 2024-10-09 12:52:52 +02:00
Peter Ross
2a60e60f73 avcodec/vp56: decode interlace content
Modification of patch submitted by Aurelien Jacobs (November 2007).

Fixes ticket #5581.
2024-10-09 10:56:55 +02:00
Paul B Mahol
006d22e0af avfilter/compand_template: use fma() 2024-10-09 10:53:18 +02:00
Paul B Mahol
2804f8854a avfilter/af_astats: add clip count stat 2024-10-09 08:57:14 +02:00
Paul B Mahol
b649c1fd7c avfilter/alimiter_template: use fma() 2024-10-09 00:50:30 +02:00
Paul B Mahol
9d2b4567bf avfilter/adrc_template: use fma() 2024-10-09 00:05:35 +02:00
Paul B Mahol
9f5cbdf7fc avfilter/adynamicequalizer_template: use fma 2024-10-08 23:02:03 +02:00
Paul B Mahol
7f7e4c0a35 avfilter/apulsator_template: fix small style issue 2024-10-08 22:25:29 +02:00
Paul B Mahol
ce164b6ab9 avfilter/af_apulsator: add float sample format support 2024-10-08 22:21:24 +02:00
Paul B Mahol
e717bedcb2 avfilter/af_apulsator: add slice threading support 2024-10-08 22:00:44 +02:00
Paul B Mahol
bb0984a1ef avfilter/af_apulsator: add support for commands 2024-10-08 21:53:51 +02:00
Paul B Mahol
484cbfd46d avfilter/af_apulsator: add timeline support 2024-10-08 21:53:51 +02:00
Paul B Mahol
57269f669e avfilter/af_apulsator: stop limiting processing to stereo layout 2024-10-08 21:53:51 +02:00
Niklas Haas
ea70d17d46 swscale/ppc: fix altivec build failure
Fixes: c1a0e657638f7007dcc807a2d985c22631fcd6d3
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2024-10-08 19:45:34 +02:00
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
Niklas Haas
c01bfd44e5 swscale/input: parametrize ff_sws_init_input_funcs() pointers
Following the precedent set by ff_sws_init_output_funcs().

Sponsored-by: Sovereign Tech Fund
Signed-off-by: Niklas Haas <git@haasn.dev>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2024-10-08 19:45:33 +02:00
Niklas Haas
49399fd633 swscale/internal: add typedefs for input reading functions
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Niklas Haas <git@haasn.dev>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2024-10-08 19:45:33 +02:00
Niklas Haas
d595d6ab21 swscale/internal: forward typedef SwsContext
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Niklas Haas <git@haasn.dev>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2024-10-08 19:45:33 +02:00
Niklas Haas
2af73205a7 swscale/internal: constify SwsFunc
I want to move away from having random leaf processing functions mutate
plane pointers, and while we're at it, we might as well make the strides
and tables const as well.

Sponsored-by: Sovereign Tech Fund
Signed-off-by: Niklas Haas <git@haasn.dev>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2024-10-08 19:45:33 +02:00
Niklas Haas
738990e01d swscale/internal: turn cascaded_tmp into an array
Slightly more convenient to access from the new wrapping code.

Sponsored-by: Sovereign Tech Fund
Signed-off-by: Niklas Haas <git@haasn.dev>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2024-10-08 19:45:33 +02:00
Niklas Haas
089045b951 swscale/internal: expose ff_update_palette() internally
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Niklas Haas <git@haasn.dev>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2024-10-08 19:45:33 +02:00
Niklas Haas
2d7bf59f78 swscale/internal: rename NB_SWS_DITHER for consistency
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Niklas Haas <git@haasn.dev>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2024-10-08 19:43:37 +02:00
Niklas Haas
1aae1d023b tests/swscale: fix minor typos
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Niklas Haas <git@haasn.dev>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2024-10-08 19:43:36 +02:00
Niklas Haas
b22ef26782 avfilter/src_movie: configure correct YUV attributes
Missed by the YUV negotiation series.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
2024-10-08 19:43:36 +02:00
Paul B Mahol
951d4ba5f5 avfilter/af_volumedetect: add timeline support 2024-10-08 19:12:29 +02:00
Paul B Mahol
b82f5fa280 avfilter/af_aquant: mark bitdepth option as runtime configurable 2024-10-08 18:56:31 +02:00
Paul B Mahol
d47a05a263 avfilter/af_aquant: add timeline support 2024-10-08 18:51:10 +02:00
Paul B Mahol
4466f67426 avfilter/af_channelsplit: allow extracting layouts with NONE channels 2024-10-08 16:11:37 +02:00
Paul B Mahol
672b106515 avfilter/af_channelsplit: simplify logic 2024-10-08 15:56:12 +02:00