James Almer
f47d7a3b42
avcodec: move core AVCodecContext functions from util.c to a new file
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
Anton Khirnov
65c4d5d72e
tools/enum_options: fix build and add to Makefile
4 years ago
Michael Niedermayer
d40679d89c
Add support for building fuzzer tools for an individual demuxer
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years ago
Michael Niedermayer
e3af2a0756
tools:target_dem_fuzzer: Split into a fuzzer fuzzing at the protocol level 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>
4 years ago
Carl Eugen Hoyos
613de37a6c
Makefile: Delete more created files when running "make distclean".
5 years ago
James Almer
964eb754b4
tools: add a fuzzer tool for bitstream filters
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
Michael Niedermayer
710b7ec071
tools: Add fuzzer for demuxers
...
This is based on target_dec_fuzzer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Diego Biurrun
7e5bde93a1
build: Rename OBJDIRS variable to OUTDIRS
...
These directories are not just for object files.
6 years ago
Carl Eugen Hoyos
8d422e7fef
Makefile: Allow "make clean" to delete compat/atomics/pthread/stdatomic.o
...
Reported-by: Eric Thomas
6 years ago
James Almer
3735d55af3
avcodec/parser: move parsers list and related API to its own file
...
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>
7 years ago
Josh de Kock
d8ae40611b
Revert "lavd: add new API for iterating input and output devices"
...
This reverts commit 0fd475704e
.
Revert "lavd: fix iterating of input and output devices"
This reverts commit ce1d77a5e7
.
Signed-off-by: Josh de Kock <josh@itanimul.li>
7 years ago
Josh de Kock
0fd475704e
lavd: add new API for iterating input and output devices
...
This also adds an avpriv function to register devices in
libavformat
7 years ago
Josh de Kock
0694d87024
lavf: add new API for iterating muxers and demuxers
7 years ago
Josh de Kock
7e8eba2d87
lavc: add new API for iterating codecs and codec parsers
...
Based on an unfinished patch by atomnuker.
7 years ago
James Almer
5c2a01f064
Makefile: fix distclean target
...
It must imply clean. Regression since 7ebe7e8e7a
.
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
e7e7d56a85
Makefile: fix distclean target
...
It must imply clean. Regression since e0087a5624
.
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Diego Biurrun
7ebe7e8e7a
build: Remove pkg-config files on clean instead of on distclean
...
The files are no longer generated by configure, so they should not
be removed by the distclean target any longer.
7 years ago
Diego Biurrun
fbf77b5ac3
build: Add uninstall-pkgconfig target to match install-lib*-pkgconfig
7 years ago
Diego Biurrun
cbcdb2d8e4
build: Delete compiler-generated compat files on 'make clean'
7 years ago
Marton Balint
ff6de6b180
Makefile: generate stripped CLI tools directly instead of copying unstripped ones first
...
Now works with --disable-stripping.
Signed-off-by: Marton Balint <cus@passwd.hu>
7 years ago
James Almer
cafd9d66ed
build: add install targets for the examples
...
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>
7 years ago
James Almer
72da8491ca
build: don't call install with the -T option
...
It's not available on macOS.
Should fix a regression instroduced by b25d6290c6
.
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
wm4
70143a3954
dxva: add support for new dxva2 and d3d11 hwaccel APIs
...
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 f9e7a2f95a
.
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>
8 years ago
Diego Biurrun
fd502f4f5f
build: Generalize yasm/nasm-related variable names
...
None of them are specific to the YASM assembler.
(Cherry-picked from libav commit 39e208f4d4
)
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Mark Thompson
e462ace84b
ffmpeg: Enable generic hwaccel support for VDPAU
...
(cherry picked from commit aa6b2e081c
)
8 years ago
Mark Thompson
be51073352
ffmpeg: Enable generic hwaccel support for VAAPI
...
(cherry picked from commit 62a1ef9f26
)
8 years ago
Mark Thompson
06043cc0bc
ffmpeg: Generic device setup
...
Not yet enabled for any hwaccels.
(cherry picked from commit d2e6dd32a4
)
(cherry picked from commit 9203aac228
)
8 years ago
Paul B Mahol
1a30bf60be
tools: add sofa2wavs
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
James Almer
3e295e633c
build: remove --enable-raise-major configure option
...
It's not used by anything, has dubious usefulness, the reasons for which
it was introduced are no longer valid, and only serves to add complexity
to the build system.
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Timo Rothenpieler
f1ab71b046
build: add support for building .cu files via nvcc
...
Original work by Yogender Gupta <ygupta@nvidia.com>
8 years ago
Michael Niedermayer
5b499bf4a0
Make tools/target_dec_*_fuzzer buildable with configure and make
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
James Almer
802d94c36e
build: fix tools build dependencies
...
Found-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Carl Eugen Hoyos
a2ca9e11ff
Makefile: Clean compat/atomics/pthread subdirectory.
8 years ago
Diego Biurrun
3c0efbd033
build: Allow generating dependencies as a side-effect of assembling
8 years ago
Diego Biurrun
39e208f4d4
build: Generalize yasm/nasm-related variable names
...
None of them are specific to the YASM assembler.
8 years ago
Diego Biurrun
d1d6230ea3
build: Add "build" shorthand target that depends on all compile targets
8 years ago
Carl Eugen Hoyos
d100dc6c99
Makefile: Clean compat subdirectory.
...
Fixes ticket #5546 .
8 years ago
Diego Biurrun
7cb1d9e2db
build: Fine-grained link-time dependency settings
...
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.
8 years ago
Diego Biurrun
c95169f0ec
build: Move cli tool sources to a separate subdirectory
...
This unclutters the top-level directory and groups related files together.
8 years ago
Diego Biurrun
ab566cc96b
build: Separate logic for building examples from that for building avtools
8 years ago
Diego Biurrun
acb0dea27e
build: Split logic for building examples off into a separate Makefile
8 years ago
Diego Biurrun
533339bdcc
build: Drop leftover reference to old EXAMPLES logic
8 years ago
Diego Biurrun
122de16dd8
Replace cmdutils_common_opts.h by a macro
8 years ago
Diego Biurrun
2a2889e130
build: Remove stray duplicate conditional variable declaration
8 years ago
Diego Biurrun
92db508307
build: Generate pkg-config files from Make and not from configure
...
This moves work from the configure to the Make stage where it can
be parallelized and ensures that pkgconfig files are updated when
library versions change.
Bug-Id: 449
8 years ago
Diego Biurrun
edb4348732
build: Store library version numbers in .version files
...
This moves work from the configure to the Make stage where it can
be parallelized and ensures that shared libraries are built with
the right version number in the filename.
8 years ago
Diego Biurrun
11a9320de5
build: Move build-system-related helper files to a separate subdirectory
...
This unclutters the top-level directory and groups related files together.
8 years ago
Diego Biurrun
be2d555c98
build: Use _extralibs variable names instead of _libs everywhere
...
This makes naming more consistent and simplifies extralibs-related changes.
8 years ago
Diego Biurrun
c833c2034f
build: Ensure that the "all" target appears before all Makefile includes
...
Otherwise builds without explicit target result in silent no-ops.
8 years ago
Diego Biurrun
3e105d0884
build: Move entries related to building TOOLS to a subdirectory Makefile
8 years ago