Statistics
| Branch: | Revision:

ffmpeg / libavutil @ 1e80a0ea

# Date Author Comment
20fcd079 11/03/2010 07:44 PM Stefano Sabatini

Implement isnan() function evaluation.

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

4cabef0a 11/01/2010 09:34 AM Stefano Sabatini

Make strmatch() return 1 only if the string compared against the
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")....

2b59fbe9 11/01/2010 09:34 AM Stefano Sabatini

Add st, ld, while examples/tests.

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

8bb12e71 11/01/2010 09:34 AM Stefano Sabatini

Add examples of unary operators.

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

63b16303 11/01/2010 09:34 AM Stefano Sabatini

Fix evaluation of expressions of the form: E1;E2.

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

4ddade62 10/08/2010 11:42 PM Stefano Sabatini

Install libavutil/opt.h, its API is public.

Fix issue #2265.

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

6f74fb03 10/06/2010 01:26 AM Ramiro Polla

Check whether compiler supports xmm registers in asm clobber list

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

3a1429ec 10/05/2010 08:44 AM Stefano Sabatini

Update av_cmp_q() documentation after r25338.

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

59a3bf0e 10/05/2010 01:43 AM Michael Niedermayer

Add selftest code for av_cmp_q().

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

dec11269 10/05/2010 01:43 AM Michael Niedermayer

Make av_cmp_q() work with infinities and NAN.

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

6b4ed22f 10/04/2010 01:41 PM Stefano Sabatini

Make av_d2q() manage the case in which the value to convert is inf.

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

9276bddd 10/04/2010 01:08 PM İsmail Dönmez

snowdsp: Explicitly state the operand sizes

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

1405782c 10/02/2010 09:50 AM Stefano Sabatini

Avoid cast of double nan to int.
It may cause exceptions on some platform.

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

0795b861 10/01/2010 01:55 PM Måns Rullgård

avassert: add missing #include <stdlib.h>

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

f23ceeb8 10/01/2010 01:55 PM Måns Rullgård

avassert: prettify macro

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

b64b4134 10/01/2010 01:55 PM Måns Rullgård

Rename libavutil/assert.h to avassert.h

This avoids conflicts with the system assert.h.

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

8a47d90b 10/01/2010 12:00 PM Michael Niedermayer

Fix av_cmp_q() with negative denominators.

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

c619572a 09/30/2010 10:52 PM Michael Niedermayer

Fix a typo in the nameing of av_assert0() in currently not compiled code.

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

b926b628 09/30/2010 09:57 PM Michael Niedermayer

av_assert() system.
With this the developer can now choose if he wants an assert always enabled or at which
compile time assert level. This can thus replace the #define NDEBUG hacks

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

584b8edb 09/29/2010 09:42 PM Stefano Sabatini

Add missing case for FF_OPT_TYPE_DOUBLE in av_opt_set_defaults2().

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

c85eef4e 09/27/2010 10:09 PM Stefano Sabatini

Move av_set_options_string() from libavfilter to libavutil.

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

372e2884 09/27/2010 04:23 PM Stefano Sabatini

Move av_get_token() from libavfilter to libavutil.

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

be0e596a 09/27/2010 10:34 AM Stefano Sabatini

Simplify include, since opt.c is now in libavutil there is no need
to use the library path prefix for eval.h.

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

8f1afd3b 09/27/2010 10:01 AM Stefano Sabatini

Cosmetics: apply misc style fixes.

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

41f87daa 09/27/2010 12:30 AM Stefano Sabatini

Bump version and update APIchanges after r25210.

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

32881771 09/26/2010 09:01 PM Måns Rullgård

ARM: change return type of AV_RN16() to unsigned

This prevents gcc inserting useless UXTH instructions, at least
in some cases.

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

6ed04040 09/26/2010 02:25 PM Michael Niedermayer

Move AVOptions from libavcodec to libavutil

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

d7cd001f 09/24/2010 04:18 PM Michael Niedermayer

