summaryrefslogtreecommitdiffstats
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* libkvazaar: Set frame rate as a rational numberArttu Ylä-Outinen2016-01-201-1/+1
| | | | | | | | | | | Updates libkvazaar to pass the exact frame rate to Kvazaar by setting the numerator and denominator separately instead of a single floating point number. The exact frame rate is needed for writing timing info to the bitstream. Requires Kvazaar version 0.8.1. Signed-off-by: Arttu Ylä-Outinen <arttu.yla-outinen@tut.fi>
* Merge commit '7570c9e04f010c9b3bfdeb4338d330f2cdd25278'Hendrik Leppkes2016-01-191-0/+1
|\ | | | | | | | | | | | | * commit '7570c9e04f010c9b3bfdeb4338d330f2cdd25278': swfdec: support compressed swf Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * swfdec: support compressed swfClément Bœsch2016-01-111-0/+1
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | configure: disable -Wunused-const-variableJames Almer2016-01-181-0/+1
| | | | | | | | | | | | | | | | The option became too aggressive with GCC 6, generating nearly 500 warnings from static const variables defined in assorted headers Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* | configure: The XMA decoders depend on wmapro.Carl Eugen Hoyos2016-01-171-0/+2
| | | | | | | | Fixes compilation with --disable-fft.
* | avfilter: add spectrumsynth filterPaul B Mahol2016-01-141-0/+3
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavu/libm: add isfinite fallbackGanesh Ajjanagadde2016-01-131-0/+1
| | | | | | | | | | Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | configure: showspectrum now uses fft, add showspectrumpicPaul B Mahol2016-01-121-1/+3
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | configure: Use libgcrypt-config's cflagsRicardo Constantino2016-01-081-1/+4
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | configure: Use libgcrypt-config if availableRicardo Constantino2016-01-081-1/+11
| | | | | | | | | | Signed-off-by: Ricardo Constantino <wiiaboo@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | configure: remove unused bulitin checkJames Almer2016-01-071-2/+0
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | lavu: add ff_parity()Clément Bœsch2016-01-071-0/+2
| |
* | configure: use warn() for mips unknown cpu warningMichael Niedermayer2016-01-061-1/+1
| | | | | | | | | | Found-by: ubitux Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | mips: display a warning message when using an unknown CPUVicente Olivert Riera2016-01-061-0/+2
| | | | | | | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec: Remove libstagefrightDerek Buitenhuis2016-01-061-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It serves absolutely no purpose other than to confuse potentional Android developers about how to use hardware acceleration properly on the the platform. The stagefright "API" is not public, and the MediaCodec API is the proper way to do this. Furthermore, stagefright support in avcodec needs a series of magic incantations and version-specific stuff, such that using it actually provides downsides compared just using the actual Android frameworks properly, in that it is a lot more work and confusion to get it even running. It also leads to a lot of misinformation, like these sorts of comments (in [1]) that are absolutely incorrect. [1] http://stackoverflow.com/a/29362353/3115956 Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | configure: bump copyright year to 2016James Almer2016-01-021-1/+1
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | configure: support --cpu=host and Clangyukari yakumo2015-12-301-0/+11
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | mips: put "disable mipsfpu" in a better place for loongsonVicente Olivert Riera2015-12-301-1/+1
| | | | | | | | | | | | | | | | Let's disable the ISAs first, and then the core capabilities, as we do for the rest of the cores. This way the code is better organized. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | mips: add mips32r6 architecture variantVicente Olivert Riera2015-12-301-0/+12
| | | | | | | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | configure: make gcc 2 detection more robustGanesh Ajjanagadde2015-12-301-1/+2
| | | | | | | | | | | | | | | | Solves an issue that will get triggered when gcc 20 rolls in. Found-by: Hendrik Leppkes <h.leppkes@gmail.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | lavfi/af_anequalizer: remove cabs, cexp dependenciesGanesh Ajjanagadde2015-12-281-1/+0
| | | | | | | | | | | | | | | | | | Replaces by real arithmetic. Tested the validity of these transformations separately. Numerical differences are ~1e-15, and should not matter: it is not even clear which is more precise mathematically. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | lavu/libm,configure: remove exp10, exp10f detectionGanesh Ajjanagadde2015-12-251-2/+0
| | | | | | | | | | | | Subsequent commit introduces ff_exp10 instead. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | avfilter: add high-order parametric multiband equalizer filterPaul B Mahol2015-12-251-0/+1
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec: add OpenJPEG 2.x compatibilityMichael Bradshaw2015-12-251-1/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavu/libm: add exp10 supportGanesh Ajjanagadde2015-12-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exp10 is a function available in GNU libm. Looks like no other common libm has it. This adds support for it to FFmpeg. There are essentially 2 ways of handling the fallback: 1. Using pow(10, x) 2. Using exp2(M_LOG2_10 * x). First one represents a Pareto improvement, with no speed or accuracy regression anywhere, but speed improvement limited to GNU libm. Second one represents a slight accuracy loss (relative error ~ 1e-13) for non GNU libm. Speedup of > 2x is obtained on non GNU libm platforms, ~30% on GNU libm. These are "average case numbers", another benefit is the lack of triggering of the well-known terrible worst case paths through pow. Based on reviews, second one chosen. Comment added accordingly. Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | lavfi/af_aemphasis: remove unnecessary complex number usageGanesh Ajjanagadde2015-12-231-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | complex is not available on all platforms. Furthermore, it is trivial to rewrite complex number expressions to real arithmetic, and in fact sometimes advantageous for performance reasons: by wrapping as a complex, one forces a particular Cartesian representation that is not necessarily optimal for the purpose. Configure dependencies also removed, and aemphasis is now available across all platforms. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | vaapi: Add VP9 hwaccell supportTimo Rothenpieler2015-12-221-0/+3
| | | | | | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* | lavu/libm: add erf hack and make dynaudnorm available everywhereGanesh Ajjanagadde2015-12-211-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Source code is from Boost: http://www.boost.org/doc/libs/1_46_1/boost/math/special_functions/erf.hpp with appropriate modifications for FFmpeg. Tested on interval -6 to 6 (beyond which it saturates), +/-NAN, +/-INFINITY under -fsanitize=undefined on clang to test for possible undefined behavior. This function turns out to actually be essentially as accurate and faster than the libm (GNU/BSD's/Mac OS X), and I can think of 3 reasons why upstream does not use this: 1. They are not aware of it. 2. They are concerned about licensing - this applies especially to GNU libm. 3. They do not know and/or appreciate the benefits of rational approximations over polynomial approximations. Boost uses them to great effect, see e.g swr/resample for bessel derived from them, which is also similarly superior to libm variants. First, performance. sample benchmark (clang -O3, Haswell, GNU/Linux): 3e8 values evenly spaced from 0 to 6 time (libm): ./test 13.39s user 0.00s system 100% cpu 13.376 total time (boost based): ./test 9.20s user 0.00s system 100% cpu 9.190 total Second, accuracy. 1e8 eval pts from 0 to 6 maxdiff (absolute): 2.2204460492503131e-16 occuring at point where libm erf is correctly rounded, this is not. Illustration of superior rounding of this function: arg : 0.83999999999999997 erf : 0.76514271145499457 boost : 0.76514271145499446 real : 0.76514271145499446 i.e libm is actually incorrectly rounded. Note that this is clear from: https://github.com/JuliaLang/openlibm/blob/master/src/s_erf.c (the Sun implementation used by both BSD and GNU libm's), where only 1 ulp is guaranteed. Reasons it is not easy/worthwhile to create a "correctly rounded" variant of this function (i.e 0.5ulp): 1. Upstream libm's don't do it anyway, so we can't guarantee this unless we force this implementation on all platforms. This is not easy, as the linker would complain unless measures are taken. 2. Nothing in FFmpeg cares or can care about such things, due to the above and FFmpeg's nature. 3. Creating a correctly rounded function will in practice need some use of long double/fma. long double, although C89/C90, unfortunately has problems on ppc. This needs fixing of toolchain flags/configure. In any case this will be slower for miniscule gain. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | lavu/libm: add copysign hackGanesh Ajjanagadde2015-12-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | For systems with broken libms. Tested with NAN, -NAN, INFINITY, -INFINITY, +/-x for regular double x and combinations of these. Old versions of MSVC need some UINT64_C hackery. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | lavu/random_seed: use arc4random() when availableGanesh Ajjanagadde2015-12-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | arc4random() was designed as a superior interface for system random number generation, designed for OpenBSD and subsequently incorporated by other BSD's, Mac OS X, and some non-standard libc's. It is thus an improvement to use it whenever available. As a side note, this may or may not get included in glibc, and there is a proposal to create a posix_random family based on these ideas: http://austingroupbugs.net/view.php?id=859. Tested on Mac OS X. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | Merge commit 'e02de9df4b218bd6e1e927b67fd4075741545688'Hendrik Leppkes2015-12-171-2/+4
|\ \ | |/ | | | | | | | | | | * commit 'e02de9df4b218bd6e1e927b67fd4075741545688': lavc: export Dirac parsing API used by the ogg demuxer as public Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * lavc: export Dirac parsing API used by the ogg demuxer as publicAnton Khirnov2015-12-061-1/+3
| | | | | | | | Also, stop using AVCodecContext for storing the stream parameters.
| * configure: Add -framework CoreVideo when building the avfoundation indevMartin Storsjö2015-12-031-1/+1
| | | | | | | | | | | | | | This fixes builds with --disable-vda, which previously failed with undefined references to CVImageBuffer* and CVPixelBuffer* functions. Signed-off-by: Martin Storsjö <martin@martin.st>
| * configure: Replace `pr` since it is not provided by busyboxKylie McClain2015-12-021-2/+6
| | | | | | | | | | | | | | | | | | | | While pr is a valid POSIX.1 command, its usage in configure is a little borderline and is possible to replace it with printf. Bug-Id: 913 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | mips: add mips64r2 architecture variantVicente Olivert Riera2015-12-161-0/+12
| | | | | | | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | mips: i6400 core is not mips32r2, so disable mips32r2Vicente Olivert Riera2015-12-161-0/+1
| | | | | | | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | configure: add conditional library dependency for sofalizer and showfreqsPaul B Mahol2015-12-141-0/+2
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter/af_sofalizer: add frequency domain processing and use it by defaultPaul B Mahol2015-12-141-1/+2
| | | | | | | | | | | | Code ported from SOFAlizer patch for VLC. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter: add SOFAlizer audio filterPaul B Mahol2015-12-121-0/+4
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | mips: i6400 core does have an FPU, so not disable itVicente Olivert Riera2015-12-121-1/+0
| | | | | | | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | mips: add i6400 core optimizationsVicente Olivert Riera2015-12-121-3/+4
| | | | | | | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | mips: remove --mips64r6 configure optionVicente Olivert Riera2015-12-121-9/+0
| | | | | | | | | | | | | | | | | | | | Having a configure option with the same name as a MIPS ISA is confusing, so better to remove it. This option was being used to add some optimizations to a specific core (i6400). We will add the optimizations just when the i6400 core has been detected, in a later patch. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | configure: fix vp9_d3d11va_hwaccel depsJames Almer2015-12-071-1/+1
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit 'cb49bb10ca7fcff2e382d9d989232b1a7f28e7da'Hendrik Leppkes2015-12-071-0/+1
|\ \ | |/ | | | | | | | | | | * commit 'cb49bb10ca7fcff2e382d9d989232b1a7f28e7da': build: Move -Wcast-qual to the extra_warnings Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * build: Move -Wcast-qual to the extra_warningsLuca Barbato2015-12-021-1/+1
| | | | | | | | | | It amounts to about 1/2 of the warnings generated and does not help spotting anything useful.
| * avfoundation: Simple captureAlexandre Lision2015-11-261-0/+7
| | | | | | | | | | | | | | Originally based on the capture written by Thilo Borgmann <thilo.borgmann@mail.de>. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | avcodec: implement vp9 dxva2 hwaccelHendrik Leppkes2015-12-071-0/+5
| |
* | Merge commit '9f57f134c19773d54269b6cb9ee455ff87c2e9e1'Hendrik Leppkes2015-12-051-9/+45
|\ \ | |/ | | | | | | | | | | * commit '9f57f134c19773d54269b6cb9ee455ff87c2e9e1': configure: ObjC support Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * configure: ObjC supportLuca Barbato2015-11-261-1/+46
| | | | | | | | | | | | | | Assume that the default C compiler and the default ObjC compiler match (default for OSX). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | mips: add p5600 core optimizationsVicente Olivert Riera2015-12-041-2/+3
| | | | | | | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
OpenPOWER on IntegriCloud