summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAge
* configure: Simplify detection of static x264 on systems without pkg-config.Carl Eugen Hoyos2018-01-11
| | | | Fixes a regression since 6dfcbd80.
* configure: don't use SDL.h in check_func_headers when checking for SDL2James Almer2018-01-10
| | | | | | | | | | | check_func_headers() defines a main() function, which clashes with a redefinition done by said SDL header. Check for SDL_PollEvent using SDL_events.h only instead, where the redefinition doesn't happen. Fixes a regression since d03c39b46b21c893d6549a532289b7fb9935b3fc. Tested-by: RiCON Signed-off-by: James Almer <jamrial@gmail.com>
* lavfi: Add filters to run arbitrary OpenCL programsMark Thompson2018-01-07
|
* configure: check SDL2 function with a headerKO Myung-Hun2018-01-07
| | | | | | | | | | | | SDL2 uses SDLCALL to specify a calling convention. On OS/2, it's defined to `_System' which is similar to `_cdecl' but does not prepend '_'. After all, without a header, a function is used without `_System'. And linker will try to `_func' but fail because the function is `func' not `_func'. Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* configure: remove check for SA_RESTARTJames Almer2018-01-06
| | | | | | It's not used anymore. Signed-off-by: James Almer <jamrial@gmail.com>
* Remove the ffserver programRostislav Pehlivanov2018-01-06
| | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* avcodec/rkmpp : Fix broken build due to missing control operationLongChair2018-01-06
| | | | | | | | | | | | | | This patch is taking care of https://trac.ffmpeg.org/ticket/6834. It seems that one of the control operations that was available to get the free decoders input slots was removed. There is another control operation to retrieve the used slots. Given that the input slot count is hardcoded to 4 in mpp at this point, replacing the old control operation by the other one. This was tested on Rockchip ROCK64. Signed-off-by: wm4 <nfxjfg@googlemail.com>
* It has been replaced by C11 stdatomic.h and is now unused.Anton Khirnov2018-01-05
| | | | | (cherry picked from commit 5cc0057f4910c8c72421b812c8f337ef6c43696c) Signed-off-by: James Almer <jamrial@gmail.com>
* configure: update minimum required version of libvmafJames Almer2018-01-04
| | | | | | | | At least version 0.6.2 is needed since commit df3222d4bb18cbceda443def17b1b29067ed6e3f. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* lavr: deprecate the entire libraryRostislav Pehlivanov2018-01-04
| | | | | | | | | | | | | Deprecate the entire library. Merged years ago to provide compatibility with Libav, it remained unmaintained by the FFmpeg project and duplicated functionality provided by libswresample. In order to improve consistency and reduce attack surface, as well as to ease burden on maintainers, it has been deprecated. Users of this library are asked to migrate to libswresample, which, as well as providing more functionality, is faster and has higher accuracy. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* configure: bump yearCarl Eugen Hoyos2018-01-01
| | | | Happy new year!
* configure: libvmaf depends on pthreads.Carl Eugen Hoyos2017-12-29
|
* configure: add missing avcodec dep to avfilter for de/convolve filtersJames Almer2017-12-27
|
* configure: note (de)convolve filter dependencyPaul B Mahol2017-12-27
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* w32pthreads: always use Vista+ API, drop XP supportwm42017-12-26
| | | | | | | | | | | This removes the XP compatibility code, and switches entirely to SWR locks, which are available starting at Windows Vista. This removes CRITICAL_SECTION use, which allows us to add PTHREAD_MUTEX_INITIALIZER, which will be useful later. Windows XP is hereby not a supported build target anymore. It was decided in a project vote that this is OK.
* avcodec: add stride alignment needed for AVX-512James Darnley2017-12-24
|
* configure: test whether x86 assembler supports AVX-512James Darnley2017-12-24
|
* configure: fix minimum required version of libzimgJames Almer2017-12-21
| | | | | | | The new input properties added in 002db7d49ada290db15334b7b41fa27eb376ec5c were introduced to libzimg for the upcoming release 2.7.x Signed-off-by: James Almer <jamrial@gmail.com>
* configure: Fix case of static libmp3lameStefan Pöschel2017-12-19
| | | | | | Fixes #6918. Signed-off-by: James Almer <jamrial@gmail.com>
* configure: Fix detection of vp9 decoder/encoderFelix Matouschek2017-12-19
| | | | | | | | At least on Android the vp9 decoder/encoder needs $libm_extralibs to successfully link, it was missing in the check_lib calls for vp9 Signed-off-by: Felix Matouschek <felix@matouschek.org> Signed-off-by: James Almer <jamrial@gmail.com>
* configure: remove libtls fallback checksfan52017-12-19
| | | | | | | | This check is not needed for any supported version of libtls and causes issues with static builds (libtls links to -lssl -lcrypto). Signed-off-by: sfan5 <sfan5@live.de> Signed-off-by: James Almer <jamrial@gmail.com>
* configure: fix pkg-config check for libtlssfan52017-12-19
| | | | | | | | This was not accounted for during merge and is required due to the refactor in commit 93ccba96df6340249b0db227d5bc3297010797a4. Signed-off-by: sfan5 <sfan5@live.de> Signed-off-by: James Almer <jamrial@gmail.com>
* libavformat: LibreSSL (libtls) supportsfan52017-12-17
| | | | Signed-off-by: sfan5 <sfan5@live.de>
* configure: fix probing armv6zkwang-bin2017-12-16
| | | | | | clang reports 6kz: https://reviews.llvm.org/D14568 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* configure: Move V4L2 M2M help line to the hardware library sectionMark Thompson2017-12-10
|
* configure: Fix dependencies of aac_at decoder.Jacob Trimble2017-11-30
| | | | | Signed-off-by: Jacob Trimble <modmaker@google.com> Signed-off-by: James Almer <jamrial@gmail.com>
* configure: select vp9_superframe_split_bsf when enabling vp9_decoderJames Almer2017-11-30
| | | | | | This is required since a5679933c1b8b6bef5c5c3eb7c70d06c695066cf Signed-off-by: James Almer <jamrial@gmail.com>
* Add HW H.264 and HEVC encoding for AMD GPUs based on AMF SDKMikhail Mironov2017-11-28
| | | | | | | Requires AMF headers for at least version 1.4.4.1. Signed-off-by: Mikhail Mironov <mikhail.mironov@amd.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* examples: Add a VA-API encode example.Jun Zhao2017-11-28
| | | | | | | | | | | Supports only raw NV12 input. Example use: ./vaapi_encode 1920 1080 test.yuv test.h264 Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* vf_zscale: Add more supported input propertiesVittorio Giovara2017-11-28
| | | | | | Bump the minimum version necessary in the configure file. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avcodec/nvdec: Implement vp8 hwaccelPhilip Langdale2017-11-26
|
* vaapi: Add VP8 decode hwaccelMark Thompson2017-11-26
|
* lavc: Delete all fake hwaccelsMark Thompson2017-11-26
| | | | They are now unused.
* lavc: Remove register mechanism for hwaccelsMark Thompson2017-11-26
| | | | | | | There is no longer any need for a list of them at runtime, because decoders now carry the pointers to their associated hwaccels internally. The file containing external declarations is now used to make the list of hwaccels for configure.
* avfilter: add lv2 wrapper filterPaul B Mahol2017-11-26
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* configure: remove superfluous cuvid and nvdec checksJames Almer2017-11-25
| | | | | | | | | | Both are autodetected, and their dependency on cuda is checked elsewhere. Fixes ticket #6849. Reviewed-by: Philip Langdale <philipl@overt.org> Signed-off-by: James Almer <jamrial@gmail.com>
* lavu,lavfi,ffmpeg: Remove experimental OpenCL APIMark Thompson2017-11-22
| | | | | | | | | | | This was added in early 2013 and abandoned several months later; as far as I can tell, there are no external users. Future OpenCL use will be via hwcontext, which requires neither special OpenCL-only API nor global state in libavutil. All internal users are also deleted - this is just the unsharp filter (replaced by unsharp_opencl, which is more flexible) and the deshake filter (no replacement).
* lavfi: Add OpenCL unsharp mask filterMark Thompson2017-11-22
| | | | | | | Intended to replace existing opencl mode of the unsharp filter. Supports many more pixel formats and works without immediate upload and download of frame data. The options are compatible with the existing filter.
* lavfi: Add OpenCL overlay filterMark Thompson2017-11-22
| | | | | Input and output formats must be the same, the overlay format must be the same as the input except possibly with an additional alpha component.
* hwcontext_opencl: DRM to OpenCL mapping for ARMMark Thompson2017-11-22
| | | | | | | | Using cl_arm_import_memory. Unfortunately, despite this not being a standard extension, the function clImportMemoryARM() is not accessible via clGetExtensionFunctionAddressForPlatform(). This means that it has to be linked directly to the ARM OpenCL binary, so making a portable binary is not possible as it is with all other mapping extensions.
* hwcontext_opencl: D3D11 to OpenCL mappingMark Thompson2017-11-22
| | | | Using cl_khr_d3d11_sharing and cl_intel_d3d11_nv12_media_sharing.
* hwcontext_opencl: DXVA2 to OpenCL mappingMark Thompson2017-11-22
| | | | Using cl_khr_dx9_media_sharing.
* hwcontext_opencl: QSV to OpenCL mapping for Intel Media SDKMark Thompson2017-11-22
| | | | | Uses the cl_intel_va_api_media_sharing extension, which supports only NV12 surfaces and only mapping from QSV to OpenCL.
* hwcontext_opencl: VAAPI to OpenCL mapping for Intel i965+beignetMark Thompson2017-11-22
| | | | Supports all surface formats in common between the two.
* lavu: OpenCL hwcontext implementationMark Thompson2017-11-22
|
* configure: require libvpx-1.4.0 for vp[89] supportJames Zern2017-11-20
| | | | | | | | this will simplify libvpxenc/dec.c and ensure more stable versions of the codecs are present. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: James Zern <jzern@google.com>
* avcodec: Implement mpeg4 nvdec hwaccelPhilip Langdale2017-11-20
| | | | | | | | | | | | | | | | | | | | This was predictably nightmarish, given how ridiculous mpeg4 is. I had to stare at the cuvid parser output for a long time to work out what each field was supposed to be, and even then, I still don't fully understand some of them. Particularly: vop_coded: If I'm reading the decoder correctly, this flag will always be 1 as the decoder will not pass the hwaccel any frame where it is not 1. divx_flags: There's obviously no documentation on what the possible flags are. I simply observed that this is '0' for a normal bitstream and '5' for packed b-frames. gmc_enabled: I had a number of guesses as to what this mapped to. I picked the condition I did based on when the cuvid parser was setting flag. Also note that as with the vdpau hwaccel, the decoder needs to consume the entire frame and not the slice.
* avcodec: Implement mpeg1 nvdec hwaccelPhilip Langdale2017-11-20
| | | | | Once I remembered that there's a separate decoder type for mpeg1, even though params struct is shared with mpeg2, everything worked.
* Merge commit '3152058bf1dca318898550efacf0286f4836cae6'James Almer2017-11-19
|\ | | | | | | | | | | | | * commit '3152058bf1dca318898550efacf0286f4836cae6': libavcodec: Don't use dllexport, only dllimport when building DLLs Merged-by: James Almer <jamrial@gmail.com>
| * libavcodec: Don't use dllexport, only dllimport when building DLLsMartin Storsjö2017-11-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The only purpose of dllexport (which is set while building the library that exports the symbols) is to have the linker automatically export such symbols into a DLL without using a def file - it doesn't affect the generated code. For both MSVC and mingw builds, this isn't essential since we override what symbols to export via an autogenerated def file instead. Update a comment in configure to refer to the right concept. With lld, this avoids warnings about duplicate export directives, when some symbols are requested to be exported both via dllexport attributes and via the autogenerated def file. This also reduces the number of lines of code marginally. Signed-off-by: Martin Storsjö <martin@martin.st>