summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
...
* 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.
* AVBuffer: add a new API for buffer poolsAnton Khirnov2013-03-08
|
* lavu: add a new API for reference-counted data buffers.Anton Khirnov2013-03-08
|
* lavu: add support for atomic operations.Ronald S. Bultje2013-03-08
| | | | | | | | | | These could be used for reference counting, or for keeping track of decoding progress in references in multithreaded decoders. Support is provided by gcc/msvc/suncc intrinsics, with a fallback using pthread mutexes. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avstring: Fix isxdigit to not accept non-hex charactersMartin Storsjö2013-03-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Use the avstring.h locale-independent character type functionsReimar Döffinger2013-03-07
| | | | | | Make sure the behavior does not change with the locale. Signed-off-by: Martin Storsjö <martin@martin.st>
* avstring: Add locale independent versions of some ctype.h functionsReimar Döffinger2013-03-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lls: Do not return from void functionsDiego Biurrun2013-03-01
|
* lls: #ifndef --> #if in FF_API_ version guardDiego Biurrun2013-03-01
|
* lls: mark max_order as unsigned shortLuca Barbato2013-02-28
| | | | | | The value is within 0 and 32. Remove an `array subscript is below array bounds` warning.
* lls: move to the private namespaceLuca Barbato2013-02-28
| | | | The functions are private.
* lls: K&R formatting cosmeticsLuca Barbato2013-02-28
|
* av_memcpy_backptr: avoid an infinite loop for back = 0Anton Khirnov2013-02-23
| | | | CC:libav-stable@libav.org
* intreadwrite: tomi: Add missing attributes.h #include for av_always_inlineDiego Biurrun2013-02-20
|
* x86: Use simple nop codes for <= sse (rather than <= mmx)Ronald S. Bultje2013-02-19
| | | | | | | | The "CentaurHauls family 6 model 9 stepping 8" family of CPUs (flags: fpu vme de pse tsc msr cx8 sep mtrr pge mov pat mmx fxsr sse up rng rng_en ace ace_en) SIGILLs on long nop codes. Signed-off-by: Martin Storsjö <martin@martin.st>
* avutil: Ensure that emms_c is always defined, even on non-x86Diego Biurrun2013-02-14
|
* avutil: Move emms code to x86-specific headerDiego Biurrun2013-02-14
|
* lavu: avoid clashing definition of ELuca Barbato2013-02-12
| | | | | E is usually defined as a shorthand for AV_OPT_FLAG_ENCODING_PARAM. Rename the single expansion E(x) now used in libavutil to E1.
* crc: Move static data table from header to .c fileDiego Biurrun2013-02-11
| | | | Having static data tables in header files is a potential source of trouble.