Statistics
| Branch: | Revision:

ffmpeg / libavutil @ 9958096e

# Date Author Comment
9958096e 07/01/2010 11:40 AM Måns Rullgård

Reindent

Originally committed as revision 23931 to svn://svn.ffmpeg.org/ffmpeg/trunk

b7fa5c5a 07/01/2010 11:40 AM Måns Rullgård

random_seed: allow to block on /dev/random

If both /dev/random and /dev/urandom failed to return data, an
uninitialised value might be returned. Since most systems have a
non-blocking /dev/urandom or have /dev/random with similar properties,
the chance of blocking is minimal, and the alternative of returning...

cae70f99 06/30/2010 08:09 PM Måns Rullgård

Improve FF_SYMVER documentation

Originally committed as revision 23911 to svn://svn.ffmpeg.org/ffmpeg/trunk

2eaf7e49 06/30/2010 08:09 PM Måns Rullgård

Improve av_strerror() documentation

Originally committed as revision 23910 to svn://svn.ffmpeg.org/ffmpeg/trunk

c2a5b473 06/30/2010 08:09 PM Måns Rullgård

Improve GET_UTF{8,16} documentation

Originally committed as revision 23909 to svn://svn.ffmpeg.org/ffmpeg/trunk

12633044 06/30/2010 08:09 PM Måns Rullgård

aes: improve av_aes_crypt() documentation

Originally committed as revision 23908 to svn://svn.ffmpeg.org/ffmpeg/trunk

82012619 06/30/2010 08:09 PM Måns Rullgård

adler32: add API documentation

Originally committed as revision 23907 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffd31cfe 06/30/2010 08:09 PM Måns Rullgård

base64: improve documentation

Originally committed as revision 23905 to svn://svn.ffmpeg.org/ffmpeg/trunk

49bd8e4b 06/30/2010 03:38 PM Måns Rullgård

Fix grammar errors in documentation

Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk

38e23c88 06/30/2010 10:38 AM Måns Rullgård

Make av_get_random_seed() non-blocking

Attempt to read from /dev/urandom and /dev/random with O_NONBLOCK set.
If neither succeeds, proceed with fallbacks.

Originally committed as revision 23903 to svn://svn.ffmpeg.org/ffmpeg/trunk

dd025f25 06/30/2010 04:50 AM Reimar Döffinger

Change AES code to be strict-aliasing-safe.
Makes it give correct results with e.g. gcc 4.4.
For unknown reasons the generate asm code also changes
on e.g. gcc 4.3, making the code a bit larger but also
a bit faster.

Originally committed as revision 23896 to svn://svn.ffmpeg.org/ffmpeg/trunk

2ad4a3bc 06/28/2010 05:19 PM Reimar Döffinger

Pass subshift an argument of the proper type.
No changes in generated code.

Originally committed as revision 23856 to svn://svn.ffmpeg.org/ffmpeg/trunk

17c78b08 06/28/2010 05:11 PM Reimar Döffinger

Use a consistent type for multbl array function parameters.

Originally committed as revision 23855 to svn://svn.ffmpeg.org/ffmpeg/trunk

276fc8a4 06/26/2010 06:14 PM Måns Rullgård

Add missing avutil.h include to libavutil/mem.h

Originally committed as revision 23803 to svn://svn.ffmpeg.org/ffmpeg/trunk

50061b62 06/25/2010 04:36 AM Jai Menon

Print a space after the AVClass prefix.
This improves readability a bit.

Originally committed as revision 23767 to svn://svn.ffmpeg.org/ffmpeg/trunk

45a1b86a 06/22/2010 07:11 PM Ronald S. Bultje

Add av_clip_int8(), used in the upcoming VP8 decoder.

Originally committed as revision 23713 to svn://svn.ffmpeg.org/ffmpeg/trunk

1c7c0e2d 06/22/2010 03:02 PM Benoit Fouet

Add missing parentheses in MKTAG and MKBETAG macros.

Originally committed as revision 23711 to svn://svn.ffmpeg.org/ffmpeg/trunk

eb928286 06/16/2010 10:36 PM Stefano Sabatini

Add more tests to eval, help detecting some of the more apparent
errors, far from being a complete test system.

Originally committed as revision 23635 to svn://svn.ffmpeg.org/ffmpeg/trunk

7ec9b9be 06/16/2010 06:27 PM Stefano Sabatini

Make av_parse_expr() fail if there are trailing chars at the end of
the provided expression.

