summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAge
* 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>
* | configure: fix module dependencies on zlibJames Almer2017-11-19
| | | | | | | | | | | | | | | | select should not be used with external libraries. It's mean to soft enable internal modules/features. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* | configure: add audio_frame_queue dependency for aptx codecJames Darnley2017-11-19
| |
* | avcodec: Implement mpeg2 nvdec hwaccelPhilip Langdale2017-11-18
| | | | | | | | | | | | This is mostly straight-forward. The weird part is that it should just work for mpeg1, but I see corruption in my test cases, so I'm going to try and fix that separately.
* | configure: call flatten_extralibs in a subshellTimo Rothenpieler2017-11-16
| | | | | | | | | | | | | | | | | | | | | | By putting the call in a subshell, the problem of it spilling cleanup-decision from a previous library to other libraries is avoided. For example, it could have already cleaned up cuda_extralibs in a previous library that depended on cuda. Then when it gets to avutil, it will never pick up the dependency of avutil to cuda, which depends on libdl, which in turn results in a missing -ldl extralib, resulting in link failures in certain configurations.
* | Merge commit 'bad7ce1d82f0b7da55086b8c6124eff0d35a1b1a'James Almer2017-11-16
|\| | | | | | | | | | | | | * commit 'bad7ce1d82f0b7da55086b8c6124eff0d35a1b1a': makedef: Pass EXTERN_PREFIX from configure to makedef Merged-by: James Almer <jamrial@gmail.com>
| * makedef: Pass EXTERN_PREFIX from configure to makedefMartin Storsjö2017-11-16
| | | | | | | | | | | | | | | | | | | | This avoids having to use either "dumpbin -headers" to find out the current architecture, or pass $ARCH from configure to deduce it. When configuring with --disable-asm, ARCH is equal to "c", which doesn't give any indication of what symbol prefix is to be used. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'd070b9b703a542429a13db9623109ae20474c775'James Almer2017-11-16
|\| | | | | | | | | | | | | * commit 'd070b9b703a542429a13db9623109ae20474c775': configure: Coalesce some arch configuration and PIC handling Merged-by: James Almer <jamrial@gmail.com>
| * configure: Coalesce some arch configuration and PIC handlingDiego Biurrun2017-11-15
| |
* | Merge commit '9e48de3cc86c732d9cebd496d6f0a2b7e7732754'James Almer2017-11-16
|\| | | | | | | | | | | | | * commit '9e48de3cc86c732d9cebd496d6f0a2b7e7732754': configure: Miscellaneous minor changes Merged-by: James Almer <jamrial@gmail.com>
| * configure: Miscellaneous minor changesDiego Biurrun2017-11-15
| | | | | | | | | | | | | | | | - Move a variable closer to where it is used - Add an explanatory comment - Simplify a crosscompile check - Minor SHFLAGS simplification - Coalesce some threads tests
| * configure: fix writing library dependencies to config.shJames Almer2017-11-12
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec: Implement vc1 nvdec hwaccelPhilip Langdale2017-11-14
| | | | | | | | | | This hwaccel is interesting because it also works for wmv3/9 content, which is not supported by the nvidia parser used by cuviddec.
* | avcodec/videotoolboxenc: add hevc_videotoolbox encoderAman Gupta2017-11-13
| | | | | | | | | | Signed-off-by: Aman Gupta <aman@tmm1.net> Reviewed-by: Rodger Combs <rodger.combs@gmail.com>
* | configure: factorize nvdec dependenciesTimo Rothenpieler2017-11-13
| |
* | configure: fix cuda dependency on nvdecTimo Rothenpieler2017-11-13
| |
* | avcodec: implement vp9 nvdec hwaccelTimo Rothenpieler2017-11-13
| |
* | configure: fix writing library dependencies to config.shJames Almer2017-11-12
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | lavf/tls_securetransport: build on iOSAman Gupta2017-11-12
| | | | | | | | | | | | | | This works as expected on iOS, except for the ca_file feature which is disabled because SecItemImport is not available. Signed-off-by: Aman Gupta <aman@tmm1.net>
* | Merge commit '17b6c7efb471e8ff1b8a7271f6531ba1d52bf69c'James Almer2017-11-12
|\| | | | | | | | | | | | | * commit '17b6c7efb471e8ff1b8a7271f6531ba1d52bf69c': build: Add missing config.sh dependency for pkg-config files Merged-by: James Almer <jamrial@gmail.com>
| * build: Add missing config.sh dependency for pkg-config filesDiego Biurrun2017-11-09
| | | | | | | | Also only update config.sh when it changed to avoid spurious rebuilds.
* | Merge commit '8e0febe28effe7f427e45190eab37110126161ea'James Almer2017-11-12
|\| | | | | | | | | | | | | * commit '8e0febe28effe7f427e45190eab37110126161ea': configure: Use right variable and right value for AIX ar flags Merged-by: James Almer <jamrial@gmail.com>
| * configure: Use right variable and right value for AIX ar flagsDiego Biurrun2017-11-04
| |
* | Merge commit '2cf3c0ab0d84b5cdb379059f8570809a13a306b9'James Almer2017-11-12
|\| | | | | | | | | | | | | * commit '2cf3c0ab0d84b5cdb379059f8570809a13a306b9': Revert "configure: Detect AIX ar command instead of hardcoding it in the OS section" Merged-by: James Almer <jamrial@gmail.com>
| * Revert "configure: Detect AIX ar command instead of hardcoding it in the OS ↵Diego Biurrun2017-11-03
| | | | | | | | | | | | | | section" This reverts commit 4822ee3ca620a92cd2b0a9a03ea9e34288192c79. AIX is a fringe oddity. Do not clutter the main codepath with AIX workarounds.
| * configure: Simplify MIPS instruction set handlingDiego Biurrun2017-11-02
| |