summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* matroskadec: don't warn about unknown spherical medata when none is presentJames Almer2017-11-031-0/+3
| | | | | | | | | | | track->video.projection.type is set to 0 (a Matroska specific "No spherical metadata present" value, with no related AVSphericalMapping) by default on files without the element. This removes bogus warnings on every single matroska file without Spherical metadata. Signed-off-by: James Almer <jamrial@gmail.com>
* libspeexenc: Use speex_lib_get_mode instead of the speex_foo_mode data symbolsMartin Storsjö2017-11-041-3/+3
| | | | | | | | | | | | | This avoids issues linking to a DLL version of libspeex, since the libspeex headers lack proper dllimport declarations for the data symbols. This isn't an issue when building with mingw with GNU binutils, since GNU ld can fix up that kind of data import automatically. libspeexdec.c already uses speex_lib_get_mode as well. Signed-off-by: Martin Storsjö <martin@martin.st>
* Revert "configure: Detect AIX ar command instead of hardcoding it in the OS ↵Diego Biurrun2017-11-031-3/+1
| | | | | | | 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-021-3/+3
|
* configure: Miscellaneous minor changes to config file handlingDiego Biurrun2017-11-021-12/+12
| | | | | | | | - Move generating config.fate to a more sensible place. - Move printing warnings to a more appropriate place. - Improve "generated by" comment in libavutil/avconfig.h. - Drop pointless informative output about generating config files. - Write a standard comment header to config.asm as well.
* configure: Remove unused apply() helper functionDiego Biurrun2017-11-021-6/+0
|
* configure: Miscellaneous small changes to helper functionsDiego Biurrun2017-11-021-6/+7
| | | | | | | - Reuse sanitize_var_name() where appropriate - Add some quotes to enabled()/disabled() to ease readability - Fix logged names of some helper functions - Filter LDFLAGS also in test_ldflags()
* configure: Stop using dlltool to create an import libraryMartin Storsjö2017-10-301-8/+1
| | | | | | | | | | | | | | | There shouldn't be any functional difference between the import library created by dlltool and the one produced by the linker itself. Keep installing it with both names though, for compatibility with users that expect both to exist. The dlltool step was added in ec10a9ab4; prior to that, a MSVC compatible import library was generated using lib.exe. After that commit, there was no functional difference between the two import libraries (and since MSVC 2012, link.exe works just fine with the GNU binutils generated one). Signed-off-by: Martin Storsjö <martin@martin.st>
* dashenc: copy stream frame rate to output streamPeter Große2017-10-271-0/+1
| | | | | | | | Leads to setting of DefaultDuration in Matroska muxer based on frame rate instead of timebase. Fixes playback in Chrome. Signed-off-by: Peter Große <pegro@friiks.de> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dashenc: fix bitrate estimation with correct scalingAnton Schubert2017-10-271-1/+4
| | | | | Signed-off-by: Anton Schubert <ischluff@mailbox.org> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* doc: Provide better examples for hls and segment muxingLuca Barbato2017-10-271-2/+8
| | | | Some encoders do not output further IDRs if not requested to.
* configure: Drop support for legacy PGI compilerDiego Biurrun2017-10-251-19/+0
|
* build: Drop support for legacy TI ARM compilerDiego Biurrun2017-10-254-96/+1
|
* hwcontext_vaapi: Set message callbacks on internally-created devicesMark Thompson2017-10-251-0/+21
| | | | | The message callbacks are library-safe in libva2, so we can now use them.
* vaapi: Always free parameter buffers after vaEndPicture() with libva2Mark Thompson2017-10-254-6/+6
| | | | | | This is an ABI change in libva2: previously the Intel driver had this behaviour and it was implemented as a driver quirk, but now it is part of the specification so all drivers must do it.
* vaapi: Remove H.264 baseline profileMark Thompson2017-10-242-4/+4
| | | | | | This has been deprecated in libva2 because hardware does not and will not support it. Therefore never consider it for decode, and for encode assume the user meant constrained baseline profile instead.
* configure: Add config option for libva2 (VAAPI 1)Mark Thompson2017-10-241-0/+5
|
* vaapi: Disable deprecation warnings around use of struct vaapi_contextMark Thompson2017-10-241-0/+3
|
* arm: Remove a redundant check in fmtconvert_init_arm.cMartin Storsjö2017-10-241-4/+2
| | | | | | | This was missed in e2710e790c0, where have_vfp && !have_vfpv3 were converted into have_vfp_vm. Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Check for have_vfp_vm instead of !have_vfpv3 for float_dsp_vfpMartin Storsjö2017-10-241-2/+2
| | | | | | | This was missed in e2710e790c0 since those functions weren't exercised by checkasm. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: fix hw_device_ctx operationwm42017-10-231-4/+2
| | | | | | | Commit b46a77f19d accidentally broke this (requested change that was added to the patch later and which was not fully tested). Signed-off-by: Mark Thompson <sw@jkqxz.net>
* configure: Group system feature variables and system libraries togetherDiego Biurrun2017-10-221-11/+19
|
* build: Delete compiler-generated compat files on 'make clean'Diego Biurrun2017-10-191-0/+1
|
* configure: Bail out early if neither static nor shared libs are builtDiego Biurrun2017-10-191-11/+11
|
* configure: Move enabling libc_type into probe_libc() functionDiego Biurrun2017-10-191-2/+1
|
* lavc: external hardware frame pool initializationwm42017-10-1926-181/+395
| | | | | | | | | | | | This adds a new API, which allows the API user to query the required AVHWFramesContext parameters. This also reduces code duplication across the hwaccels by introducing ff_decode_get_hw_frames_ctx(), which uses the new API function. It takes care of initializing the hw_frames_ctx if needed, and does additional error handling and API usage checking. Support for VDA and Cuvid missing. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* FATE: add a test for the H.264 sample fixed by 7c4f6f6Anton Khirnov2017-10-192-0/+23
|
* qsv: Make the hevc idr_interval consistent with the h264 oneLuca Barbato2017-10-181-1/+5
| | | | | | | | | | | | | | According to the MediaSDK documentation the idr_interval value has a different meaning depending on the codec: 0 in H264 means make every I-frame IDR, in HEVC it means to have it only at the beginning. 1 in H264 means every other I-frame is not-IDR, in HEVC it means that every I-frame is IDR. Keep the behaviour consistent between the two encoders by increasing by 1 internally the idr_interval value for HEVC.
* configure: Set the default assembler to armasm64 for MSVC for arm64Martin Storsjö2017-10-181-0/+3
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* aarch64: Remove a dot from a labelMartin Storsjö2017-10-181-2/+2
| | | | | | This fixes building with armasm64 (when run through gas-preprocessor). Signed-off-by: Martin Storsjö <martin@martin.st>
* aarch64: Get rid of a stray double spaceMartin Storsjö2017-10-181-1/+1
| | | | | | | | The extra space got included as part of the expansion of ELF, which later interfered with gas-preprocessor which earlier only stripped out leftover lines starting with '#' if the line started with that char. Signed-off-by: Martin Storsjö <martin@martin.st>
* cbs: Add test dependenciesMark Thompson2017-10-171-6/+11
| | | | Fixes the MPEG-2 failure with --disable-error-resilience.
* mss1: Add missing macro parameters to ARITH_GET_* macrosDiego Biurrun2017-10-161-8/+8
| | | | | It is wrong to pass no arguments to a macro that expects one argument and some compilers complain.
* qsv: Expose idr_interval for hevc as wellLuca Barbato2017-10-141-0/+1
|
* Remove dv1394 input deviceJosh de Kock2017-10-138-606/+1
| | | | | | | | Support for this device has been removed in the Linux kernel since v2.6.37. dv1394 has been superseded by libiec61883 which is functionally equivalent. Signed-off-by: Josh de Kock <josh@itanimul.li> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avfoundation: Drop silly _dec suffix from filenameDiego Biurrun2017-10-132-1/+1
|
* alsa: Coalesce source files after outdev removalDiego Biurrun2017-10-134-282/+182
|
* oss: Coalesce source files after outdev removalDiego Biurrun2017-10-134-198/+117
|
* sndio: Coalesce source files after outdev removalDiego Biurrun2017-10-134-174/+104
|
* Remove all output devicesDiego Biurrun2017-10-1312-419/+22
| | | | | | The libavformat API is not suitable for exporting output devices as muxers. Some practical problems are e.g. lack of timing/synchronization mechanisms or interaction with output-specific features.
* pictor: Correctly check frame dimensionsMichael Niedermayer2017-10-121-1/+1
| | | | | | | | | | | Fixes: 559/clusterfuzz-testcase-6424225917173760 Bug-Id: CVE-2017-7862 CC: libav-stable@libav.org Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 8c2ea3030af7b40a3c4275696fb5c76cdb80950a) Signed-off-by: Diego Biurrun <diego@biurrun.de>
* makedef: Add support for identifying the ARM64 machine typeMartin Storsjö2017-10-121-2/+2
| | | | | | | | Since this machine type is 5 chars while the existing ones only were 3 (which the regexp assumed), the regexp has to be extended a little. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Add a comment about why we don't try to enable pic on arm on ↵Martin Storsjö2017-10-121-0/+1
| | | | | | target_os=win32 Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Don't add -fPIC to asflags when targeting windowsMartin Storsjö2017-10-121-1/+1
| | | | | | | | | | | | | On X86 windows, asflags weren't actually ever used for anything, since assembling used x86asflags instead, and that flags list had -DPIC already. This fixes building shared libraries with clang for arm/aarch64 windows. (This wasn't an issue when in msvc mode before, since we don't try to enable pic at all there, since the msvc armasm assembler fails on our pic constructs there.) Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Don't add -fPIC to cflags for target_os=win32Martin Storsjö2017-10-121-1/+1
| | | | | | | | | | | | | | | We skipped adding it to cflags for mingw/cygwin configurations where the compiler either complains loudly or even errors out; do the same for target_os=win32, for the case when building with clang in msvc mode. This wasn't needed for the actual msvc before, since msvc uses msvc_common_flags to filter out this flag from cflags. When building with clang in msvc mode, no such filter is used. This fixes building shared libraries with clang in msvc mode. Signed-off-by: Martin Storsjö <martin@martin.st>
* build: CryptGenRandom --> wincrypt, it is a better nameDiego Biurrun2017-10-122-3/+3
|
* build: Rename stdatomic_h variable to stdatomicDiego Biurrun2017-10-121-3/+2
| | | | It does not represent a header but a complete system capability.
* configure: Extend check_header() to allow checking for multiple headersDiego Biurrun2017-10-121-15/+14
| | | | Also use that new capability to simplify bktr header checks.
* build: Merge mach/mach_time.h and mach_absolute_time() checksDiego Biurrun2017-10-122-4/+2
|
* configure: Merge separate parts of GnuTLS testDiego Biurrun2017-10-121-3/+2
|
OpenPOWER on IntegriCloud