Allow detection of mistyped expressions.

Originally committed as revision 23629 to svn://svn.ffmpeg.org/ffmpeg/trunk

2f62224b 06/16/2010 06:27 PM Stefano Sabatini

Improve av_parse_eval() error reporting.

Originally committed as revision 23627 to svn://svn.ffmpeg.org/ffmpeg/trunk

ed00fe49 06/16/2010 10:35 AM Carl Eugen Hoyos

icc 12 finally fixed attribute(used) so gcc's DECLARE_ASM_CONST can be used.

Originally committed as revision 23624 to svn://svn.ffmpeg.org/ffmpeg/trunk

33586ee7 06/16/2010 04:53 AM Michael Niedermayer

Document FF_SYMVER and attribute_used

Originally committed as revision 23622 to svn://svn.ffmpeg.org/ffmpeg/trunk

ccc87908 06/15/2010 03:24 PM Måns Rullgård

Fix symbol version compat wrappers on systems with export prefixes

Originally committed as revision 23615 to svn://svn.ffmpeg.org/ffmpeg/trunk

b462d132 06/15/2010 01:26 PM Måns Rullgård

Add compatibility wrappers for functions moved from lavf to lavc

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....

3c467bac 06/14/2010 08:51 AM Martin Storsjö

Fix compilation on windows CE

Originally committed as revision 23600 to svn://svn.ffmpeg.org/ffmpeg/trunk

29708427 06/13/2010 09:06 AM Stefano Sabatini

Fix av_compare_mod() doxy.

Originally committed as revision 23593 to svn://svn.ffmpeg.org/ffmpeg/trunk

276b45af 06/13/2010 09:04 AM Stefano Sabatini

Add APIchanges entry and bump minor after av_compare_mod() addition.

Originally committed as revision 23592 to svn://svn.ffmpeg.org/ffmpeg/trunk

db16e3ca 06/09/2010 06:30 PM Ramiro Polla

log.c: Use parameter passed to macro instead of the equivalent local variable
in the only function that uses the macro.

Originally committed as revision 23555 to svn://svn.ffmpeg.org/ffmpeg/trunk

4855f867 06/09/2010 06:13 PM Ramiro Polla

Add win32 console color output.
Based on patches by James Darnley <james dot darnley at gmail dot com>.

Originally committed as revision 23554 to svn://svn.ffmpeg.org/ffmpeg/trunk

6e34a558 06/09/2010 06:10 PM Ramiro Polla

Move ansi color array to outside of av_log_default_callback(). Do not pass
ansi color code to colored_fputs(), and pass instead the error level so the
proper color code may be used.

Originally committed as revision 23553 to svn://svn.ffmpeg.org/ffmpeg/trunk

a1c027e9 06/09/2010 06:07 PM Ramiro Polla

Rename use_ansi_color to use_color so it is not ANSI-specific.

Originally committed as revision 23552 to svn://svn.ffmpeg.org/ffmpeg/trunk

65db0587 06/09/2010 05:27 PM Michael Niedermayer

Add av_compare_mod()

Originally committed as revision 23551 to svn://svn.ffmpeg.org/ffmpeg/trunk

0b99215c 06/05/2010 12:01 PM Stefano Sabatini

Move eval.c and eval.h from libavcodec to libavutil, and make the eval
API public.

Originally committed as revision 23485 to svn://svn.ffmpeg.org/ffmpeg/trunk

6532c6f9 06/05/2010 11:28 AM Stefano Sabatini

Bump lavu minor and add APIchanges entry after AV_BASE64_SIZE()
addition.

Originally committed as revision 23484 to svn://svn.ffmpeg.org/ffmpeg/trunk

784824a6 06/04/2010 01:15 AM Howard Chu

Use AV_BASE64_SIZE() macro

Originally committed as revision 23462 to svn://svn.ffmpeg.org/ffmpeg/trunk

31878fcf 06/04/2010 01:15 AM Howard Chu

Add AV_BASE64_SIZE() macro

Originally committed as revision 23461 to svn://svn.ffmpeg.org/ffmpeg/trunk

98aea87b 06/03/2010 09:08 PM Michael Niedermayer

Deprecate PIX_FMT_YUVJ*

Originally committed as revision 23451 to svn://svn.ffmpeg.org/ffmpeg/trunk

31fdd641 05/24/2010 12:44 AM David Conrad

Convert NaN to 0/0 in av_d2q

This fixes aspect ratio calculation for encoding from files with 0/0 stored,
common with ogg/theora

