Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-07-01configure: bump yearGyan Doshi
(cherry picked from commit 7b58702cbdce097f32f62c87cd537ab28c04ffb2) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-03-21configure: use vpx_codec_vp8_dx/cx for libvpx-vp8 checkingGuo, Yejun
Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit d9b2668766e3e924d4ebb3c6531b449874e13666) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-03-21configure: add missing pthreads extralibs dependency for libvpx-vp9Guo, Yejun
Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit 402bf262375dfecd0e90d7acc67c238abe952fc3) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-03-21configure: bump yearJames Almer
Happy new year! (cherry picked from commit 3209d7b3930bab554bf7d97d8041d9d0b88423a8) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-10-09configure: <fflib>_deps: validate, reduce sensitivityAvi Halachmi (:avih)
- Allow to add deps in any order rather than "in linking order". - Expand deps chains as required rather than just once. - Validate that there are no cycles. - Validate that [after expansion] deps are limited to other fflibs. - Remove expectation for a specific output order of unique(). Previously when adding items to <fflib>_deps, developers were required to add them in linking order. This can be awkward and bug-prone, especially when a list is not empty, e.g. when adding conditional deps. It also implicitly expected unique() to keep the last instance of recurring items such that these lists maintain their linking order after removing duplicate items. This patch mainly allows to add deps in any order by keeping just one master list in linking order, and then reordering all the <fflib>_deps lists to align with the master list order. This master list is LIBRARY_LIST itself, where otherwise its order doesn't matter. The patch also removes a limit where these deps lists were expanded only once. This could have resulted in incomplete expanded lists, or forcing devs to add already-deducable deps to avoid this issue. Note: it is possible to deduce the master list order automatically from the deps lists, but in this case it's probably not worth the added complexity, even if minor. Maintaining one list should be OK. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-10-09configure: speed up check_deps()Avi Halachmi (:avih)
x4 - x25 faster. check_deps() recursively enables/disables components, and its loop is iterated nearly 6000 times. It's particularly slow in bash - currently consuming more than 50% of configure runtime, and about 20% with other shells. This commit applies few local optimizations, most effective first: - Use $1 $2 ... instead of pushvar/popvar, and same at enable_deep* - Abort early in one notable case - empty deps, to avoid costly no-op. - Smaller changes which do add up: - Handle ${cfg}_checking locally instead of via enable[d]/disable - ${cfg}_checking: test done before inprogress - x2 faster in 50%+ - one eval instead of several at the empty-deps early abort path. - The "actual work" part is unmodified - just its surroundings. Biggest speedups (relative and absolute) are observed with bash. Tested-by: Michael Niedermayer <michael@niedermayer.cc> Tested-by: Helmut K. C. Tessarek <tessarek@evermeet.cx> Tested-by: Dave Yeo <daveryeo@telus.net> Tested-by: Reino Wijnsma <rwijnsma@xs4all.nl> Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit 45499e557c808f43175524a98901efeca715813e)
2018-10-09configure: speed up print_enabled_components()Avi Halachmi (:avih)
x4 - x10 faster. Inside print_enabled components, the filter_list case invokes sed about 350 times to parse the same source file and extract different info for each arg. This is never instant, and on systems where fork is slow (notably MSYS2/Cygwin on windows) it takes many seconds. Change it to use sed once on the source file and set env vars with the parse results, then use these results inside the loop. Additionally, the cases of indev_list and outdev_list are very infrequent, but nevertheless they're faster, and arguably cleaner, with shell parameter substitutions than with command substitutions. Tested-by: Michael Niedermayer <michael@niedermayer.cc> Tested-by: Helmut K. C. Tessarek <tessarek@evermeet.cx> Tested-by: Dave Yeo <daveryeo@telus.net> Tested-by: Reino Wijnsma <rwijnsma@xs4all.nl> Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit 923586a58f37deedeb01f742e4804bc36736a6bc)
2018-10-09configure: speed up flatten_extralibs_wrapper()Avi Halachmi (:avih)
x50 - x200 faster. Currently configure spends 50-70% of its runtime inside a single function: flatten_extralibs[_wrapper] - which does string processing. During its run, nearly 20K command substitutions (subshells) are used, including its callees unique() and resolve(), which is the reason for its lengthy run. This commit avoids all subshells during its execution, speeding it up by about two orders of magnitude, and reducing the overall configure runtime by 50-70% . resolve() is rewritten to avoid subshells, and in unique() and flatten_extralibs() we "inline" the filter[_out] functionality. Note that logically, "unique" functionality has more than one possible output (depending on which of the recurring items is kept). As it turns out, other parts expect the last recurring item to be kept (which was the original behavior of uniqie()). This patch preservs its output order. Tested-by: Michael Niedermayer <michael@niedermayer.cc> Tested-by: Helmut K. C. Tessarek <tessarek@evermeet.cx> Tested-by: Dave Yeo <daveryeo@telus.net> Tested-by: Reino Wijnsma <rwijnsma@xs4all.nl> Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit 58b81ac621aea1428aa9e7ca20ad45fc18dba9f7)
2018-06-13configure: The eac3_core bitstream filter needs the ac3 parser.Carl Eugen Hoyos
Fixes linking with "--disable-everything --enable-bsf=eac3_core". (cherry picked from commit 9461e7d3a598e78811146b730db68d3a5b2532b0)
2018-06-06configure: fix arm inline asm checksJohn Cox
Commit 8c893aa3cd5 removed quotes that were required to detect inline asm in clang: check_insn armv5te qadd r0, r0, r0 .../test.c:1:34: error: expected string literal in 'asm' void foo(void){ __asm__ volatile(qadd r0, r0, r0); } The correct code is: void foo(void){ __asm__ volatile("qadd r0, r0, r0"); } Commit message written by Frank Liberato <liberato@chromium.org> Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit ad94f1c8abe68a2b38536cc96a31327c6be7b105)
2018-05-13configure: fix configure check for lilv-0Niklas Haas
This should be included as `<lilv/lilv.h>`, same as is done in af_lv2.c. Forcing the extra lilv-0 breaks platforms where the include dir is `/usr/include/lilv/lilv.h` rather than `/usr/include/lilv-0/lilv/lilv.h`. The new include path works for both, because the `pkg-config --cflags` includes `-I/usr/include/lilv-0`. (cherry picked from commit 32234e03a792e3ceca58359d6f2b7244ceb6b77f)
2018-04-19configure: fix clang-cl check in the MSVC sectionHendrik Leppkes
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.
2018-04-16configure: add nvcc to CMDLINE_SETTimo Rothenpieler
This was somehow forgotten and nobody noticed until now.
2018-04-16configure: extend the check for bcryptJames Almer
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> (cherry picked from commit c04609eefce0183d460430f5014f7f8948170770)
2018-04-15configure: fix clang-cl detectionAlexander Bilyak
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>
2018-04-15avutil/random_seed: use bcrypt instead of the old wincrypt APISteve Lhomme
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>
2018-04-13configure: make the C11 atomics check more robustMichael Niedermayer
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>
2018-04-13configure: disable direct stripping in OpenBSDJames Almer
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>
2018-04-12configure: Disable direct stripping for AIX.Carl Eugen Hoyos
AIX strip doesn't know the option -o.
2018-04-11configure: check for INIT_ONCE before enabling w32threadsJames Almer
Should fix compilation wiht some old mingw-w64 builds that don't seem to define it. Signed-off-by: James Almer <jamrial@gmail.com>
2018-04-11configure: check that the required header for Linux Perf is availableJames Almer
Should fix compilation on targets like some old Android NDK versions. Signed-off-by: James Almer <jamrial@gmail.com>
2018-04-01configure: fix buildMichael Niedermayer
regression since 8f1382f80e0d4184c54c14afdda6482f050fbba7
2018-04-01lavd: remove linked listsJosh de Kock
Signed-off-by: Josh de Kock <josh@itanimul.li>
2018-04-01Revert "lavd: add new API for iterating input and output devices"Josh de Kock
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>
2018-04-01lavfi: add new iteration APIJosh de Kock
Signed-off-by: Josh de Kock <josh@itanimul.li>
2018-03-31arm: swscale: Only compile the rgb2yuv asm if .dn aliases are supportedMartin Storsjö
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>
2018-03-30Merge commit 'a2fc8dbae85339d1b418d296f2982b6c04c53c57'James Almer
* commit 'a2fc8dbae85339d1b418d296f2982b6c04c53c57': Add Haivision SRT protocol Merged-by: James Almer <jamrial@gmail.com>
2018-03-30Merge commit '434b44cd6fb4bb9a2bf2bb29ef55ce1a315314b8'James Almer
* commit '434b44cd6fb4bb9a2bf2bb29ef55ce1a315314b8': configure: Simplify vararg check Merged-by: James Almer <jamrial@gmail.com>
2018-03-30Merge commit '8c7554e6a9b126bd6ee5bf80dae9e11e056db2f1'James Almer
* commit '8c7554e6a9b126bd6ee5bf80dae9e11e056db2f1': configure: Add check_x86asm() helper function to simplify some expressions Merged-by: James Almer <jamrial@gmail.com>
2018-03-30Merge commit '17ee5b0c13bc17465b71bc9ca1cde9f0eed8b3ff'James Almer
* commit '17ee5b0c13bc17465b71bc9ca1cde9f0eed8b3ff': configure: Use indirection for the -o assembler flag also for x86asm Merged-by: James Almer <jamrial@gmail.com>
2018-03-30Merge commit 'b9ea301e02472d0982b0fa0f80294bd95885bde8'James Almer
* commit 'b9ea301e02472d0982b0fa0f80294bd95885bde8': configure: Use a more sensible suffix for x86 assembly tempfiles Merged-by: James Almer <jamrial@gmail.com>
2018-03-30Merge commit '5292e97c42b05db7ad4e51c1ea756b12fdf721ff'James Almer
* commit '5292e97c42b05db7ad4e51c1ea756b12fdf721ff': configure: Document available options for the --toolchain parameter Merged-by: James Almer <jamrial@gmail.com>
2018-03-30Merge commit 'ea2f72a2c14c67a3b35dac6426d1e3c0fae33fd5'James Almer
* commit 'ea2f72a2c14c67a3b35dac6426d1e3c0fae33fd5': configure: Don't assume a 16 byte aligned stack on BSDs on i386 Merged-by: James Almer <jamrial@gmail.com>
2018-03-30Merge commit '847190ebd99ffd57dc89bd568a33bf2d5c424129'James Almer
* commit '847190ebd99ffd57dc89bd568a33bf2d5c424129': configure: Don't assume an aligned stack on clang on windows Merged-by: James Almer <jamrial@gmail.com>
2018-03-29Merge commit '43778a501f1bfbceeddc8eaeea2ea2b3506beeda'James Almer
* 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>
2018-03-29Merge commit 'c438899a706422b8362a13714580e988be4d638b'James Almer
* 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>
2018-03-28Merge commit 'dd7e63af93b2430b5d42b87a966160c66736342c'James Almer
* 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>
2018-03-28Merge commit '31a53ab34e22fe1eec902f79ec1f19ab828a7a0c'James Almer
* commit '31a53ab34e22fe1eec902f79ec1f19ab828a7a0c': configure: Add check_as() helper function to simplify some expressions Merged-by: James Almer <jamrial@gmail.com>
2018-03-28Merge commit '18dc1ff0fb4572b1d50a44905aa1e76bc3bbb0ad'James Almer
* commit '18dc1ff0fb4572b1d50a44905aa1e76bc3bbb0ad': configure: Add check_ld() helper function to simplify some expressions Merged-by: James Almer <jamrial@gmail.com>
2018-03-28Merge commit '9c37d765ef28b027414f86b0088b0c282a3c46d8'James Almer
* commit '9c37d765ef28b027414f86b0088b0c282a3c46d8': configure: Add check_cc/require_cc helper functions to simplify some expressions Merged-by: James Almer <jamrial@gmail.com>
2018-03-28Add Haivision SRT protocolSven Dueking
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>
2018-03-27configure: Drop unused helper function test_cflags_cpp()Diego Biurrun
2018-03-27libavfilter: Add OpenCL convolution filterDanil Iashchenko
Behaves like existing convolution filter. Signed-off-by: Mark Thompson <sw@jkqxz.net>
2018-03-26configure: Simplify vararg checkDiego Biurrun
2018-03-26configure: Add check_x86asm() helper function to simplify some expressionsDiego Biurrun
2018-03-26configure: Use indirection for the -o assembler flag also for x86asmDiego Biurrun
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.
2018-03-26configure: Use a more sensible suffix for x86 assembly tempfilesDiego Biurrun
2018-03-26configure: Document available options for the --toolchain parameterDiego Biurrun
2018-03-23hwcontext_opencl: Add support for mapping DRM objects to BeignetMark Thompson
Also use that to support mapping VAAPI to Beignet.
2018-03-23lavfi: Add OpenCL avgblur filterdrfer3
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>