summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* lavc: add a null bitstream filterAnton Khirnov2016-12-14
| | | | | | It is useful for testing/debugging and will also be used as the default filter in the following commit adding pre-decode filtering to avoid having a separate non-filtered codepath.
* lavc: handle MP3 in get_audio_frame_duration()Anton Khirnov2016-12-14
|
* dxva2: Keep code shared between dxva2 and d3d11va under the correct #ifDiego Biurrun2016-12-12
| | | | This partially reverts commit ac648bb835edd3f67bda2267d0e72e5e582eb5a1.
* hevc: ppc: Add HEVC 4x4 IDCT for PowerPCAlexandra Hajkova2016-12-12
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* configure: Add missing dxva2 dependency for dxva2_libDiego Biurrun2016-12-12
|
* configure: Handle dxva2 optional components in the standard wayDiego Biurrun2016-12-11
|
* Drop libxvid rate control support for mpegvideo encodingDiego Biurrun2016-12-11
| | | | The feature has outlived is usefulness and complicates the code.
* dxva2: Simplify some ifdefsDiego Biurrun2016-12-11
|
* vaapi_h265: Fix CFR mode with framerate set in AVCodecContextMark Thompson2016-12-10
| | | | Same issue as 17a0f9481cf07af0feb3838ca315b970117e8000.
* lavfi: Add VAAPI deinterlacerMark Thompson2016-12-10
|
* 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
|
* build: Use _extralibs variable names instead of _libs everywhereDiego Biurrun2016-12-09
| | | | This makes naming more consistent and simplifies extralibs-related changes.
* 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
|
* 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.
* configure: Drop redundant and partly bogus vaapi/vdpau header checksDiego Biurrun2016-12-09
| | | | These are taken care of more correctly by the library checks.
* vdpau: Do not #include vdpau_x11.h from the main vdpau headerDiego Biurrun2016-12-09
| | | | That header should only be included in the special bits that use X11 code.
* dxva2: Adjust multiple inclusion guard names to follow conventionDiego Biurrun2016-12-09
|
* vf_hwupload_cuda: Add min/max limits for device optionRuta Gadkari2016-12-08
|
* APIChanges: Mention where release 12 was cutVittorio Giovara2016-12-08
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avio: Keep track of the amount of data writtenLuca Barbato2016-12-08
| | | | Make avio_size() work with any write AVIOContext.
* libopusdec: fix out-of-bounds readAndreas Cadhalpun2016-12-08
| | | | Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* libschroedingerdec: fix leaking of framewithptsAndreas Cadhalpun2016-12-08
| | | | | | | Also preserve the return value from ff_get_buffer(). Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* libschroedingerdec: don't produce empty framesAndreas Cadhalpun2016-12-08
| | | | | | They are not valid and can cause problems/crashes for API users. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* omx: Fix allocation checkTimothy Gu2016-12-08
| | | | | | | Also use av_mallocz_array(). Bug-Id: CID 1396839 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* qsvdec: Fix memory leak on errorTimothy Gu2016-12-08
| | | | | Bug-Id: CID 1396851 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* compat/atomics: add typecasts in atomic_compare_exchange_strong()Wan-Teh Chang2016-12-08
| | | | | | | | | | | | | | | | | | | | | The Solaris and Windows emulations of atomic_compare_exchange_strong() need typecasts to avoid compiler warnings, because the functions they call expect a void* pointer but an intptr_t integer is passed. Note that the emulations of atomic_compare_exchange_strong() (except the gcc version) only work for atomic_intptr_t because of the type of the second argument (|expected|). See http://en.cppreference.com/w/c/atomic: _Bool atomic_compare_exchange_strong( volatile A* obj, C* expected, C desired ); The types of the first argument and second argument are different (|A| and |C|, respectively). |C| is the non-atomic type corresponding to |A|. In the emulations of atomic_compare_exchange_strong(), |C| is intptr_t. This implies |A| can only be sig_intptr_t. Signed-off-by: Wan-Teh Chang <wtc@google.com>
* avutil: fix data race in av_get_cpu_flags()Wan-Teh Chang2016-12-08
| | | | | | | | | | | | | | | | | | | | | | | | Make the one-time initialization in av_get_cpu_flags() thread-safe. The static variables |flags|, |cpuflags_mask|, and |checked| in libavutil/cpu.c are read and written using normal load and store operations. These are considered as data races. The fix is to use atomic load and store operations. Remove the |checked| variable because the invalid value of -1 for |flags| can be used to indicate the same condition. Rename |flags| to |cpu_flags| and move it to file scope. The fix can be verified by running the libavutil/tests/cpu_init.c test program under ThreadSanitizer: ./configure --toolchain=clang-tsan make libavutil/tests/cpu_init libavutil/tests/cpu_init There should be no warnings from ThreadSanitizer. Co-author: Dmitry Vyukov of Google, who suggested the data race fix. Signed-off-by: Wan-Teh Chang <wtc@google.com>
* libkvazaar: Add missing header #includesDiego Biurrun2016-12-08
| | | | This fixes compilation after the next version bump.
* configure: Fail if cuda was enabled and is not availableDiego Biurrun2016-12-08
| | | | This is the standard behavior for external libraries.
* build: Drop stray golomb dependenciesDiego Biurrun2016-12-08
|
* build: Add an internal component for hevc_ps codeDiego Biurrun2016-12-08
| | | | This allows expressing dependencies in a more correct way.
* Add missing #includes for standalone spherical-information-related headersDiego Biurrun2016-12-08
|
* fate: Add spherical and stereo3d mov testsVittorio Giovara2016-12-07
|
* avprobe: Allow specifying multiple stream entries to be shownVittorio Giovara2016-12-07
|
* mov: Export spherical informationVittorio Giovara2016-12-07
| | | | | | | This implements Spherical Video V1 and V2, as described in the spatial-media collection by Google. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Add spherical packet side data APIVittorio Giovara2016-12-07
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavu: Add AVSphericalMapping type and frame side dataVittorio Giovara2016-12-07
| | | | | | | | While no decoder currently exports spherical information, this type represents a frame property that has to be passed through from container to frames. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavu: Add a video section to Doxygen documentationVittorio Giovara2016-12-07
| | | | | | | Fill it with AVStereo3D and AVDisplayMatrix documentation. Apply the necessary changes to make verbatim code look good in doxygen. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* build: Add missing Makefile entries and ifdefs for QSV hwaccelsDiego Biurrun2016-12-07
|
* build: Ensure that the "all" target appears before all Makefile includesDiego Biurrun2016-12-07
| | | | Otherwise builds without explicit target result in silent no-ops.
* build: Have old H.264/HEVC nvenc encoders select their new counterpartsDiego Biurrun2016-12-07
| | | | This makes sense and takes care of missing build dependencies.
* build: Move entries related to building TOOLS to a subdirectory MakefileDiego Biurrun2016-12-07
|
* build: Warn that reconfiguration is necessary if version.h files changedDiego Biurrun2016-12-07
| | | | | The library versions are stored in the config.mak file and are used to derive shared library names.
* configure: add -fPIE instead of -pie to C flags for ThreadSanitizerWan-Teh Chang2016-12-06
| | | | | | | | | | | | | | | | | | | | | | | -pie was added to C flags for ThreadSanitizer in commit 19f251a2882a8d0779b432e63bf282e4d9c443bb. Under clang 3.8.0, the -pie flag causes a compiler warning and a linker error when running configure --toolchain=clang-tsan. Here is an excerpt from config.log: clang ... -fsanitize=thread -pie -std=c11 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.A8SsaoCF.o /tmp/ffconf.JdpujQlD.c clang: warning: argument unused during compilation: '-pie' clang -fsanitize=thread -pie -Wl,--as-needed -o /tmp/ffconf.2iYA4bsw /tmp/ffconf.A8SsaoCF.o -lm -lm -lbz2 -lz -pthread /usr/bin/ld: /tmp/ffconf.A8SsaoCF.o: relocation R_X86_64_PC32 against undefined symbol `atan2f@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value clang: error: linker command failed with exit code 1 (use -v to see invocation) To be conservative, I changed -pie to -fPIE. But the documentation seems to imply just -fsanitize=thread is enough: http://clang.llvm.org/docs/ThreadSanitizer.html https://github.com/google/sanitizers/wiki/ThreadSanitizerCppManual Signed-off-by: Wan-Teh Chang <wtc@google.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Pass CFLAGS_HEADERS through the right CFLAGS filterDiego Biurrun2016-12-06
| | | | | The generic parameter names used for CFLAGS in configure must be filtered for each compiler and replaced by the equivalent flag for that compiler.
* build: Separate avisynth and avxsynth supportDiego Biurrun2016-12-06
| | | | This simplifies the code.
* configure: Simplify OMX checkDiego Biurrun2016-12-06
|
* configure: Move COMPONENT_LIST to the bottom of CONFIG_LISTDiego Biurrun2016-12-06
| | | | | This ensures that dependencies are resolved correctly. COMPONENT_LIST can contain parts that depend on previous entries of CONFIG_LIST.