summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* x86: use raw opcode for xgetbv instructionMans Rullgard2011-02-22
| | | | | | | | | | | This allows the CPU detection to work with assemblers not supporting the xgetbv mnemonic. These include clang and some BSD versions. All AVX code will be written for yasm, where the main assembler is not involved. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit ef6695387522fc783105ac187c84beaa284e7cff)
* x86: check for AVX supportMans Rullgard2011-02-20
| | | | | | | This adds configure and runtime checks for AVX support on x86 CPUs. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 87f1355f9b4fc11414d0e6a91404203c2745f89f)
* Force inlining of avutil common routinesJason Garrett-Glaser2011-02-18
| | | | | | | On some versions of gcc, these weren't always getting inlined due to hitting the inline cap limit in some files. This is generally bad, as most of these functions are smaller inlined than not. (cherry picked from commit eb3755a5aa65da685d81399cfae4bd35e4a178b6)
* lavf, lavu: bump minor versions and add an APIChanges entry for av_ prefixesAnton Khirnov2011-02-18
| | | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit 09d171b98879f58be1a766d5f277e131b18e98a1)
* Move find_info_tag to lavu and add av_ prefix to itAnton Khirnov2011-02-18
| | | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit ab0287fcbdebc8ff416214535d7ee8424406990e)
* Deprecate parse_date() in favor of av_parse_time().Stefano Sabatini2011-02-18
| | | | | | | | | The new av_parse_time() is created in libavutil/parseutils.h, all the internal functions used by parse_date are moved to libavutil/parseutils.c and made static. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit f6c7375a175ac649558aefab14f3895b2cb469aa)
* Merge libavcore into libavutilReinhard Tartler2011-02-16
| | | | Done to keep ABI compatible. Otherwise this is just silly
* Add check for Athlon64 and similar AMD processors with slow SSE2.Justin Ruggles2011-02-13
| | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 74b1f96859eb967222fcb3eb4c72d949b5165a89)
* Frame-based multithreading framework using pthreadsAlexander Strange2011-02-11
| | | | | | See doc/multithreading.txt for details on use in codecs. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Remove a few if (p) av_freep(&p) formsClément Bœsch2011-02-06
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 523d9407d57e9210428b6d962f0ebf48aae55638)
* Avoid pointless check before calling freeClément Bœsch2011-02-04
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit dc75d6dbf2af3c03b33d3159e1dadccf22c076ea)
* Add forgotten minor API bumps and APIChanges entriesAnton Khirnov2011-02-04
| | | | | | | The bumps are for adding version.h and avio_{get/put}_str functions in lavf and making av_dlog public in lavu. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Rename attribute_used to av_used and move it to attributes.hMans Rullgard2011-01-31
| | | | | | | This is consistent with most of the other attribute macros. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 365e3c7878e4e821d5dec922d2d51f92ce13f926)
* Replace dprintf with av_dlogLuca Barbato2011-01-30
| | | | | dprintf clashes with POSIX.1-2008 (cherry picked from commit dfd2a005eb29e4b9f2fdb97036eb7d5c38ae4bd4)
* intfloat_readwrite: include "mathematics.h" for fallback macrosMans Rullgard2011-01-26
| | | | | | | | This allows this file to build on systems lacking NAN or INFINITY in math.h. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit e781c4e6ff0b93db1ebc0ebe6983b38490117a98)
* MIPS: use inline asm only when supported by compilerMans Rullgard2011-01-26
| | | | (cherry picked from commit 7a5a168abe36c91087e58d89262a3658d21ea2cc)
* Handle input or output len of 0 properly in lzo decoder.Reimar Döffinger2011-01-24
|
* cpu-test: include stdio.h only for test progMans Rullgard2011-01-18
|
* Use INFINITY and NAN macros instead of 1/0 and 0/0Mans Rullgard2011-01-18
|
* consolidate .gitignore patters into a single fileJanne Grunau2011-01-18
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* convert svn:ignore properties to .gitignore filesJanne Grunau2011-01-17
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Win32 support for av_file_map()Daniel Verkamp2011-01-05
| | | | Originally committed as revision 26221 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Recognize FFMPEG_FORCE_NOCOLOR environment variable on Win32Daniel Verkamp2011-01-01
| | | | | | Fixes issue 2461 Originally committed as revision 26186 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix av_file_map(): replace stat(filename, &st) with fstat(fd, &st).Stefano Sabatini2010-12-22
| | | | | | | The file might be replaced between open() and stat(). Spotted by Mans. Originally committed as revision 26075 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace lstat() with stat() in av_file_map(). The lstat() use was wrong.Stefano Sabatini2010-12-22
| | | | Originally committed as revision 26074 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_file_map() and av_file_unmap() functions.Stefano Sabatini2010-12-22
| | | | Originally committed as revision 26073 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add AVERROR_*_NOT_FOUND codes.Nicolas George2010-12-19
| | | | Originally committed as revision 26056 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix building of cpu-test by including required headerRamiro Polla2010-12-07
| | | | Originally committed as revision 25917 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Introduce FFMPEG_FORCE_NOCOLOR, with the same meaning and use ofStefano Sabatini2010-12-06
| | | | | | NO_COLOR (but properly prefixed for avoiding namespace conflicts). Originally committed as revision 25899 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow to force colored output.Etienne Buira2010-12-05
| | | | | | Patch by Etienne Buira, etienne d buira d lists a free d fr Originally committed as revision 25888 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Deprecate avcodec_pix_fmt_string() in favor ofStefano Sabatini2010-12-04
| | | | | | av_get_pix_fmt_string(), added to libavutil/pixdesc.h. Originally committed as revision 25879 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change the argument of memory allocation functions from unsigned int to size_tMichael Niedermayer2010-12-04
| | | | | | with the next major bump in libavutil. Originally committed as revision 25871 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Intel C compiler 12.0 does not suport these attributes: may_alias, ↵Carl Eugen Hoyos2010-11-10
| | | | | | force_align_arg_pointer and alloc_size. Originally committed as revision 25716 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use hierarchic names convention (prefix them with av_expr) for theStefano Sabatini2010-11-08
| | | | | | | | | eval API. More grep-friendly and more consistent with the rest of the FFmpeg API. Originally committed as revision 25708 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement isnan() function evaluation.Stefano Sabatini2010-11-03
| | | | Originally committed as revision 25666 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make strmatch() return 1 only if the string compared against theStefano Sabatini2010-11-01
| | | | | | | | | | prefix does not contain other characters which may belong to an identifier. This allows to distinguish for example to have different constants with the same prefix (e.g. "foo" and "foobar"). Originally committed as revision 25626 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add st, ld, while examples/tests.Stefano Sabatini2010-11-01
| | | | Originally committed as revision 25625 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add examples of unary operators.Stefano Sabatini2010-11-01
| | | | Originally committed as revision 25624 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix evaluation of expressions of the form: E1;E2.Stefano Sabatini2010-11-01
| | | | | | | The pointer to the char ';' has to be increased before to evaluate ";E2". Originally committed as revision 25623 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Install libavutil/opt.h, its API is public.Stefano Sabatini2010-10-08
| | | | | | Fix issue #2265. Originally committed as revision 25420 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check whether compiler supports xmm registers in asm clobber listRamiro Polla2010-10-06
| | | | Originally committed as revision 25362 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update av_cmp_q() documentation after r25338.Stefano Sabatini2010-10-05
| | | | Originally committed as revision 25340 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add selftest code for av_cmp_q().Michael Niedermayer2010-10-05
| | | | Originally committed as revision 25339 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make av_cmp_q() work with infinities and NAN.Michael Niedermayer2010-10-05
| | | | Originally committed as revision 25338 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make av_d2q() manage the case in which the value to convert is inf.Stefano Sabatini2010-10-04
| | | | Originally committed as revision 25332 to svn://svn.ffmpeg.org/ffmpeg/trunk
* snowdsp: Explicitly state the operand sizesİsmail Dönmez2010-10-04
| | | | | | | | Fixes compilation with clang's builtin assembler Patch by İsmail Dönmez, ismail at namtrac dot org Originally committed as revision 25331 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid cast of double nan to int.Stefano Sabatini2010-10-02
| | | | | | It may cause exceptions on some platform. Originally committed as revision 25311 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avassert: add missing #include <stdlib.h>Måns Rullgård2010-10-01
| | | | Originally committed as revision 25286 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avassert: prettify macroMåns Rullgård2010-10-01
| | | | Originally committed as revision 25285 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename libavutil/assert.h to avassert.hMåns Rullgård2010-10-01
| | | | | | This avoids conflicts with the system assert.h. Originally committed as revision 25284 to svn://svn.ffmpeg.org/ffmpeg/trunk