summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAge
...
* vf_libplacebo: switch to newer libplacebo helpersNiklas Haas2021-12-15
| | | | | | | | | | | | | | | | | Support for mapping/unmapping hardware frames has been added into libplacebo itself, so we can scrap this code in favor of using the new functions. This has the additional benefit of being forwards-compatible as support for more complicated frame-related state management is added to libplacebo (e.g. mapping dolby vision metadata). It's worth pointing out that, technically, this would also allow `vf_libplacebo` to accept, practically unmodified, other frame types (e.g. vaapi or drm), or even software input formats. (Although we still need a vulkan *device* to be available) To keep things simple, though, retain the current restriction to vulkan frames. It's possible we could rethink this in a future commit, but for now I don't want to introduce any more potentially breaking changes.
* avutil: [loongarch] Add support for loongarch SIMD.Shiyou Yin2021-12-15
| | | | | | | | | | | LSX and LASX is loongarch SIMD extention. They are enabled by default if compiler support it, and can be disabled with '--disable-lsx' '--disable-lasx'. Change-Id: Ie2608ea61dbd9b7fffadbf0ec2348bad6c124476 Reviewed-by: Shiyou Yin <yinshiyou-hf@loongson.cn> Reviewed-by: guxiwei <guxiwei-hf@loongson.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter: add a transpose_vulkan filterWu Jianhua2021-12-10
| | | | | | | | The following command is on how to apply transpose_vulkan filter: ffmpeg -init_hw_device vulkan -i input.264 -vf \ hwupload=extra_hw_frames=16,transpose_vulkan,hwdownload,format=yuv420p output.264 Signed-off-by: Wu Jianhua <jianhua.wu@intel.com>
* lavfi/vf_subtitles: stop using deprecated ass_set_aspect_ratio()Anton Khirnov2021-12-07
| | | | | It has been deprecated in favor of ass_set_pixel_aspect() since version 0.11.0, roughly ~2014. Even Debian oldoldstable (stretch) has 0.13.
* avfilter: add a flip_vulkan filterWu Jianhua2021-12-02
| | | | | | | | This filter flips the input video both horizontally and vertically in one compute pipeline, and it's no need to use two pipelines for hflip_vulkan,vflip_vulkan anymore. Signed-off-by: Wu Jianhua <jianhua.wu@intel.com>
* configure: Add support for loongarch.Shiyou Yin2021-12-01
| | | | | | | | | | | | For la464 cpu: ./configure --cpu=la464 With cross-compiler: ./configure --cross-prefix=loongarch64-linux-gnu- \ --enable-cross-compile --arch=loongarch64 \ --target-os=linux --cpu=la464 Reviewed-by: 陈昊 <chenhao@loongson.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavc/proresdec: add videotoolbox hwaccelrcombs2021-11-28
|
* lavc/videotoolbox: add VP9 hardware accelerationrcombs2021-11-28
| | | | On M1 Max, this supports profiles 0 and 2, but not 1 and 3.
* lavu/videotoolbox: add 422 and 444 pixel format mappingsrcombs2021-11-28
|
* configure: fix test_pkg_config_cpp after 1e5acc1b5985c58eLynne2021-11-27
|
* Revert "Disable warnings for casting pointers to integers, there is nothing ↵Andreas Rheinhardt2021-11-26
| | | | | | | | | | | | | wrong with that." This reverts commit 5258f64a14713499cf84840b3ab3a1ee7cdcaeb8. The premise of said commit (that conversions from pointer to int are ok) is wrong: C99/C11 6.3.2.3 5: "Any pointer type may be converted to an integer type. [...] If the result cannot be represented in the integer type, the behavior is undefined." (C90 6.3.4 contains a similar restriction.) So don't disable -Wpointer-to-int-cast. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* configure: do not include -lvulkan to cflags in vulkan's pkg-config checkLynne2021-11-26
| | | | Also fixes the non-pkg-config check.
* avfilter: add a vflip_vulkan filterWu Jianhua2021-11-19
| | | | | | | | The following command is on how to apply vflip_vulkan filter: ffmpeg -init_hw_device vulkan -i input.264 -vf hwupload=extra_hw_frames=16,vflip_vulkan,hwdownload,format=yuv420p output.264 Signed-off-by: Wu Jianhua <jianhua.wu@intel.com>
* avfilter: add a hflip_vulkan filterWu Jianhua2021-11-19
| | | | | | | | The following command is on how to apply hflip_vulkan filter: ffmpeg -init_hw_device vulkan -i input.264 -vf hwupload=extra_hw_frames=16,hflip_vulkan,hwdownload,format=yuv420p output.264 Signed-off-by: Wu Jianhua <jianhua.wu@intel.com>
* lavu/vulkan: add support for using libshaderc as a GLSL compilerLynne2021-11-19
| | | | | | | It's got a much better API that's actually maintained, it eliminates race conditions, it comes with a pkg-config file by default, and unfortunately isn't currently packaged by Debian or other large distributions.
* lavu/vulkan: move common Vulkan code from libavfilter to libavutilLynne2021-11-19
|
* libavfilter: add a gblur_vulkan filterWu Jianhua2021-11-16
| | | | | | | | | | | | This commit adds a powerful and customizable gblur Vulkan filter, which provides a maximum 127x127 kernel size of Gaussian Filter. The size could be adjusted by requirements on quality or performance. The following command is on how to apply gblur_vulkan filter: ffmpeg -init_hw_device vulkan -i input.264 -vf hwupload=extra_hw_frames=16,gblur_vulkan,hwdownload,format=yuv420p output.264 Signed-off-by: Wu Jianhua <jianhua.wu@intel.com>
* lavfi: add a libplacebo filterNiklas Haas2021-11-12
| | | | | | | | | | | | | | | | | | | | | | | | This filter conceptually maps the libplacebo `pl_renderer` API into libavfilter, which is a high-level image rendering API designed to work with an RGB pipeline internally. As such, there's no way to avoid e.g. chroma interpolation with this filter, although new versions of libplacebo support outputting back to subsampled YCbCr after processing is done. That being said, `pl_renderer` supports automatic integration of the majority of libplacebo's shaders, ranging from debanding to tone mapping, and also supports loading custom mpv-style user shaders, making this API a natural candidate for getting a lot of functionality out of relatively little code. In the future, I may approach this problem either by rewriting this filter to also support a non-renderer codepath, or by upgrading libplacebo's renderer to support a full YCbCr pipeline. This unfortunately requires a very new version of libplacebo (unreleased at time of writing) for timeline semaphore support. But the amount of boilerplate needed to hack in backwards compatibility would have been very unreasonable.
* lavfi/glslang: migrate to the C API and robustify library detectionLynne2021-11-12
| | | | | | | | Finally, this is as close to usable as it gets for glslang. Much faster to compile as well, and eliminates the need for a C++ compiler, which is great. Also, changes to the resource limits won't break users, as we can use designated initializers in C90.
* lavfi/vulkan: use libavutil's vulkan loaderLynne2021-11-12
| | | | This finally fully eliminates the need to statically link to libvulkan!
* hwcontext_vulkan: bump required Vulkan loader version to 1.2Lynne2021-11-12
|
* avfilter/scale_npp: add scale2ref_npp filterRoman Arzumanyan2021-11-03
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avutil/hwcontext_videotoolbox: fix use of unknown builtin '__builtin_available'Limin Wang2021-11-03
| | | | | | | | OSX version: 10.11.6 Apple LLVM version 8.0.0 (clang-800.0.42.1) Target: x86_64-apple-darwin15.6.0 Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* configure: add initial RISC-V supportBrad Smith2021-10-29
| | | | | | | OpenBSD only supports riscv64 but this is an attempt at adding some of the initial bits for RISC-V support. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* configure: add hls demuxer link dependenciesLimin Wang2021-10-28
| | | | | | Fixes building with --disable-everything --enable-demuxer=hls Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* configure: export pkg-config includedir variableJames Almer2021-10-09
| | | | | | | | | | Some packages may not define custom cflags, in which case a simple "pkg-config --cflags" call will return an empty string. This change will be useful to get a valid include path that can be used in library checks. Reviewed-by: Haihao Xiang <haihao.xiang@intel.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/sharpen_npp: add sharpening video filter with borders controlRoman Arzumanyan2021-10-07
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* configure: arm: Don't add -march= to the compiler if no preference was passedMartin Storsjö2021-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If no --cpu= option was passed to configure, we detect what the compiler defaults to. This detected value was then fed back to the rest of the configure logic, as if it was an explicit choice. This breaks on Ubuntu 21.10 with GCC 11.1. Since GCC 8, it's possible to add configure extra features via the -march option, like e.g. -march=armv7-a+neon. If the -mfpu= option is configured to default to 'auto', the fpu setting gets taken from the -march option. GCC 11.1 in Ubuntu seems to be configured to use -mfpu=auto. This has the effect of breaking any compilation command that specifies -march=armv7-a, because the driver implicitly also adds -mfloat-abi=hard, and that combination results in this error: cc1: error: ‘-mfloat-abi=hard’: selected processor lacks an FPU One can compile successfully by passing e.g. -march=armv7-a+fp. Therefore, restructure configure. If no specific preference was set (and the 'cpu' configure variable was set as the output of probe_arm_arch), the value we tried to set via -march= was the same value that we just tried to detect as the compiler default. So instead, just try to detect what the compiler defaults to, with to allow setting other configure settings (such as 'fast_unaligned'), but don't try to spell out the compiler's default via the -march flag. Signed-off-by: Martin Storsjö <martin@martin.st>
* avfilter/frei0r: use win32dlfcn wrapperTimo Rothenpieler2021-09-15
|
* configure: account for openssl3 license changeTimo Rothenpieler2021-09-15
|
* configure: Remove null_bsf dependencyAndreas Rheinhardt2021-09-14
| | | | | | | Unneeded since c96904f525afcaba756a5ce8511a3ee1aa9fd2d7 (a bsf-list with zero bsfs is used since that commit). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/af_asoftclip: rewrite oversamplingPaul B Mahol2021-09-12
| | | | Fixes most aliasing issues.
* avformat: add an AV1 Low overhead bitstream format muxerJames Almer2021-09-01
| | | | | Suggested-by: BBB Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/vf_convolve: switch to TX FFT from avutilPaul B Mahol2021-08-17
|
* avdevice/decklink: add sqd configuration optionLimin Wang2021-08-16
| | | | | Reviewed-by: Marton Balint <cus@passwd.hu> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* configure: [loongson] adjust MMI check in configureJin Bo2021-08-10
| | | | | | | | | | | After standardizing the use of 'pxor' in commit 'ebedd26', FFmpeg build failed with upstream compiler, for 'pxor' is not supported in time. This patch helps to workaround the build failure by checking whether 'pxor' is supported during configuration, if not, MMI will be disabled. Reviewed-by: yinshiyou-hf@loongson.cn Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vaf_spectrumsynth: switch to TX FFT from avutilPaul B Mahol2021-08-04
|
* avfilter/af_afftfilt: switch to TX FFT from avutilPaul B Mahol2021-08-04
|
* avfilter/avf_showfreqs: switch to TX FFT from avutilPaul B Mahol2021-07-30
|
* avfilter/avf_showcqt: switch to TX FFT from avutilPaul B Mahol2021-07-27
|
* avfilter/af_afftdn: switch to TX FFT from avutilPaul B Mahol2021-07-27
|
* configure: remove sofalizer triggering of avcodec dependencyPaul B Mahol2021-07-24
|
* avfilter/avf_showspectrum: switch to TX FFT from avutilPaul B Mahol2021-07-24
|
* avfilter/af_headphone: switch to TX FFT from avutilPaul B Mahol2021-07-24
|
* avfilter/af_sofalizer: switch to TX FFT from avutilPaul B Mahol2021-07-24
|
* lavu/checkasm: add (private) kperf timing for macOSJ. Dekker2021-07-20
| | | | Signed-off-by: J. Dekker <jdek@itanimul.li>
* configure: use the correct header for the fallback libxext checkJames Almer2021-07-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* configure: clean up and fix xlib checksJames Almer2021-07-15
| | | | | | Split them into separate checks per library. Signed-off-by: James Almer <jamrial@gmail.com>
* configure: use pkg-config for xlib/XvTimo Rothenpieler2021-07-14
|
* fate/ffprobe: Verify ffprobe XML output against schema fileTobias Rapp2021-07-13
| | | | | | | | | | | Adds schema validation for ffprobe XML output so that updating the ffprobe.xsd file upon changes to ffprobe is not forgotten. This was suggested by Marton Balint in: http://ffmpeg.org/pipermail/ffmpeg-devel/2021-March/278428.html The schema FATE test is only run if xmllint command is available. Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>