Originally committed as revision 23280 to svn://svn.ffmpeg.org/ffmpeg/trunk

99778631 05/23/2010 09:45 AM Martin Storsjö

Bump libavutil minor version for the addition of av_get_random_seed

Originally committed as revision 23255 to svn://svn.ffmpeg.org/ffmpeg/trunk

576fb48e 05/23/2010 08:53 AM Martin Storsjö

Make ff_random_get_seed public, rename to av_get_random_seed, export the header

Keep an old ff_ named function for binary compatibility until the
next major bump.

Originally committed as revision 23254 to svn://svn.ffmpeg.org/ffmpeg/trunk

4880cfd9 05/19/2010 10:51 PM Michael Niedermayer

Print parent log context too, if available.

Originally committed as revision 23200 to svn://svn.ffmpeg.org/ffmpeg/trunk

2c1bb265 05/19/2010 10:50 PM Michael Niedermayer

Make it possible for a log context to keep track of its parent context.
This is usefull to keep track and display relations where things are a
bit more complex (like AVProtocols or demuxers used by demuxers and such)

Originally committed as revision 23199 to svn://svn.ffmpeg.org/ffmpeg/trunk

8d2a5139 05/19/2010 10:45 PM Michael Niedermayer

av_default_item_name() so Simply AVClasses need 1 function less.

Originally committed as revision 23198 to svn://svn.ffmpeg.org/ffmpeg/trunk

c75b3d2e 05/16/2010 07:56 AM Stefano Sabatini

Clarify description for the MONOWHITE and MONOBLACK pixel formats.

Originally committed as revision 23144 to svn://svn.ffmpeg.org/ffmpeg/trunk

9121b8ca 05/15/2010 12:33 PM Stefano Sabatini

Clarify descriptions for RGB4, BGR4, NV12, NV21,
RGB48BE, and RGB48LE pixel formats.

Originally committed as revision 23142 to svn://svn.ffmpeg.org/ffmpeg/trunk

a74d707c 05/13/2010 04:30 PM Michael Niedermayer

av_alias is an attribute and belongs to attributes.h
also attributes.h is public and external api and can thus not depend
on configure tested compiler support thus this part is removed. A
different solution must be found if this breaks for some compiler
which i hope it does not....

cc6849ae 05/09/2010 08:32 PM Måns Rullgård

bswap: 10L add missing parens around macro args

Originally committed as revision 23070 to svn://svn.ffmpeg.org/ffmpeg/trunk

3fe1ec39 05/08/2010 08:41 PM Michael Niedermayer

Add means to adjust the log level per context.

Originally committed as revision 23059 to svn://svn.ffmpeg.org/ffmpeg/trunk

e2959f45 05/05/2010 09:44 PM Stefano Sabatini

Make av_strerror() return -1 even in the case when av_strerror_r() is
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....

441ea0ce 05/03/2010 09:56 PM Stefano Sabatini

Make av_strerror() print an error message mentioning the error code
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....

547b7bcb 04/29/2010 02:41 PM Måns Rullgård

bswap: add macros to byteswap constants

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...

707cd944 04/28/2010 08:08 PM Jai Menon

Fix typo.

Originally committed as revision 22988 to svn://svn.ffmpeg.org/ffmpeg/trunk

2308b6c1 04/28/2010 08:00 PM Michael Niedermayer

Add version to AVClass so we can add to and use fields of AVClass without ABI issues.

Originally committed as revision 22987 to svn://svn.ffmpeg.org/ffmpeg/trunk

cf103fab 04/27/2010 10:26 PM Stefano Sabatini

Drop AVERROR_NOTSUPP at the next major bump, use AVERROR
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

90bc36b0 04/26/2010 09:01 PM Ronald S. Bultje

Reindent after r22968.

Originally committed as revision 22969 to svn://svn.ffmpeg.org/ffmpeg/trunk

ad640896 04/26/2010 09:00 PM Ronald S. Bultje

Write clip-related decimal numbers into hex, where they make more sense.

Originally committed as revision 22968 to svn://svn.ffmpeg.org/ffmpeg/trunk

2d0525c2 04/26/2010 01:36 PM Ronald S. Bultje

Fix broken 32-bit clipping, and write numbers in hex instead of decimal so
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

62044024 04/23/2010 09:27 PM Michael Niedermayer

4th try at getting ansi colors working with a default of color=yes_please.
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

07876e25 04/23/2010 04:28 PM Måns Rullgård

