summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAge
* configure: Silence error messages when probing compilerShiz2015-08-04
| | | | | | | | | | | On Xcode's clang on OS X, $cc --version will output a 'Configured with:' line to stderr, which clobbers the configure script output. As this line serves no further purpose, it should be silenced. The same applies to apple-gcc 4.2.1, which complains that it can not understand the kernel version it is running on. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Don't force _WIN32_WINNT to an older version if targeting ↵Martin Storsjö2015-07-28
| | | | | | | | | | | winphone/winrt This avoids having to manually set _WIN32_WINNT in --extra-cflags when targeting these API families, which only was necessary to work around configure setting _WIN32_WINNT to an older version by default. Signed-off-by: Martin Storsjö <martin@martin.st>
* dxva2/d3d11va: Set _WIN32_WINNT to 0x0602 instead of 0x0600Martin Storsjö2015-07-28
| | | | | | | | | | | | | | | If _WIN32_WINNT is unset, we force it to a new enough value to make sure the necessary definitions are visible. When targeting Windows Phone or Windows RT, _WIN32_WINNT should be at least 0x0602 - otherwise the windows headers themselves can cause errors (which technically are bugs in the headers). Raising this value here shouldn't hurt; the alternative would be to not touch it at all if WINAPI_FAMILY is set to phone/app, or to force setting it to 0x0602 in configure if unset (for phone/app). Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Check for _M_ARMT to detect thumb when using MSVCMartin Storsjö2015-07-27
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Check MSVC defines for identifying hardfloatMartin Storsjö2015-07-27
| | | | | | | | This macro identifies whether VFPv3 is available; MSVC defaults to hardfloat (except for older MSVC versions for CE, targeting ARMv4). Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Default to armasm for --toolchain=msvc when targeting armMartin Storsjö2015-07-27
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Simplify, remove an unnecessary intermediate variableMartin Storsjö2015-07-27
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Only redirect strtoll to _strtoi64 if necessaryMartin Storsjö2015-07-26
| | | | | | This isn't necessary any longer on MSVC 2013 Update 4. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Only redefine inline to __inline for msvc if necessaryMartin Storsjö2015-07-26
| | | | | | This isn't necessary on MSVC 2015 any longer. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Only add -FIstdlib.h for msvc/icl if necessaryMartin Storsjö2015-07-26
| | | | | | | | | This is only necessary on MSVC 2010/2012 (and possibly on some ICL versions). This both avoids an extra hack on newer MSVC versions, and better documents what the extra compiler option is used for. Signed-off-by: Martin Storsjö <martin@martin.st>
* force WINAPI_FAMILY to WINAPI_FAMILY_DESKTOP_APP to be able to use dxva.hSteve Lhomme2015-07-26
| | | | | | | | | | | | | | | | The struct definitions in dxva.h, which are necessary in order to actually use d3d11va, are hidden when WINAPI_FAMILY targets Windows Phone or WindowsRT. Building with WINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP is disallowed when targeting ARM. ("Compiling Desktop applications for the ARM platform is not supported.") So we set _CRT_BUILD_DESKTOP_APP to 0 to tell the runtime not to detect some issues with this mismatching. The same tweaks to detect if the API is available is done in dxva2_internal.h when compiling each DXVA2/D3D11VA decoders. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: add Intel libmfx-based HEVC decoder.Anton Khirnov2015-07-25
|
* lavc: add Intel libmfx-based MPEG2 decoder.Anton Khirnov2015-07-25
|
* use a wrapper script to call MS link.exe to avoid mixing with /usr/bin/link.exeSteve Lhomme2015-07-24
| | | | | | Fallback to "link" in the path if the one next to cl is not found. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: force -nologo- when detecting MSVCSteve Lhomme2015-07-23
| | | | | | | | The -nologo- option is the inverse of -nologo, reenabling printing the "logo" version header. This is useful if the compiler actually is a wrapper that forces -nologo. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Factor out g722dsp moduleVittorio Giovara2015-07-17
|
* configure: Factor out wmv2dsp moduleVittorio Giovara2015-07-17
|
* configure: Factor out vp8dsp moduleVittorio Giovara2015-07-17
|
* configure: Factor out vp56dsp moduleVittorio Giovara2015-07-17
|
* configure: Factor out rv34dsp moduleVittorio Giovara2015-07-17
|
* configure: Factor out mss34dsp moduleVittorio Giovara2015-07-17
|
* configure: Factor out ividsp moduleVittorio Giovara2015-07-17
|
* configure: Factor out flacdsp moduleVittorio Giovara2015-07-17
|
* OS/2: Cleanup slib_create_def_cmdDave Yeo2015-07-17
| | | | | | | | | Export symbols by name rather then ordinal. Remove PROTMODE directive as it does not make sense for 32 bit library. Also silences a warning from some linkers. Signed-off-by: Dave Yeo <dave.r.yeo@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* libx264: Add support for the MPEG2 encoderLuca Barbato2015-07-17
|
* hevc_parser: parse and export some stream parametersAnton Khirnov2015-07-12
| | | | | Particularly those that will be needed by the QSV decoder. More can be added later as necessary.
* configure: Make the new qsv encoder depend on libmfxLuca Barbato2015-07-09
| | | | Found-by: kropping
* lavc: add Intel libmfx-based HEVC encoderAnton Khirnov2015-07-08
|
* lavc: add Intel libmfx-based MPEG2 encoderAnton Khirnov2015-07-08
|
* configure: Check for x265_api_getDerek Buitenhuis2015-06-27
| | | | | | | | | | | | Any other x265 symbol may not exported, e.g. if the build is a multilib (10-bit and 8-bit in one) build. This is the only symbol we directly call, and is available in the build number we check for. Fixes the configure check on multilib x265 builds. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* DirectDraw Surface image decoderVittorio Giovara2015-06-22
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Hap decoder and encoderVittorio Giovara2015-06-22
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* txd: Use the TextureDSP module for decodingVittorio Giovara2015-06-22
| | | | | | | | | Using the internal DXTC routines brings support for non multiple of 4 textures. A new test is added to cover this feature. Hashes differ since the decoding algorithm is different, though no visual changes have been spotted. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Introduce a TextureDSP moduleVittorio Giovara2015-06-22
| | | | | | | This module implements generic texture decompression from different families (DXTC, RGTC, BCn) and texture compression DXTC 1, 3, and 5. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Implement Snappy decompressionLuca Barbato2015-06-22
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* libvpx: Support the vp9 extended profilesLuca Barbato2015-06-21
| | | | | | | | | | Bump the minimum libvpx version to 1.3.0 and rework the configure logic to fail only if no decoders and encoders are found. Based on the original patch from Vittorio. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Support MSVC 2015Luca Barbato2015-06-08
| | | | | | | | | | | The C runtime C99 compatibility had been improved a lot and it now rejects some of the compatibility defines provided for the older versions. Many thanks to Ray for the time spent testing. Bug-Id: 864 CC: libav-stable@libav.org
* configure: Check for DXVA2_ConfigPictureDecode instead of LPDIRECT3DSURFACE9Martin Storsjö2015-06-03
| | | | | | Checking this struct is a bit more natural for this dependency. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Remove unnecessary tests for d3d11vaMartin Storsjö2015-06-03
| | | | | | | | These are only necessary once/if avconv gets support for this hwaccel. While that obviously is desireable, we don't have it yet, and they currently only are a distraction. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Don't run "export $e" for an empty stringMartin Storsjö2015-06-03
| | | | | | | This fixes the side effect of printing the whole environment, if no --env parameter was provided. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: don't enable tls protocols if network is disabledJames Almer2015-06-02
| | | | | | | This was a regression introduced with d8ffb2055f0e0fcb5d025bab72eb19c2a886c125. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Use pkg-config for fdk-aacLuca Barbato2015-06-02
| | | | Makes the life of the people already setting PKG_CONFIG_PATH simpler.
* configure: Provide an option to override the environmentLuca Barbato2015-06-02
| | | | | | Useful to have `make config` work with custom pkgconf path. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Support the extended pkgconf syntaxLuca Barbato2015-06-02
| | | | | | | Make possible to require a combination of packages and/or pin specific versions. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Remove some unnecessary exported config itemsMartin Storsjö2015-06-01
| | | | | | | | The only need to be listed if they are to be used in ifdefs from within the code - config items used as dependencies only within configure don't need to be exported. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Require LPDIRECT3DSURFACE9 for dxva2Martin Storsjö2015-06-01
| | | | | | | | | | | | | | | | This fixes dxva2 detection (i.e. correctly realizes that it isn't available) for WinRT, where dxva2api.h does exist, but these definitions are omitted (when targeting the API subsets). Ideally we should rather check for e.g. DXVA2_ConfigPictureDecode, but configure might fail to find that definition due to _WIN32_WINNT not being set to the right value during configure. (libavcodec/dxva2.h manually overrides the _WIN32_WINNT define.) This allows removing hardcoded --disable-dxva2 from such build configurations. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Check if ID3D11VideoDecoder exists, not just the header to enable ↵Steve Lhomme2015-06-01
| | | | | | | | | d3d11va Fixes build with some mingw-w64 versions, that have got the header but not the interface declaration. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpdh: Use GMP functions directly, instead of nettle wrappersMartin Storsjö2015-06-01
| | | | | | | | | mpz_import and mpz_export were added in GMP 4.1, in 2002. This simplifies the DH code by clarifying that it only uses pure bignum functions, no other parts of nettle/hogweed. Signed-off-by: Martin Storsjö <martin@martin.st>
* nvenc: H264 and HEVC encodersLuca Barbato2015-05-31
| | | | | | Partially based on the work of Timo Rothenpieler <timo@rothenpieler.org> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* ppc: configure: Support ISA 2.06 and laterLuca Barbato2015-05-31
| | | | | | | POWER 7 and POWER 8 support VSX and ldbrx. POWER 8 supports additional extended VSX instructions introduced with ISA 2.07.