aboutsummaryrefslogtreecommitdiffstats
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* libavfilter: Whisper audio filterVittorio Palmisano3 days1-0/+5
| | | | | It adds a new audio filter for running audio transcriptions with the whisper model. Documentation and examples are included into the patch.
* configure: enable Vulkan VP9 decoding and AV1 encoding if the headers support itLynne3 days1-1/+7
|
* lavf: add mcc muxerJacob Lifshay3 days1-0/+2
| | | | Signed-off-by: Jacob Lifshay <programmerjake@gmail.com>
* lavf/mccdec: clean up, add support for mcc 2.0 features, and add ↵Jacob Lifshay3 days1-0/+1
| | | | | | SMPTE_436M_ANC output stream Signed-off-by: Jacob Lifshay <programmerjake@gmail.com>
* lavf/mxfenc: support EIA-608/708 streams by using eia608_to_smpte436m bsfJacob Lifshay3 days1-0/+1
| | | | Signed-off-by: Jacob Lifshay <programmerjake@gmail.com>
* lavc: add eia608_to_smpte436m bitstream filterJacob Lifshay3 days1-0/+1
| | | | Signed-off-by: Jacob Lifshay <programmerjake@gmail.com>
* lavc: add smpte436m_to_eia608 bitstream filterJacob Lifshay3 days1-0/+1
| | | | Signed-off-by: Jacob Lifshay <programmerjake@gmail.com>
* lavc: add API for manipulating SMPTE-436M VBI/ANC dataJacob Lifshay3 days1-0/+1
| | | | Signed-off-by: Jacob Lifshay <programmerjake@gmail.com>
* lavc: add a ProRes RAW Vulkan hwaccelLynne3 days1-0/+2
| | | | | | | | | | | | | | | This commit adds a ProRes RAW hardware implementation written in Vulkan. Both version 0 and version 1 streams are supported. The implementation is highly parallelized, with 512 invocations dispatched per every tile, with generally 4k tiles on a 5.8k stream. Thanks to unlord for the 8-point iDCT. Benchmark for a generic 5.8k RAW HQ file: 6900XT: 63fps 7900XTX: 84fps 6000 Ada: 120fps Intel: 9fps
* lavc: add a ProRes RAW decoderLynne3 days1-0/+1
|
* lavc: add an av1_vulkan encoderLynne3 days1-0/+1
| | | | This commit adds a Vulkan AV1 encoder, using the native acceleration API.
* vp9: add Vulkan VP9 hwaccelLynne3 days1-0/+2
|
* lavc/vp9dec: use cbs_vp9 to parse the frame headerLynne3 days1-1/+1
|
* configure: Fix build with MSVCZhao Zhili4 days1-4/+4
| | | | | | | The copyright message of cl.exe doesn't always begin with Microsoft, e.g., when local is Chinese. Fix regression since 53da090ab7b.
* configure: add POWER9 & 10 cpusSean McGovern5 days1-1/+1
| | | | IBM introduced POWER9 in 2017 and likewise POWER10 in 2020.
* configure: don't disable '-ftree-vectorize' on GCC >= 13 on major architecturesJiawei5 days1-1/+19
| | | | | | | | | | | | | | | | | | | | | This changes configure to stop disabling -ftree-vectorize on GCC versions 13 and newer, on major architectures. Background: - Original `-fno-tree-vectorize` was added in 2009 in commit 973859f5230e to avoid compiler errors. - Re-enabled in 2016 in commit cb8646af24bd but caused failures due to inline CABAC assembly issues and was disabled again in fd6dbc53855fb. - Commit 182663a58a7a in 2023 fixed the inline CABAC assembly issues. - Recent versions of GCC, in particular 13 and newer, seem to generally work reliably with respect to vectorization, although bugs have been observed on Loongarch. Cautiously allow the GCC default of having vectorization enabled, on major architectures where we expect to see enough testing. If further issues are observed, they should be reported and noted here in configure, so the workarounds can be scoped and version limited.
* configure: treat unrecognized flags as errors on MSVCKacper Michajłow6 days1-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is important for feature checking to work correctly. It can happen that an unrecognized flag passes the compile test with only a warning, while failing in preprocessor-only check with an error. This causes all test_cpp calls to fail and silently produces arguably broken MSVC builds. Also, all check_* functions don't work as expected, because they assume the check passed, even though there was a warning. Additionally, this brings the behavior in line with GCC/Clang based builds, failing early on unrecognized flags instead of silently continuing with warnings in the log. The /options:strict option is available starting in Visual Studio 2022 version 17.0. Because of that, we cannot use check_cflags alone, as it would add this flag for older MSVC versions and produce warnings. So, we need to manually perform a version check. A bit of a chicken and egg problem. Perform the version check before adding extra flags from the user to ensure we don't silently fail the preprocessor check due to invalid flags on older MSVC versions. Note that behavior differs depending on whether we are compiling or only preprocessing. This fixes silent different between handling: `cl.exe -P foo c.c` c1: fatal error C1083: Cannot open source file: 'foo': No such file or directory `cl.exe -c foo c.c` cl : Command line warning D9024 : unrecognized source file type 'foo', object file assumed Where -P fails, while -c throws warnings only. Of course `foo` is completely bogus here, but depends on the flags or configuration this may be unsupported argument. Or even some converted path from MSYS when run inside it. The objective is to always error out instead of silently hiding this. Use check_cflags even after the _MSC_FULL_VER check, for non-MSVC compilers. For example Clang-CL impersonate MSVC, but does not support -options:strict flag currently. Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
* configure: filter link flags separately for MSVCKacper Michajłow6 days1-2/+9
| | | | | | | | | This avoids adding flags that cl.exe doesn't understand. Fixes cases where external libraries pkg-config file adds `-L` to the cflags, strip it before passing to cl.exe. Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
* configure: don't use dangling temp file stateKacper Michajłow6 days1-0/+2
| | | | | | | There was implicit assumption that the $TMPC file is empty when doing --cpu=host checks. This breaks if any check is done before that. Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
* all: fix typos found by codespellTimo Rothenpieler8 days1-5/+5
|
* avfilter: add scale_d3d11 filterDash Santosh11 days1-0/+1
| | | | | | | This commit introduces a new hardware-accelerated video filter, scale_d3d11, which performs scaling and format conversion using Direct3D 11. The filter enables efficient GPU-based scaling and pixel format conversion (p010 to nv12), reducing CPU overhead and latency in video pipelines.
* avcodec/apv: align APV color format support with latest liboapv versionDariusz Frankiewicz11 days1-1/+1
| | | | | Signed-off-by: Dariusz Frankiewicz <d.frankiewic@samsung.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* configure: suppress Wmicrosoft-enum-forward-referenceKacper Michajłow2025-07-221-0/+1
| | | | | | | Clang-CL complains about fwd references of enums, but we do use it everywhere, so ignore this. Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
* configure: remove ossfuzz sanitizer flagsKacper Michajłow2025-07-191-5/+0
| | | | | | | | In OSS-Fuzz build environment flags are handled by CFLAGS and LDFLAGS. In local build use --toolchain=clang-fuzz-asan-ubsan or similar combination depending on requested sanitizers. Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
* configure: add -fuzz support to --toolchainKacper Michajłow2025-07-191-1/+6
| | | | | | libFuzzer is linked only for fuzzing targets. Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
* configure: allow -ubsan in toolchainKacper Michajłow2025-07-191-3/+3
| | | | | | It's is commonly called UBSAN after all. Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
* configure: add -fno-omit-frame-pointer when sanitizers are usedKacper Michajłow2025-07-191-1/+2
| | | | | | | All sanitizers give better reports with frame pointers. And skip adding -fomit-frame-pointer. Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
* configure: allow multiple sanitizers in --toolchainKacper Michajłow2025-07-191-6/+15
| | | | | | For example this allows: --toolchain=clang-asan-usan. Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
* avcodec/ohenc: Add h264/hevc OpenHarmony encodersZhao Zhili2025-07-181-2/+5
|
* avcodec/ohdec: Add h264/hevc OpenHarmony decodersZhao Zhili2025-07-181-0/+4
|
* avutil/hwcontext: Add ohcodec device and pixel formatZhao Zhili2025-07-181-0/+5
| | | | Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
* configure: add -Wl when linker is called indirectlyKacper Michajłow2025-07-171-1/+5
| | | | | | | It's possible to call linker indirectly through driver like Clang. In which cases linker args has to be prefixed with -Wl. Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
* avformat/tls_schannel: add check for Windows 10 only types and definesJames Almer2025-07-151-0/+4
| | | | | | | Old Mingw-w64 releases provided by some distros seemingly don't have them, so check for them and disable the dtls protocol if unavailable. Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/tls_schannel: add DTLS supportTimo Rothenpieler2025-07-111-2/+4
|
* configure: require at least OpenSSL 1.1.0Marvin Scholz2025-07-071-6/+3
| | | | | Given that OPENSSL_init_ssl was introduced in 1.1.0 means we can rely on that to ensure we have at least 1.1.0.
* avfilter: add pad_cuda filterJorge Estrada2025-07-041-0/+2
| | | | | | | | | | | This patch adds the pad_cuda video filter. A filter similar to the existing pad filter but accelerated by CUDA. The filter shares the same options as the software pad filter. Example usage: ffmpeg -hwaccel cuda -hwaccel_output_format cuda -i input.mp4 -vf "pad_cuda=w=iw+100:h=ih+100:x=-1:y=-1:color=red" out.mp4 Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/amfdec: Add VP9 AMF decodernyanmisaka2025-06-261-0/+1
|
* configure: h264_vulkan_encoder depends on atsc_a53Peter Ross2025-06-221-1/+1
|
* configure: cbs_apv depends on cbsPeter Ross2025-06-221-0/+1
|
* configure: Relax snowenc->mpegvideoenc dependencyAndreas Rheinhardt2025-06-211-1/+1
| | | | | | It only needs mpegvideoencdsp, motion_est.o and ratecontrol.o. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* configure: Relax diracdec->mpegvideoenc dependencyAndreas Rheinhardt2025-06-211-1/+1
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* configure: Relax svq1enc->mpegvideoenc dependencyAndreas Rheinhardt2025-06-211-1/+1
| | | | | | | It only needs mpegvideoencdsp, motion_est.o and some H.263 specific parts. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* configure: Factor mpegvideoencdsp out of mpegvideoencAndreas Rheinhardt2025-06-211-1/+2
| | | | | | | This will allow to relax the dependency on mpegvideoenc for several codecs. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* configure: Fix a regression when probing link.exeAlexander Strasser2025-06-211-4/+3
| | | | | | | | | | | | The version ident is printed on stdout for link.exe and redirecting stdout to /dev/null will cause the output of link.exe to be paged. This caused configure to hang for some configurations and by extension some FATE clients. You might want to check if you run affected configurations automated in FATE clients or similar setups. Fixes: 45a30e03613a3c63d74a40f7ac86ce28dce14ff8 Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Make MSVC version grabbing more robustMartin Storsjö2025-06-191-1/+4
| | | | | | | | | | | | | | | | | | | When running plain "cl", to get the MSVC version, it prints the version header on stderr, while the usage instructions are printed on stdout. Usually, the version on stderr gets flushed first, so "head -n1" gets the line it expects, but some times (in particular when running MSVC wrapped in wine), it can get the usage line first. Redirect stdout to /dev/null, so we only grab the version among the lines printed to stderr. This should make the version number grabbing more robust. At least all relevant versions of MSVC seem to print this specifically to stderr, not stdout (so we don't risk to miss it); checked down to MSVC 2010. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Update liboapv version requirementDawid Kozinski2025-06-171-1/+1
| | | | | | | Changed the minimum required version of liboapv from 0.1.13 to 0.1.13.1 Signed-off-by: Dawid Kozinski <d.kozinski@samsung.com> Signed-off-by: James Almer <jamrial@gmail.com>
* configure: fix Microsoft tools detectionKacper Michajłow2025-06-171-3/+3
| | | | | | | | | | | | | LLVM tools print installation path upon execution. If one uses LLVM tools bundled with Microsoft Visual Studio installation, they would be incorrectly detected as Microsoft's ones. Microsoft tools can have localized names, so a more specific string check is not feasible, but luckily we can test if "Microsoft" is at the beginning of the line, as it is always the case. Signed-off-by: Kacper Michajłow <kasper93@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: add celp_math componentPeter Ross2025-06-171-5/+8
| | | | | | libavcodec/tests/celp_math depends on libavcodec/celp_math.o This fixes fate when configuring with --disable-everything
* configure: rename POSIX ioctl checkLeo Izen2025-06-081-2/+2
| | | | | | | | | | | | | | | Commit 00b64fca55a3a009c9d0e391c85f4fd3291e5d12 introduced configure detection for HAVE_POSIX_IOCTL but unfortunately this conflicts with v4l-utils version 1.30, which itself checks for #ifdef HAVE_POSIX_IOCTL in a public header and erroneously determines it to be true because we define this to be 0. Since this is only used for avdevice/v4l2, we rename this to something else, namely ioctl_posix, simply to prevent the name conflict with the file /usr/include/libv4l2.h at least until they can upstream a fix on their end. Signed-off-by: Leo Izen <leo.izen@gmail.com>
* avcodec/iirfilter: Remove iirfilter, psy-preprocessingAndreas Rheinhardt2025-06-061-2/+1
| | | | | | | | The iirfilter is only used in its test tool since 01ecb7172b684f1c4b3e748f95c5a9a494ca36ec which stopped using it in AAC, its only user. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>