Workaround for missing llrintf()

Originally committed as revision 22954 to svn://svn.ffmpeg.org/ffmpeg/trunk

aebfb457 04/23/2010 01:15 PM Michael Niedermayer

Trying _WIN32 for win32 detection.

Originally committed as revision 22953 to svn://svn.ffmpeg.org/ffmpeg/trunk

7328cdfa 04/23/2010 08:11 AM Michael Niedermayer

Merge the 2 ANSI ESC codes.

Originally committed as revision 22952 to svn://svn.ffmpeg.org/ffmpeg/trunk

841073ce 04/23/2010 07:33 AM Michael Niedermayer

Reenable ANSI colors, use method from VLC as suggested by ramiro.
Please tell us asap if this breaks for your platform & terminal.

Originally committed as revision 22951 to svn://svn.ffmpeg.org/ffmpeg/trunk

2c4b87ea 04/22/2010 08:39 PM Michael Niedermayer

Disable ANSI color code until we figured out how to detect ANSI support in
the used terminal.

Originally committed as revision 22948 to svn://svn.ffmpeg.org/ffmpeg/trunk

51e026d1 04/22/2010 06:58 PM Michael Niedermayer

Coloring the log with ANSI.
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

b1078e9f 04/21/2010 05:57 PM Ronald S. Bultje

Move clipping of audio samples (for those codecs outputting float) from decoder
to the audio conversion routines.

Originally committed as revision 22937 to svn://svn.ffmpeg.org/ffmpeg/trunk

ba87f080 04/20/2010 02:45 PM Diego Biurrun

Remove explicit filename from Doxygen @file commands.

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

4744f896 04/14/2010 08:15 PM Andreas Öman

Add PIX_FMT_Y400A, 8bit gray, 8bit alpha

Originally committed as revision 22881 to svn://svn.ffmpeg.org/ffmpeg/trunk

b9f60bd8 04/09/2010 11:29 PM Alex Converse

Add M_SQRT2 to the constants in mathematics.h.

Originally committed as revision 22825 to svn://svn.ffmpeg.org/ffmpeg/trunk

b9bd6589 04/06/2010 10:31 PM Stefano Sabatini

Clarify doxy for av_fifo_alloc().

Originally committed as revision 22812 to svn://svn.ffmpeg.org/ffmpeg/trunk

4ed39eed 04/02/2010 01:03 AM Michael Niedermayer

av_builtin_constant_p()

Originally committed as revision 22770 to svn://svn.ffmpeg.org/ffmpeg/trunk

11491503 03/30/2010 11:31 PM Stefano Sabatini

Move AVMediaType from libavcodec to libavutil.

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

32e543f8 03/30/2010 03:50 PM Benoit Fouet

Replace @returns by @return.

Originally committed as revision 22729 to svn://svn.ffmpeg.org/ffmpeg/trunk

87958234 03/25/2010 10:46 PM Stefano Sabatini

Implement av_strerror().

Originally committed as revision 22684 to svn://svn.ffmpeg.org/ffmpeg/trunk

0394c928 03/25/2010 10:46 PM Stefano Sabatini

Prefer '///< ...' doxygen inline syntax over '/**< ... */'.

Originally committed as revision 22683 to svn://svn.ffmpeg.org/ffmpeg/trunk

b748b9d6 03/25/2010 10:46 PM Stefano Sabatini

Use consistent punctuation rules for the error message descriptions.

Originally committed as revision 22682 to svn://svn.ffmpeg.org/ffmpeg/trunk

68006ed0 03/21/2010 04:34 PM Stefano Sabatini

Drop AVERROR_NOFMT at the next libavutil major bump.

Originally committed as revision 22626 to svn://svn.ffmpeg.org/ffmpeg/trunk

72af5d8a 03/19/2010 11:34 PM Stefano Sabatini

Change the definition of AVERROR_INVALIDDATA at the next libavutil
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

00291565 03/19/2010 11:34 PM Stefano Sabatini

Extend description for AVERROR_INVALIDDATA.

Originally committed as revision 22600 to svn://svn.ffmpeg.org/ffmpeg/trunk

6d2877f4 03/14/2010 10:25 PM Måns Rullgård

error.h: test EDOM instead of EINVAL

C99 doesn't require EINVAL, only EDOM, EILSEQ, and ERANGE.

Originally committed as revision 22530 to svn://svn.ffmpeg.org/ffmpeg/trunk

e4836e3c 03/14/2010 10:25 PM Måns Rullgård

