summaryrefslogtreecommitdiffstats
path: root/libavutil
Commit message (Collapse)AuthorAgeFilesLines
* x86inc: use sse versions of common macros instead of sse2 when applicableJustin Ruggles2011-11-061-0/+5
|
* Remove leftover includes of strings.hMartin Storsjö2011-11-061-1/+0
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avutil: Don't allow using strcasecmp/strncasecmpReimar Döffinger2011-11-061-0/+4
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace all usage of strcasecmp/strncasecmpReimar Döffinger2011-11-061-4/+3
| | | | | | | | | | | All current usages of it are incompatible with localization. For example strcasecmp("i", "I") != 0 is possible, but would break many of the places where it is used. Instead use our own implementations that always treat the data as ASCII. Signed-off-by: Martin Storsjö <martin@martin.st>
* avstring: Add locale independent implementations of strcasecmp/strncasecmpReimar Döffinger2011-11-063-1/+34
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avstring: Add locale independent implementations of toupper/tolowerLuca Barbato2011-11-062-1/+21
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Update x86inc.asm to latest x264 version, and add AVX symmetry.Loren Merritt2011-11-051-183/+340
| | | | | | | We keep INIT_AVX (for backwards compatibility). 3arg AVX ops with a memory arg can only have it in src2, whereas SSE emulation of 3arg prefers to have it in src1 (i.e. the mov). So, if the op is symmetric and the wrong one is memory, swap them.
* Replace some forgotten FFmpeg references by Libav.Diego Biurrun2011-11-022-8/+5
|
* fmtconvert: port int32_to_float_fmul_scalar() x86 inline asm to yasmJustin Ruggles2011-10-211-0/+12
|
* sws/pixfmt/pixdesc: add support for yuv420p9le/be.Ronald S. Bultje2011-10-212-0/+26
|
* AVOptions: add documentation.Anton Khirnov2011-10-191-0/+183
|
* avoptions: Fix av_opt_flag_is_setMartin Storsjö2011-10-171-1/+2
| | | | | | | | | | | With the changes in 3b3ea34655db02d9cd9ea1a4122e920a7fdec602, "Remove all uses of deprecated AVOptions API", av_opt_flag_is_set was broken, since it now uses av_opt_find, which doesn't return named constants unless a unit to look for the constant in is given. This broke enabling LATM encapsulated AAC output in RTP. Signed-off-by: Martin Storsjö <martin@martin.st>
* AVOptions: don't segfault on NULL parameter in av_set_options_string()Anton Khirnov2011-10-171-0/+3
|
* log.h: make AVClass a named structJindrich Makovicka2011-10-121-1/+1
| | | | | | | | 'struct AVClass' is used in the code since 641c7afe3c17334b81e3e2eef88f1751eb68f89f, but AVClass is typedeffed as an anonymous struct. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* AVOptions: bump minor and add APIchanges entry.Anton Khirnov2011-10-121-1/+1
|
* AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*Anton Khirnov2011-10-122-80/+91
|
* Remove all uses of deprecated AVOptions API.Anton Khirnov2011-10-121-16/+18
|
* AVOptions: add av_opt_next, deprecate av_next_option.Anton Khirnov2011-10-122-1/+19
| | | | Just for naming consistency, no functional changes.
* AVOptions: add functions for evaluating option strings.Anton Khirnov2011-10-122-0/+39
|
* AVOptions: split get_number().Anton Khirnov2011-10-121-16/+26
| | | | | Split actual writing to read_number() in the same way as write_number(). Allows set_string_number() to write to a caller-provided destination.
* AVOptions: add av_opt_get*, deprecate av_get*.Anton Khirnov2011-10-122-13/+127
| | | | | New functions can get values from child objects, properly report error codes and have consistent naming and signatures.
* AVOptions: add av_opt_set*().Anton Khirnov2011-10-122-19/+90
| | | | | | | Deprecate av_set_* New functions support setting values on children, return error codes instead of options and have consistent naming and signatures.
* AVOptions: add new API for enumerating children.Anton Khirnov2011-10-123-9/+96
| | | | | | | | | This will allow the caller to enumerate child contexts in a generic way and since the API is recursive, it also allows for deeper nesting (e.g. AVFormatContext->AVIOContext->URLContext) This will also allow the new setting/reading API to transparently apply to children contexts.
* intfloat_readwrite: fix signed addition overflowsMans Rullgard2011-10-111-2/+2
| | | | | | | | | | These additions might overflow the signed range for large input values. Converting to unsigned before the addition rather than after avoids such undefined behaviour. The result under normal two's complement wraparound remains unchanged. Signed-off-by: Mans Rullgard <mans@mansr.com>
* AVOptions: refactor set_number/write_numberAnton Khirnov2011-10-101-14/+11
| | | | | | write_number() does the actual writing of the supplied number to destination. Move finding the option and choosing destination address out of it.
* AVOptions: cosmetics, rename static av_set_number2() to write_number().Anton Khirnov2011-10-101-3/+3
|
* AVOptions: cosmetics, move and rename static av_set_number().Anton Khirnov2011-10-101-12/+12
|
* AVOptions: split av_set_string3 into opt type-specific functionsAnton Khirnov2011-10-102-81/+102
| | | | | | Also stop attempting to honor the alloc parameter, as things break horribly in that case. It will be removed in upcoming successor to av_set_string3.
* crc: fix signed overflowMans Rullgard2011-10-091-1/+1
| | | | | | | | This fixes a signed overflow from i << 24 when i == 255 by making i unsigned. The result of the shift is already assigned to an variable of unsigned type. Signed-off-by: Mans Rullgard <mans@mansr.com>
* x86: XOP/FMA4 CPU detection supportJason Garrett-Glaser2011-09-264-2/+15
|
* eval: test isnan(sqrt(-1)) instead of just sqrt(-1)Anton Khirnov2011-09-221-1/+1
| | | | sqrt(-1) returns "some NaN", it's not specified which exactly.
* des: add possibility to calculate DES-CBC-MAC with small bufferDavid Goldwich2011-09-212-3/+21
| | | | | | | | | | | This patch adds the possibility to calculate the DES-CBC-MAC of a source buffer (i.e. the last block of the buffer encrypted in CBC mode) without having to allocate a destination buffer that is as long as the complete source buffer, but instead only 8 bytes for the MAC. Signed-off-by: David Goldwich <david.goldwich@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* eval: implement not() expressionStefano Sabatini2011-09-192-2/+8
|
* eval: add sqrt function for computing the square rootStefano Sabatini2011-09-192-1/+7
|
* audioconvert: add explanatory comments to channel_names arrayStefano Sabatini2011-09-111-5/+20
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* audioconvert: K&R whitespace cosmeticsStefano Sabatini2011-09-111-4/+5
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* AVOptions: remove AVOption.offset <= 0 checksAnton Khirnov2011-09-071-4/+4
| | | | | They will only ever be <=0 if the option is broken, in which case this check is hiding a bug.
* AVOptions: deprecate av_opt_set_defaults2Anton Khirnov2011-09-073-6/+17
| | | | | | It's a hack which was created to allow for multiple options with different defaults to refer to same field (e.g. 'b' vs 'ab'). There is no need for it anymore.
* AVOptions: move doxy for av_opt_set_defaults() from opt.c to opt.hAnton Khirnov2011-09-072-6/+5
| | | | Also change it to be more readable.
* AVOptions: fix av_set_string3() doxy to match reality.Anton Khirnov2011-09-031-1/+1
| | | | Fixes bug 28.
* AVOptions: add AV_OPT_SEARCH_FAKE_OBJ flag for av_opt_find().Anton Khirnov2011-09-032-1/+10
| | | | | It allows to search for options only with AVClass, without allocating the corresponding context.
* cpu detection: avoid a signed overflowSean McGovern2011-09-031-1/+1
| | | | | | 1<<31 overflows because 1 is signed, so force it to unsigned. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* AVOptions: drop av_ prefix from static av_get_number().Anton Khirnov2011-09-011-4/+4
|
* doxygen: drop another pointless star from pointer variable nameDiego Biurrun2011-08-271-1/+1
|
* fifo: add FIFO API test program, and fate testStefano Sabatini2011-08-262-1/+37
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* fifo: add av_fifo_peek2(), and deprecate av_fifo_peek()Stefano Sabatini2011-08-262-4/+32
| | | | | | | The new function provides a more generic interface than av_fifo_peek() for peeking at a FIFO buffer data. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* doxygen: drop pointless star from pointer variable namesDiego Biurrun2011-08-261-12/+12
|
* Move clipd macros to x86util.asm.Ronald S. Bultje2011-08-171-0/+33
| | | | This allows sharing them between multiple .asm files.
* Move x86util.asm from libavcodec/ to libavutil/.Ronald S. Bultje2011-08-121-0/+542
| | | | This allows using it in swscale also.
* Move x86inc.asm to libavutil/.Ronald S. Bultje2011-08-121-0/+905
| | | | This allows using it in libswscale/ also.
OpenPOWER on IntegriCloud