summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAge
...
* vdpau: remove dysfunctional H.263 supportRémi Denis-Courmont2015-10-30
| | | | | | The VDPAU API never explicitly supported H.263 in the first place. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* os_support: Don't try to return the service name as a string in getnameinfoMartin Storsjö2015-10-30
| | | | | | | | | | | | | Some systems may be lacking getservbyport; the previous ifdef wasn't quite enough since it still assumed that struct servent was defined, as pointed out by Clément Gregoire. Simply remove the possibility to return non-numeric services in getnameinfo; no caller of getnameinfo within libavformat currently try to use getnameinfo for retrieving the port number without NI_NUMERICSERV, and falling back on getservbyport may be non-threadsafe. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Add -D_CRT_NONSTDC_NO_WARNINGS when building with msvcMartin Storsjö2015-10-29
| | | | | | | | | This silences warnings like this one: libavformat/file.c(62) : warning C4996: 'read': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _read. See online help for details. Signed-off-by: Martin Storsjö <martin@martin.st>
* innoHeim/Rsupport Screen Capture Codec decoderVittorio Giovara2015-10-23
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* kvazaar: Add libkvazaar HEVC encoderArttu Ylä-Outinen2015-10-23
| | | | | Signed-off-by: Arttu Ylä-Outinen <arttu.yla-outinen@tut.fi> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* build: add Solaris symbol versioningSean McGovern2015-10-11
| | | | | | | | | | | | | | | | | | The versioning facility in the Solaris linker differs from Linux in 3 ways: 1. It does not support globs in linker scripts for symbol versioning -- this is a GNU extension. 2. The linker argument is '-M', instead of '--version-script'. 3. It is picky about line endings. Each symbol or directive must be on a line of it's own. Let's use make_sunver.pl from GCC to generate a version script that works correctly with the Solaris linker. It's function is to correctly expand the globs in the original generated version script. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: When disabling a library disable all the related componentsLuca Barbato2015-10-07
| | | | | | This way is sufficient to use the component specific configure variable and not guard against the global library configure variable in code that is outside it (e.g. checkasm).
* build: Add support for known custom allocatorsLuca Barbato2015-09-30
| | | | | | Makes slightly easier to use jemalloc and tcmalloc. The two are quite common choices for profiling and debugging.
* Screenpresso SPV1 decoderVittorio Giovara2015-09-30
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* configure: address a copy-paste typoVicente Olivert Riera2015-09-29
| | | | | | | The correct instruction for mips32r1 is addi. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: mips: Support mips r6, r2 and r1Luca Barbato2015-09-29
| | | | | | Detect the different MIPS architecture variants. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Set the initial ldflags to match the cflagsLuca Barbato2015-09-29
| | | | | | | Some gcc-based toolchain would fail to link if the abi set by the cpuflags does not match the default. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* DXV decoderVittorio Giovara2015-09-02
| | | | Support all DXDI and DXD3 normal quality videos.
* lavc: Add a lzf decompressorLuca Barbato2015-09-02
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* webm: Explicitly select libvpx, libopus and libvorbis encodersLuca Barbato2015-08-25
| | | | | | | | And update the preference for the newer codecs now that the libraries seem stable and widespread enough. Bug-Id: 695 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: arm: Assume softfp ABI on darwinMartin Storsjö2015-08-16
| | | | | | | | | | | | | | Don't try to detect the float ABI by checking at the toolchain name or by trying to assemble and link files with eabi_attributes. This fixes the float ABI detection when building using clang with -fembed-bitcode, where the current eabi_attributes check accidentally passes. This issue was pointed out by James Howe <james.howe@hp.com>. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* 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>