Diego Biurrun
59d2b00d20
configure: Add --quiet command line parameter to suppress informative output
8 years ago
Martin Storsjö
d1ef1b9eaa
configure: Silence lld-link when getting the version number
...
In recent lld-link versions, this command prints the version to
stdout, but also prints an error to stderr:
$ lld-link -flavor gnu --version
LLD 4.0.0 (trunk 285641)
lld-link: error: no input files
lld-link: error: target emulation unknown: -m or at least one .o file required
Signed-off-by: Martin Storsjö <martin@martin.st>
8 years ago
Anton Khirnov
7b1f03477f
examples/avcodec: split the remaining two examples into separate files
8 years ago
Anton Khirnov
f5df897c4b
examples/avcodec: split audio decoding into a separate example
...
The four examples (audio/video encoding/decoding) are completely
independent so it makes little sense to have them all in one file.
8 years ago
Anton Khirnov
40aaa8dadf
examples/avcodec: split audio encoding into a separate example
...
The four examples (audio/video encoding/decoding) are completely
independent so it makes little sense to have them all in one file.
8 years ago
Luca Barbato
dad7514f9e
xcb: Add all the libraries to the link line explicitly
...
Avoid an underlink issue on recent distributions.
CC: libav-stable@libav.org
8 years ago
Matt Oliver
ee05079766
openssl: Support version 1.1.0.
...
Further simplifications by Martin Storsjö, to minimize the
diff.
Signed-off-by: Martin Storsjö <martin@martin.st>
8 years ago
Diego Biurrun
1f821e5ad3
configure: Print warnings after all other output
8 years ago
Diego Biurrun
20abcaa273
configure: #include stdint.h as part of libxavs test
...
Unfortunately the xavs.h API header is not self-sufficient and relies
on manual stdint.h inclusion by its users.
8 years ago
Anton Khirnov
5cc0057f49
lavu: remove the custom atomic API
...
It has been replaced by C11 stdatomic.h and is now unused.
8 years ago
Anton Khirnov
eb34d40354
Add a compat dummy stdatomic.h used when threading is disabled
...
Adapted from the code by Rémi Denis-Courmont from VLC
8 years ago
Anton Khirnov
f9a6a80e06
Add a compat stdatomic.h implementation based on pthreads
...
Adapted from the code by Rémi Denis-Courmont from VLC
8 years ago
Anton Khirnov
bb81ed4765
Add a compat stdatomic.h implementation based on suncc atomics
...
Adapted from the code by Rémi Denis-Courmont from VLC
8 years ago
Anton Khirnov
c2755864af
Add a compat stdatomic.h implementation based on windows atomics
...
Adapted from the code by Rémi Denis-Courmont from VLC
8 years ago
Anton Khirnov
4e928ef340
Add a compat stdatomic.h implementation based on GCC atomics
...
Adapted from the code by Rémi Denis-Courmont from VLC
8 years ago
Anton Khirnov
13f5d2bf75
configure: check for stdatomic.h
...
Since this is a C11 feature, it requires -std=c11.
Not actually used for anything yet, that will be added in the following
commits.
8 years ago
Anton Khirnov
de2ae3c1fa
lavc: add clobber tests for the new encoding/decoding API
8 years ago
Diego Biurrun
ab3554e1a7
configure: Drop check_lib()/require() in favor of check_lib2()/require2()
...
The latter can do everything the former can do, but also handle conditions
the former cannot like multiple header #includes and checking for headers
and functions in a single test program, which is necessary for certain
library tests.
8 years ago
Mark Thompson
a9fb134730
lavc/vaapi: Add VP8 decode hwaccel
8 years ago
Diego Biurrun
ec90305844
configure: Simplify clock_gettime() test
8 years ago
Diego Biurrun
0e5dde7399
configure: Fix --disable-pod2man / --disable-texi2html
8 years ago
Diego Biurrun
b8c2d407ef
configure: Simplify libopenjpeg check
8 years ago
Diego Biurrun
2610c9528f
configure: Move initial VAAPI check to a more sensible place
8 years ago
Diego Biurrun
4fb311c804
Drop memalign hack
...
It no longer serves a useful purpose.
8 years ago
Burt P
728e80cd2e
High Definition Compatible Digital (HDCD) decoder filter, using libhdcd
...
Signed-off-by: Burt P <pburt0@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years ago
Diego Biurrun
46e3936fb0
configure: Set __MSVCRT_VERSION__to 0x0700 for MinGW
...
This exposes some required functionality like _aligned_malloc() in the
MinGW system headers, thus obviating the need for the memalign hack.
8 years ago
Anton Khirnov
89aebc5bcc
lavc: align the linesize to 32 when AVX is enabled
9 years ago
James Almer
63ac8e2d93
lavu: add LOCAL_ALIGNED_32
...
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Diego Biurrun
5ed4644d6d
x11grab: Rename internal component to "xcbgrab"
9 years ago
Diego Biurrun
4fef648d10
Remove the legacy X11 screen grabber
...
The XCB screen grabber is a drop-in replacement and not under GPL.
9 years ago
Diego Biurrun
ae90119c67
configure: Simplify license incompatibility check
9 years ago
Martin Storsjö
100fb0ddfd
configure: Allow detecting and using LLVM lld-link as linker for windows
...
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Martin Storsjö
79fb069299
configure: Move defines for controlling MSVCRT headers to the CRT detection section
...
This allows these flags to be automatically enabled for clang,
when using MSVCRT headers.
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Martin Storsjö
56af0bc10f
configure: Check for strtoll and redirect to _strtoi64 in the msvcrt block
...
This allows doing this redirection, if building with clang against
old enough MSVC headers that lack strtoll (2012 and older).
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Anton Khirnov
ad71d3276f
lavfi: add a QSV deinterlacing filter
9 years ago
Anton Khirnov
b0f36a0043
avconv: stop using setpts for input framerate forced with -r
...
The setpts filter does not signal to the rest of the filtergraph that
the stream is CFR. Just generate the timestamps manually instead.
9 years ago
Martin Storsjö
6f9e34baea
arm: Check for support for the .fpu directive
...
When targeting COFF (windows), clang doesn't support this
directive (while binutils supports it for all targets).
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Diego Biurrun
8c929037ec
build: Add a new component for H.264 parsing code
...
This fixes standalone compilation of the SVQ3 decoder, which had
incomplete dependencies related to H.264 parsing.
9 years ago
Martin Storsjö
82b7525173
Add an OpenH264 decoder wrapper
...
While it is less featureful (and slower) than the built-in H264
decoder, one could potentially want to use it to take advantage
of the cisco patent license offer.
Signed-off-by: Martin Storsjö <martin@martin.st>
9 years ago
Anton Khirnov
ac7bfd6967
lavfi: add a QSV scaling filter
9 years ago
Paul B Mahol
d78fd2fa21
Add MagicYUV decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Diego Biurrun
b2d5d6a7f2
build: Only enable symbol reduction if the compiler does proper DCE
...
With compilers that do not support proper dead code elimination, like
Sun C 5.12, linking fails due to missing references to unavailable,
but also unused, symbols.
Bug-Id: 895
9 years ago
Diego Biurrun
c5fd4b5061
build: Simplify postprocessing of linker version script files
...
Generate the files in a single postprocessing step w/o intermediate files.
9 years ago
Anton Khirnov
38392b2af8
hwcontext_vdpau: implement device creation
9 years ago
Timo Rothenpieler
09522a303d
configure: Don't require nonfree for nvenc
...
As the nvEncodeApi.h header is now MIT licensed, this can be dropped.
The loaded CUDA and NVENC libraries are part of the nvidia driver, and
thus count as system libraries.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Anton Khirnov
6f58b4dc47
nvenc: drop the hard dependency on CUDA
...
The code needs only a few definitions from cuda.h, so define them
directly when CUDA is not enabled. CUDA is still required for accepting
HW frames as input.
Based on the code by Timo Rothenpieler <timo@rothenpieler.org>.
9 years ago
Anton Khirnov
2156c4c300
nvenc: write the VUI signal properties for HEVC
...
Bump the API version requirement to 6.
Based on a patch by Agatha Hu <ahu@nvidia.com>.
9 years ago
Anton Khirnov
85ce9636e4
configure: move the hardware accel libs' entries in the configure output
...
Print them as a subsection of the external library section, in line with
what is done for the help text in the previous commit.
9 years ago
Anton Khirnov
c0f4c7db9f
configure: move the hardware accel libs' entries in the help text
...
Group them in a subsection of the external library section. That should
make them easier to find and understand how they fit in the scheme of
things.
Also, rewrite the description text in a similar way as in the previous
commit.
9 years ago
Anton Khirnov
5e2203448a
configure: improve the help text for external libraries
...
Add a more accurate description of what the switches actually do (i.e.
allow using the given library, not enabling the corresponding
codecs etc.).
Replace the library descriptions, in many cases boilerplate text without
useful information, with a short summary of what the library does.
9 years ago