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
2013-10-28AVOptions: do not range check flag options.Anton Khirnov
It does not make sense in the vast majority of use cases, no currently defined AV_OPT_TYPE_FLAGS options in Libav set the range to anything nontrivial, and many of those get it wrong (the "correct" range is INT_MIN to INT_MAX so that the builtin constant "all" works).
2013-10-28avframe: mark source frame const in _ref and _cloneVittorio Giovara
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-10-26mem: do not check for negative sizeVittorio Giovara
size_t is guaranteed to be unsigned Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-10-25libavutil: x86: Add AVX2 capable CPU detection.Kieran Kunhya
Patch based on x264's AVX2 detection Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-25base64-test: Remove posibility of returning restricted exit codesDerek Buitenhuis
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-24tree-test: Don't return restricted exit codesDerek Buitenhuis
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-23avstring-test: Mark pointer passed to av_free() as non-constDiego Biurrun
libavutil/avstring.c:278:9: warning: passing argument 1 of ‘av_free’ discards ‘const’ qualifier from pointer target type
2013-10-16mem: Make av_strdup allocate using av_reallocMartin Storsjö
This makes sure that pointers from av_strdup are reallocable, which is used in av_dict_set if the AV_DICT_APPEND flag is set. Nothing should rely on pointers from av_strdup being aligned. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-10-14x86: more AVX2 frameworkJason Garrett-Glaser
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-14x86inc: FMA3/4 SupportJason Garrett-Glaser
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-14x86inc: Remove our FMA4 supportDerek Buitenhuis
This is so we can sync to x264's version of FMA4 support. This partialy reverts commit 79687079a97a039c325ab79d7a95920d800b791f. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-14x86inc: Use VEX-encoded instructions in AVX functionsHenrik Gramner
Automatically use VEX-encoding in AVX/AVX2/XOP/FMA3/FMA4 functions for all instructions that exists in a VEX-encoded version. This change makes it easier to extend existing code to use AVX2. Also add support for AVX emulation of a few instructions that were missing before. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-09x86inc: Remove .rodata kludgesHenrik Gramner
The Mach-O bug was fixed in yasm 0.8.0 and we don't support versions that old anymore. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-07x86inc: remove misaligned cpu flagHenrik Gramner
Prevents a crash if the misaligned exception mask bit is cleared for some reason. Misaligned SSE functions are only used on AMD Phenom CPUs and the benefit is miniscule. They also require modifying the MXCSR control register and by removing those functions we can get rid of that complexity altogether. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-07x86inc: various minor backports from x264Jason Garrett-Glaser
Small backports that sneaked into other asm commits in x264. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-07x86inc: Check for __OUTPUT_FORMAT__ having a value of "x64"Derek Buitenhuis
This is also a valid value for WIN64. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-07x86inc: Utilize the shadow space on 64-bit WindowsHenrik Gramner
Store XMM6 and XMM7 in the shadow space in functions that clobbers them. This way we don't have to adjust the stack pointer as often, reducing the number of instructions as well as code size. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-07x86inc: create xm# and ym#, analagous to m#Loren Merritt
For when we want to mix simd sizes within one function. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-07x86inc: fix some corner cases of SWAPLoren Merritt
SWAP with >=3 named (rather than numbered) args PERMUTE followed by SWAP with 2 named args used to produce the wrong permutation Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-07x86inc: Use SSE instead of SSE2 for copying dataHenrik Gramner
Reduces code size because movaps/movups is one byte shorter than movdqa/movdqu. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-07x86inc: Set ELF hidden visibility for global constantsHenrik Gramner
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-07x86inc: activate REP_RET automaticallyLoren Merritt
Now RET checks whether it immediately follows a branch, so the programmer dosen't have to keep track of that condition. REP_RET is still needed manually when it's a branch target, but that's much rarer. The implementation involves lots of spurious labels, but that's OK because we strip them. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-05doxy: Document avlogLuca Barbato
Provide some information for every function and add a group.
2013-10-04x86: cpu: Restore some explanatory comments removed in 7160bb7Diego Biurrun
2013-10-03Use correct Doxygen syntaxDiego Biurrun
2013-09-28avframe: note that linesize is not the usable data sizeAnton Khirnov
2013-09-24pixdesc: fix NV20* descriptorsMichael Niedermayer
They were inconsistent (overlapping fields and wrong sizes) Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-09-22avutil: Fix compilation with inline asm disabled on mingwAlex Smith
Because of -Werror=implicit-function-declaration the build will fail. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-21lavu: Add interleaved 4:2:2 8/10-bit formatsKieran Kunhya
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-09-20mem: Handle av_reallocp(..., 0) properlyMartin Storsjö
Previously this did a double free (and returned an error). Reported-by: Justin Ruggles Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-20msvc/icl: Use __declspec(noinline)Alex Smith
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-20msvc/icl: Use __declspec(deprecated)Alex Smith
Prior to this on msvc/icl there was no handling of deprecated functions and the deprecated warning was disabled. After enabling there are a number of warnings relating to the CRT and the use of the non-secure versions of several functions. Defining _CRT_SECURE_NO_WARNINGS silences these warnings. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-09-16mem: Introduce av_reallocpLuca Barbato
2013-09-14mem: Document the non-compatibility of av_realloc() and av_malloc()Diego Biurrun
2013-09-10Drop pointless directory name prefixes from #includes in the current dirDiego Biurrun
2013-09-05mem: Do not check unsigned values for negative sizeDiego Biurrun
2013-09-05mem: Improve documentation wording and spellingDiego Biurrun
2013-09-04mem: Document the av_realloc family of functions properlyLuca Barbato
realloc() does not accept pointers from memalign().
2013-08-29x86: Add and use more convenience macros to check CPU extension availabilityDiego Biurrun
2013-08-29arm: float_dsp: Propagate cpu_flags to vfp initialization functionDiego Biurrun
2013-08-29ppc: Add and use convenience macro to check for AltiVec availabilityDiego Biurrun
2013-08-29avutil: Refactor CPU extension availability macrosDiego Biurrun
2013-08-29avutil: Move internal CPU detection function declarations to private headerDiego Biurrun
2013-08-10libavutil: Make avpriv_open a library-internal function on msvcrtMartin Storsjö
Add one copy of the function into each of the libraries, similarly to what we do for log2_tab. When using static libs, only one copy of the file_open.o object file gets included, while when using shared libraries, each of them get a copy of its own. This fixes DLL builds with a statically linked C runtime, where each DLL effectively has got its own instance of the C runtime, where file descriptors can't be shared across runtimes. On systems not using msvcrt, the function is not duplicated. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-10libavutil: Move avpriv_open to a new file, file_open.cMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-10libavutil: Enable the MSVC DLL symbol loading workaround in shared builds as ↵Martin Storsjö
well This used to only be necessary in static builds (when using the dynamically linked C runtime), since the _imp prefixed symbols do exist when linking to the actual DLL. When building testprogs, however, the current library (e.g. libavutil for some of the testprogs) is linked statically. This fixes make fate on DLL builds when using the dynamically linked C runtime. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-08file: Move win32 utf8->wchar open wrapper to libavutilMartin Storsjö
When libavformat was changed to use the new avpriv_open function in 51eb213d001, this silently bypassed the existing wrapper for win32. Move the win32 wrapper into libavutil/file.c to make sure it gets called everywhere (not just in the libavformat case). This makes sure that non-ascii file names gets opened properly (where file names internally are stored as utf8, but they get converted to wchar_t and opened with _wsopen). Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-08libavutil: Don't use fcntl if the function does not existDerek Buitenhuis
Not all platforms have the function. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-07libavutil: use avpriv_open()Rémi Denis-Courmont
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-08-07libavutil: add avpriv_open() to open files with close-on-exec flagRémi Denis-Courmont
Signed-off-by: Anton Khirnov <anton@khirnov.net>