indent

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

8a190533 09/24/2010 04:18 PM Michael Niedermayer

Cosmetic (rename detect_repeats to is_atty which matches the truth)

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

1c1c80f0 09/24/2010 03:37 PM Michael Niedermayer

2nd try to fix av_log() repeated detection

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

bc6f0af2 09/14/2010 02:45 PM Tomas Härdin

Add av_popcount() to libavutil/common.h and bump minor version

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

c157fe63 09/14/2010 12:17 AM Michael Niedermayer

Limit av_log repeat detection to terminals so as to avoid filling files with
lots of mess.

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

4660143a 09/12/2010 10:00 PM Stefano Sabatini

Apply minor simplification in av_read_image_line().

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

78b19cf0 09/12/2010 09:39 PM Måns Rullgård

pixdesc: indent

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

9525243f 09/12/2010 09:39 PM Måns Rullgård

pixdesc: use 8-bit accesses when possible in av_read/write_image_line()

This fixes out of bounds accesses for big endian formats and should be
a little faster.

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

4b9ac6de 09/12/2010 09:31 PM Stefano Sabatini

Cosmetics: use x ? y : z construct and merge intialization and
definition for the val variable in av_read_image_line(). Simplify.

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

65d45cea 09/09/2010 07:40 PM Måns Rullgård

Add missing #include <string.h> in x86/cpu.c

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

a3f0d2b9 09/09/2010 06:51 PM Måns Rullgård

Cache detected CPU flags

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

9275438a 09/09/2010 06:51 PM Måns Rullgård

Clean up av_get_cpu_flag()

Instead of defining functions in per-arch header files included
by the main cpu.c, define them normally and call them from the
generic one.

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

c6c98d08 09/08/2010 03:07 PM Stefano Sabatini

Move mm_support() from libavcodec to libavutil, make it a public
function and rename it to av_get_cpu_flags().

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

e778e50f 09/06/2010 12:04 AM Stefano Sabatini

Sort AV_CPU_FLAG* by value.

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

d593b4ed 09/06/2010 12:04 AM Stefano Sabatini

Fix typo.

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

7160bb71 09/04/2010 09:59 AM Stefano Sabatini

Rename FF_MM_ symbols related to CPU features flags as AV_CPU_FLAG_
symbols, and move them from libavcodec/avcodec.h to libavutil/cpu.h.

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

573af754 08/23/2010 03:31 PM Benoit Fouet

Add missing parentheses to AV_NE macro.

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

6a36facc 08/17/2010 06:48 PM Måns Rullgård

Fix out-of-tree build

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

4f2d2e4e 08/17/2010 06:25 PM Stefano Sabatini

Define macro AV_NE() and use it in libavdevice.

Help further refactoring.

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

fd3064b6 07/28/2010 12:08 PM Michael Niedermayer

Make sure "Last message repeated" is printed.

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

44852477 07/22/2010 10:05 PM Stefano Sabatini

Add the M_PHI constant, contains an approximation of the golden ratio
irrational number.

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

3fc548df 07/21/2010 12:37 PM Diego Pettenò

Make ff_inverse stay with libavutil, and optional copy it to libavcodec.

The ff_inverse table is used by FASTDIV macro, defined in libavutil, but up
to now the table was defined only in libavcodec.

After this change, the main copy of ff_inverse is part of libavutil (just...

eedc4ee5 07/17/2010 04:35 PM Carl Eugen Hoyos

Use attribute force_align_arg_pointer only on x86_32.

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

617d56ca 07/11/2010 11:49 AM Stefano Sabatini

Update lavu minor and add APIchanges entry after r24174 (add bswap.h
and intreadwrite.h API public interface).

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

b91d08f4 07/10/2010 10:22 PM Måns Rullgård

Install bswap.h and intreadwrite.h

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

86816692 07/10/2010 10:22 PM Måns Rullgård

Make intreadwrite.h installation-safe

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

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