summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAge
* libopenh264enc: Fix a typo and some nitpicksMartin Storsjö2015-01-08
| | | | | | Also move the .long_name entry to below the .name entry. Signed-off-by: Martin Storsjö <martin@martin.st>
* libavcodec: Add an OpenH264 encoder wrapperMartin Storsjö2015-01-06
| | | | | | | | | | | | | | | | | | | | Compared to existing, common opensource H264 encoders, this can be useful since it has got a different license (BSD instead of GPL). Performance- and qualitywise it is comparable to x264 in ultrafast mode. Hooking it up as an encoder in libavcodec also simplifies comparing it against other common encoders. This requires OpenH264 1.3 or newer. Since the OpenH264 API and ABI changes frequently, only releases are supported. To take advantage of the OpenH264 patent offer, the OpenH264 library must not be redistributed, but downloaded at runtime at the end-user's system. Signed-off-by: Martin Storsjö <martin@martin.st>
* build: Use -Werror=format-securityAgostino Sarubbo2015-01-05
| | | | Reduce the chance of introducing a class of bugs quite hard to track.
* configure: Remap -L to -libpath for msvcMartin Storsjö2015-01-04
| | | | | | | | This allows using libraries that are detected via pkg-config with msvc. (The libraries themselves may have to be built with MSVC though.) Signed-off-by: Martin Storsjö <martin@martin.st>
* libavformat: Only use MoveFileExA when targeting the desktop API subsetMartin Storsjö2014-12-19
| | | | | | | | | | | | | | | | The MoveFileExA is available in the headers regardless which API subset is targeted, but it is missing in the Windows Phone link libraries. When targeting Windows Store apps, the function is available both in the headers and in the link libraries, and thus there is no indication for the build system that this function should be avoided - such an indication is only given by the Windows App Certification Kit, which forbids using the MoveFileExA function. Therefore check the WINAPI_FAMILY defines instead, to figure out which API subset is targeted. Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Use .data.rel.ro for const data with relocationsMartin Storsjö2014-12-09
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: enable vda hwaccel by defaultVittorio Giovara2014-12-03
| | | | | Following the old thread suggestions. Vittorio
* lavf: Use MoveFileEx instead of rename/_wrename on windowsMartin Storsjö2014-11-27
| | | | | | | | | This allows getting the normal unix semantics, where a rename allows replacing an existing file. Based on a suggestion by Reimar Döffinger. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Fix enabling memalign_hack automaticallyMartin Storsjö2014-11-18
| | | | | | | | | simd_align_16 is a configure item that can be enabled or disabled, it's not a variable containing a list of other configure items as need_memalign previously. This was broken in eba2233b5. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: Add an MPEG-DASH ISOFF segmenting muxerMartin Storsjö2014-11-17
| | | | | | | | | | | | | | | | | | This is mostly to serve as a reference example on how to segment the output from the mp4 muxer, capable of writing the segment list in four different ways: - SegmentTemplate with SegmentTimeline - SegmentTemplate with implicit segments - SegmentList with individual files - SegmentList with one single file per track, and byte ranges The muxer is able to serve live content (with optional windowing) or create a static segmented MPD. In advanced cases, users will probably want to do the segmenting in their own application code. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Check only for xcbLuca Barbato2014-10-28
| | | | xcb-utils are not needed anymore.
* xcbgrab: XCB-based screen captureLuca Barbato2014-10-26
| | | | Matches the x11grab screen capture by features.
* lavu: Provide fallbacks for gmtime_r and localtime_rMartin Storsjö2014-10-26
| | | | | | | | | | | | This allows writing most code as if they always are is available. These are ok to use from other libraries even though it's not a public header, since they only provide an inline declaration, and doesn't add an actual dependency on lavu internals. (This can be considered more a build system compatibility fallback than a libavutil feature.) Signed-off-by: Martin Storsjö <martin@martin.st>
* w32pthreads: use the CONDITION_VARIABLE typedef if availableJames Almer2014-10-10
| | | | | | | | This silences warnings about passing arguments from incompatible pointer type when targeting Windows Vista or newer. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Add -lrt dependency to avutil's pc file.Josh Allmann2014-10-04
| | | | | | This is needed for clock_gettime. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Provide a safe default for unknonw libcsLuca Barbato2014-09-27
| | | | | | | Support musl out of box. Amend commit 9d2cee52d37c7340f85a5d41110282aac03e6855 that got wrongly merged in its stead.
* configure: Assume a standard-compliant default libcLuca Barbato2014-09-26
| | | | | Non-standard compliant libc should be supported on a per-case basis anyway.
* configure: Use the right variables in check_host_cppJörg Krause2014-09-17
| | | | | | HOSTCPPFLAGS and HOSTCFLAGS are only set in config.mak. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Disable i686 for i586 and lower CPUsMikulas Patocka2014-09-16
|
* configure: Split adding of CFLAGS and CPPFLAGS for hardened toolchainDiego Biurrun2014-09-16
|
* Split off floating point AAN (I)DCT into separate componentsDiego Biurrun2014-09-07
|
* build: Split WMA frequencies into a separate object fileDiego Biurrun2014-09-04
| | | | | These are the only WMA bits shared with binkaudio. Splitting them off reduces the binnkaudio dependency on general WMA code.
* time: Use clock_gettime if the monotonic clock is availableLuca Barbato2014-09-03
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: add --enable-rpathReinhard Tartler2014-08-23
| | | | | | | | | | | | | This option facilitates testing shared libarary builds: for instance fate builders do no longer need to set LD_LIBRARY_PATH as the binaries will get the right search paths hardcoded into their executable file. This option is only meant to be used for testing purposes: The installed libraries must not move around in the file system, and doing so will cause a lot of subtle problems. For more information why using RPATH is dangerous, please refer to https://blog.flameeyes.eu/2010/06/the-why-and-how-of-rpath
* ogg: Provide aliases for Speex, Opus and audio-only oggLuca Barbato2014-08-22
| | | | Since they are aliases for ogg enabling any of them enables ogg as well.
* configure: Suppress "potentially uninitialized variable" warnings from MSVCDiego Biurrun2014-08-21
| | | | The same is done for GCC and clang already.
* configure: Check for nanosleep in headers as well, not only in libsMartin Storsjö2014-08-13
| | | | | | | | | On mingw64 with c++11 support, the link libraries do contain a nanosleep function, while it isn't exposed via the headers. Using check_func_headers instead of a plain check_func fixes this misdetection. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Don't pass MSVC compiler options -M[TD] to armasmMartin Storsjö2014-08-10
| | | | | | | | | | | The -MD option (for enabling a dynamically linked crt) gets interpreted as a cpp option for generating dependency information (into a file named '-.d', when preprocessing to a pipe). We shouldn't be passing any and all C compiler flags to armasm (which is a plain assembler, only with cpp bolted on via gas-preprocessor), but these are the main conflicting ones. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Suggest upgrading gas-preprocessor instead of just installingMartin Storsjö2014-08-10
| | | | | | Older versions don't support all the features we test for now. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Enable gas-preprocessor on all OSes but only if availableDiego Biurrun2014-08-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Add probe identification of MS armasmMartin Storsjö2014-08-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Only run gas checks on ARM and PowerPCDiego Biurrun2014-08-08
| | | | Standalone GNU assembly is not used on x86.
* configure: Die if gas is unavailable under aarch64 as well as ARMDiego Biurrun2014-08-08
|
* configure: Include the armcc build number in the compiler identificationMartin Storsjö2014-08-06
| | | | | | | | | | | | | | | | | | | | | | | | | This tries to find the most expressive part of the output of armcc --vsn to include, giving a compiler identification of "ARM Compiler 5.04 update 2 (build 82)" instead of just "ARM Compiler 5.04" for armcc 5.0. 4.x versions of armcc output the following, for "armcc --vsn": ARM C/C++ Compiler, RVCT4.0 [Build 925] For evaluation purposes only Software supplied by: ARM Limited ARM C/C++ Compiler, 4.1 [Build 894] For evaluation purposes only Software supplied by: ARM Limited 5.0 versions output this: Product: ARM Compiler 5.04 Component: ARM Compiler 5.04 update 2 (build 82) Tool: armcc [5040081] For evaluation purposes only Software supplied by: ARM Limited Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: check $as first before using $gas as GNU asJanne Grunau2014-08-05
| | | | | | | | llvm's integrated assembler supports the AArch64 asm on darwin since August 2014. So check $as first before using gas-preprocessor.pl via $gas. Makes the checks specific for that the architecture specific asm needs. PPC Altivec and AArch64 needs on ':vararg' for macro arguments. Arm needs in addition the '.altmacro' directive.
* vc-1: Add platform-specific start code search routine to VC1DSPContext.Ben Avison2014-08-04
| | | | | | | Initialise VC1DSPContext for parser as well as for decoder. Note, the VC-1 code doesn't actually use the function pointer yet. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* h264: Move start code search functions into separate source files.Ben Avison2014-08-04
| | | | | | This permits re-use with parsers for codecs which use similar start codes. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Add Icecast protocolMarvin Scholz2014-08-04
| | | | | | Icecast is basically a convenience wrapper around the HTTP protocol. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Globally add ZLIB_CONST to CPPFLAGS if zlib is enabledDiego Biurrun2014-07-30
|
* configure: Use require_pkg_config for SpeexLuca Barbato2014-07-28
| | | | | Distributors and integrators nowadays have less problems by leveraging pkg-config files than having to set custom CFLAGS and LDFLAGS.
* configure: Extend the neon intrinsics checkMartin Storsjö2014-07-22
| | | | | | | Check for an instruction that causes the (very old) Apple GCC 4.2 to error out ("unrecognizable insn"). Signed-off-by: Martin Storsjö <martin@martin.st>
* build: Add define for SIMD extensions requiring 16-byte aligned buffersDiego Biurrun2014-07-22
|
* configure: add support for neon intrinsicsJanne Grunau2014-07-21
|
* build: Support executable only ldflagsLuca Barbato2014-07-21
| | | | | The options is useful to build position-independent executables on hardened systems (e.g. Android L and Gentoo Hardened).
* configure: Do not add extralibs to avresample .pc fileLuca Barbato2014-07-21
| | | | The library does not have external dependencies.
* build: Conditionally build and test iirfilterDiego Biurrun2014-07-21
|
* dsputil: Split motion estimation compare bits off into their own contextDiego Biurrun2014-07-17
|
* configure: Assume runtime cpu detection on arm on --target-os=android as wellMartin Storsjö2014-07-17
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* dsputil: Split off pixel block routines into their own contextDiego Biurrun2014-07-09
|
* lavc: export DV profile API used by muxer/demuxer as publicAnton Khirnov2014-07-09
|