summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* fifo: K&R formatting cosmeticsLuca Barbato2013-07-06
|
* log: pass the correct parameters to missing_feature_sampleLuca Barbato2013-07-04
| | | | CC:libav-stable@libav.org
* lls/x86: use 3-operator vaddpd in ADDPD_MEMLoren Merritt2013-07-02
| | | | | | Fixes build with yasm-1.1 Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86: lpc: fix a segfault in av_evaluate_lls_sse2()Loren Merritt2013-06-30
|
* x86: lpc: simd av_evaluate_llsLoren Merritt2013-06-29
| | | | | | 1.5x-1.8x faster on sandybridge Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* x86: lpc: simd av_update_llsLoren Merritt2013-06-29
| | | | | | 4x-6x faster on sandybridge Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lpc: use function pointers, in preparation for asmLoren Merritt2013-06-29
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lpc: remove "decay" argumentLoren Merritt2013-06-29
| | | | | | We never used the rolling-average mode, and this makes av_update_lls 15% faster. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mem: Add av_realloc_array and av_reallocp_arrayMartin Storsjö2013-06-04
| | | | | | These help avoiding overflows and simplify error handling. Signed-off-by: Martin Storsjö <martin@martin.st>
* cpu: Restructure code to avoid pointless ret variable indirectionDiego Biurrun2013-06-02
| | | | libavutil/cpu.c:133:9: warning: unused variable ‘ret’ [-Wunused-variable]
* arm: Only output eabi attributes if building for ELFMartin Storsjö2013-05-27
| | | | | | | | This matches the other eabi attribute in the same file. This is required in order to build for arm/hardfloat with other object file formats than ELF. Signed-off-by: Martin Storsjö <martin@martin.st>
* cpu: Include common.h for av_popcount64Martin Storsjö2013-05-24
| | | | | | This fixes build failures on windows since 2a6eaeaa8. Signed-off-by: Martin Storsjö <martin@martin.st>
* Move get_logical_cpus() from lavc/pthread to lavu/cpu.Anton Khirnov2013-05-24
| | | | | It will be useful in lavfi, and could conceivably be useful to the user applications as well.
* pixdesc: mark gray8 as pseudopalAnton Khirnov2013-05-22
| | | | | | | Many functions treat it as such already. Fixes Bug 499. CC:libav-stable@libav.org
* doxy: add a section about versioning.Anton Khirnov2013-05-17
|
* lavfi doxy: add a page for lavfi.Anton Khirnov2013-05-17
|
* Remove commented-out #includesDiego Biurrun2013-05-15
|
* pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*Anton Khirnov2013-05-15
|
* Clarify output of av_get_bits_per_pixelKieran Kunhya2013-05-15
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* msvc: Move linker pragma from config.h to libavutil/internal.hMartin Storsjö2013-05-08
| | | | | | | This makes linking succeed for tools that include config.h but don't link to libavutil. Signed-off-by: Martin Storsjö <martin@martin.st>
* pixdesc: add function to return pixel format with swapped endiannesJanne Grunau2013-05-06
|
* avutil: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-04
|
* x86: float dsp: butterflies_float SSEChristophe Gisquet2013-05-03
| | | | | 97c -> 49c Some codecs could benefit from more unrolling, but AAC doesn't.
* avutil: doxy: Small clarification for av_buffer_create()Derek Buitenhuis2013-04-30
| | | | | | Explicitly saying it can't hurt. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* ppc: util_altivec: Surround AltiVec-related code by appropriate ifdefsDiego Biurrun2013-04-30
| | | | This prevents non-AltiVec-enabled compilers from choking.
* Cosmetics, restore alphabetic order in atomics lists.Anton Khirnov2013-04-11
|
* dsputil: Make dsputil selectableRonald S. Bultje2013-04-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* x86inc: Fix number of operands for cmp* instructionsChristophe Gisquet2013-04-09
| | | | | | cmp{p,s}{s,d} instructions do take an imm8 operand. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* pixdesc/pixfmt: Add XYZ colorspace for XYZ 12-bit valuesNicolas Bertrand2013-04-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* opt: check the return values of av_get_token for ENOMEM.Anton Khirnov2013-04-04
|
* configure: prettify atomics handling.Anton Khirnov2013-04-03
| | | | | Add simpler names and a shorthand for native atomics (as opposed to pthreads fallback).
* AVOptions: make av_set_options_string() forward options to child objectsAnton Khirnov2013-03-28
|
* cosmetics: Remove unnecessary extern keywords from function declarationsDiego Biurrun2013-03-27
|
* avutil/frame: add all remaining frame properties to av_frame_copy_propsHendrik Leppkes2013-03-22
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* pixdesc: add a function for counting planes in a pixel format.Anton Khirnov2013-03-19
|
* AVOptions: fix using named constants with child contexts.Anton Khirnov2013-03-16
| | | | | The named constant needs to be searched for in the same object on which the option is set, i.e. target_obj.
* AVOption: remove an unused function parameter.Anton Khirnov2013-03-16
|
* lzo: fix overflow checking in copy_backptr()Xi Wang2013-03-15
| | | | | | | | | | | | | The check `src > dst' in the form `&c->out[-back] > c->out' invokes pointer overflow, which is undefined behavior in C. Remove the check. Also replace `&c->out[-back] < c->out_start' with a safe form `c->out - c->out_start < back' to avoid overflow. CC: libav-stable@libav.org Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Add av_log_{ask_for_sample|missing_feature} replacements to libavutilDiego Biurrun2013-03-13
| | | | | This allows reporting missing features and requesting samples from all libraries in a standard way; with a simplified API.
* atomic: prefer gcc builtins over win32 atomics, if available.Hendrik Leppkes2013-03-11
| | | | | | | The mingw win32 atomics appear to be faulty, so they should not be used if the gcc ones are available. Signed-off-by: Martin Storsjö <martin@martin.st>
* avframe: copy reordered_opaque in copy_propsJanne Grunau2013-03-11
| | | | Fixes video playback in applications still using reordered_opaque.
* atomic: fix CAS with armcc.Anton Khirnov2013-03-09
| | | | | | On the current code, armcc will fail with: "libavutil/atomic_gcc.h", line 52: Error: #2771: first argument must be a pointer to integer or enumeration type
* atomic: Exclude the unsupported implementation headers from checkheadersMartin Storsjö2013-03-08
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* atomic: Check for __sync_val_compare_and_swap instead of __sync_synchronizeMartin Storsjö2013-03-08
| | | | | | | | | | | | Not all gcc configurations have an implementation of all the atomic operations, and some gcc configurations have some atomic builtins implemented but not all. Thus check for the most essential function, whose presence should indicate that all others are present as well, since it can be used to implement all the other ones. Signed-off-by: Martin Storsjö <martin@martin.st>
* atomic: Add include guards to the implementation headersMartin Storsjö2013-03-08
| | | | | | | | This makes them pass standalone compilation tests. Previously, they included atomic.h which included themselves again, leading to double definitions. Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace remaining includes of audioconvert.h with channel_layout.hAnton Khirnov2013-03-08
|
* AVFrame: deprecate all now unused fieldsAnton Khirnov2013-03-08
|
* AVFrame: add side data.Anton Khirnov2013-03-08
|
* Move AVFrame from lavc to lavu.Anton Khirnov2013-03-08
| | | | Add AVBuffer-based reference counting API to it.
* lavc: move AVFrame.hwaccel_picture_private to Picture.Anton Khirnov2013-03-08
| | | | | This field is private and should not be present in a public struct. It is only used in DXVA with mpegvideo-based decoders currently.