summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* xtea-test: Use struct allocation functions from the APIDiego Biurrun2016-05-19
|
* blowfish-test: Use struct allocation functions from the APIDiego Biurrun2016-05-19
|
* blowfish-test: Return different values for different errorsDiego Biurrun2016-05-19
|
* stereo3d: Add API to get name from value or value from nameVittorio Giovara2016-05-17
| | | | Use it in av_dump_format() instead of a huge switch case.
* hwcontext: add a dxva2 implementationAnton Khirnov2016-05-17
|
* x86inc: Enable AVX emulation in additional casesAnton Mitrofanov2016-05-16
| | | | | | | Allows emulation to work when dst is equal to src2 as long as the instruction is commutative, e.g. `addps m0, m1, m0`. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: Improve handling of %ifid with multi-token parametersAnton Mitrofanov2016-05-16
| | | | | | | | The yasm/nasm preprocessor only checks the first token, which means that parameters such as `dword [rax]` are treated as identifiers, which is generally not what we want. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: Fix AVX emulation of some instructionsAnton Mitrofanov2016-05-16
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: Fix AVX emulation of scalar float instructionsHenrik Gramner2016-05-16
| | | | | | | Those instructions are not commutative since they only change the first element in the vector and leave the rest unmodified. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* tests: Move all test programs to a subdirectoryDiego Biurrun2016-05-13
|
* Split global .gitignore file into per-directory filesDiego Biurrun2016-05-13
|
* colorspace: Add support for BT709Jan Ekström2016-05-10
| | | | | | BT.709 coefficients were gathered from the first two parts of BT.709 to BT.2020 conversion guide in ARIB STD-B62 (Pt. 1, Chapter 6.2.2). They were additionally confirmed by manually calculating values.
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* testprogs: Mark some tables as static constDiego Biurrun2016-04-29
|
* pixfmt: fix wrong commentThomas Guillem2016-04-19
| | | | | | | | The h264/hevc Annex E colour primaries table says that AVCOL_SPC_SMPTE170M is similar than AVCOL_SPC_SMPTE240M. These two values are not similar than AVCOL_SPC_BT470BG. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hwcontext: initialize sw_format in av_hwframe_ctx_alloc()Anton Khirnov2016-04-15
|
* testprogs: Add missing libm.h includesMartin Storsjö2016-04-11
| | | | | | This fixes building on MSVC 2010 and 2012 after d12b5b2f135. Signed-off-by: Martin Storsjö <martin@martin.st>
* build: Split test programs off into separate filesDiego Biurrun2016-04-07
| | | | | This avoids spurious library rebuilds when only the test program code is changed and simplifies the build system.
* build: miscellaneous cosmeticsDiego Biurrun2016-04-07
| | | | | | Restore alphabetical order in lists, break overly long lines, do some prettyprinting, add some explanatory section comments, group parts together that belong together logically.
* testprogs: K&R formatting cosmeticsDiego Biurrun2016-03-24
|
* testprogs: Clean up #includesDiego Biurrun2016-03-24
|
* opt: Add av_opt_copy()Michael Niedermayer2016-03-24
| | | | | | | This includes documentation and other modifications by Lukasz Marek and Martin Storsjö. Signed-off-by: Martin Storsjö <martin@martin.st>
* opt: Add const to av_opt_nextLukasz Marek2016-03-24
| | | | | | | Also add const to pointers in static functions within opt.c where possible/necessary. Signed-off-by: Martin Storsjö <martin@martin.st>
* opt-test: Merge struct declaration and initializationDiego Biurrun2016-03-23
|
* opt-test: Move some variable declarations to avoid block bracesDiego Biurrun2016-03-23
|
* parseutils-test: Move some variable declarations to avoid block bracesDiego Biurrun2016-03-23
|
* des-test: Move a variable declaration to avoid an ifdefDiego Biurrun2016-03-23
|
* lavu: VAAPI hwcontext implementationMark Thompson2016-03-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavu: deprecate AV_PIX_FMT_VAAPI_*, replace with AV_PIX_FMT_VAAPIMark Thompson2016-03-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavu: add a way to query hwcontext frame constraintsMark Thompson2016-03-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* buffer: drop a reference to a non-existing function from the docsAnton Khirnov2016-03-07
| | | | This function only ever existed in the draft versions of the API.
* pixfmt: fix the AV_PIX_FMT_VAAPI_VLD doxyAnton Khirnov2016-03-07
|
* lavu: improve documentation of some AVFrame functionswm42016-03-05
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cosmetics: Drop empty comment linesDiego Biurrun2016-02-18
|
* hwcontext_cuda/vdpau: add to skipheadersAnton Khirnov2016-02-18
|
* hwcontext: add a CUDA implementationAnton Khirnov2016-02-14
|
* pixfmt: add a CUDA hwaccelled formatAnton Khirnov2016-02-14
|
* hwcontext: add a VDPAU implementationAnton Khirnov2016-02-14
|
* lavu: add a framework for handling hwaccel framesAnton Khirnov2016-02-14
|
* buffer: add support for pools using caller data in allocationAnton Khirnov2016-02-14
| | | | | This should allow using more complex allocators than simple malloc wrappers.
* x86: Add ymm_reg structJames Almer2016-01-28
| | | | | | | Needed to declare 32-byte long constants Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* pixdesc: Use AV_CEIL_RSHIFT in documentationVittorio Giovara2016-01-25
|
* pixdesc: Drop unneeded deprecation warning guardsVittorio Giovara2016-01-25
|
* x86inc: Add debug symbols indicating sizes of compiled functionsGeza Lore2016-01-23
| | | | | | | | | | | Some debuggers/profilers use this metadata to determine which function a given instruction is in; without it they get can confused by local labels (if you haven't stripped those). On the other hand, some tools are still confused even with this metadata. e.g. this fixes `gdb`, but not `perf`. Currently only implemented for ELF. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: Avoid creating unnecessary local labelsHenrik Gramner2016-01-23
| | | | | | | | | | | | The REP_RET workaround is only needed on old AMD cpus, and the labels clutter up the symbol table and confuse debugging/profiling tools, so use EQU to create SHN_ABS symbols instead of creating local labels. Furthermore, skip the workaround completely in functions that definitely won't run on such cpus. Note that EQU is just creating a local label when using nasm instead of yasm. This is probably a bug, but at least it doesn't break anything. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: Simplify AUTO_REP_RETHenrik Gramner2016-01-23
| | | | | | | | cpuflags is never undefined any more, it's set to 0 instead. Also fix an incorrect comment. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: Use more consistent indentationHenrik Gramner2016-01-23
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: Preserve arguments when allocating stack spaceHenrik Gramner2016-01-23
| | | | | | | | When allocating stack space with a larger alignment than the known stack alignment a temporary register is used for storing the stack pointer. Ensure that this isn't one of the registers used for passing arguments. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: Improve FMA instruction handlingHenrik Gramner2016-01-23
| | | | | | | | | | | | | | * Correctly handle FMA instructions with memory operands. * Print a warning if FMA instructions are used without the correct cpuflag. * Simplify the instantiation code. * Clarify documentation. Only the last operand in FMA3 instructions can be a memory operand. When converting FMA4 instructions to FMA3 instructions we can utilize the fact that multiply is a commutative operation and reorder operands if necessary to ensure that a memory operand is used only as the last operand. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: Be more verbose in assertion failuresHenrik Gramner2016-01-23
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>