Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-08-13x86inc: Various minor backports from x264Henrik Gramner
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-08-11x86inc: Drop SECTION_TEXT macroHenrik Gramner
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>
2015-08-11x86inc: Disable vpbroadcastq workaround in newer yasm versionsHenrik Gramner
The bug was fixed in 1.3.0, so only perform the workaround in earlier versions. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-08-11x86inc: Fix instantiation of YMM registersChristophe Gisquet
Signed-off-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-08-11x86inc: warn when instructions incompatible with current cpuflags are usedAnton Mitrofanov
Signed-off-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-08-11x86inc: Support arbitrary stack alignmentsHenrik Gramner
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>
2015-08-11x86inc: warn if XOP integer FMA instruction emulation is impossibleAnton Mitrofanov
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>
2015-07-31des: extend av_des_init() doxyJames Almer
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-07-31des: add av_des_alloc()James Almer
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-07-31xtea: add av_xtea_alloc()James Almer
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-07-31rc4: extend av_rc4_init() doxyJames Almer
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-07-31rc4: add av_rc4_alloc()James Almer
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-07-31blowfish: add av_blowfish_alloc()James Almer
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-07-30hmac: add missing version bump and APIChanges entryJames Almer
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
2015-07-29fate: add test vectors for HMAC SHA and SHA-2James Almer
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>
2015-07-29hmac: add support for SHA-2James Almer
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
2015-07-21parseutil: Use non ambiguous aliases for uhdLuca Barbato
uhd1 and uhd2 would be ambigous.
2015-07-20parseutil: Add more resolution aliasesLuca Barbato
Add DCI 2k and 4k and uhd1 and uhd2.
2015-07-09x86: Serialize rdtsc in read_time()Henrik Gramner
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>
2015-07-03lavu: Add version information for av_version_info()Vittorio Giovara
Move the APIchange entry at the top.
2015-07-03lavu: add an API function to return the Libav version stringwm4
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>
2015-06-08configure: Support MSVC 2015Luca Barbato
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
2015-05-31x86: check for AV_CPU_FLAG_AVXSLOW where usefulJames Almer
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-05-31x86: Add helper macros to check for slow cpuflagsJames Almer
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-05-31x86: add AV_CPU_FLAG_AVXSLOW flagJames Almer
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-05-31ppc: vsx: Implement diff_pixels and get_pixelsLuca Barbato
Use a macro to abstract the endianness.
2015-05-31ppc: vsx: Implement float_dspLuca Barbato
2015-05-31ppc: cpu: Add support for VSX and POWER8 extensionsLuca Barbato
2015-05-31ppc: Restrict some Altivec implementations to Big EndianLuca Barbato
In Little Endian the vec_ld/vec_st operations work as expected only for byte-vectors.
2015-05-31ppc: Clarify and extend the cpuid checkLuca Barbato
Add POWER entries.
2015-05-31ppc: linux: Check altivec using the auxvLuca Barbato
Should prevent trying to use altivec when it is disabled by the kernel.
2015-05-31ppc: avutil: Use the abriged vector typesLuca Barbato
2015-05-31ppc: avutil: Drop a potentially dangerous workaroundLuca Barbato
The compiler is free to optimize such expressions in any sort of way.
2015-05-28pixfmt: remove misleading and broken documentationwm4
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>
2015-05-28x86inc: Clear __SECT__Timothy Gu
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>
2015-05-25D3D11va: add a Direct3D11 video decoder similar to DXVA2Steve Lhomme
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-04-20log: Print a full backtrace along with error messages under ValgrindVittorio Giovara
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>
2015-04-20avutil: remove pointless bmi1 defineJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2015-04-19log: Introduce a more verbose debug levelVittorio Giovara
And deprecate av_dlog macro.
2015-04-07parseutils: Make av_small_strptime publicLuca Barbato
And use it in libavformat. Based on a similar patch by Stefano Sabatini <stefasab@gmail.com>.
2015-04-06parseutils: Extend small_strptime to be used in avformatLuca Barbato
The strptime implementation is supposed to support whitespace and %T.
2015-03-29lavc: add MMAL hardware decoder wrapperwm4
Based on a patch by Rodger Combs. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-03-23pixfmt: Update documentation with prefixed pixel formatsVittorio Giovara
2015-03-23pixdesc: Replace a few leftover instances of non AV-prefixed flagsVittorio Giovara
2015-03-23mov: Write the display matrix in orderVittorio Giovara
This will allow to copy the matrix as is and it is just cleaner to keep the matrix in the same order specified by the mov standard (which is also explicitly described in the documentation). In order to preserve compatibility, flip the angle sign in the display API av_display_rotation_set() and av_display_rotation_get(), and improve the documentation mentioning the rotation direction.
2015-03-18Replace a few leftover instances of enum PixelFormat with enum AVPixelFormatMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2015-03-07arm: Suppress tags about used cpu arch and extensionsMartin Storsjö
When all the codepaths using manually set .arch/.fpu code is behind runtime detection, the elf attributes should be suppressed. This allows tools to know that the final built binary doesn't strictly require these extensions. Signed-off-by: Martin Storsjö <martin@martin.st>
2015-02-21libavutil: Add ARM av_clip_intp2_armPeter Meerwald
add ARM code for implementing av_clip_intp2 using the ssat instruction on Cortex-A8, av_clip_intp2_arm() is faster than av_clip_intp2_c() and the generic av_clip(), about -19% Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-02-21libavutil: Add av_clip_intp2Peter Meerwald
there already is a function, av_clip_uintp2() that clips a signed integer to an unsigned power-of-two range, i.e. 0,2^p-1 this patch adds a function av_clip_intp2() that clips a signed integer to a signed power-of-two range, i.e. -(2^p),(2^p-1) the new function can be used as a special case for av_clip(), e.g. av_clip(x, -8192, 8191) can be rewritten as av_clip_intp2(x, 13) there are ARM instructions, usat and ssat resp., which map nicely to these functions (see next patch) Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-02-19pixfmt: add a pixel format for QSV hwaccelAnton Khirnov