summaryrefslogtreecommitdiffstats
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* Remove support for building for mingw32ce (Windows CE)Martin Storsjö2017-08-311-7/+1
| | | | | | | | | | | | | | | | The toolchain for this target is unmaintained since many years. While it has been continuously build tested on fate, it hasn't actually been tested at runtime since many, many years (and back then, only a few codecs in libavcodec were tested). So far, keeping support for it has been mostly effortless, but the compiler does seem to have issues with dllimported data symbols, ending up as internal compiler errors in some cases. Instead of jumping through further hoops to work around that, just remove the target. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Include d3d11va_extralibs in libavutilMartin Storsjö2017-08-251-1/+1
| | | | | | This fixes shared WinRT/UWP builds with d3d11va enabled. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: Add mpeg2_metadata bitstream filterMark Thompson2017-08-201-0/+1
|
* lavc: Add coded bitstream read/write support for MPEG-2Mark Thompson2017-08-201-1/+3
| | | | Also enable MPEG-2 support in the trace_headers filter.
* vaapi_h265: Convert to use coded bitstream infrastructureMark Thompson2017-08-131-1/+1
| | | | | Also improves the metadata and generally makes the configuration a bit cleaner.
* vaapi_h264: Convert to use coded bitstream infrastructureMark Thompson2017-08-131-1/+1
|
* lavc: Add hevc_metadata bitstream filterMark Thompson2017-08-131-0/+1
| | | | | This is able to modify some header metadata found in the VPS/SPS/VUI, and can also add/remove AUDs.
* lavc: Add h264_redundant_pps bitstream filterMark Thompson2017-08-131-0/+1
| | | | | | | | | This applies a specific fixup to some Bluray streams which contain redundant PPSs modifying irrelevant parameters of the stream which confuse other transformations which require correct extradata. A new single global PPS is created, and all of the redundant PPSs within the stream are removed.
* lavc: Add h264_metadata bitstream filterMark Thompson2017-08-131-0/+1
| | | | | This is able to modify some header metadata found in the SPS/VUI, and can also add/remove AUDs and insert user data in SEI NAL units.
* lavc: Add trace_headers bitstream filterMark Thompson2017-08-121-0/+1
| | | | | Supports all streams that the coded bitstream infrastructure does (currently H.264 and H.265).
* lavc: Add coded bitstream read/write support for H.265Mark Thompson2017-08-121-0/+2
|
* lavc: Add coded bitstream read/write support for H.264Mark Thompson2017-08-121-0/+2
|
* lavc: Add coded bitstream read/write APIMark Thompson2017-08-121-0/+1
|
* hevcdec: add a CUVID hwaccelAnton Khirnov2017-07-281-0/+3
|
* h264dec: add a CUVID hwaccelAnton Khirnov2017-07-261-1/+10
| | | | | Some parts of the code are based on a patch by Timo Rothenpieler <timo@rothenpieler.org>
* libavcodec/mjpeg_qsv: Add QSV MJPEG encoderHuang, Zhengxu2017-07-251-0/+2
| | | | | | | | | | | usage: -hwaccel qsv -c:v h264_qsv -i in -c:v mjpeg_qsv -global_quality 80 -f mjpeg out Signed-off-by: ChaoX A Liu <chaox.a.liu@gmail.com> Signed-off-by: Zhengxu Huang <zhengxu.maxwell@gmail.com> Signed-off-by: Andrew Zhang <huazh407@gmail.com Signed-off-by: Maxym Dmytrychenko <maxim.d33@gmail.com>
* d3d11va: Check WINAPI_FAMILY instead of HAVE_LOADLIBRARYMartin Storsjö2017-07-051-1/+13
| | | | | | | | | | | | | If using the winstore compat library, a fallback LoadLibrary function does exist, that only calls LoadPackagedLibrary though (which doesn't work for dynamically loading d3d11 DLLs). Therefore explicitly check the targeted API family instead. Make this check a reusable HAVE_* component which other parts of the libraries can check when necessary as well. Signed-off-by: Martin Storsjö <martin@martin.st>
* 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 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Reset X86ASM_DEP(FLAGS) when probing for the assembler programDiego Biurrun2017-06-241-0/+2
| | | | | | | These variables might be set from a previous probe run, but one or the other program that is probed for may not grok the flags, resulting in errors during assembling when the values of those variables are passed to the assembler.
* build: Add an option for passing linker flags to the shared library buildJanne Grunau2017-06-221-1/+10
| | | | | | Also employ this mechanism to pass $libdir to the runtime library search path if rpath is enabled. This fixes underlinking of some test binaries on some systems.
* configure: Automatically add -isysroot for darwin if --sysroot is specifiedMartin Storsjö2017-06-211-0/+4
| | | | | | | | | | | Check the existing flags in the cc/cflags/cppflags/ldflags for occurrances of -isysroot; if none is found but --sysroot was specified, set -isysroot to the same value as --sysroot. This simplifies configuring cross-builds for iOS, if the global environment variable SDKROOT isn't set. Signed-off-by: Martin Storsjö <martin@martin.st>
* d3d11va: Link directly to dxgi.dll and d3d11.dll functions if LoadLibrary is ↵Martin Storsjö2017-06-181-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. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Fix handling of _select dependenciesDiego Biurrun2017-06-171-10/+7
| | | | | | | | | | | | | | The handling of _select dependencies had two issues: 1) extralibs from _select dependencies of a component were not added to the list of extralibs for that component. 2) extralibs from dependencies were only added to the extralibs of a component if the component was enabled. This led to incorrect results if that component was enabled by another component later in the dependency resolution process. Instead, always generate the full list of component extralibs for use later in the dependency resolution process. Also remove a leftover unused variable.
* build: Adjust dependencies for faan(i)dct componentsDiego Biurrun2017-06-171-2/+4
|
* configure: Factorize qsv dependenciesDiego Biurrun2017-06-171-8/+1
|
* configure: Add missing arch dependencies for arch extensionsDiego Biurrun2017-06-171-0/+12
|
* configure: Add x86 dependency for mmx_internalDiego Biurrun2017-06-171-1/+1
| | | | This ensures that mmx_internal is only ever enabled on x86.
* build: Add missing idctdsp dependency for clearvideoDiego Biurrun2017-06-171-0/+1
|
* configure: Simplify AltiVec/VSX check with a helper functionDiego Biurrun2017-06-131-17/+7
|
* ppc: Drop support for Apple GCCDiego Biurrun2017-06-131-7/+3
| | | | Apple GCC has not been a thing anymore on PowerPC since many years.
* dxva: add support for new dxva2 and d3d11 hwaccel APIswm42017-06-081-7/+12
| | | | | | | | | | 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. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* configure: Bail out if both GnuTLS and OpenSSL are enabledDiego Biurrun2017-06-061-0/+3
| | | | | | Both libraries provide similar functionality and cannot be used together. When both are enabled one is used and the other ignored arbitrarily. Error out instead and have the user choose which library to use.
* configure: Move x86 assembler sanity check into assembler probe functionDiego Biurrun2017-06-031-4/+4
| | | | | This allows for more graceful fallback from NASM to Yasm if the available NASM version is too old.
* build: Add missing zlib dependencies for several protocolsDiego Biurrun2017-06-031-0/+9
|
* tls: Hide backend implementation details from usersDiego Biurrun2017-06-021-6/+2
| | | | | | | | TLS is currently implemented over either OpenSSL or GnuTLS, with more backends likely to appear in the future. Currently, those backend libraries are part of the protocol names used during e.g. the configure stage of a build. Hide those details behind a generically-named declaration for the TLS protocol to avoid leaking those details into the configuration stage.
* configure: Default to _WIN32_WINNT=0x0502 (XP) as minimum, for legacy mingwMartin Storsjö2017-06-011-0/+2
| | | | | | | | | This makes the getaddrinfo functions visible, which aren't normally by default on legacy mingw. We already force __MSVCRT_VERSION__ to an XP version. Signed-off-by: Martin Storsjö <martin@martin.st>
* 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>
* configure: Do not check for the __builtin_vec_vsx_ldLuca Barbato2017-05-291-1/+8
| | | | Clang support for Altivec/VSX uses a different approach.
* arm: Avoid using .dn register aliasesMartin Storsjö2017-05-151-5/+0
| | | | | | | | | | | | | | | | | | | | | | | clang now (in the upcoming 5.0 version) is capable of building our arm assembly without relying on gas-preprocessor, although clang/LLVM doesn't support .dn register aliases. The VC1 MC assembly was only built and used if the chosen assembler supported the .dn directives though. This was supported as long as gas-preprocessor was used. This means that VC1 decoding got a speed regression on clang 5.0, unless the user manually chose using gas-preprocessor again. By avoiding using the .dn register aliases, we can build the VC1 MC assembly with the latest clang version. Support for the .dn/.qn directives in clang/LLVM isn't actively planned, see https://bugs.llvm.org/show_bug.cgi?id=18199. This partially reverts 896a5bff64264f4d01ed98eacc97a67260c1e17e. Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Check for the .arch directive in configureMartin Storsjö2017-05-081-0/+4
| | | | | | | | | | | | When targeting windows, the .arch directive isn't available. So far, when building for windows, we've always used gas-preprocessor, both when using msvc's armasm and when using clang. Lately, clang/llvm has implemented the last missing piece (altmacro support) for building our assembly without gas-preprocessor. This means that we now build for arm/windows with clang without any extra compatibility layer. Signed-off-by: Martin Storsjö <martin@martin.st>
* aac: Split function to parse ADTS header data into public and private partDiego Biurrun2017-05-021-2/+6
| | | | | | This makes the currently semi-public avpriv_aac_parse_header() function private to libavcodec and adds a proper public API function to return the parts of the ADTS header required in libavformat.
* configure: Fix sem_timedwait probeLuca Barbato2017-04-251-1/+1
| | | | It requires pthreads.
* configure: Properly escape arguments in filter/filter_out helper functionsLuca Barbato2017-04-251-2/+2
| | | | | | The arguments may contain '$', which gets interpreted by the shell. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* utvideodec: Reuse the huffyuv add_leftPaul B Mahol2017-04-151-1/+1
| | | | | | | ~10% faster when simd is available. Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Better names for functions that sanitize inputDiego Biurrun2017-04-031-11/+11
|
* vaapi_encode: Add VP9 supportMark Thompson2017-04-021-0/+3
|
* jack: Drop support for old (2012) JACK versionsDiego Biurrun2017-03-281-5/+2
|
* configure: Disable inline assembly for PathScale compilersDiego Biurrun2017-03-271-0/+1
| | | | | These compilers pass the inline assembly check, but fail to compile our inline assembly in various ways.
* configure: Skip check for inline assembly capabilities when explicitly disabledDiego Biurrun2017-03-241-1/+1
| | | | Otherwise inline assembly may get enabled when disabled on the command line.
* lavc: Remove deprecated XvMC support hacksDiego Biurrun2017-03-231-3/+0
| | | | Deprecated in 11/2013.
OpenPOWER on IntegriCloud