Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-27configure: probe RISC-V Vector extensionRémi Denis-Courmont
2022-07-01Makefile: Prompt for reconfigure on lavc/hwaccels.h modificationAndreas Rheinhardt
Adding a new AVHWAccel also adds a new CONFIG variable for it and said config variables are typically used to calculate the size of stack arrays. In such a context, an undefined CONFIG variable does not evaluate to zero; instead it leads to a compilation failure. Therefore treat this file like the other files containing lists of configurable components and prompt for reconfiguration if it is modified. (E.g. a44fba0b5b3b4090f9238751736198ddd1f0f1d5 led to compilation failures for me.) Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-06-02Makefile: avoid cp-ing over existing executable filesrcombs
On macOS, code-signing information for executables (including those signed automatically by the linker) is cached by the system on a per-inode basis. The cp(1) tool will truncate and overwrite an existing file if present, so we need to delete it first to avoid strange crashes. See https://developer.apple.com/documentation/security/updating_mac_software
2022-05-10lib*/version: Move library version functions into files of their ownAndreas Rheinhardt
This avoids having to rebuild big files every time FFMPEG_VERSION changes (which it does with every commit). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-03-18Makefile: check config_components.h when comparing timestamps in component ↵James Almer
list files Signed-off-by: James Almer <jamrial@gmail.com>
2022-03-18Makefile: delete config_components.h on distcleanJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2022-02-25Remove mentions of a nonexistent avversion.hMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2022-01-04Makefile: Redo duplicating object files in shared buildsAndreas Rheinhardt
In case of shared builds, some object files containing tables are currently duplicated into other libraries: log2_tab.c, golomb.c, reverse.c. The check for whether this is duplicated is simply whether CONFIG_SHARED is true. Yet this is crude: E.g. libavdevice includes reverse.c for shared builds, but only needs it for the decklink input device, which given that decklink is not enabled by default will be unused in most libavdevice.so. This commit changes this by making it more explicit about what to duplicate from other libraries. To do this, two new Makefile variables were added: SHLIBOBJS and STLIBOBJS. SHLIBOBJS contains the objects that are duplicated from other libraries in case of shared builds; STLIBOBJS contains stuff that a library has to provide for other libraries in case of static builds. These new variables provide a way to enable/disable with a finer granularity than just whether shared builds are enabled or not. E.g. lavd's Makefile now contains: SHLIBOBJS-$(CONFIG_DECKLINK_INDEV) += reverse.o Another example is provided by the golomb tables. These are provided by lavc for static builds, even if one uses a build configuration that makes only lavf use them. Therefore lavc's Makefile contains STLIBOBJS-$(CONFIG_MXF_MUXER) += golomb.o, whereas lavf's Makefile has a corresponding SHLIBOBJS-$(CONFIG_MXF_MUXER) += golomb_tab.o. E.g. in case the MXF muxer is the only component needing these tables only libavformat.so will contain them for shared builds; currently libavcodec.so does so, too. (There is currently a CONFIG_EXTRA group for golomb. But actually one would need two groups (golomb_avcodec and golomb_avformat) in order to know when and where to include these tables. Therefore this commit uses a Makefile-based approach for this and stops using these groups for the users in libavformat.) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-12-20build: add .metal to vpath to fix build errorZhao Zhili
Signed-off-by: Aman Karmani <aman@tmm1.net>
2021-12-15avutil: [loongarch] Add support for loongarch SIMD.Shiyou Yin
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>
2021-08-08FATE: add a test for sliced scalingAnton Khirnov
2021-04-27libavresample: Remove deprecated libraryAndreas Rheinhardt
Deprecated in c29038f3041a4080342b2e333c1967d136749c0f. The resample filter based upon this library has been removed as well. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: James Almer <jamrial@gmail.com>
2021-03-19avcodec: move core AVCodecContext functions from util.c to a new fileJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2020-11-20tools/enum_options: fix build and add to MakefileAnton Khirnov
2020-10-12Add support for building fuzzer tools for an individual demuxerMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-09-13tools:target_dem_fuzzer: Split into a fuzzer fuzzing at the protocol level ↵Michael Niedermayer
and one fuzzing a fixed demuxer input This should improve coverage and should improve the efficiency of seed files Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-03-11Makefile: Delete more created files when running "make distclean".Carl Eugen Hoyos
2019-12-06tools: add a fuzzer tool for bitstream filtersJames Almer
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
2019-05-31tools: Add fuzzer for demuxersMichael Niedermayer
This is based on target_dec_fuzzer Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-03-11Merge commit '7e5bde93a1e7641e1622814dafac0be3f413d79b'James Almer
* commit '7e5bde93a1e7641e1622814dafac0be3f413d79b': build: Rename OBJDIRS variable to OUTDIRS Merged-by: James Almer <jamrial@gmail.com>
2019-02-16build: Rename OBJDIRS variable to OUTDIRSDiego Biurrun
These directories are not just for object files.
2018-12-28Makefile: Allow "make clean" to delete compat/atomics/pthread/stdatomic.oCarl Eugen Hoyos
Reported-by: Eric Thomas
2018-07-21avcodec/parser: move parsers list and related API to its own fileJames Almer
And add it to the CONFIGURABLE_COMPONENTS list in Makefile. This way, changes to the new file will be tracked and the usual warning to suggest re-running configure will be shown. Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2018-04-01Revert "lavd: add new API for iterating input and output devices"Josh de Kock
This reverts commit 0fd475704e871ef3a535947596a012894bae3cbd. Revert "lavd: fix iterating of input and output devices" This reverts commit ce1d77a5e7cebce11074bf6f9e38ad6da37338ff. Signed-off-by: Josh de Kock <josh@itanimul.li>
2018-02-06lavd: add new API for iterating input and output devicesJosh de Kock
This also adds an avpriv function to register devices in libavformat
2018-02-06lavf: add new API for iterating muxers and demuxersJosh de Kock
2018-02-06lavc: add new API for iterating codecs and codec parsersJosh de Kock
Based on an unfinished patch by atomnuker.
2017-11-14Makefile: fix distclean targetJames Almer
It must imply clean. Regression since 7ebe7e8e7a76c0ce302f4f583ef0d14220031214. Signed-off-by: James Almer <jamrial@gmail.com>
2017-11-13Makefile: fix distclean targetJames Almer
It must imply clean. Regression since e0087a5624117a1d643e2cb433ecc4d536756dda. Signed-off-by: James Almer <jamrial@gmail.com>
2017-11-12Merge commit '7ebe7e8e7a76c0ce302f4f583ef0d14220031214'James Almer
* commit '7ebe7e8e7a76c0ce302f4f583ef0d14220031214': build: Remove pkg-config files on clean instead of on distclean Merged-by: James Almer <jamrial@gmail.com>
2017-11-12Merge commit 'fbf77b5ac37bf2a807d8336450801d7aecf2e359'James Almer
* commit 'fbf77b5ac37bf2a807d8336450801d7aecf2e359': build: Add uninstall-pkgconfig target to match install-lib*-pkgconfig Merged-by: James Almer <jamrial@gmail.com>
2017-11-12Merge commit 'cbcdb2d8e47f62f69accee62c08f487a27848174'James Almer
* commit 'cbcdb2d8e47f62f69accee62c08f487a27848174': build: Delete compiler-generated compat files on 'make clean' See d100dc6c9955af8b7a7a60a37a362a51c819222e a2ca9e11ff7166cbbc0314d152702a201f6a14fb Merged-by: James Almer <jamrial@gmail.com>
2017-11-09build: Remove pkg-config files on clean instead of on distcleanDiego Biurrun
The files are no longer generated by configure, so they should not be removed by the distclean target any longer.
2017-11-09build: Add uninstall-pkgconfig target to match install-lib*-pkgconfigDiego Biurrun
2017-10-19build: Delete compiler-generated compat files on 'make clean'Diego Biurrun
2017-10-12Merge commit 'd1d6230ea3dd2c34bcd121f958706f3177f8d8c5'James Almer
* commit 'd1d6230ea3dd2c34bcd121f958706f3177f8d8c5': build: Add "build" shorthand target that depends on all compile targets Merged-by: James Almer <jamrial@gmail.com>
2017-10-11Merge commit '7cb1d9e2dbbe5bf4652be5d78cdd68e956fa3d63'James Almer
* commit '7cb1d9e2dbbe5bf4652be5d78cdd68e956fa3d63': build: Fine-grained link-time dependency settings Also included are bug fix commits 5ff3b5cafcc685b6936d16602b0f80aa09a95870, d9da7151eef7fc469787e7298196cea291acfd82 and 5e27ef800bfa2be17a6353ddedac6b7400e4624f. Merged-by: James Almer <jamrial@gmail.com>
2017-10-10Makefile: generate stripped CLI tools directly instead of copying unstripped ↵Marton Balint
ones first Now works with --disable-stripping. Signed-off-by: Marton Balint <cus@passwd.hu>
2017-10-05build: add install targets for the examplesJames Almer
Split it off from install-data. Among other things, this prevents spamming triplicate log lines during install. Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-02Merge commit 'c95169f0ec68bdeeabc5fde8aa4076f406242524'James Almer
* commit 'c95169f0ec68bdeeabc5fde8aa4076f406242524': build: Move cli tool sources to a separate subdirectory Merged-by: James Almer <jamrial@gmail.com>
2017-09-29Merge commit 'ab566cc96bc0c31b34d944214bc06cec8ae8b640'James Almer
* commit 'ab566cc96bc0c31b34d944214bc06cec8ae8b640': build: Separate logic for building examples from that for building avtools Merged-by: James Almer <jamrial@gmail.com>
2017-09-29build: don't call install with the -T optionJames Almer
It's not available on macOS. Should fix a regression instroduced by b25d6290c67e193b91becab12e6c88df134cee81. Signed-off-by: James Almer <jamrial@gmail.com>
2017-09-29Merge commit 'acb0dea27efff4b35796015b96570b59fd517078'James Almer
* commit 'acb0dea27efff4b35796015b96570b59fd517078': build: Split logic for building examples off into a separate Makefile We already have a Makefile in doc/examples, but it's separate from the build system and meant to be installed as part of the documentation to help users compile the installed .c example files. Move it to Makefile.example to make place for the new build system Makefile. Merged-by: James Almer <jamrial@gmail.com>
2017-09-29Merge commit '533339bdcc3b39bbd708c723b3cd0b5898350f0f'James Almer
* commit '533339bdcc3b39bbd708c723b3cd0b5898350f0f': build: Drop leftover reference to old EXAMPLES logic Merged-by: James Almer <jamrial@gmail.com>
2017-06-27dxva: add support for new dxva2 and d3d11 hwaccel APIswm4
This also adds support to avconv (which is trivial due to the new hwaccel API being generic enough). The new decoder setup code in dxva2.c is significantly based on work by Steve Lhomme <robux4@gmail.com>, but with heavy changes/rewrites. Merges Libav commit f9e7a2f95a7194a8736cc1416a03a1a0155a3e9f. Also adds untested VP9 support. The check for DXVA2 COBJs is removed. Just update your MinGW to something newer than a 5 year old release. Signed-off-by: Diego Biurrun <diego@biurrun.de>
2017-06-21build: Generalize yasm/nasm-related variable namesDiego Biurrun
None of them are specific to the YASM assembler. (Cherry-picked from libav commit 39e208f4d4756367c7cd2d581847e0c1b8a429c1) Signed-off-by: James Almer <jamrial@gmail.com>
2017-06-15ffmpeg: Enable generic hwaccel support for VDPAUMark Thompson
(cherry picked from commit aa6b2e081c504cb99f5e2e0ceb45295ef24bdac2)
2017-06-15ffmpeg: Enable generic hwaccel support for VAAPIMark Thompson
(cherry picked from commit 62a1ef9f26c654a3e988aa465c4ac1d776c4c356)
2017-06-15ffmpeg: Generic device setupMark Thompson
Not yet enabled for any hwaccels. (cherry picked from commit d2e6dd32a445b5744a51d090c0822dbd7e434592) (cherry picked from commit 9203aac22874c7259e155b7d00f1f33bb1355129)
2017-06-12tools: add sofa2wavsPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>