summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* lavu: extend size of the AVPixFmtDescriptor.flags fieldwm42015-09-07
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* des: Add missing includeVittorio Giovara2015-08-31
|
* Bump major versions of all librariesVittorio Giovara2015-08-28
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Postpone API-incompatible changes until the next bumpVittorio Giovara2015-08-28
|
* lavu: Drop deprecated private lls functionsVittorio Giovara2015-08-28
| | | | Deprecated in 02/2013.
* lavu: Drop deprecated context size variablesVittorio Giovara2015-08-28
| | | | Deprecated in 10/2012.
* lavu: Drop deprecated duplicated AVFrame/AVCodecContext parametersVittorio Giovara2015-08-28
| | | | Deprecated in 10/2012.
* lavu: Drop deprecated AV_CPU_FLAG_MMX2 symbolVittorio Giovara2015-08-28
| | | | Deprecated in 11/2012.
* lavu: Drop deprecated audioconvert.h headerVittorio Giovara2015-08-28
| | | | Deprecated in 11/2012.
* lavu: Drop deprecated av_reverse functionVittorio Giovara2015-08-28
| | | | Deprecated in 10/2012.
* lavu: Drop deprecated external access to AVPixFmtDescriptor tableVittorio Giovara2015-08-28
| | | | Deprecated in 10/2012.
* lavu: Drop deprecated old_pix_fmt.h and related codeVittorio Giovara2015-08-28
| | | | Deprecated in 10/2012.
* channel_layout: Add a 16channel default layoutLuca Barbato2015-08-23
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* x86inc: Various minor backports from x264Henrik Gramner2015-08-13
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: Drop SECTION_TEXT macroHenrik Gramner2015-08-11
| | | | | | | The .text section is already 16-byte aligned by default on all supported platforms so `SECTION_TEXT` isn't any different from `SECTION .text`. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: Disable vpbroadcastq workaround in newer yasm versionsHenrik Gramner2015-08-11
| | | | | | The bug was fixed in 1.3.0, so only perform the workaround in earlier versions. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: Fix instantiation of YMM registersChristophe Gisquet2015-08-11
| | | | | Signed-off-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: warn when instructions incompatible with current cpuflags are usedAnton Mitrofanov2015-08-11
| | | | | Signed-off-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: Support arbitrary stack alignmentsHenrik Gramner2015-08-11
| | | | | | | | Change ALLOC_STACK to always align the stack before allocating stack space for consistency. Previously alignment would occur either before or after allocating stack space depending on whether manual alignment was required or not. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: warn if XOP integer FMA instruction emulation is impossibleAnton Mitrofanov2015-08-11
| | | | | | | | | | | Emulation requires a temporary register if arguments 1 and 4 are the same; this doesn't obey the semantics of the original instruction, so we can't emulate that in x86inc. Also add pmacsdql emulation. Signed-off-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* des: extend av_des_init() doxyJames Almer2015-07-31
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* des: add av_des_alloc()James Almer2015-07-31
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* xtea: add av_xtea_alloc()James Almer2015-07-31
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rc4: extend av_rc4_init() doxyJames Almer2015-07-31
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rc4: add av_rc4_alloc()James Almer2015-07-31
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* blowfish: add av_blowfish_alloc()James Almer2015-07-31
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hmac: add missing version bump and APIChanges entryJames Almer2015-07-30
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* fate: add test vectors for HMAC SHA and SHA-2James Almer2015-07-29
| | | | | | | Also replace custom tests for MD5 with those published in RFC 2202 Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* hmac: add support for SHA-2James Almer2015-07-29
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* parseutil: Use non ambiguous aliases for uhdLuca Barbato2015-07-21
| | | | uhd1 and uhd2 would be ambigous.
* parseutil: Add more resolution aliasesLuca Barbato2015-07-20
| | | | Add DCI 2k and 4k and uhd1 and uhd2.
* x86: Serialize rdtsc in read_time()Henrik Gramner2015-07-09
| | | | | | | | | | | | | | | | | Improves the accuracy of measurements, especially in short sections. To quote the Intel 64 and IA-32 Architectures Software Developer's Manual: "The RDTSC instruction is not a serializing instruction. It does not necessarily wait until all previous instructions have been executed before reading the counter. Similarly, subsequent instructions may begin execution before the read operation is performed. If software requires RDTSC to be executed only after all previous instructions have completed locally, it can either use RDTSCP (if the processor supports that instruction) or execute the sequence LFENCE;RDTSC." SSE2 is a requirement for lfence so only use it on SSE2-capable systems. Prefer lfence;rdtsc over rdtscp since rdtscp is supported on fewer systems. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavu: Add version information for av_version_info()Vittorio Giovara2015-07-03
| | | | Move the APIchange entry at the top.
* lavu: add an API function to return the Libav version stringwm42015-07-02
| | | | | | | | This returns something like "v12_dev0-1332-g333a27c". This is much more useful than the individual library versions, of which there are too many, and which are very hard to map back to releases or git commits. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* configure: Support MSVC 2015Luca Barbato2015-06-08
| | | | | | | | | | | The C runtime C99 compatibility had been improved a lot and it now rejects some of the compatibility defines provided for the older versions. Many thanks to Ray for the time spent testing. Bug-Id: 864 CC: libav-stable@libav.org
* x86: check for AV_CPU_FLAG_AVXSLOW where usefulJames Almer2015-05-31
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* x86: Add helper macros to check for slow cpuflagsJames Almer2015-05-31
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* x86: add AV_CPU_FLAG_AVXSLOW flagJames Almer2015-05-31
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* ppc: vsx: Implement diff_pixels and get_pixelsLuca Barbato2015-05-31
| | | | Use a macro to abstract the endianness.
* ppc: vsx: Implement float_dspLuca Barbato2015-05-31
|
* ppc: cpu: Add support for VSX and POWER8 extensionsLuca Barbato2015-05-31
|
* ppc: Restrict some Altivec implementations to Big EndianLuca Barbato2015-05-31
| | | | | In Little Endian the vec_ld/vec_st operations work as expected only for byte-vectors.
* ppc: Clarify and extend the cpuid checkLuca Barbato2015-05-31
| | | | Add POWER entries.
* ppc: linux: Check altivec using the auxvLuca Barbato2015-05-31
| | | | Should prevent trying to use altivec when it is disabled by the kernel.
* ppc: avutil: Use the abriged vector typesLuca Barbato2015-05-31
|
* ppc: avutil: Drop a potentially dangerous workaroundLuca Barbato2015-05-31
| | | | The compiler is free to optimize such expressions in any sort of way.
* pixfmt: remove misleading and broken documentationwm42015-05-28
| | | | | | | | | | | | | | | | | | | | This was probably broken some time ago. The breakage is now part of the ABI. For example, we have: AV_PIX_FMT_XYZ12BE AV_PIX_FMT_NV16 AV_PIX_FMT_NV20LE AV_PIX_FMT_NV20LE is wrong. It has the value 113, but as little-endian format it should be even. This must have been quite obvious when these formats were added (because of the AV_PIX_FMT_XYZ12BE entry), but nobody cared or knew about this. The future libavutil major bump will also break this additionally, because disabling FF_API_VDPAU will remove an odd number of entries from the middle of the enum. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* x86inc: Clear __SECT__Timothy Gu2015-05-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Silences warning(s) like: libavcodec/x86/fft.asm:93: warning: section flags ignored on section redeclaration The cause of this warning is that because `struc` and `endstruc` attempts to revert to the previous section state [1]. The section state is stored in the macro __SECT__, defined by x86inc.asm to be `.note.GNU-stack ...`, through the `SECTION` directive [2]. Thus, the `.note.GNU-stack` section is defined twice (once in x86inc.asm, once during `endstruc`), causing the warning. That is the first part of the commit: using the primitive `[section]` format for .note.GNU-stack etc., which does not update `__SECT__` [2]. That fixes only half of the problem. Even without any `SECTION` directives, `__SECT__` is predefined as `.text`, which conflicting with the later `SECTION_TEXT` (which expands to `.text align=16`). [1]: http://www.nasm.us/doc/nasmdoc6.html#section-6.4 [2]: http://www.nasm.us/doc/nasmdoc6.html#section-6.3 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* D3D11va: add a Direct3D11 video decoder similar to DXVA2Steve Lhomme2015-05-25
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* log: Print a full backtrace along with error messages under ValgrindVittorio Giovara2015-04-20
| | | | | | | | Useful to understand where and in what execution state a certain message is generated. It is enabled only when optimizations are disabled, since function names are not printed otherwise. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>