summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAge
* avfilter: add arbitrary audio FIR filterPaul B Mahol2017-05-09
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* configure: Added require alternative for libmfx to support alternate ↵Aaron Levinson2017-05-09
| | | | | | | | | | | | | | | | | | | | | | | | | | installation options Purpose: Added require alternative for libmfx in the case that pkg-config cannot find libmfx. On Linux, most people likely get libmfx via https://github.com/lu-zero/mfx_dispatch , but on Windows, the most well-known way to get libmfx is via the Intel Media SDK, which provides a static build of libmfx.lib and also provides the source code for building libmfx yourself. If built this way, there are no pkg-config files to be found. Comments: -- configure: Altered enabled libmfx step to use use_pkg_config() instead of require_pkg_config(), and, if use_pkg_config() fails, it falls back to require(). Also added explanatory comment. Note that the reason that require() is passed -llibmfx as the last argument, instead of -lmfx, is the file name for the library produced from the Intel Media SDK starts with "libmfx". Apparently, the filename for the library produced via https://github.com/lu-zero/mfx_dispatch starts with "mfx". Signed-off-by: Aaron Levinson <alevinsn@aracnet.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avdevice/decklink: fix MSVC build issuesAaron Levinson2017-05-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Purpose: Made minor changes to get the decklink avdevice code to build using Visual C++. Notes: Made changes to configure per Hendrik Leppkes's review of first and second versions of patch. Also made slight alterations per Marton Balint's reviews. Comments: -- configure: Added if enabled decklink section and setting decklink_indev_extralibs and decklink_outdev_extralibs here for both mingw and Windows. Also eliminated the setting of these variables in the mingw section earlier in the file. -- libavdevice/decklink_common.cpp: Switched the order of the include of libavformat/internal.h to workaround build issues with Visual C++. See comment in file for more details. -- libavdevice/decklink_dec.cpp: a) Rearranged the include of libavformat/internal.h (for reasons as described above). b) Made slight alteration to an argument for call to av_rescale_q() to workaround a compiler error with Visual C++. This appears to only be an issue when building C++ files with Visual C++. See comment in code for more details. -- libavdevice/decklink_enc.cpp: Rearranged the include of libavformat/internal.h (for reasons as described above). Signed-off-by: Aaron Levinson <alevinsn@aracnet.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* configure: add missing lpc dependency to mlp and truehd encodersJames Almer2017-05-08
|
* configure: add missing avcodec dependencies to filtersJames Almer2017-05-06
|
* Merge commit '35d1f726eb9fdd376ab900587fb02122b72f2b9a'Clément Bœsch2017-05-05
|\ | | | | | | | | | | | | * commit '35d1f726eb9fdd376ab900587fb02122b72f2b9a': fate: Add --ignore-tests configure option for omitting specific FATE tests Merged-by: Clément Bœsch <cboesch@gopro.com>
| * fate: Add --ignore-tests configure option for omitting specific FATE testsJanne Grunau2016-12-28
| | | | | | | | | | | | | | | | | | This can be useful to filter out noise in known-broken scenarios like miscompilation by legacy compilers and similar. Originally based on a patch by Diego Biurrun. Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * build: Add version numbers to "Requires" entries in pkg-config filesDiego Biurrun2016-12-28
| | | | | | | | The (required) version numbers disappeared after edb4348732.
* | Merge commit '92db5083077a8b0f8e1050507671b456fd155125'James Almer2017-05-04
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '92db5083077a8b0f8e1050507671b456fd155125': build: Generate pkg-config files from Make and not from configure build: Store library version numbers in .version files Includes cherry-picked commits 8a34f3659371680ca523aecfd9098c28f0f809eb and ee164727dd64c199b87118917e674b17c25e0da3 to fix issues. Changes were also made to retain support for raise_major and build_suffix. Reviewed-by: ubitux Merged-by: James Almer <jamrial@gmail.com>
| * build: Generate pkg-config files from Make and not from configureDiego Biurrun2016-12-22
| | | | | | | | | | | | | | | | This moves work from the configure to the Make stage where it can be parallelized and ensures that pkgconfig files are updated when library versions change. Bug-Id: 449
| * build: Store library version numbers in .version filesDiego Biurrun2016-12-22
| | | | | | | | | | | | This moves work from the configure to the Make stage where it can be parallelized and ensures that shared libraries are built with the right version number in the filename.
* | configure: Do not add omit-frame-pointer for ossfuzzMichael Niedermayer2017-05-04
| | | | | | | | | | | | ossfuzz works better without it Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | configure: fix libopus detectionJames Almer2017-05-04
| | | | | | | | | | Prevents compilation failures on libopus < 1.0.3 Regression since 37941878.
* | Merge commit '11a9320de54759340531177c9f2b1e31e6112cc2'Clément Bœsch2017-05-03
|\| | | | | | | | | | | | | | | | | * commit '11a9320de54759340531177c9f2b1e31e6112cc2': build: Move build-system-related helper files to a separate subdirectory "ffbuild" directory name is used instead of "avbuild". Merged-by: Clément Bœsch <u@pkh.me>
| * build: Move build-system-related helper files to a separate subdirectoryDiego Biurrun2016-12-22
| | | | | | | | This unclutters the top-level directory and groups related files together.
| * hevcdec: add a VAAPI hwaccelAnton Khirnov2016-12-19
| | | | | | | | | | Partially based on a patch by Timo Rothenpieler <timo@rothenpieler.org>. Additional scaling list handling fix by Jun Zhao <mypopydev@gmail.com>.
* | Merge commit 'ee480790c7eeb03c9cebd8971c46e0cb7db65277'Clément Bœsch2017-04-26
|\| | | | | | | | | | | | | * commit 'ee480790c7eeb03c9cebd8971c46e0cb7db65277': build: Add name parameter to check_lib() helper function Merged-by: Clément Bœsch <u@pkh.me>
| * build: Add name parameter to check_lib() helper functionDiego Biurrun2016-12-16
| | | | | | | | | | This allows enabling or disabling the library-related variables from within the function instead of doing it manually outside of it.
* | Merge commit '1faffe7e8fab21186a233011bc8a62f47962e2cd'Clément Bœsch2017-04-26
|\| | | | | | | | | | | | | * commit '1faffe7e8fab21186a233011bc8a62f47962e2cd': configure: Disentangle vfw32 and user32 lib handling Merged-by: Clément Bœsch <u@pkh.me>
| * configure: Disentangle vfw32 and user32 lib handlingDiego Biurrun2016-12-16
| | | | | | | | | | Check for and link against user32 instead, which also fixes the missing dependency of dxva2 on user32 with MSVC.
* | Merge commit 'f7174d7ed045445d00a6d557236737d09ad32343'Clément Bœsch2017-04-26
|\| | | | | | | | | | | | | * commit 'f7174d7ed045445d00a6d557236737d09ad32343': configure: fix linking with MSVC when using --disable-optimizations Merged-by: Clément Bœsch <u@pkh.me>
| * configure: fix linking with MSVC when using --disable-optimizationsSteve Lhomme2016-12-16
| | | | | | | | | | | | | | | | | | Without any optimization flags, MSVC does no dead code elimination (DCE) at all, even for the most trivial cases. DCE is a prerequisite for building libav correctly, otherwise there are undefined references to functions for other architectures and disabled components. -O1 is the minimal optimization flag for MSVC that does include DCE.
* | Merge commit 'ef9a711be718ed3802a263d1d9ed340a4aaef224'Clément Bœsch2017-04-26
|\| | | | | | | | | | | | | * commit 'ef9a711be718ed3802a263d1d9ed340a4aaef224': configure: put d3d11 check in alphabetical order Merged-by: Clément Bœsch <u@pkh.me>
| * configure: put d3d11 check in alphabetical orderSteve Lhomme2016-12-16
| |
| * vp9: split superframes in the filtering stage before actual decodingAnton Khirnov2016-12-14
| | | | | | | | | | Significantly increases the efficiency of frame threading, since individual frames in a superframe can now be decoded in parallel.
* | Make tools/target_dec_*_fuzzer buildable with configure and makeMichael Niedermayer2017-04-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '972c71e9cb63e24f57ee481e413199c7d88a8813'James Almer2017-04-22
|\| | | | | | | | | | | | | * commit '972c71e9cb63e24f57ee481e413199c7d88a8813': lavc: add support for filtering packets before decoding Merged-by: James Almer <jamrial@gmail.com>
| * lavc: add support for filtering packets before decodingAnton Khirnov2016-12-14
| |
* | avcodec: add Screen Recorder Gold Codec decoderPaul B Mahol2017-04-18
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec: add Mandsoft Screen Capture Codec decoderPaul B Mahol2017-04-18
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit 'fc368497f2fff54ddf5316224c573c9d1939fb25'Clément Bœsch2017-04-17
|\| | | | | | | | | | | | | * commit 'fc368497f2fff54ddf5316224c573c9d1939fb25': configure: Add missing dxva2 dependency for dxva2_lib Merged-by: Clément Bœsch <u@pkh.me>
| * configure: Add missing dxva2 dependency for dxva2_libDiego Biurrun2016-12-12
| |
* | Merge commit 'f1248fae90b45501af4e8743d373e79191470331'Clément Bœsch2017-04-17
|\| | | | | | | | | | | | | * commit 'f1248fae90b45501af4e8743d373e79191470331': configure: Handle dxva2 optional components in the standard way Merged-by: Clément Bœsch <u@pkh.me>
| * configure: Handle dxva2 optional components in the standard wayDiego Biurrun2016-12-11
| |
| * lavfi: Add VAAPI deinterlacerMark Thompson2016-12-10
| |
* | Merge commit 'f8a1ead0ae4402df0503c83f213f57b785a5f20f'Clément Bœsch2017-04-17
|\| | | | | | | | | | | | | * commit 'f8a1ead0ae4402df0503c83f213f57b785a5f20f': build: Add -D_XOPEN_SOURCE=600 to CPPFLAGS on Cygwin Merged-by: Clément Bœsch <u@pkh.me>
| * build: Add -D_XOPEN_SOURCE=600 to CPPFLAGS on CygwinDiego Biurrun2016-12-10
| | | | | | | | This is required to make certain math defines visible on modern Cygwin.
| * configure: Fix _libs vs. _extralibs oversightDiego Biurrun2016-12-10
| |
* | Merge commit 'be2d555c980220e65d0ca5c3d78e6cc1e24451a5'Clément Bœsch2017-04-17
|\| | | | | | | | | | | | | * commit 'be2d555c980220e65d0ca5c3d78e6cc1e24451a5': build: Use _extralibs variable names instead of _libs everywhere Merged-by: Clément Bœsch <u@pkh.me>
| * build: Use _extralibs variable names instead of _libs everywhereDiego Biurrun2016-12-09
| | | | | | | | This makes naming more consistent and simplifies extralibs-related changes.
* | build: remove special freetype checkClément Bœsch2017-04-17
| | | | | | | | Since 52ccc4a0e was merged, it's pointless to keep our special version.
* | Merge commit '0507cd5b9f3c3769645bc6e9177eaf760f490d1c'Clément Bœsch2017-04-17
|\| | | | | | | | | | | | | * commit '0507cd5b9f3c3769645bc6e9177eaf760f490d1c': build: Rename host_libs/HOSTLIBS variables to host_extralibs/HOSTEXTRALIBS Merged-by: Clément Bœsch <u@pkh.me>
| * build: Rename host_libs/HOSTLIBS variables to host_extralibs/HOSTEXTRALIBSDiego Biurrun2016-12-09
| | | | | | | | This is more in line with the other related variable names.
| * configure: Simplify some library checks via check_lib()Diego Biurrun2016-12-09
| |
* | Merge commit '1818a640cfdccd52e97edf13564f45bc3d0d93eb'Clément Bœsch2017-04-17
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '1818a640cfdccd52e97edf13564f45bc3d0d93eb': build: Fix dependencies for alsa/jack/sndio support Added explicit enable (which will be automatically added later on in ee480790c) to actually fix this commit. Without the explicit enables, alsa, jack and sndio gets disabled. Also added jack, alsa and sndio to the have list so the HAVE_* are populated to make (this fixes the SKIPHEADERS chunks). Merged-by: Clément Bœsch <u@pkh.me>
| * build: Fix dependencies for alsa/jack/sndio supportDiego Biurrun2016-12-09
| | | | | | | | | | These components should depend on the availability of the respective libraries, not just on the availability of the respective headers.
* | Merge commit 'af451ac0de6776e97d6a3ff95eac257b7964002e'Clément Bœsch2017-04-15
|\| | | | | | | | | | | | | * commit 'af451ac0de6776e97d6a3ff95eac257b7964002e': configure: Drop redundant and partly bogus vaapi/vdpau header checks Merged-by: Clément Bœsch <u@pkh.me>
| * configure: Drop redundant and partly bogus vaapi/vdpau header checksDiego Biurrun2016-12-09
| | | | | | | | These are taken care of more correctly by the library checks.
| * configure: Fail if cuda was enabled and is not availableDiego Biurrun2016-12-08
| | | | | | | | This is the standard behavior for external libraries.
* | avdevice/decklink: remove pthread dependencyAaron Levinson2017-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Purpose: avdevice/decklink: Removed pthread dependency by replacing semaphore used in code appropriately. Doing so makes it easier to build ffmpeg using Visual C++ on Windows. This is a contination of Kyle Schwarz's "avdevice/decklink: Remove pthread dependency" patch that is available at https://patchwork.ffmpeg.org/patch/2654/ . This patch wasn't accepted, and as far as I can tell, there was no follow-up after it was rejected. Notes: Used Visual Studio 2015 (with update 3) for this. Comments: -- configure: Eliminated pthreads dependency for decklink_indev_deps and decklink_outdev_deps and replaced with threads dependency -- libavdevice/decklink_common.cpp / .h: a) Eliminated semaphore and replaced with a combination of a mutex, condition variable, and a counter (frames_buffer_available_spots). b) Removed include of pthread.h and semaphore.h and now using libavutil/thread.h instead. -- libavdevice/decklink_dec.cpp: Eliminated include of pthread.h and semaphore.h. -- libavdevice/decklink_enc.cpp: a) Eliminated include of pthread.h and semaphore.h. b) Replaced use of semaphore with the equivalent using a combination of a mutex, condition variable, and a counter (frames_buffer_available_spots). In theory, libavutil/thread.h and the associated code could have been modified instead to add cross-platform implementations of the sem_ functions, but an inspection of the ffmpeg source base indicates that there are only two cases in which semaphores are used (including this one that was replaced), so it was deemed to not be worth the effort. Signed-off-by: Marton Balint <cus@passwd.hu>