summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAge
* Revert "lavu/atomic: add support for the new memory model aware gcc built-ins"James Almer2017-03-08
| | | | | | | | | | | This reverts commit faa9d2982969c999ab0e443a226eff116f7f8e4b. This change became superfluous when support for C11 atomics was introduced. Reverting it will make the removal of this implementation in an upcoming merge conflict free. Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* lavfi: Add VAAPI deinterlacerMark Thompson2017-02-23
| | | | | (cherry picked from commit ade370a4d7eab1866b6023c91c135d27c77ca465) (cherry picked from commit 2d518aec4c781316092be65893b47922c8f71b67)
* avcodec/shorten: support decoding AIFF-C variantPaul B Mahol2017-02-23
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* configure: add missing mdct15 dependencyJames Almer2017-02-16
|
* configure: remove unnecessary opus encoder dependencyJames Almer2017-02-16
| | | | audiodsp is not used by the encoder.
* opus: add a native Opus encoderRostislav Pehlivanov2017-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This marks the first time anyone has written an Opus encoder without using any libopus code. The aim of the encoder is to prove how far the format can go by writing the craziest encoder for it. Right now the encoder's basic, it only supports CBR encoding, however internally every single feature the CELT layer has is implemented (except the pitch pre-filter which needs to work well with the rest of whatever gets implemented). Psychoacoustic and rate control systems are under development. The encoder takes in frames of 120 samples and depending on the value of opus_delay the plan is to use the extra buffered frames as lookahead. Right now the encoder will pick the nearest largest legal frame size and won't use the lookahead, but that'll change once there's a psychoacoustic system. Even though its a pretty basic encoder its already outperforming any other native encoder FFmpeg has by a huge amount. The PVQ search algorithm is faster and more accurate than libopus's algorithm so the encoder's performance is close to that of libopus at zero complexity (libopus has more SIMD). The algorithm might be ported to libopus or other codecs using PVQ in the future. The encoder still has a few minor bugs, like desyncs at ultra low bitrates (below 9kbps with 20ms frames). Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* imdct15: rename to mdct15 and add a forward transformRostislav Pehlivanov2017-02-14
| | | | | | | Handles strides (needed for Opus transients), does pre-reindexing and folding without needing a copy. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* vaapi_encode: Add VP8 supportMark Thompson2017-02-08
| | | | | | Fixes ticket #6116. (cherry picked from commit ca62236a89f47bd871eaf69d8d9e837c93c55a6c)
* vaapi_encode: Add MPEG-2 supportMark Thompson2017-02-08
| | | | (cherry picked from commit ca6ae3b77a7e6600e517723b90e57527a47809de)
* configure: use dashes instead of slashes in lib.exe invocationHendrik Leppkes2017-02-06
| | | | | This avoids issues with wrong parameter translation by msys on some systems, and the Windows SDK tools accept both forms equally.
* configure: instruct MSVC 2015 to properly process UTF-8 string literalsHendrik Leppkes2017-02-04
| | | | | | | | | | | Without the /UTF-8 switch, the MSVC compiler treats all files as in the system codepage, instead of in UTF-8, which causes UTF-8 string literals to be interpreted wrong. This switch was only introduced in VS2015 Update 2, and any earlier versions do not have an equivalent solution. Fixes fate-sub-scc on MSVC 2015+
* configure: add nologo switch to invocation of lib.exeHendrik Leppkes2017-02-04
| | | | | This suppresses the startup banner, which is consistent with all other calls to the Windows SDK binaries.
* Merge commit '6f9e34baea4f6f484392e4e67f606a0835d07b73'Clément Bœsch2017-02-02
|\ | | | | | | | | | | | | * commit '6f9e34baea4f6f484392e4e67f606a0835d07b73': arm: Check for support for the .fpu directive Merged-by: Clément Bœsch <cboesch@gopro.com>
| * arm: Check for support for the .fpu directiveMartin Storsjö2016-07-21
| | | | | | | | | | | | | | 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>
* | vaapi_hevc: Convert to use the new VAAPI hwaccel codeAnton Khirnov2017-01-17
| | | | | | | | | | (cherry picked from commit ea8b730d8e67152107d7fcdd5590bbb51ec236b1) Signed-off-by: Mark Thompson <sw@jkqxz.net>
* | configure: Don't disable SSA Optimizer on MSVC v19.00.24218+.Kacper Michajłow2017-01-17
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | configure: Fix standalone compilation of aiff and caf muxers.Carl Eugen Hoyos2017-01-16
| |
* | huffyuvencdsp: move shared functions to a new lossless_videoencdsp contextJames Almer2017-01-12
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | huffyuvencdsp: move functions only used by huffyuv from lossless_videodspJames Almer2017-01-12
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | lossless_videodsp: move shared functions from huffyuvdspJames Almer2017-01-12
| | | | | | | | | | | | Several codecs other than huffyuv use them. Signed-off-by: James Almer <jamrial@gmail.com>
* | configure: Fix standalone compilation of the ljpeg encoder.Carl Eugen Hoyos2017-01-05
| | | | | | | | | | Also fixes compilation with --disable-error-resilience. Fixes ticket #6060.
* | configure: bump yearJames Almer2017-01-02
| | | | | | | | Happy new year!
* | configure: Check build with some header not just preprocessing for testing ↵Michael Niedermayer2016-12-31
| | | | | | | | | | | | | | | | --std=c11 Fixes build failure on FreeBSD with gcc 4.7 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | configure: make the check for stdatomic.h stricterJames Almer2016-12-30
| | | | | | | | | | | | | | | | | | Old ICC verions don't advertise having a full C11 implementation but may nonetheless include a feature-incomplete stdatomic.h header. Fixes ticket #6049 Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/utvideodec: add SIMD support for median prediction for planar formatsPaul B Mahol2016-12-23
| | | | | | | | | | | | ~10% faster overall. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/magicyuv: add 10 bit supportPaul B Mahol2016-12-20
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | configure: add -fPIE instead of -pie to C flags for ThreadSanitizerWan-Teh Chang2016-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -pie was added to C flags for ThreadSanitizer in commit 19f251a2882a8d0779b432e63bf282e4d9c443bb. Under clang 3.8.0, the -pie flag causes a compiler warning and a linker error when running configure --toolchain=clang-tsan. Here is an excerpt from config.log: clang ... -fsanitize=thread -pie -std=c11 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.hL61stP9.o /tmp/ffconf.YO6ZaSFG.c clang: warning: argument unused during compilation: '-pie' clang -fsanitize=thread -pie -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.W5c2e41l /tmp/ffconf.hL61stP9.o -lbz2 -pthread /usr/bin/ld: /tmp/ffconf.hL61stP9.o: relocation R_X86_64_PC32 against undefined symbol `atan2f@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value clang: error: linker command failed with exit code 1 (use -v to see invocation) To be conservative, I changed -pie to -fPIE. But the documentation seems to imply just -fsanitize=thread is enough: http://clang.llvm.org/docs/ThreadSanitizer.html https://github.com/google/sanitizers/wiki/ThreadSanitizerCppManual Signed-off-by: Wan-Teh Chang <wtc@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | configure: fail if autodetect-libraries are requested but not foundAndreas Cadhalpun2016-12-10
| | | | | | | | Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | configure: enable autodetected libraries after option parsingAndreas Cadhalpun2016-12-10
| | | | | | | | | | | | | | | | And only enable them, if they haven't been disabled. This is needed for the following patch. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | configure: enable sdl if sdl2 is enabledAndreas Cadhalpun2016-12-10
| | | | | | | | | | | | sdl is supposed to be an alias, so it should have the same value. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | configure: Require bit_depth field for VAAPI VP9 decode hwaccelMark Thompson2016-12-10
| | | | | | | | | | | | | | libva versions from 1.6.0 to 1.6.2 do not include it, and therefore cannot work with VP9 profile >= 2. Fixes ticket #6003.
* | configure: check for strtoull on msvcJames Almer2016-12-05
| | | | | | | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* | configure: Fix standalone compilation of the rtp muxer.Carl Eugen Hoyos2016-12-03
| | | | | | | | | | | | Reported and suggested by: me at juneoh dot net Fixes ticket #5989.
* | Add a compat dummy stdatomic.h used when threading is disabledAnton Khirnov2016-12-02
| | | | | | | | | | | | | | | | | | | | Adapted from the code by Rémi Denis-Courmont from VLC This merges libav commit eb34d40354e2474517c9b9bd787e0dadc89c2a81. Signed-off-by: Wan-Teh Chang <wtc@google.com> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | Add a compat stdatomic.h implementation based on pthreadsAnton Khirnov2016-12-02
| | | | | | | | | | | | | | | | | | | | Adapted from the code by Rémi Denis-Courmont from VLC This merges libav commit f9a6a80e065cdb95b233978f1d96ec9bc863daa1. Signed-off-by: Wan-Teh Chang <wtc@google.com> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | Add a compat stdatomic.h implementation based on suncc atomicsAnton Khirnov2016-12-02
| | | | | | | | | | | | | | | | | | | | Adapted from the code by Rémi Denis-Courmont from VLC This merges libav commit bb81ed476569b912a37ed553e756e123b6b13b14. Signed-off-by: Wan-Teh Chang <wtc@google.com> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | Add a compat stdatomic.h implementation based on windows atomicsAnton Khirnov2016-12-02
| | | | | | | | | | | | | | | | | | | | Adapted from the code by Rémi Denis-Courmont from VLC This merges libav commit c2755864afadfbaa349e8d583665c86fe99fa90b. Signed-off-by: Wan-Teh Chang <wtc@google.com> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | Add a compat stdatomic.h implementation based on GCC atomicsAnton Khirnov2016-12-02
| | | | | | | | | | | | | | | | | | | | Adapted from the code by Rémi Denis-Courmont from VLC This merges libav commit 4e928ef340ac20325f529d92fcbc51e768085358. Signed-off-by: Wan-Teh Chang <wtc@google.com> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | lavfi/f_ebur128: relicense to LGPLClément Bœsch2016-11-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | All copyright holders have agreed to the relicensing. Approved-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Approved-by: David Sedacca <sedacca@comcast.net> Approved-by: Ganesh Ajjanagadde <gajjanag@mit.edu> Approved-by: Jean First <jeanfirst@gmail.com> Approved-by: Kyle Swanson <k@ylo.ph> Approved-by: Michael Niedermayer <michael@niedermayer.cc> Approved-by: Nicolas George <george@nsup.org> Approved-by: Paul B Mahol <onemda@gmail.com> Approved-by: Thilo Borgmann <thilo.borgmann@mail.de>
* | configure: check for stdatomic.hAnton Khirnov2016-11-27
| | | | | | | | | | | | | | | | | | | | | | | | Since this is a C11 feature, it requires -std=c11. Not actually used for anything yet, that will be added in the following commits. This merges libav commit 13f5d2bf75b95a0bfdb9940a5e359a719e242bed. Signed-off-by: Wan-Teh Chang <wtc@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | cuda: check for cuda.h when enabledJames Almer2016-11-24
| | | | | | | | | | | | | | Fixes make checkheaders on systems without the Cuda Toolkit, which was broken after the dynlink changes. Signed-off-by: James Almer <jamrial@gmail.com>
* | avfilter/vf_zscale: add support for some recent new additionsPaul B Mahol2016-11-23
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | configure: cuda is no longer nonfree, enable and autodetect by defaultTimo Rothenpieler2016-11-22
| |
* | avcodec/nvenc: use dynamically loaded CUDATimo Rothenpieler2016-11-22
| |
* | avutil/hwcontext_cuda: use dynamically loaded CUDATimo Rothenpieler2016-11-22
| |
* | configure: properly add dxva2 link dependenciesHendrik Leppkes2016-11-16
| | | | | | | | | | | | | | Fixes building with --disable-everything --enable-shared --enable-dxva2 The hwcontext DXVA2 implementation in avutil needs this library now, instead of just the ffmpeg program.
* | Merge commit '8c929037ec75fbe9f367e0a31ee34839e92de481'Hendrik Leppkes2016-11-14
|\| | | | | | | | | | | | | * commit '8c929037ec75fbe9f367e0a31ee34839e92de481': build: Add a new component for H.264 parsing code Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * build: Add a new component for H.264 parsing codeDiego Biurrun2016-06-29
| | | | | | | | | | This fixes standalone compilation of the SVQ3 decoder, which had incomplete dependencies related to H.264 parsing.
| * Add an OpenH264 decoder wrapperMartin Storsjö2016-06-28
| | | | | | | | | | | | | | | | 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>
| * lavfi: add a QSV scaling filterAnton Khirnov2016-06-21
| |