summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* aes: fix invalid array indexing in init codeMans Rullgard2011-07-03
| | | | | | This makes the code work with clang/x86_32 and removes several warnings. Signed-off-by: Mans Rullgard <mans@mansr.com>
* aes: use direct assignments instead of memcpy() or loopsMans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* doxygen: Prefer member groups over grouping into modulesReinhard Tartler2011-07-02
| | | | | | | | | Before this, almost all module groups have been used for grouping functions and fields in structures semantically. This causes them to not appear properly in the file documentation and needlessly clutters up the "Modules" index. Additionally, this commit streamlines some spelling and appearances.
* doxygen: fix usage of @file directive in libavutil/{dict,file}.hReinhard Tartler2011-07-01
|
* avutil: elaborate documentation for av_get_random_seedReinhard Tartler2011-06-30
|
* aes: whitespace cosmeticsMans Rullgard2011-06-30
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* adler32: whitespace cosmeticsMans Rullgard2011-06-30
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Fix cpu flags test programMans Rullgard2011-06-30
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* opt-test: Add missing braces to silence compiler warnings.Diego Biurrun2011-06-30
| | | | libavutil/opt.c:604:1: warning: missing braces around initializer [-Wmissing-braces]
* aes: improve test program and add fate testMans Rullgard2011-06-30
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* adler32: make test program more useful and add fate testMans Rullgard2011-06-30
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* rational-test: Add proper main() declaration to fix gcc warnings.Diego Biurrun2011-06-30
|
* Remove unused, never built libavutil/pca.[ch]Mans Rullgard2011-06-29
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* pixfmt: fix YUV422/444 wrong endian commentCan Wu2011-06-29
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* build: include sub-makefiles using full path instead of symlinksMans Rullgard2011-06-28
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avutil: Remove unused arbitrary precision integer code.Diego Biurrun2011-06-28
|
* build: Remove redundant config.mak includes from subdirectory Makefiles.Diego Biurrun2011-06-25
| | | | | Calling Make from subdirectories is not supported and config.mak has multiple inclusion guards anyway, so the top-level include is enough.
* doxygen: Consistently use '@' instead of '\' for Doxygen markup.Diego Biurrun2011-06-24
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Use av_printf_format to check the usage of printf style functionsMartin Storsjö2011-06-23
| | | | | | | | This helps catching cases where the format string doesn't match what is passed in, or injection bugs where user data is passed in as format string. Signed-off-by: Martin Storsjö <martin@martin.st>
* Add av_printf_format, for marking printf style format strings and their ↵Martin Storsjö2011-06-23
| | | | | | parameters Signed-off-by: Martin Storsjö <martin@martin.st>
* ARM: allow building in Thumb2 modeMans Rullgard2011-06-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* intreadwrite.h: fix AV_RL32/AV_RB32 signedness.Uoti Urpala2011-06-16
| | | | | | | | | The output type of the AV_RL32/AV_RB32 macros was signed int. The resulting overflow broke at least some ASF streams with large timestamps. Fix by adding a cast to uint32_t. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Add minor bumps and APIChanges entries for lavf private options.Anton Khirnov2011-06-16
|
* dict: add AV_DICT_APPEND flag.Anton Khirnov2011-06-16
|
* AVOptions: add av_opt_find() as a replacement for av_find_opt.Anton Khirnov2011-06-16
|
* AVOptions: add av_opt_set_dict() mapping a dictionary struct to a context.Anton Khirnov2011-06-16
| | | | This way the caller can pass all the options in one nice package.
* libavutil/swscale: YUV444P10/YUV444P9 support.Ronald S. Bultje2011-06-10
| | | | | | | Also add missing glue code for recently added YUV422P10 formats to swscale. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avoptions: Add an av_opt_flag_is_set function for inspecting flag fieldsMartin Storsjö2011-06-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Move metadata API from lavf to lavu.Anton Khirnov2011-06-08
| | | | | | Rename it to AVDictionary, since it will be used as such. Tags documentation and metadata conversion API is lavf-specific, so remains there.
* samplefmt: add av_get_bytes_per_sample()Stefano Sabatini2011-06-07
| | | | | | | | | Deprecate av_get_bits_per_sample_fmt(), which was a misnamed function. For the moment we don't have sample formats with a non-integer number of bytes, in that case we may need to create a new av_get_bits_per_sample() function. In the meanwhile we prefer to adopt this variant, since avoids divisions by 8 all over the place.
* inverse.c: Replace unnecessary intmath.h header by necessary stdint.h.Diego Biurrun2011-06-07
|
* Drop unnecessary directory prefixes from #include directives.Diego Biurrun2011-06-07
|
* Remove unnecessary LIBAVFORMAT_BUILD #ifdef.Diego Biurrun2011-06-05
|
* AVOptions: add av_opt_free convenience function.Anton Khirnov2011-06-05
|
* Fix build of eval-test programMans Rullgard2011-06-05
| | | | | | eval.c has moved to libavutil, move the TESTPROGS entry too. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Fix error check in av_file_map()Mans Rullgard2011-06-04
| | | | | | On failure, mmap() returns MAP_FAILED, which may or may not be -1. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: simplify inline asm with 64-bit operandsMans Rullgard2011-05-30
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: improve FASTDIV asmMans Rullgard2011-05-28
| | | | | | This uses one register less. Also add missing "cc" clobber. Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavu: add av_get_pix_fmt_name() convenience functionStefano Sabatini2011-05-28
| | | | | | Also deprecate avcodec_get_pix_fmt_name() in its favor. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* ARM: add ARMv6 optimised av_clip_uintp2Mans Rullgard2011-05-26
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: remove volatile from asm statements in libavutil/intmathMans Rullgard2011-05-26
| | | | | | | The volatile qualifiers are not needed on these statements as their effects are fully specified by constraints. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: fix av_clipl_int32_arm()Mans Rullgard2011-05-26
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* AVOptions: set string default values.Anton Khirnov2011-05-26
|
* avoptions: Return explicitly NAN or {0,0} if the option isn't foundMartin Storsjö2011-05-25
| | | | | | | | | | This actually matches what av_get_double did earlier, the 0.0/0.0 division was intentional, for producing NAN. Still keeping the check for the return value from av_get_number, for clarity. Signed-off-by: Martin Storsjö <martin@martin.st>
* Move emms_c() from libavcodec to libavutil.Ronald S. Bultje2011-05-24
|
* avoptions: Check the return value from av_get_numberMartin Storsjö2011-05-22
| | | | | | | This avoids doing a division by zero if the option wasn't found, or wasn't an option of an appropriate type. Signed-off-by: Martin Storsjö <martin@martin.st>
* multiple inclusion guard cleanupDiego Biurrun2011-05-21
| | | | | Add missing multiple inclusion guards; clean up #endif comments; add missing library prefixes; keep guard names consistent.
* Add av_clip_uintp2() functionMans Rullgard2011-05-13
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.Diego Biurrun2011-05-12
| | | | | | | | | | | | | | | | Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems since it causes certain system functions to be hidden on some (BSD) systems. The solution is to only add the flag on systems that really require it, i.e. glibc-based ones. This change makes BSD systems compile out-of-the-box without the need for adding specific flags manually. It also allows dropping a number of flags set manually on a file-per-file basis, but were only present to work around breakage introduced by the presence of _POSIX_C_SOURCE. Also add _XOPEN_SOURCE to CPPFLAGS for glibc systems. We use XSI extensions in several places already, so it is preferable to define it globally instead of littering source files with individual #defines only needed for glibc.
* swscale: fix YUV420P 9/10bit support.Ronald S. Bultje2011-05-11
| | | | | | | Fix handling of input if not in native endianness, and add support for 9/10-bit output. This allows us to force endianness of YUV420P 9/10bit in the H264/10bit fate tests, which should fix them on big-endian systems.