summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* AVOptions: add documentation.Anton Khirnov2011-10-19
|
* avoptions: Fix av_opt_flag_is_setMartin Storsjö2011-10-17
| | | | | | | | | | | 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-17
|
* log.h: make AVClass a named structJindrich Makovicka2011-10-12
| | | | | | | | '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-12
|
* AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*Anton Khirnov2011-10-12
|
* Remove all uses of deprecated AVOptions API.Anton Khirnov2011-10-12
|
* AVOptions: add av_opt_next, deprecate av_next_option.Anton Khirnov2011-10-12
| | | | Just for naming consistency, no functional changes.
* AVOptions: add functions for evaluating option strings.Anton Khirnov2011-10-12
|
* AVOptions: split get_number().Anton Khirnov2011-10-12
| | | | | 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-12
| | | | | 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-12
| | | | | | | 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-12
| | | | | | | | | 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-11
| | | | | | | | | | 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-10
| | | | | | 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-10
|
* AVOptions: cosmetics, move and rename static av_set_number().Anton Khirnov2011-10-10
|
* AVOptions: split av_set_string3 into opt type-specific functionsAnton Khirnov2011-10-10
| | | | | | 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-09
| | | | | | | | 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-26
|
* eval: test isnan(sqrt(-1)) instead of just sqrt(-1)Anton Khirnov2011-09-22
| | | | sqrt(-1) returns "some NaN", it's not specified which exactly.
* des: add possibility to calculate DES-CBC-MAC with small bufferDavid Goldwich2011-09-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-19
|
* eval: add sqrt function for computing the square rootStefano Sabatini2011-09-19
|
* audioconvert: add explanatory comments to channel_names arrayStefano Sabatini2011-09-11
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* audioconvert: K&R whitespace cosmeticsStefano Sabatini2011-09-11
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* AVOptions: remove AVOption.offset <= 0 checksAnton Khirnov2011-09-07
| | | | | 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-07
| | | | | | 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-07
| | | | Also change it to be more readable.
* AVOptions: fix av_set_string3() doxy to match reality.Anton Khirnov2011-09-03
| | | | Fixes bug 28.
* AVOptions: add AV_OPT_SEARCH_FAKE_OBJ flag for av_opt_find().Anton Khirnov2011-09-03
| | | | | It allows to search for options only with AVClass, without allocating the corresponding context.
* cpu detection: avoid a signed overflowSean McGovern2011-09-03
| | | | | | 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-01
|
* doxygen: drop another pointless star from pointer variable nameDiego Biurrun2011-08-27
|
* fifo: add FIFO API test program, and fate testStefano Sabatini2011-08-26
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* fifo: add av_fifo_peek2(), and deprecate av_fifo_peek()Stefano Sabatini2011-08-26
| | | | | | | 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-26
|
* Move clipd macros to x86util.asm.Ronald S. Bultje2011-08-17
| | | | This allows sharing them between multiple .asm files.
* Move x86util.asm from libavcodec/ to libavutil/.Ronald S. Bultje2011-08-12
| | | | This allows using it in swscale also.
* Move x86inc.asm to libavutil/.Ronald S. Bultje2011-08-12
| | | | This allows using it in libswscale/ also.
* random_seed: use proper #includesMans Rullgard2011-07-17
| | | | | | Use <> for system headers, add needed math.h, drop unnecessary avutil.h. Signed-off-by: Mans Rullgard <mans@mansr.com>
* des: fix #if conditional around P_shuffleMans Rullgard2011-07-16
| | | | | | CONFIG_SMALL is always defined as 0 or 1. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mem.h: switch doxygen parameter order to match function prototypeDiego Biurrun2011-07-15
|
* doxygen: do not include license boilerplate in Doxygen documentationDiego Biurrun2011-07-15
|
* doxygen: Make sure parameter names match between .c and .h files.Diego Biurrun2011-07-14
|
* pix_fmt: Fix number of bits per component in yuv444p9beOskar Arvidsson2011-07-12
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lls: use av_lfg instead of rand() in test programMans Rullgard2011-07-11
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* AVOptions: in av_opt_find() don't return named constants unless unit is ↵Anton Khirnov2011-07-08
| | | | | | | | | specified. That is, unless the caller explicitly asks for them. Prevents conflict between e.g. the 'loop' option in img2 demuxer and 'loop' flag in AVCodecContext.
* dict: extend documentation.Anton Khirnov2011-07-08
|
* lls: whitespace cosmeticsMans Rullgard2011-07-08
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>