summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* Merge commit '59cee42d7d22530e66a155305389e29679b11f78'James Almer2017-10-30
|\ | | | | | | | | | | | | * commit '59cee42d7d22530e66a155305389e29679b11f78': arm: Check for the .arch directive in configure Merged-by: James Almer <jamrial@gmail.com>
| * arm: Check for the .arch directive in configureMartin Storsjö2017-05-08
| | | | | | | | | | | | | | | | | | | | | | | | When targeting windows, the .arch directive isn't available. So far, when building for windows, we've always used gas-preprocessor, both when using msvc's armasm and when using clang. Lately, clang/llvm has implemented the last missing piece (altmacro support) for building our assembly without gas-preprocessor. This means that we now build for arm/windows with clang without any extra compatibility layer. Signed-off-by: Martin Storsjö <martin@martin.st>
| * hwcontext: Improve allocation in derived contextsMark Thompson2017-04-30
| | | | | | | | | | | | | | Use the flags argument of av_hwframe_ctx_create_derived() to pass the mapping flags which will be used on allocation. Also, set the format and hardware context on the allocated frame automatically - the user should not be required to do this themselves.
| * hwcontext_qsv: Implement mapping frames to the child device typeMark Thompson2017-04-30
| |
| * hwcontext_qsv: Implement mapping frames from the child device typeMark Thompson2017-04-30
| | | | | | | | Factorises out existing surface initialisation code to reuse.
| * hwcontext: Add frame context mapping for nontrivial contextsMark Thompson2017-04-30
| | | | | | | | | | | | | | Some frames contexts are not usable without additional format-specific state in hwctx. This change adds new functions frames_derive_from and frames_derive_to to initialise this state appropriately when deriving a frames context which will require it to be set.
| * hwcontext_qsv: Support derivation from child devicesMark Thompson2017-04-30
| |
| * spherical: add functions to retrieve and request projection namesJames Almer2017-04-27
| | | | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit '04b0f0e371ff81b682274b574fb465ba4395c09f'James Almer2017-10-30
|\| | | | | | | | | | | | | * commit '04b0f0e371ff81b682274b574fb465ba4395c09f': mem: uninline av_malloc(z)_array() Merged-by: James Almer <jamrial@gmail.com>
| * mem: uninline av_malloc(z)_array()Anton Khirnov2017-04-26
| | | | | | | | | | | | Inlining public functions hardcodes their implementation into the ABI, so it should be avoided unless there is a very good reason for it. No such reason exists in this case.
| * pixfmt: Add gbrap10 pixel formatPaul B Mahol2017-04-13
| | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | avutil/frame: deprecate getters and setters for AVFrame fieldsJames Almer2017-10-29
| | | | | | | | | | | | | | The fields can be accessed directly, so these are not needed anymore. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit '193b09189004ede4a6998e69192d1a9f63602088'James Almer2017-10-26
|\| | | | | | | | | | | | | * commit '193b09189004ede4a6998e69192d1a9f63602088': thread: Define ff_mutex_* macros as stub functions when threads are disabled Merged-by: James Almer <jamrial@gmail.com>
| * thread: Define ff_mutex_* macros as stub functions when threads are disabledDiego Biurrun2017-04-12
| | | | | | | | Silences a bunch of "statement with no effect" warnings with threads disabled.
* | Merge commit '10f4511f14a4e830c0ed471df4cd1cc2a18a481a'James Almer2017-10-26
|\| | | | | | | | | | | | | | | | | | | * commit '10f4511f14a4e830c0ed471df4cd1cc2a18a481a': libavutil: Make LOCAL_ALIGNED(xx be equal to LOCAL_ALIGNED_xx( Also added LOCAL_ALIGNED_4 as it's used in vp8 decoder, and simplified the configure defines. Merged-by: James Almer <jamrial@gmail.com>
| * libavutil: Make LOCAL_ALIGNED(xx be equal to LOCAL_ALIGNED_xx(Martin Storsjö2017-03-31
| | | | | | | | | | | | | | | | | | | | | | Previously, the former form always produced a manually aligned, padded buffer, while the latter can use DECLARE_ALIGNED, if that amount of stack alignment is supported. libavutil/internal.h needs to include mem.h, since it uses the DECLARE_ALIGNED macro. Signed-off-by: Martin Storsjö <martin@martin.st>
* | avcodec/mips: Improve hevc bi weighted hv mc msa functionsKaustubh Raste2017-10-25
| | | | | | | | | | | | | | | | Use immediate unsigned saturation for clip to max saving one vector register. Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com> Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Don't use _tzcnt instrinics with clang for windows w/o BMI.Dale Curtis2017-10-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Technically _tzcnt* intrinsics are only available when the BMI instruction set is present. However the instruction encoding degrades to "rep bsf" on older processors. Clang for Windows debatably restricts the _tzcnt* instrinics behind the __BMI__ architecture define, so check for its presence or exclude the usage of these intrinics when clang is present. See also: https://ffmpeg.org/pipermail/ffmpeg-devel/2015-November/183404.html https://bugs.llvm.org/show_bug.cgi?id=30506 http://lists.llvm.org/pipermail/cfe-dev/2016-October/051034.html Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Reviewed-by: Matt Oliver <protogonoi@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '1bd986ed4b0e95ded368a8eeb5c044853c090f9b'James Almer2017-10-24
|\| | | | | | | | | | | | | * commit '1bd986ed4b0e95ded368a8eeb5c044853c090f9b': hwcontext: Move NONE to the be the first member of AVHWDeviceType Merged-by: James Almer <jamrial@gmail.com>
| * hwcontext: Move NONE to the be the first member of AVHWDeviceTypeMark Thompson2017-03-27
| | | | | | | | Also use that to fix a warning in av_hwdevice_get_type_name().
| * spherical: Change types of bounding and pad to uint32_tVittorio Giovara2017-03-23
| | | | | | | | | | | | | | | | | | These values are defined to be 32bit in the specification, so it makes more sense to store them as fixed width. Based on a patch by Micahel Niedermayer <michael@niedermayer.cc>. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit '35cf146a33ce41a1adb6c9bd5a0827eacb1b6bfc'James Almer2017-10-23
|\| | | | | | | | | | | | | * commit '35cf146a33ce41a1adb6c9bd5a0827eacb1b6bfc': lavu: Drop deprecated av_dlog macro Merged-by: James Almer <jamrial@gmail.com>
| * lavu: Drop deprecated av_dlog macroVittorio Giovara2017-03-23
| | | | | | | | Deprecated in 05/2015.
* | Merge commit '619a433eca2c5655c41b799e0b06380020fb1498'James Almer2017-10-23
|\| | | | | | | | | | | | | * commit '619a433eca2c5655c41b799e0b06380020fb1498': lavu: Drop deprecated option type Merged-by: James Almer <jamrial@gmail.com>
| * lavu: Drop deprecated option typeVittorio Giovara2017-03-23
| | | | | | | | Deprecated in 02/2014.
* | Merge commit 'dd343fd986459f467a2d1d70c26101dff1d47d68'James Almer2017-10-23
|\| | | | | | | | | | | | | * commit 'dd343fd986459f467a2d1d70c26101dff1d47d68': lavu: Drop deprecated VDPAU pixel formats Merged-by: James Almer <jamrial@gmail.com>
| * lavu: Drop deprecated VDPAU pixel formatsVittorio Giovara2017-03-23
| | | | | | | | Deprecated in 07/2013.
| * lavc: Drop deprecated stream codec tagVittorio Giovara2017-03-23
| | | | | | | | Deprecated in 07/2015.
* | Merge commit 'dcc39ee10e82833ce24aa57926c00ffeb1948198'James Almer2017-10-23
|\| | | | | | | | | | | | | * commit 'dcc39ee10e82833ce24aa57926c00ffeb1948198': lavc: Remove deprecated XvMC support hacks Merged-by: James Almer <jamrial@gmail.com>
| * lavc: Remove deprecated XvMC support hacksDiego Biurrun2017-03-23
| | | | | | | | Deprecated in 11/2013.
* | avutil/frame: remove unneccessary metadata pointer getterJames Almer2017-10-23
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | lavu/arm: Check for have_vfp_vm instead of !have_vfpv3 for float_dsp_vfpMartin Storsjö2017-10-23
| | | | | | | | | | | | | | This was missed in e754c8e8 / e2710e790c0 since those functions weren't exercised by checkasm. Fixes ticket #6766.
* | lavc: drop VDAClément Bœsch2017-10-23
| | | | | | | | | | Deprecated (aka removed) in OSX 10.11, and we have a replacement for it (VideoToolbox).
* | avutil/tests/hmac: remove superfluous loopJames Almer2017-10-22
| | | | | | | | | | | | The gap in enum values has been removed. Signed-off-by: James Almer <jamrial@gmail.com>
* | avutil/hmac: remove gap in AVHMACType enum valuesJames Almer2017-10-22
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avutil/crc: remove gap in AVCRCId enum valuesJames Almer2017-10-22
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit '07a2b155949eb267cdfc7805f42c7b3375f9c7c5'James Almer2017-10-21
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '07a2b155949eb267cdfc7805f42c7b3375f9c7c5': Bump major versions of all libraries A few API deprecated ~2 years ago or more are also postponed here for varying reasons. FF_API_LOWRES: Since this functionality depends on AVStream->codec, i figure the two can be removed at the same time in the next bump or so. FF_API_AVCTX_TIMEBASE: Couldn't get this one to work. Not just libavcodec but apparently also libavformat and ffmpeg.c expect AVCodecContext->time_base to be set for decoding. Upon removal some tests report a different generic stream time base (like 1/25), and others lose packet duration values. I guess it's somehow tied to the AVStream->codec clusterfuck. It can be dealt with alongside FF_API_LAVF_AVCTX in the next bump. FF_API_OLD_FILTER_OPTS_ERROR: This one is meant to remain after FF_API_OLD_FILTER_OPTS is removed. Its purpose is displaying the corrected command line using the new syntax as a suggestion as part of the error message. Merged-by: James Almer <jamrial@gmail.com>
| * Bump major versions of all librariesVittorio Giovara2017-03-23
| | | | | | | | | | | | | | | | | | This disables everything that was deprecated at least 18 months ago. Readjust the minimum API version as needed, postponing any API-incompatible changes until the next bump. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit '8e2346154e6d58b733fd20326ce706f82fd91b3e'James Almer2017-10-21
|\| | | | | | | | | | | | | * commit '8e2346154e6d58b733fd20326ce706f82fd91b3e': libavutil: Hook up the rest of the gcc specific attributes to clang as well Merged-by: James Almer <jamrial@gmail.com>
| * libavutil: Hook up the rest of the gcc specific attributes to clang as wellMartin Storsjö2017-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hook up all attributes that don't have a MSVC specific version at the moment. See f637046d313 for details. These don't seem to be critical for building with clang in MSVC mode though, and thus haven't been hooked up until now. These seem to build fine with as old clang as 3.3 at least. (clang 3.3 disguises itself as gcc 4.2 normally, so all of these have been used for clang before, except for av_cold.) The clang version numbers themselves are useless for detecting what attributes are available, since Apple's clang builds use a completely different versioning (presenting itself as e.g. clang 8.0 instead of 3.8). Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '3aa9c523e9cf4f4a5e239ac737281e096c884907'James Almer2017-10-21
|\| | | | | | | | | | | | | * commit '3aa9c523e9cf4f4a5e239ac737281e096c884907': libavutil: Define the noreturn attribute for clang in MSVC mode as well Merged-by: James Almer <jamrial@gmail.com>
| * libavutil: Define the noreturn attribute for clang in MSVC mode as wellMartin Storsjö2017-03-21
| | | | | | | | | | | | | | | | | | | | | | This is a follow-up to f637046d313. Without the noreturn attribute set, avconv_opt.c fails to build after d2e6dd32a44 with the error "control may reach end of non-void function". By making sure the noreturn attribute is set properly, this compiles as intended. Signed-off-by: Martin Storsjö <martin@martin.st>
| * hwcontext: Make it easier to work with device typesMark Thompson2017-03-20
| | | | | | | | | | | | Adds functions to convert to/from strings and a function to iterate over all supported device types. Also adds a new invalid type AV_HWDEVICE_TYPE_NONE, which acts as a sentinel value.
| * hwcontext: Add device derivationMark Thompson2017-03-20
| | | | | | | | | | Creates a new device context from another of a different type which refers to the same underlying hardware.
* | Merge commit '994c4bc10751e39c7ed9f67ffd0c0dea5223daf2'James Almer2017-10-21
|\| | | | | | | | | | | | | | | | | * commit '994c4bc10751e39c7ed9f67ffd0c0dea5223daf2': x86util: Port all macros to cpuflags See d5f8a642f6eb1c6e305c41dabddd0fd36ffb3f77 Merged-by: James Almer <jamrial@gmail.com>
| * x86util: Port all macros to cpuflagsDiego Biurrun2017-03-14
| | | | | | | | | | | | Also do some small cosmetic changes: Drop pointless _MMX suffix from ABSD2 macro name, drop pointless check for MMX support, we always assume MMX is available in our SIMD code, fix spelling.
| * spherical: Add tiled equirectangular type and projection-specific propertiesVittorio Giovara2017-03-07
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * libavutil: add av_mod_uintp2James Almer2017-03-01
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
| * intmath: add faster clz supportGanesh Ajjanagadde2017-03-01
| |
| * build: Generalize yasm/nasm-related variable namesDiego Biurrun2017-03-01
| | | | | | | | None of them are specific to the YASM assembler.