summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
...
* configure: fix clang-cl check in the MSVC sectionHendrik Leppkes2018-04-191-1/+1
| | | | | | Without properly grouping the checks, the second test would execute for MSVC cl.exe, which results in configure getting stuck since cl.exe -? is an interactive paginated help screen, waiting for input.
* configure: add nvcc to CMDLINE_SETTimo Rothenpieler2018-04-161-0/+1
| | | | This was somehow forgotten and nobody noticed until now.
* configure: extend the check for bcryptJames Almer2018-04-161-1/+2
| | | | | | | Some old mingw-w64 builds seem to provide an incomplete implementation of the API. Add an extra check to make sure it's disabled for those. Signed-off-by: James Almer <jamrial@gmail.com>
* configure: fix clang-cl detectionAlexander Bilyak2018-04-151-2/+2
| | | | | | | | | When using clang-cl it expects parameters passed in MSVC-style, so appropriate toolchain should be selected. As soon as both clang and clang-cl report themselfs as "clang" with -v option the only chance to detect clang-cl is passing -? option to both which is valid for clang-cl.exe and not for clang.exe. Reviewed-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/random_seed: use bcrypt instead of the old wincrypt APISteve Lhomme2018-04-141-3/+3
| | | | | | | | Remove the wincrypt API calls since we don't support XP anymore and bcrypt is available since Vista, even on Windows Store builds. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* configure: make the C11 atomics check more robustMichael Niedermayer2018-04-131-1/+1
| | | | | | | C11 atomics allow direct access. This check should prevent the usage of bogus stdatomic.h available on some systems. Signed-off-by: James Almer <jamrial@gmail.com>
* configure: disable direct stripping in OpenBSDJames Almer2018-04-131-0/+1
| | | | | | | It appears strip -o creates new files without preserving permissions from the source binary, resulting in non executable files. Signed-off-by: James Almer <jamrial@gmail.com>
* configure: Disable direct stripping for AIX.Carl Eugen Hoyos2018-04-121-0/+1
| | | | AIX strip doesn't know the option -o.
* configure: check for INIT_ONCE before enabling w32threadsJames Almer2018-04-101-0/+1
| | | | | | | Should fix compilation wiht some old mingw-w64 builds that don't seem to define it. Signed-off-by: James Almer <jamrial@gmail.com>
* configure: check that the required header for Linux Perf is availableJames Almer2018-04-101-0/+3
| | | | | | Should fix compilation on targets like some old Android NDK versions. Signed-off-by: James Almer <jamrial@gmail.com>
* configure: fix buildMichael Niedermayer2018-04-011-1/+1
| | | | regression since 8f1382f80e0d4184c54c14afdda6482f050fbba7
* lavd: remove linked listsJosh de Kock2018-03-311-11/+12
| | | | Signed-off-by: Josh de Kock <josh@itanimul.li>
* Revert "lavd: add new API for iterating input and output devices"Josh de Kock2018-03-311-12/+11
| | | | | | | | | | This reverts commit 0fd475704e871ef3a535947596a012894bae3cbd. Revert "lavd: fix iterating of input and output devices" This reverts commit ce1d77a5e7cebce11074bf6f9e38ad6da37338ff. Signed-off-by: Josh de Kock <josh@itanimul.li>
* lavfi: add new iteration APIJosh de Kock2018-03-311-9/+20
| | | | Signed-off-by: Josh de Kock <josh@itanimul.li>
* arm: swscale: Only compile the rgb2yuv asm if .dn aliases are supportedMartin Storsjö2018-03-311-0/+2
| | | | | | | | | | | | | | | Vanilla clang supports altmacro since clang 5.0, and thus doesn't require gas-preprocessor for building the arm assembly any longer. However, the built-in assembler doesn't support .dn directives. This readds checks that were removed in d7320ca3ed10f0d, when the last usage of .dn directives within libav were removed. Alternatively, the assembly could be rewritten to not use the .dn directive, making it available to clang users. Signed-off-by: Martin Storsjö <martin@martin.st>
* Merge commit 'a2fc8dbae85339d1b418d296f2982b6c04c53c57'James Almer2018-03-291-0/+5
|\ | | | | | | | | | | | | * commit 'a2fc8dbae85339d1b418d296f2982b6c04c53c57': Add Haivision SRT protocol Merged-by: James Almer <jamrial@gmail.com>
| * Add Haivision SRT protocolSven Dueking2018-03-281-0/+5
| | | | | | | | | | | | | | | | The protocol requires libsrt (https://github.com/Haivision/srt) to be installed Signed-off-by: Sven Dueking <sven.dueking@nablet.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * configure: Drop unused helper function test_cflags_cpp()Diego Biurrun2018-03-271-13/+0
| |
* | Merge commit '434b44cd6fb4bb9a2bf2bb29ef55ce1a315314b8'James Almer2018-03-291-3/+2
|\ \ | |/ | | | | | | | | | | * commit '434b44cd6fb4bb9a2bf2bb29ef55ce1a315314b8': configure: Simplify vararg check Merged-by: James Almer <jamrial@gmail.com>
| * configure: Simplify vararg checkDiego Biurrun2018-03-261-3/+2
| |
* | Merge commit '8c7554e6a9b126bd6ee5bf80dae9e11e056db2f1'James Almer2018-03-291-16/+24
|\ \ | |/ | | | | | | | | | | * commit '8c7554e6a9b126bd6ee5bf80dae9e11e056db2f1': configure: Add check_x86asm() helper function to simplify some expressions Merged-by: James Almer <jamrial@gmail.com>
| * configure: Add check_x86asm() helper function to simplify some expressionsDiego Biurrun2018-03-261-16/+24
| |
* | Merge commit '17ee5b0c13bc17465b71bc9ca1cde9f0eed8b3ff'James Almer2018-03-291-1/+5
|\ \ | |/ | | | | | | | | | | * commit '17ee5b0c13bc17465b71bc9ca1cde9f0eed8b3ff': configure: Use indirection for the -o assembler flag also for x86asm Merged-by: James Almer <jamrial@gmail.com>
| * configure: Use indirection for the -o assembler flag also for x86asmDiego Biurrun2018-03-261-1/+5
| | | | | | | | | | | | | | Similar indirections are used for the -o compiler/assembler flag to account for differences in compiler/assembler syntax. For x86asm half the infrastructure for doing the same currently exists unused. Finish and use that infrastructure for consistency.
* | Merge commit 'b9ea301e02472d0982b0fa0f80294bd95885bde8'James Almer2018-03-291-3/+3
|\ \ | |/ | | | | | | | | | | * commit 'b9ea301e02472d0982b0fa0f80294bd95885bde8': configure: Use a more sensible suffix for x86 assembly tempfiles Merged-by: James Almer <jamrial@gmail.com>
| * configure: Use a more sensible suffix for x86 assembly tempfilesDiego Biurrun2018-03-261-3/+3
| |
* | Merge commit '5292e97c42b05db7ad4e51c1ea756b12fdf721ff'James Almer2018-03-291-0/+4
|\ \ | |/ | | | | | | | | | | * commit '5292e97c42b05db7ad4e51c1ea756b12fdf721ff': configure: Document available options for the --toolchain parameter Merged-by: James Almer <jamrial@gmail.com>
| * configure: Document available options for the --toolchain parameterDiego Biurrun2018-03-261-0/+4
| |
* | Merge commit 'ea2f72a2c14c67a3b35dac6426d1e3c0fae33fd5'James Almer2018-03-291-2/+21
|\ \ | |/ | | | | | | | | | | * commit 'ea2f72a2c14c67a3b35dac6426d1e3c0fae33fd5': configure: Don't assume a 16 byte aligned stack on BSDs on i386 Merged-by: James Almer <jamrial@gmail.com>
| * configure: Don't assume a 16 byte aligned stack on BSDs on i386Martin Storsjö2018-03-171-2/+20
| | | | | | | | | | | | | | | | | | | | | | With GCC, request it to maintain 16 byte alignment, and the existing entry points already align it via attribute_align_arg. With clang, do the same as for mingw; disable the aligned stack and let the assembly functions that require it do the alignment instead. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '847190ebd99ffd57dc89bd568a33bf2d5c424129'James Almer2018-03-291-2/+11
|\ \ | |/ | | | | | | | | | | * commit '847190ebd99ffd57dc89bd568a33bf2d5c424129': configure: Don't assume an aligned stack on clang on windows Merged-by: James Almer <jamrial@gmail.com>
| * configure: Don't assume an aligned stack on clang on windowsMartin Storsjö2018-03-131-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we'd enable a 16 byte aligned stack, clang/llvm would also assume that alignment everywhere and produce code that strictly requires it. That would require adding realignment (via attribute_align_arg) on every single public library function or enable -mstackrealign (which does the same on every single function). Also relatedly; the parameter currently tested (-mllvm -stack-alignment=16) hasn't actually been supported for quite some time; current clang versions use -mstack-alignment=16 for the same. Actually testing for that parameter would be a different change though, since it has a real risk of changing behaviour on any other platform where clang is used. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '43778a501f1bfbceeddc8eaeea2ea2b3506beeda'James Almer2018-03-291-0/+1
|\ \ | |/ | | | | | | | | | | | | | | | | * commit '43778a501f1bfbceeddc8eaeea2ea2b3506beeda': Support AV1 encoding using libaom This contains some extra changes taken from the libvpx encoder wrapper, most of them contained in the set_pix_fmt() function. Merged-by: James Almer <jamrial@gmail.com>
| * Support AV1 encoding using libaomLuca Barbato2018-03-121-0/+1
| |
* | Merge commit 'c438899a706422b8362a13714580e988be4d638b'James Almer2018-03-281-0/+4
|\ \ | |/ | | | | | | | | | | | | | | | | * commit 'c438899a706422b8362a13714580e988be4d638b': Add AV1 video decoding support through libaom This contains some extra changes taken from the libvpx decoder wrapper, most of them contained in the set_pix_fmt() function. Merged-by: James Almer <jamrial@gmail.com>
| * Add AV1 video decoding support through libaomLuca Barbato2018-03-121-0/+4
| | | | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit 'dd7e63af93b2430b5d42b87a966160c66736342c'James Almer2018-03-281-0/+1
|\ \ | |/ | | | | | | | | | | | | | | | | * commit 'dd7e63af93b2430b5d42b87a966160c66736342c': configure: Restore original endianness test The test was not changed in 67e8f476b7d3c21686a2d453d052818ac92688b3 Merging only the explanation. Merged-by: James Almer <jamrial@gmail.com>
| * configure: Restore original endianness testDiego Biurrun2018-03-081-1/+4
| | | | | | | | | | | | Previously the bit pattern for the endianness test was declared as a global, instead of a local, variable. This ensures that the pattern appears unchanged in the object file and is not optimized out.
* | Merge commit '31a53ab34e22fe1eec902f79ec1f19ab828a7a0c'James Almer2018-03-281-19/+18
|\ \ | |/ | | | | | | | | | | * commit '31a53ab34e22fe1eec902f79ec1f19ab828a7a0c': configure: Add check_as() helper function to simplify some expressions Merged-by: James Almer <jamrial@gmail.com>
| * configure: Add check_as() helper function to simplify some expressionsDiego Biurrun2018-03-071-19/+18
| |
* | Merge commit '18dc1ff0fb4572b1d50a44905aa1e76bc3bbb0ad'James Almer2018-03-281-3/+12
|\ \ | |/ | | | | | | | | | | * commit '18dc1ff0fb4572b1d50a44905aa1e76bc3bbb0ad': configure: Add check_ld() helper function to simplify some expressions Merged-by: James Almer <jamrial@gmail.com>
| * configure: Add check_ld() helper function to simplify some expressionsDiego Biurrun2018-03-071-3/+11
| |
* | Merge commit '9c37d765ef28b027414f86b0088b0c282a3c46d8'James Almer2018-03-281-34/+38
|\ \ | |/ | | | | | | | | | | * commit '9c37d765ef28b027414f86b0088b0c282a3c46d8': configure: Add check_cc/require_cc helper functions to simplify some expressions Merged-by: James Almer <jamrial@gmail.com>
| * configure: Add check_cc/require_cc helper functions to simplify some expressionsDiego Biurrun2018-03-071-37/+34
| |
* | libavfilter: Add OpenCL convolution filterDanil Iashchenko2018-03-261-0/+1
| | | | | | | | | | | | Behaves like existing convolution filter. Signed-off-by: Mark Thompson <sw@jkqxz.net>
* | hwcontext_opencl: Add support for mapping DRM objects to BeignetMark Thompson2018-03-221-7/+9
| | | | | | | | Also use that to support mapping VAAPI to Beignet.
* | lavfi: Add OpenCL avgblur filterdrfer32018-03-221-0/+1
| | | | | | | | | | | | | | Behaves like the existing avgblur filter, except working on OpenCL hardware frames. Takes exactly the same options. Signed-off-by: Mark Thompson <sw@jkqxz.net>
* | configure: add const_nan dependency to h264_metadata_bsfJames Almer2018-03-181-0/+1
| | | | | | | | | | | | | | Fixes compilation with some compilers. Reviewed-by: jkqxz Signed-off-by: James Almer <jamrial@gmail.com>
* | lavc: Add filter_units bitstream filterMark Thompson2018-03-181-0/+1
| | | | | | | | | | | | This can remove units with types in or not in a given set from a stream. For example, it can be used to remove all non-VCL NAL units from an H.264 or H.265 stream.
* | cbs: Add a table of all supported codec IDsMark Thompson2018-03-181-1/+1
| | | | | | | | Use it as the set of codec IDs supported by the trace_headers BSF.