Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | AVOptions: add new API for enumerating children. | Anton Khirnov | 2011-10-12 | 3 | -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 overflows | Mans Rullgard | 2011-10-11 | 1 | -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_number | Anton Khirnov | 2011-10-10 | 1 | -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 Khirnov | 2011-10-10 | 1 | -3/+3 | |
| | ||||||
* | AVOptions: cosmetics, move and rename static av_set_number(). | Anton Khirnov | 2011-10-10 | 1 | -12/+12 | |
| | ||||||
* | AVOptions: split av_set_string3 into opt type-specific functions | Anton Khirnov | 2011-10-10 | 2 | -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 overflow | Mans Rullgard | 2011-10-09 | 1 | -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 support | Jason Garrett-Glaser | 2011-09-26 | 4 | -2/+15 | |
| | ||||||
* | eval: test isnan(sqrt(-1)) instead of just sqrt(-1) | Anton Khirnov | 2011-09-22 | 1 | -1/+1 | |
| | | | | sqrt(-1) returns "some NaN", it's not specified which exactly. | |||||
* | des: add possibility to calculate DES-CBC-MAC with small buffer | David Goldwich | 2011-09-21 | 2 | -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() expression | Stefano Sabatini | 2011-09-19 | 2 | -2/+8 | |
| | ||||||
* | eval: add sqrt function for computing the square root | Stefano Sabatini | 2011-09-19 | 2 | -1/+7 | |
| | ||||||
* | audioconvert: add explanatory comments to channel_names array | Stefano Sabatini | 2011-09-11 | 1 | -5/+20 | |
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> | |||||
* | audioconvert: K&R whitespace cosmetics | Stefano Sabatini | 2011-09-11 | 1 | -4/+5 | |
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> | |||||
* | AVOptions: remove AVOption.offset <= 0 checks | Anton Khirnov | 2011-09-07 | 1 | -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_defaults2 | Anton Khirnov | 2011-09-07 | 3 | -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.h | Anton Khirnov | 2011-09-07 | 2 | -6/+5 | |
| | | | | Also change it to be more readable. | |||||
* | AVOptions: fix av_set_string3() doxy to match reality. | Anton Khirnov | 2011-09-03 | 1 | -1/+1 | |
| | | | | Fixes bug 28. | |||||
* | AVOptions: add AV_OPT_SEARCH_FAKE_OBJ flag for av_opt_find(). | Anton Khirnov | 2011-09-03 | 2 | -1/+10 | |
| | | | | | It allows to search for options only with AVClass, without allocating the corresponding context. | |||||
* | cpu detection: avoid a signed overflow | Sean McGovern | 2011-09-03 | 1 | -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 Khirnov | 2011-09-01 | 1 | -4/+4 | |
| | ||||||
* | doxygen: drop another pointless star from pointer variable name | Diego Biurrun | 2011-08-27 | 1 | -1/+1 | |
| | ||||||
* | fifo: add FIFO API test program, and fate test | Stefano Sabatini | 2011-08-26 | 2 | -1/+37 | |
| | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net> | |||||
* | fifo: add av_fifo_peek2(), and deprecate av_fifo_peek() | Stefano Sabatini | 2011-08-26 | 2 | -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 names | Diego Biurrun | 2011-08-26 | 1 | -12/+12 | |
| | ||||||
* | Move clipd macros to x86util.asm. | Ronald S. Bultje | 2011-08-17 | 1 | -0/+33 | |
| | | | | This allows sharing them between multiple .asm files. | |||||
* | Move x86util.asm from libavcodec/ to libavutil/. | Ronald S. Bultje | 2011-08-12 | 1 | -0/+542 | |
| | | | | This allows using it in swscale also. | |||||
* | Move x86inc.asm to libavutil/. | Ronald S. Bultje | 2011-08-12 | 1 | -0/+905 | |
| | | | | This allows using it in libswscale/ also. | |||||
* | random_seed: use proper #includes | Mans Rullgard | 2011-07-17 | 1 | -2/+2 | |
| | | | | | | 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_shuffle | Mans Rullgard | 2011-07-16 | 1 | -1/+1 | |
| | | | | | | 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 prototype | Diego Biurrun | 2011-07-15 | 1 | -2/+2 | |
| | ||||||
* | doxygen: do not include license boilerplate in Doxygen documentation | Diego Biurrun | 2011-07-15 | 1 | -4/+6 | |
| | ||||||
* | doxygen: Make sure parameter names match between .c and .h files. | Diego Biurrun | 2011-07-14 | 2 | -9/+9 | |
| | ||||||
* | pix_fmt: Fix number of bits per component in yuv444p9be | Oskar Arvidsson | 2011-07-12 | 1 | -3/+3 | |
| | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> | |||||
* | lls: use av_lfg instead of rand() in test program | Mans Rullgard | 2011-07-11 | 1 | -5/+8 | |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | |||||
* | AVOptions: in av_opt_find() don't return named constants unless unit is ↵ | Anton Khirnov | 2011-07-08 | 1 | -2/+3 | |
| | | | | | | | | | 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 Khirnov | 2011-07-08 | 1 | -3/+36 | |
| | ||||||
* | lls: whitespace cosmetics | Mans Rullgard | 2011-07-08 | 1 | -59/+74 | |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | |||||
* | avutil: Add missing test programs to Makefile. | Diego Biurrun | 2011-07-08 | 1 | -1/+2 | |
| | ||||||
* | eval: add missing comma to tests. | Ronald S. Bultje | 2011-07-05 | 1 | -1/+1 | |
| | ||||||
* | eval: fix memleak. | Ronald S. Bultje | 2011-07-05 | 1 | -0/+1 | |
| | ||||||
* | eval: clear Parser instances before using | Mans Rullgard | 2011-07-04 | 1 | -2/+2 | |
| | | | | | | | This prevents random values from the stack being used as "variables" in expressions. Signed-off-by: Mans Rullgard <mans@mansr.com> | |||||
* | sha: use AV_RB32() instead of assuming buffer can be cast to uint32_t* | Kostya Shishkov | 2011-07-04 | 1 | -2/+2 | |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | |||||
* | des: allow unaligned input and output buffers | Mans Rullgard | 2011-07-04 | 1 | -4/+4 | |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | |||||
* | aes: allow unaligned input and output buffers | Mans Rullgard | 2011-07-04 | 1 | -15/+26 | |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | |||||
* | eval: make timing optional in test program | Mans Rullgard | 2011-07-04 | 1 | -4/+9 | |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | |||||
* | Do not include log.h in avutil.h | Mans Rullgard | 2011-07-03 | 6 | -1/+5 | |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | |||||
* | Do not include pixfmt.h in avutil.h | Mans Rullgard | 2011-07-03 | 1 | -1/+0 | |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | |||||
* | Do not include rational.h in avutil.h | Mans Rullgard | 2011-07-03 | 1 | -1/+0 | |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | |||||
* | Do not include mathematics.h in avutil.h | Mans Rullgard | 2011-07-03 | 1 | -1/+0 | |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> |