Add missing includes to libavutil/error.h

Originally committed as revision 22529 to svn://svn.ffmpeg.org/ffmpeg/trunk

73ddbd9d 03/14/2010 09:16 PM Stefano Sabatini

Change the definition of AVERROR_NUMEXPECTED at the next libavutil
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

c6a7b97c 03/14/2010 01:32 AM Stefano Sabatini

Mark AVERROR_ENOENT for deletion at the next libavutil major bump.

The symbol is currently unused, AVERROR must be used instead.

Originally committed as revision 22519 to svn://svn.ffmpeg.org/ffmpeg/trunk

9b359f51 03/14/2010 01:32 AM Stefano Sabatini

Lexically sort the error code definitions.

Originally committed as revision 22518 to svn://svn.ffmpeg.org/ffmpeg/trunk

7c074320 03/13/2010 07:19 PM Stefano Sabatini

Mark AVERROR_ENOMEM to be deleted at the next major bump.

AVERROR 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

5ae092ee 03/13/2010 07:19 PM Stefano Sabatini

Replace all the occurrences of AVERROR_EIO with AVERROR, and mark
AVERROR_EIO for deletion at the next major bump.

Originally committed as revision 22513 to svn://svn.ffmpeg.org/ffmpeg/trunk

0edfa79b 03/13/2010 07:19 PM Stefano Sabatini

Make iff.c:decode_init return the value returned by
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

dbfa5e78 03/13/2010 09:52 AM Stefano Sabatini

Add missing parentheses around the AVERROR_PATCHWELCOME macro
definition.

Originally committed as revision 22502 to svn://svn.ffmpeg.org/ffmpeg/trunk

60c144f7 03/13/2010 09:43 AM Stefano Sabatini

Move error code definitions from libavcodec/avcodec.h to
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...

5de91783 03/11/2010 02:32 AM Måns Rullgård

indent

Originally committed as revision 22451 to svn://svn.ffmpeg.org/ffmpeg/trunk

49e92878 03/11/2010 02:32 AM Måns Rullgård

random_seed: try other alternatives if reading /dev/random fails

Originally committed as revision 22450 to svn://svn.ffmpeg.org/ffmpeg/trunk

32f40ace 03/11/2010 02:32 AM Måns Rullgård

sha: add missing include

Originally committed as revision 22449 to svn://svn.ffmpeg.org/ffmpeg/trunk

2ed6f399 03/09/2010 05:39 PM Måns Rullgård

Replace many includes of libavutil/common.h with what is actually needed

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

297bfb2f 03/09/2010 04:17 PM Måns Rullgård

libm.h needs attributes.h

Originally committed as revision 22405 to svn://svn.ffmpeg.org/ffmpeg/trunk

335ee1aa 03/09/2010 03:10 PM Måns Rullgård

Move libm replacements to new header libm.h

ffmpeg.c uses lrintf(), which is missing on some systems. Previously
it picked up the replacement via libavutil/internal.h due to
HAVE_AV_CONFIG_H being erroneously defined.

Moving these replacements to a separate header enables ffmpeg.c to...

b90b1b4c 03/09/2010 01:19 AM Måns Rullgård

Fix build on configurations without fast av_log2()

This is a bit hackish. I will try to think of something nicer, but
this will do for now.

Originally committed as revision 22366 to svn://svn.ffmpeg.org/ffmpeg/trunk

f0a912d3 03/08/2010 10:16 PM Måns Rullgård

More descriptive names for av_stristr() parameters

Originally committed as revision 22349 to svn://svn.ffmpeg.org/ffmpeg/trunk

3369888a 03/08/2010 09:29 PM Måns Rullgård

cosmetics: indent

Originally committed as revision 22348 to svn://svn.ffmpeg.org/ffmpeg/trunk

2acb5e10 03/08/2010 09:28 PM Måns Rullgård

Merge two adjacent ifdef blocks

Originally committed as revision 22347 to svn://svn.ffmpeg.org/ffmpeg/trunk

2791730d 03/08/2010 09:28 PM Måns Rullgård

Move gcc attribute macros to new header libavutil/attributes.h

Originally committed as revision 22346 to svn://svn.ffmpeg.org/ffmpeg/trunk

94ca624f 03/08/2010 09:19 PM Måns Rullgård

Move ff_sqrt() to libavutil/intmath.h

Originally committed as revision 22345 to svn://svn.ffmpeg.org/ffmpeg/trunk