Statistics
| Branch: | Revision:

ffmpeg / libavutil @ 1fc81e73

# Date Author Comment
1fc81e73 07/10/2010 10:21 PM Måns Rullgård

Make bswap.h safe to install as public API

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

8fc0162a 07/10/2010 10:12 PM Måns Rullgård

Add av_ prefix to bswap macros

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

e6b22522 07/10/2010 10:09 PM Måns Rullgård

bswap: change ME to NE in macro names

Other parts of FFmpeg use NE (native endian) rather than ME (machine).
This makes it consistent.

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

7918375f 07/10/2010 12:40 AM Måns Rullgård

intreadwrite: common.h is not needed, attributes.h is sufficient

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

f4d80ecb 07/10/2010 12:40 AM Måns Rullgård

lfg: add missing includes

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

47bfd50a 07/10/2010 12:40 AM Måns Rullgård

pixdesc: add missing includes

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

9699a96a 07/08/2010 10:13 PM Stefano Sabatini

Bump minor after read/write_line() to av_read/write_image_line()
rename, done in r24101.

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

ee435580 07/08/2010 10:05 PM Stefano Sabatini

Reindent after r24101.

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

6a522c49 07/08/2010 06:13 PM Michael Niedermayer

Fix infinite loop with clock() returning (clock_t)-1.

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

b65c1ccf 07/08/2010 05:49 PM Michael Niedermayer

Change i to unsigned in get_generic_seed().
This is clearer than comparing against an unsigned number to force an unsigned
comparison that we need.

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

e51f0496 07/08/2010 01:35 PM Diego Biurrun

Restore array sizes in doxygen parameter names.

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

c84d5aa7 07/07/2010 11:47 PM Michael Niedermayer

get_generic_seed() for the cases without /dev/random and AV_READ_TIME

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

ce1cd1cb 07/07/2010 11:41 PM Stefano Sabatini

Rename read/write_line() to av_read/write_image_line().

The old names were not av_ prefixed, and they were causing linking
failure on many platforms. The new names are also more descriptive.

Patch by Stefano Sabatini.

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

9077e29e 07/07/2010 05:27 PM Måns Rullgård

ARM: optimised integer clip functions

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

edd7fa82 07/07/2010 05:27 PM Måns Rullgård

ARM: intmath.h cosmetics

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

216b43ae 07/07/2010 05:27 PM Måns Rullgård

Allow arch-overrides for all common.h clip and log2 functions

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

a955b596 07/07/2010 05:27 PM Måns Rullgård

Remove macro duplication between common.h and intmath.h

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

2e874c77 07/07/2010 05:27 PM Måns Rullgård

intmath: whitespace cosmetics

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

c184bb44 07/04/2010 08:38 PM Måns Rullgård

aes: fix array index out of bounds warning

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

b7cdddcd 07/03/2010 05:06 PM Eli Friedman

Silence "comparison of unsigned expression >= 0 is always true" warning.

Patch by Eli Friedman, eli d friedman a gmail

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

19c039ee 07/02/2010 05:33 PM Reimar Döffinger

Make mix function more readable.
Compiler output unchanged with gcc 4.4.

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

08b317a2 07/02/2010 02:23 PM Ramiro Polla

avutil: bump minor version for r23985 (install lfg.h)

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

89eec74a 07/02/2010 12:12 PM Ramiro Polla

avutil: install lfg.h

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

e669590a 07/02/2010 11:49 AM Diego Biurrun

Fix parameter name and position in av_crc_init Doxygen documentation.

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

3fa76268 07/02/2010 11:44 AM Diego Biurrun

Avoid square brackets in Doxygen comments; Doxygen chokes on them.

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

eee9119a 07/02/2010 11:03 AM Diego Biurrun

Add parameter names to av_log/av_vlog function declarations.
Doxygen gets confused without an explicit parameter name.

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

9a58234f 07/02/2010 10:49 AM Diego Biurrun

Fix misspelled parameter names in Doxygen documentation.
This fixes one Doxygen warning each.

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

2b4abbd6 07/01/2010 06:49 PM Stefano Sabatini

Move colorspace.h from libavcodec to libavutil.
Avoid a compile-time dependency of the pad filter on libavcodec.

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

16bfbfd0 07/01/2010 11:43 AM Måns Rullgård

random_seed: simplify

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

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