summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAgeFilesLines
* frame: cosmetics, reindentAnton Khirnov2013-12-091-15/+15
|
* frame: copy flags in av_frame_copy_props()Anton Khirnov2013-12-091-0/+1
| | | | Flags can be considered metadata (at least those that are defined now).
* mpeg12dec: Extract CC user data into frame side dataJohn Stebbins2013-11-262-1/+7
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Add missing #includes for *INT64_MAX and *INT64_CDiego Biurrun2013-11-233-0/+5
|
* Move av_fast_{m,re}alloc from lavc to lavu.Anton Khirnov2013-11-143-1/+55
|
* Deprecate obsolete XvMC hardware decoding supportDiego Biurrun2013-11-134-0/+10
| | | | | | | XvMC has long ago been superseded by newer acceleration APIs, such as VDPAU, and few downstreams still support it. Furthermore XvMC is not implemented within the hwaccel framework, but requires its own specific code in the MPEG-1/2 decoder, which is a maintenance burden.
* attributes: disable flatten on llvm/clangVittorio Giovara2013-11-031-1/+1
|
* h264: wait for initial complete frame before outputing framesJohn Stebbins2013-10-312-1/+11
| | | | | | | | This can be optionally disabled whith the "output_corrupt" flags option. When in "output_corrupt" mode, incomplete frames are signalled through AVFrame.flags FRAME_FLAG_INCOMPLETE_FRAME. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* AVOptions: do not range check flag options.Anton Khirnov2013-10-271-1/+2
| | | | | | | 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).
* avframe: mark source frame const in _ref and _cloneVittorio Giovara2013-10-272-4/+4
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mem: do not check for negative sizeVittorio Giovara2013-10-261-2/+2
| | | | | | size_t is guaranteed to be unsigned Signed-off-by: Anton Khirnov <anton@khirnov.net>
* libavutil: x86: Add AVX2 capable CPU detection.Kieran Kunhya2013-10-254-0/+15
| | | | | | Patch based on x264's AVX2 detection Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* base64-test: Remove posibility of returning restricted exit codesDerek Buitenhuis2013-10-251-1/+4
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* tree-test: Don't return restricted exit codesDerek Buitenhuis2013-10-241-2/+2
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avstring-test: Mark pointer passed to av_free() as non-constDiego Biurrun2013-10-231-1/+2
| | | | libavutil/avstring.c:278:9: warning: passing argument 1 of ‘av_free’ discards ‘const’ qualifier from pointer target type
* mem: Make av_strdup allocate using av_reallocMartin Storsjö2013-10-161-1/+1
| | | | | | | | | 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>
* x86: more AVX2 frameworkJason Garrett-Glaser2013-10-141-0/+11
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* x86inc: FMA3/4 SupportJason Garrett-Glaser2013-10-142-1/+45
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* x86inc: Remove our FMA4 supportDerek Buitenhuis2013-10-142-11/+16
| | | | | | | | 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>
* x86inc: Use VEX-encoded instructions in AVX functionsHenrik Gramner2013-10-141-84/+169
| | | | | | | | | | | | | 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>
* x86inc: Remove .rodata kludgesHenrik Gramner2013-10-091-11/+5
| | | | | | | 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>
* x86inc: remove misaligned cpu flagHenrik Gramner2013-10-071-5/+4
| | | | | | | | | | | | 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>
* x86inc: various minor backports from x264Jason Garrett-Glaser2013-10-071-4/+3
| | | | | | Small backports that sneaked into other asm commits in x264. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* x86inc: Check for __OUTPUT_FORMAT__ having a value of "x64"Derek Buitenhuis2013-10-071-0/+2
| | | | | | This is also a valid value for WIN64. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* x86inc: Utilize the shadow space on 64-bit WindowsHenrik Gramner2013-10-071-37/+46
| | | | | | | | | 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>
* x86inc: create xm# and ym#, analagous to m#Loren Merritt2013-10-071-1/+25
| | | | | | For when we want to mix simd sizes within one function. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* x86inc: fix some corner cases of SWAPLoren Merritt2013-10-071-27/+27
| | | | | | | | 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>
* x86inc: Use SSE instead of SSE2 for copying dataHenrik Gramner2013-10-071-2/+2
| | | | | | | Reduces code size because movaps/movups is one byte shorter than movdqa/movdqu. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* x86inc: Set ELF hidden visibility for global constantsHenrik Gramner2013-10-071-1/+5
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* x86inc: activate REP_RET automaticallyLoren Merritt2013-10-071-5/+31
| | | | | | | | | | | | 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>
* doxy: Document avlogLuca Barbato2013-10-052-10/+104
| | | | Provide some information for every function and add a group.
* x86: cpu: Restore some explanatory comments removed in 7160bb7Diego Biurrun2013-10-031-0/+2
|
* Use correct Doxygen syntaxDiego Biurrun2013-10-031-1/+1
|
* avframe: note that linesize is not the usable data sizeAnton Khirnov2013-09-281-0/+3
|
* pixdesc: fix NV20* descriptorsMichael Niedermayer2013-09-241-6/+6
| | | | | | They were inconsistent (overlapping fields and wrong sizes) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avutil: Fix compilation with inline asm disabled on mingwAlex Smith2013-09-221-0/+1
| | | | | | Because of -Werror=implicit-function-declaration the build will fail. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavu: Add interleaved 4:2:2 8/10-bit formatsKieran Kunhya2013-09-213-1/+41
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mem: Handle av_reallocp(..., 0) properlyMartin Storsjö2013-09-201-0/+4
| | | | | | | Previously this did a double free (and returned an error). Reported-by: Justin Ruggles Signed-off-by: Martin Storsjö <martin@martin.st>
* msvc/icl: Use __declspec(noinline)Alex Smith2013-09-201-0/+2
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* msvc/icl: Use __declspec(deprecated)Alex Smith2013-09-202-2/+12
| | | | | | | | | | | 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>
* mem: Introduce av_reallocpLuca Barbato2013-09-163-1/+36
|
* mem: Document the non-compatibility of av_realloc() and av_malloc()Diego Biurrun2013-09-141-6/+18
|
* Drop pointless directory name prefixes from #includes in the current dirDiego Biurrun2013-09-106-8/+8
|
* mem: Do not check unsigned values for negative sizeDiego Biurrun2013-09-051-3/+3
|
* mem: Improve documentation wording and spellingDiego Biurrun2013-09-052-18/+16
|
* mem: Document the av_realloc family of functions properlyLuca Barbato2013-09-041-3/+9
| | | | realloc() does not accept pointers from memalign().
* x86: Add and use more convenience macros to check CPU extension availabilityDiego Biurrun2013-08-291-0/+13
|
* arm: float_dsp: Propagate cpu_flags to vfp initialization functionDiego Biurrun2013-08-293-5/+3
|
* ppc: Add and use convenience macro to check for AltiVec availabilityDiego Biurrun2013-08-282-3/+30
|
* avutil: Refactor CPU extension availability macrosDiego Biurrun2013-08-283-34/+40
|