summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* Fix symbol version compat wrappers on systems with export prefixesReinhard Tartler2010-06-15
| | | | | | | backport r23615 by mru Originally committed as revision 23617 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
* Add compatibility wrappers for functions moved from lavf to lavcReinhard Tartler2010-06-15
| | | | | | | | | | | When symbol versioning is enabled, moving symbols from one library to another breaks binary compatibility. This adds wrappers with the old version tag for the av_*packet functions recently moved to lavc. backport r23611 by mru Originally committed as revision 23613 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
* Convert NaN to 0/0 in av_d2qDiego Biurrun2010-05-24
| | | | | | | | | | This fixes aspect ratio calculation for encoding from files with 0/0 stored, common with ogg/theora backport r23280 by conrad Originally committed as revision 23283 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
* Clarify description for the MONOWHITE and MONOBLACK pixel formats.Reinhard Tartler2010-05-21
| | | | | | | backport r23144 by stefano Originally committed as revision 23223 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
* Clarify descriptions for RGB4, BGR4, NV12, NV21,Reinhard Tartler2010-05-21
| | | | | | | | | RGB48BE, and RGB48LE pixel formats. backport r23142 by stefano Originally committed as revision 23222 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
* bswap: 10L add missing parens around macro argsReinhard Tartler2010-05-20
| | | | | | | backport r23070 by mru Originally committed as revision 23204 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
* Make av_strerror() return -1 even in the case when av_strerror_r() isReinhard Tartler2010-05-19
| | | | | | | | | | | | | not defined. This allows applications to check if av_strerror() cannot provide a meaningful representation for the provided error code, without having to actually check the filled string. backport r23031 by stefano Originally committed as revision 23174 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
* Make av_strerror() print an error message mentioning the error codeStefano Sabatini2010-05-03
| | | | | | | | | number if strerror_r() did not succeed for whatever reason. This avoids the need for the application to fill the string in case strerror_r() fails, for example because the error code is not known. Originally committed as revision 23015 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bswap: add macros to byteswap constantsMåns Rullgård2010-04-29
| | | | | | | | | | | The normal byteswap functions might use inline asm which is suboptimal with constants (and cannot be used in static initialisers), so special macros for constants only is needed. We should not rely on the gcc __builtin_constant_p() test since it is not always available. Originally committed as revision 22990 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix typo.Jai Menon2010-04-28
| | | | Originally committed as revision 22988 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add version to AVClass so we can add to and use fields of AVClass without ↵Michael Niedermayer2010-04-28
| | | | | | ABI issues. Originally committed as revision 22987 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Drop AVERROR_NOTSUPP at the next major bump, use AVERROR(ENOSYS)Stefano Sabatini2010-04-27
| | | | | | | | | | instead which is semantically equivalent. See the thread: Subject: [FFmpeg-devel] [RFC] The meaning of AVERROR_NOTSUPP Date: Sat, 27 Mar 2010 00:51:13 +0100 Originally committed as revision 22981 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after r22968.Ronald S. Bultje2010-04-26
| | | | Originally committed as revision 22969 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Write clip-related decimal numbers into hex, where they make more sense.Ronald S. Bultje2010-04-26
| | | | Originally committed as revision 22968 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix broken 32-bit clipping, and write numbers in hex instead of decimal soRonald S. Bultje2010-04-26
| | | | | | | they are easier to understand. Also give the add a 'u' postfix to silence a pre-c99 compiler warning. Originally committed as revision 22965 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 4th try at getting ansi colors working with a default of color=yes_please.Michael Niedermayer2010-04-23
| | | | | | Colors will only be used if the TERM env var is set and NO_COLOR is not set. Originally committed as revision 22957 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Workaround for missing llrintf()Måns Rullgård2010-04-23
| | | | Originally committed as revision 22954 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Trying _WIN32 for win32 detection.Michael Niedermayer2010-04-23
| | | | Originally committed as revision 22953 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge the 2 ANSI ESC codes.Michael Niedermayer2010-04-23
| | | | Originally committed as revision 22952 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reenable ANSI colors, use method from VLC as suggested by ramiro.Michael Niedermayer2010-04-23
| | | | | | Please tell us asap if this breaks for your platform & terminal. Originally committed as revision 22951 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Disable ANSI color code until we figured out how to detect ANSI support inMichael Niedermayer2010-04-22
| | | | | | the used terminal. Originally committed as revision 22948 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Coloring the log with ANSI.Michael Niedermayer2010-04-22
| | | | | | | | Ive checked this on black and white background and found no problem in terms of readability. flames welcome. Originally committed as revision 22946 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move clipping of audio samples (for those codecs outputting float) from decoderRonald S. Bultje2010-04-21
| | | | | | to the audio conversion routines. Originally committed as revision 22937 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add PIX_FMT_Y400A, 8bit gray, 8bit alphaAndreas Öman2010-04-14
| | | | Originally committed as revision 22881 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add M_SQRT2 to the constants in mathematics.h.Alex Converse2010-04-09
| | | | Originally committed as revision 22825 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Clarify doxy for av_fifo_alloc().Stefano Sabatini2010-04-06
| | | | Originally committed as revision 22812 to svn://svn.ffmpeg.org/ffmpeg/trunk
* av_builtin_constant_p()Michael Niedermayer2010-04-02
| | | | Originally committed as revision 22770 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move AVMediaType from libavcodec to libavutil.Stefano Sabatini2010-03-30
| | | | | | | | This allows applications/libraries which require that symbol (e.g. libavfilter) to be compiled without to depend on the presence of libavcodec/avcodec.h, which may not be installed. Originally committed as revision 22736 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace @returns by @return.Benoit Fouet2010-03-30
| | | | Originally committed as revision 22729 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement av_strerror().Stefano Sabatini2010-03-25
| | | | Originally committed as revision 22684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prefer '///< ...' doxygen inline syntax over '/**< ... */'.Stefano Sabatini2010-03-25
| | | | Originally committed as revision 22683 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use consistent punctuation rules for the error message descriptions.Stefano Sabatini2010-03-25
| | | | Originally committed as revision 22682 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Drop AVERROR_NOFMT at the next libavutil major bump.Stefano Sabatini2010-03-21
| | | | Originally committed as revision 22626 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change the definition of AVERROR_INVALIDDATA at the next libavutilStefano Sabatini2010-03-19
| | | | | | | major bump, using an FFmpeg specific error code rather than EINVAL, which has a quite different semantics. Originally committed as revision 22601 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Extend description for AVERROR_INVALIDDATA.Stefano Sabatini2010-03-19
| | | | Originally committed as revision 22600 to svn://svn.ffmpeg.org/ffmpeg/trunk
* error.h: test EDOM instead of EINVALMåns Rullgård2010-03-14
| | | | | | C99 doesn't require EINVAL, only EDOM, EILSEQ, and ERANGE. Originally committed as revision 22530 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing includes to libavutil/error.hMåns Rullgård2010-03-14
| | | | Originally committed as revision 22529 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change the definition of AVERROR_NUMEXPECTED at the next libavutilStefano Sabatini2010-03-14
| | | | | | | major bump, using an FFmpeg specific error code rather than EDOM, which has a quite different semantics. Originally committed as revision 22528 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark AVERROR_ENOENT for deletion at the next libavutil major bump.Stefano Sabatini2010-03-14
| | | | | | The symbol is currently unused, AVERROR(ENOENT) must be used instead. Originally committed as revision 22519 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Lexically sort the error code definitions.Stefano Sabatini2010-03-14
| | | | Originally committed as revision 22518 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark AVERROR_ENOMEM to be deleted at the next major bump.Stefano Sabatini2010-03-13
| | | | | | | AVERROR(ENOMEM) must be used instead, and there are no occurrences of AVERROR_ENOMEM in the FFmpeg basecode so it can be safely dropped. Originally committed as revision 22514 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all the occurrences of AVERROR_EIO with AVERROR(EIO), and markStefano Sabatini2010-03-13
| | | | | | AVERROR_EIO for deletion at the next major bump. Originally committed as revision 22513 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make iff.c:decode_init return the value returned byStefano Sabatini2010-03-13
| | | | | | | | avctx->get_buffer() in case of error, rather than AVERROR_UNKNOWN which is deprecated, and mark AVERROR_UNKNOWN for deletion at the next major bump. Originally committed as revision 22512 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing parentheses around the AVERROR_PATCHWELCOME macroStefano Sabatini2010-03-13
| | | | | | definition. Originally committed as revision 22502 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move error code definitions from libavcodec/avcodec.h toStefano Sabatini2010-03-13
| | | | | | | | | | | | | libavutil/error.h. Error code definitions and handling code belong to libavutil, where they can be shared by all the libav* libraries. See the thread: Subject: [FFmpeg-devel] [PATCH] Move error codes definitions from lavc to lavu Date: Sun, 19 Jul 2009 12:09:16 +0200 Originally committed as revision 22501 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMåns Rullgård2010-03-11
| | | | Originally committed as revision 22451 to svn://svn.ffmpeg.org/ffmpeg/trunk
* random_seed: try other alternatives if reading /dev/random failsMåns Rullgård2010-03-11
| | | | Originally committed as revision 22450 to svn://svn.ffmpeg.org/ffmpeg/trunk
* sha: add missing includeMåns Rullgård2010-03-11
| | | | Originally committed as revision 22449 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace many includes of libavutil/common.h with what is actually neededMåns Rullgård2010-03-09
| | | | | | | This reduces the number of false dependencies on header files and speeds up compilation. Originally committed as revision 22407 to svn://svn.ffmpeg.org/ffmpeg/trunk