summaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* tools: add an AV_CODEC_CAP_ENCODER_RECON_FRAME test toolAnton Khirnov2023-03-281-0/+2
|
* configure: probe RISC-V Vector extensionRémi Denis-Courmont2022-09-271-1/+1
|
* Makefile: Prompt for reconfigure on lavc/hwaccels.h modificationAndreas Rheinhardt2022-07-011-0/+1
| | | | | | | | | | | | | | | | 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>
* Makefile: avoid cp-ing over existing executable filesrcombs2022-06-011-0/+1
| | | | | | | | | 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
* lib*/version: Move library version functions into files of their ownAndreas Rheinhardt2022-05-101-1/+3
| | | | | | | 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>
* Makefile: check config_components.h when comparing timestamps in component ↵James Almer2022-03-171-2/+2
| | | | | | list files Signed-off-by: James Almer <jamrial@gmail.com>
* Makefile: delete config_components.h on distcleanJames Almer2022-03-171-1/+1
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* Remove mentions of a nonexistent avversion.hMartin Storsjö2022-02-251-1/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Makefile: Redo duplicating object files in shared buildsAndreas Rheinhardt2022-01-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* build: add .metal to vpath to fix build errorZhao Zhili2021-12-201-0/+1
| | | | Signed-off-by: Aman Karmani <aman@tmm1.net>
* avutil: [loongarch] Add support for loongarch SIMD.Shiyou Yin2021-12-151-1/+1
| | | | | | | | | | | 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>
* FATE: add a test for sliced scalingAnton Khirnov2021-08-081-0/+2
|
* libavresample: Remove deprecated libraryAndreas Rheinhardt2021-04-271-1/+0
| | | | | | | | 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>
* avcodec: move core AVCodecContext functions from util.c to a new fileJames Almer2021-03-191-1/+1
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* tools/enum_options: fix build and add to MakefileAnton Khirnov2020-11-201-0/+3
|
* Add support for building fuzzer tools for an individual demuxerMichael Niedermayer2020-10-121-0/+4
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools:target_dem_fuzzer: Split into a fuzzer fuzzing at the protocol level ↵Michael Niedermayer2020-09-131-0/+3
| | | | | | | | 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>
* Makefile: Delete more created files when running "make distclean".Carl Eugen Hoyos2020-03-111-0/+1
|
* tools: add a fuzzer tool for bitstream filtersJames Almer2019-12-051-0/+3
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* tools: Add fuzzer for demuxersMichael Niedermayer2019-05-311-0/+3
| | | | | | This is based on target_dec_fuzzer Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit '7e5bde93a1e7641e1622814dafac0be3f413d79b'James Almer2019-03-101-1/+1
|\ | | | | | | | | | | | | * commit '7e5bde93a1e7641e1622814dafac0be3f413d79b': build: Rename OBJDIRS variable to OUTDIRS Merged-by: James Almer <jamrial@gmail.com>
| * build: Rename OBJDIRS variable to OUTDIRSDiego Biurrun2019-02-161-1/+1
| | | | | | | | These directories are not just for object files.
| * Makefile: fix distclean targetJames Almer2017-11-141-1/+1
| | | | | | | | | | | | It must imply clean. Regression since 7ebe7e8e7a76c0ce302f4f583ef0d14220031214. Signed-off-by: James Almer <jamrial@gmail.com>
* | Makefile: Allow "make clean" to delete compat/atomics/pthread/stdatomic.oCarl Eugen Hoyos2018-12-281-1/+1
| | | | | | | | Reported-by: Eric Thomas
* | avcodec/parser: move parsers list and related API to its own fileJames Almer2018-07-211-0/+1
| | | | | | | | | | | | | | | | | | 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>
* | Revert "lavd: add new API for iterating input and output devices"Josh de Kock2018-03-311-2/+1
| | | | | | | | | | | | | | | | | | | | 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>
* | lavd: add new API for iterating input and output devicesJosh de Kock2018-02-061-1/+2
| | | | | | | | | | This also adds an avpriv function to register devices in libavformat
* | lavf: add new API for iterating muxers and demuxersJosh de Kock2018-02-061-1/+2
| |
* | lavc: add new API for iterating codecs and codec parsersJosh de Kock2018-02-061-1/+2
| | | | | | | | Based on an unfinished patch by atomnuker.
* | Makefile: fix distclean targetJames Almer2017-11-131-1/+1
| | | | | | | | | | | | It must imply clean. Regression since e0087a5624117a1d643e2cb433ecc4d536756dda. Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit '7ebe7e8e7a76c0ce302f4f583ef0d14220031214'James Almer2017-11-121-1/+0
|\ \ | |/ | | | | | | | | | | * commit '7ebe7e8e7a76c0ce302f4f583ef0d14220031214': build: Remove pkg-config files on clean instead of on distclean Merged-by: James Almer <jamrial@gmail.com>
| * build: Remove pkg-config files on clean instead of on distcleanDiego Biurrun2017-11-091-1/+0
| | | | | | | | | | The files are no longer generated by configure, so they should not be removed by the distclean target any longer.
* | Merge commit 'fbf77b5ac37bf2a807d8336450801d7aecf2e359'James Almer2017-11-121-1/+1
|\ \ | |/ | | | | | | | | | | * commit 'fbf77b5ac37bf2a807d8336450801d7aecf2e359': build: Add uninstall-pkgconfig target to match install-lib*-pkgconfig Merged-by: James Almer <jamrial@gmail.com>
| * build: Add uninstall-pkgconfig target to match install-lib*-pkgconfigDiego Biurrun2017-11-091-1/+1
| |
* | Merge commit 'cbcdb2d8e47f62f69accee62c08f487a27848174'James Almer2017-11-111-3/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit 'cbcdb2d8e47f62f69accee62c08f487a27848174': build: Delete compiler-generated compat files on 'make clean' See d100dc6c9955af8b7a7a60a37a362a51c819222e a2ca9e11ff7166cbbc0314d152702a201f6a14fb Merged-by: James Almer <jamrial@gmail.com>
| * build: Delete compiler-generated compat files on 'make clean'Diego Biurrun2017-10-191-0/+1
| |
| * build: Allow generating dependencies as a side-effect of assemblingDiego Biurrun2017-03-011-3/+3
| |
| * build: Generalize yasm/nasm-related variable namesDiego Biurrun2017-03-011-6/+6
| | | | | | | | None of them are specific to the YASM assembler.
* | Merge commit 'd1d6230ea3dd2c34bcd121f958706f3177f8d8c5'James Almer2017-10-111-1/+3
|\ \ | |/ | | | | | | | | | | * commit 'd1d6230ea3dd2c34bcd121f958706f3177f8d8c5': build: Add "build" shorthand target that depends on all compile targets Merged-by: James Almer <jamrial@gmail.com>
| * build: Add "build" shorthand target that depends on all compile targetsDiego Biurrun2017-03-011-1/+3
| |
* | Merge commit '7cb1d9e2dbbe5bf4652be5d78cdd68e956fa3d63'James Almer2017-10-111-2/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | * 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>
| * build: Fine-grained link-time dependency settingsDiego Biurrun2017-03-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Previously, all link-time dependencies were added for all libraries, resulting in bogus link-time dependencies since not all dependencies are shared across libraries. Also, in some cases like libavutil, not all dependencies were taken into account, resulting in some cases of underlinking. To address all this mess a machinery is added for tracking which dependency belongs to which library component and then leveraged to determine correct dependencies for all individual libraries.
* | Makefile: generate stripped CLI tools directly instead of copying unstripped ↵Marton Balint2017-10-101-0/+4
| | | | | | | | | | | | | | | | ones first Now works with --disable-stripping. Signed-off-by: Marton Balint <cus@passwd.hu>
* | build: add install targets for the examplesJames Almer2017-10-051-4/+2
| | | | | | | | | | | | | | | | | | 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>
* | Merge commit 'c95169f0ec68bdeeabc5fde8aa4076f406242524'James Almer2017-10-011-56/+4
|\ \ | |/ | | | | | | | | | | * commit 'c95169f0ec68bdeeabc5fde8aa4076f406242524': build: Move cli tool sources to a separate subdirectory Merged-by: James Almer <jamrial@gmail.com>
| * build: Move cli tool sources to a separate subdirectoryDiego Biurrun2017-02-211-50/+4
| | | | | | | | This unclutters the top-level directory and groups related files together.
* | Merge commit 'ab566cc96bc0c31b34d944214bc06cec8ae8b640'James Almer2017-09-291-1/+1
|\ \ | |/ | | | | | | | | | | * commit 'ab566cc96bc0c31b34d944214bc06cec8ae8b640': build: Separate logic for building examples from that for building avtools Merged-by: James Almer <jamrial@gmail.com>
| * build: Separate logic for building examples from that for building avtoolsDiego Biurrun2017-02-211-1/+1
| |
* | build: don't call install with the -T optionJames Almer2017-09-291-1/+1
| | | | | | | | | | | | | | | | It's not available on macOS. Should fix a regression instroduced by b25d6290c67e193b91becab12e6c88df134cee81. Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit 'acb0dea27efff4b35796015b96570b59fd517078'James Almer2017-09-291-4/+4
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | * 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>