summaryrefslogtreecommitdiffstats
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* examples/hw_decode: Add a HWAccel decoding example.Jun Zhao2017-07-301-0/+2
| | | | | | | | | Works with VAAPI, VDPAU, DXVA2 and D3D11VA. Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> Signed-off-by: Jun Zhao <jun.zhao@intel.com> Reviewed-by: Steven Liu <lingjiujianke@gmail.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* avcodec: add Dolby E decoderfoo862017-07-191-0/+1
|
* configure: Fix libvmaf nameMatt Oliver2017-07-161-1/+1
| | | | | | | Fixes: fatal error: libvmaf.h: No such file or directory. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avfilter: add LIBVMAF filterAshish Singh2017-07-161-0/+5
| | | | | | | | This one changes the previous vmaf patch to libvmaf to keep it separate from the native implementation of vmaf inside ffmpeg later. Signed-off-by: Ashish Singh <ashk43712@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* configure: use pkg-config for libgme, if availableRicardo Constantino2017-07-131-1/+2
| | | | | | The pkg-config file is relatively new (2013), so some distros might not have it yet. And the -lstdc++ being required for the static lib is only present since the last release in December 2016.
* configure: require pkg-config for libvorbisRicardo Constantino2017-07-061-1/+2
| | | | | | | | | | | | | libvorbis comes with pkg-config files since at least v1.0.1, way back in 2003. We need the two checks for vorbis and vorbisenc because we use functions from both and Xiph considers them separate libraries. The check is inverted (vorbis first then vorbisenc) because add_extralibs() prepends to EXTRALIBS instead of appending. For both shared and static linking the order didn't seem to matter anyway, testing with MinGW. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* hwcontext_d3d11va: add option to enable debug modewm42017-06-271-0/+2
| | | | | | | | | | | Basically copied from VLC (LGPL): http://git.videolan.org/?p=vlc.git;a=blob;f=modules/video_output/win32/direct3d11.c;h=e9fcb83dcabfe778f26e63d19f218caf06a7c3ae;hb=HEAD#l1482 http://git.videolan.org/?p=vlc.git;a=blob;f=modules/codec/avcodec/d3d11va.c;h=85e7d25caebc059a9770da2ef4bb8fe90816d76d;hb=HEAD#l599 Merges Libav commit cfc9e7c94eafa33e7f109099664ec4fb57ac5ca3. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* d3d11va: Link directly to dxgi.dll and d3d11.dll functions if LoadLibrary is ↵Martin Storsjö2017-06-271-0/+4
| | | | | | | | | | | | | unavailable When targeting the UWP API subset, the LoadLibrary function is not available (and the fallback, LoadPackagedLibrary, can't be used to load system DLLs). In these cases, link directly to the functions in the DLLs instead of trying to load them dynamically at runtime. Merges Libav commit fd1ffa1f10e940165035ccb79d4a6523da196062. Signed-off-by: Martin Storsjö <martin@martin.st>
* dxva: add support for new dxva2 and d3d11 hwaccel APIswm42017-06-271-17/+13
| | | | | | | | | | | | | | | 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 f9e7a2f95a7194a8736cc1416a03a1a0155a3e9f. 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>
* vaapi_encode: Add VP9 supportMark Thompson2017-06-241-0/+3
| | | | (cherry picked from commit 0fd91e4bfc00a6609b59d1ce3a9f152184e62601)
* Add support for LibOpenJPEG v2.2/gitReino172017-06-231-1/+4
| | | | Signed-off-by: Michael Bradshaw <mjbshaw@google.com>
* configure: fix assignment of assembler specific flagsJames Almer2017-06-231-2/+2
| | | | | | | | | | | | If the first assembler to be probed is an old nasm build, X86ASM_DEPFLAGS will be set and remain so after yasm is ultimately used as fallback. This results in yasm being called with said nasm specific flags and failing during actual object assembly but not with configure sanity checks. Regression since 5cae5a1defa360da076365a786093a749d1ddf4e Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* configure: Move x86 assembler sanity check into assembler probe functionDiego Biurrun2017-06-211-4/+4
| | | | | | | | This allows for more graceful fallback from NASM to Yasm if the available NASM version is too old. (Cherry-picked from libav commit adfd7892e3b8b40e7a1620f7254459d8e096a9a1) Signed-off-by: James Almer <jamrial@gmail.com>
* build: Prefer NASM assembler over YASMDiego Biurrun2017-06-211-3/+3
| | | | | | | | | NASM is more actively maintained and permits generating dependency information as a sideeffect of assembling, thus cutting build times in half. (Cherry-picked from libav commit 57b753b445e23363c997a8ec1c556e0b0f6e9da3) Signed-off-by: James Almer <jamrial@gmail.com>
* build: fix commandline selection of nasmJames Almer2017-06-211-6/+17
| | | | | | | | | | "nasm --version" works on nasm since around version 2.11 and as such configure assumed it was yasm. Based on libav commit f54037da8af2f2aeb5e5633b48434211e6a97fe5 by Diego Biurrun. Signed-off-by: James Almer <jamrial@gmail.com>
* build: Explicitly set 32-bit/64-bit object formats for nasm/yasmDiego Biurrun2017-06-211-14/+9
| | | | | | | | | Consistently use object format names with "32" suffix and set object format to "win64" on Windows x86_64, which fixes assembling with nasm. (Cherry-picked from libav commit 808ef43597b1e3d6e69a5b9abe2237c8ddb97b44) Signed-off-by: James Almer <jamrial@gmail.com>
* build: Allow generating dependencies as a side-effect of assemblingDiego Biurrun2017-06-211-0/+8
| | | | | | (Cherry-picked from libav commit 3c0efbd03349ae68d3a25a082222652a102e3fd4) Signed-off-by: James Almer <jamrial@gmail.com>
* build: Generalize yasm/nasm-related variable namesDiego Biurrun2017-06-211-32/+42
| | | | | | | | None of them are specific to the YASM assembler. (Cherry-picked from libav commit 39e208f4d4756367c7cd2d581847e0c1b8a429c1) Signed-off-by: James Almer <jamrial@gmail.com>
* configure: Move up the avbuild directory creationLuca Barbato2017-06-201-1/+2
| | | | | | | | | The early check for inconsistent in-source vs out-of-source build cannot generate a config.log otherwise. (Cherry-picked from libav commit 0ee78020cd41d81eec651acd7fc65906207796f3) Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: James Almer <jamrial@gmail.com>
* build: Add missing idctdsp dependency for clearvideoDiego Biurrun2017-06-201-0/+1
| | | | (cherry picked from commit 2f792cb6703b5b12f2e873bee13f33da8aa9940a)
* configure: use -x instead of -wN ..@ to strip assembly filesRostislav Pehlivanov2017-06-161-2/+1
| | | | | | | | Reduces the amount of debugging information of external asm from uselessly verbose to informative enough. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com> Reviewed-by: James Darnley <james.darnley@gmail.com>
* avfilter/af_sofalizer: switch to libmysofaPaul B Mahol2017-06-081-4/+4
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavc: add mpeg2 mediacodec decoderAman Gupta2017-06-081-0/+2
| | | | | | | Android TV and FireOS hardware supports mpeg2 hardware decoding via MediaCodec. Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com>
* Disable MSA optimization for big endian archShivraj Patil2017-06-031-0/+4
| | | | | | | | The current upstreamed code has been written and tested for Little Endian systems. We do have plans to add the Big Endian support in near future, but till that time, need to disable all to avoid its usage and failures. Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* configure: libnpp does not need to link libcudaTimo Rothenpieler2017-06-011-1/+1
|
* configure: Fix the msvcrt version check for mingw32Martin Storsjö2017-05-311-1/+1
| | | | | | | | | This was actually broken when committed in 46e3936fb04; the test never succeeded, and thus, _aligned_malloc wasn't actually used on legacy mingw. Signed-off-by: Martin Storsjö <martin@martin.st> (cherry picked from commit 427f7a1f9ec1977bcb57cb4d6e6f7228dc1e858b)
* lavc: remove libschroedinger encoding and decoding wrappersRostislav Pehlivanov2017-05-291-5/+0
| | | | | | | | | The library has stopped being developed and Debian has removed it from its repositories citing security issues. The native Dirac decoder supports everything the library has and basic encoding support is still provided via the native vc2 (Dirac Pro, intra only version of Dirac) encoder. Hence, there's no reason to still support linking to the library and potentially leading users into security issues.
* lavf: remove the libnut library wrapperRostislav Pehlivanov2017-05-291-6/+0
| | | | | libnut is outdated and not developed anymore, all nut developments happens in this repo, so users are getting mislead
* configure: fix --tempprefix optionJames Almer2017-05-201-1/+3
| | | | It was broken in 091c9860559e4d33179747c5d651bc9e31bd76eb
* Merge commit 'ba6a49e60bdd61b6d02c2b26daa01942c35f39cc'Clément Bœsch2017-05-201-0/+1
|\ | | | | | | | | | | | | * commit 'ba6a49e60bdd61b6d02c2b26daa01942c35f39cc': configure: Clean up temporary files on interrupt Merged-by: Clément Bœsch <u@pkh.me>
| * configure: Clean up temporary files on interruptDiego Biurrun2017-01-291-0/+1
| |
* | Merge commit '78489822074096e3ae0f3c3b70accace955086f6'Clément Bœsch2017-05-201-6/+10
|\ \ | |/ | | | | | | | | | | * commit '78489822074096e3ae0f3c3b70accace955086f6': configure: Place all temporary files in one separate directory Merged-by: Clément Bœsch <u@pkh.me>
| * configure: Place all temporary files in one separate directoryMichał Górny2017-01-291-6/+10
| | | | | | | | | | | | | | | | | | | | Place all temporary files within a single, quasi-atomically created temporary directory rather than relying on unsafe 'mktemp -u'. This prevents possible race conditions in case two parallel 'mktemp -u' calls returned the same path. Additionally, it reduces TMPDIR pollution by keeping all test files in a single subdirectory. Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * vaapi_encode: Add MPEG-2 supportMark Thompson2017-01-291-0/+3
| |
* | Merge commit '2bbb5abd877104fa9bc342c521bb49bc1aad50ce'Clément Bœsch2017-05-201-1/+4
|\ \ | |/ | | | | | | | | | | * commit '2bbb5abd877104fa9bc342c521bb49bc1aad50ce': build: Map -Wall compiler flag to -W3 for MSVC and -Wextra to -W4 Merged-by: Clément Bœsch <u@pkh.me>
| * build: Map -Wall compiler flag to -W3 for MSVC and -Wextra to -W4Diego Biurrun2017-01-261-1/+4
| | | | | | | | These are more appropriate warning level equivalents.
* | Merge commit '6151e9128ce2a84a443c82b78f5b5cb364ba2ab4'Clément Bœsch2017-05-201-1/+6
|\ \ | |/ | | | | | | | | | | * commit '6151e9128ce2a84a443c82b78f5b5cb364ba2ab4': build: Detect blocks C language extension and add it as VDA dependency Merged-by: Clément Bœsch <u@pkh.me>
| * build: Detect blocks C language extension and add it as VDA dependencyDiego Biurrun2017-01-261-1/+6
| | | | | | | | | | | | Newer versions of OS X use the blocks extension in VDA-related headers. Some compilers, like current gcc, do not support the blocks extension and fail to compile code using those headers.
* | Merge commit 'f96d07f4ec4193fb5293d7ac8f1324aac3c3ea07'Clément Bœsch2017-05-191-1/+1
|\ \ | |/ | | | | | | | | | | * commit 'f96d07f4ec4193fb5293d7ac8f1324aac3c3ea07': configure: Add quotes around a variable which might be empty Merged-by: Clément Bœsch <u@pkh.me>
| * configure: Add quotes around a variable which might be emptyMartin Storsjö2017-01-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | If we only have a target compiler but no host compiler, the $type variable will be empty once. (Currently we fail to do a cross build if no host compiler is available due to using the host compiler for processing option lists though. But despite that, this comparison in configure needs quotes.) Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '9bf262f4c6e14f43f291cdb745ed372884ee2a7f'Clément Bœsch2017-05-191-1/+2
|\ \ | |/ | | | | | | | | | | * commit '9bf262f4c6e14f43f291cdb745ed372884ee2a7f': configure: Use proper compiler-specific speed flags for hostcc Merged-by: Clément Bœsch <u@pkh.me>
| * configure: Use proper compiler-specific speed flags for hostccDiego Biurrun2017-01-251-1/+2
| |
* | Merge commit 'bf38959a30ecba4e4ee95d4f2a80ba7ece4f34be'Clément Bœsch2017-05-191-4/+3
|\ \ | |/ | | | | | | | | | | * commit 'bf38959a30ecba4e4ee95d4f2a80ba7ece4f34be': configure: Move optflags checks to a more sensible place Merged-by: Clément Bœsch <u@pkh.me>
| * configure: Move optflags checks to a more sensible placeDiego Biurrun2017-01-251-4/+3
| |
* | Merge commit '7ff018c1cb43a5fe5ee2049d325cdd785852067a'Clément Bœsch2017-05-191-1/+1
|\ \ | |/ | | | | | | | | | | * commit '7ff018c1cb43a5fe5ee2049d325cdd785852067a': OS/2: Try to commit memory above 1GB Merged-by: Clément Bœsch <u@pkh.me>
| * OS/2: Try to commit memory above 1GBDave Yeo2017-01-221-1/+1
| | | | | | | | | | Signed-off-by: Dave Yeo <dave.r.yeo@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * configure: Fix typo in incdir variable written to config.shDiego Biurrun2016-12-301-1/+1
| | | | | | | | This fixes includedir lines in pkg-config files broken after 92db508307.
* | build: remove --enable-raise-major configure optionJames Almer2017-05-171-2/+0
| | | | | | | | | | | | | | | | 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>
* | lavc: add a librsvg rasterization library wrapperRostislav Pehlivanov2017-05-161-0/+4
| | | | | | | | | | | | | | | | | | | | Enables rendering of SVG images. This is possible since SVG images still contain and specify the dimensions in pixels to which they've been drawn to and thus enable browsers to display them without any external data. Users can still override and generate images with arbitrary resolutions. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | configure: jni no longer requires -ldlAman Gupta2017-05-161-2/+1
| | | | | | | | This dependency was removed in 33d69a90085d30af8a292d9364b835a26565d6b9.
OpenPOWER on IntegriCloud