Mans Rullgard
ec5f57192a
cpu-test: include stdio.h only for test prog
14 years ago
Mans Rullgard
324e7ee260
Use INFINITY and NAN macros instead of 1/0 and 0/0
14 years ago
Janne Grunau
2c3589bfda
consolidate .gitignore patters into a single file
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Janne Grunau
348b8218f7
convert svn:ignore properties to .gitignore files
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Daniel Verkamp
73f6d31e6c
Win32 support for av_file_map()
...
Originally committed as revision 26221 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Daniel Verkamp
dfaa9f3cb3
Recognize FFMPEG_FORCE_NOCOLOR environment variable on Win32
...
Fixes issue 2461
Originally committed as revision 26186 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
f02cbc4590
Fix av_file_map(): replace stat(filename, &st) with fstat(fd, &st).
...
The file might be replaced between open() and stat().
Spotted by Mans.
Originally committed as revision 26075 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
1b31037d62
Replace lstat() with stat() in av_file_map(). The lstat() use was wrong.
...
Originally committed as revision 26074 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
0328b9ea39
Add av_file_map() and av_file_unmap() functions.
...
Originally committed as revision 26073 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Nicolas George
0bc55f5d32
Add AVERROR_*_NOT_FOUND codes.
...
Originally committed as revision 26056 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ramiro Polla
e3c011c836
fix building of cpu-test by including required header
...
Originally committed as revision 25917 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
3011ecdeb7
Introduce FFMPEG_FORCE_NOCOLOR, with the same meaning and use of
...
NO_COLOR (but properly prefixed for avoiding namespace conflicts).
Originally committed as revision 25899 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Etienne Buira
129983408d
Allow to force colored output.
...
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
14 years ago
Stefano Sabatini
bb4afa13dd
Deprecate avcodec_pix_fmt_string() in favor of
...
av_get_pix_fmt_string(), added to libavutil/pixdesc.h.
Originally committed as revision 25879 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
b47541c7a3
Change the argument of memory allocation functions from unsigned int to size_t
...
with the next major bump in libavutil.
Originally committed as revision 25871 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Carl Eugen Hoyos
086e997e34
Intel C compiler 12.0 does not suport these attributes: may_alias, force_align_arg_pointer and alloc_size.
...
Originally committed as revision 25716 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
d2af7205a1
Use hierarchic names convention (prefix them with av_expr) for the
...
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
14 years ago
Stefano Sabatini
20fcd0797e
Implement isnan() function evaluation.
...
Originally committed as revision 25666 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
4cabef0a9d
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").
Originally committed as revision 25626 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
2b59fbe9b1
Add st, ld, while examples/tests.
...
Originally committed as revision 25625 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
8bb12e71af
Add examples of unary operators.
...
Originally committed as revision 25624 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
63b1630356
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
14 years ago
Stefano Sabatini
4ddade62dd
Install libavutil/opt.h, its API is public.
...
Fix issue #2265 .
Originally committed as revision 25420 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ramiro Polla
6f74fb03cd
Check whether compiler supports xmm registers in asm clobber list
...
Originally committed as revision 25362 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
3a1429ec3c
Update av_cmp_q() documentation after r25338.
...
Originally committed as revision 25340 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
59a3bf0e51
Add selftest code for av_cmp_q().
...
Originally committed as revision 25339 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
dec1126915
Make av_cmp_q() work with infinities and NAN.
...
Originally committed as revision 25338 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
6b4ed22f75
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
14 years ago
İsmail Dönmez
9276bdddca
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
14 years ago
Stefano Sabatini
1405782cf4
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
14 years ago
Måns Rullgård
0795b86174
avassert: add missing #include <stdlib.h>
...
Originally committed as revision 25286 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
f23ceeb84d
avassert: prettify macro
...
Originally committed as revision 25285 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
b64b4134d5
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
14 years ago
Michael Niedermayer
8a47d90b29
Fix av_cmp_q() with negative denominators.
...
Originally committed as revision 25283 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
c619572a7b
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
14 years ago
Michael Niedermayer
b926b6282d
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
14 years ago
Stefano Sabatini
584b8edb99
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
14 years ago
Stefano Sabatini
c85eef4ed8
Move av_set_options_string() from libavfilter to libavutil.
...
Originally committed as revision 25236 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
372e288408
Move av_get_token() from libavfilter to libavutil.
...
Originally committed as revision 25225 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
be0e596a57
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
14 years ago
Stefano Sabatini
8f1afd3b37
Cosmetics: apply misc style fixes.
...
Originally committed as revision 25219 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
41f87daaa3
Bump version and update APIchanges after r25210.
...
Originally committed as revision 25216 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
3288177150
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
14 years ago
Michael Niedermayer
6ed040408b
Move AVOptions from libavcodec to libavutil
...
Originally committed as revision 25210 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
d7cd001ff2
indent
...
Originally committed as revision 25178 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
8a19053361
Cosmetic (rename detect_repeats to is_atty which matches the truth)
...
Originally committed as revision 25177 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
1c1c80f0a3
2nd try to fix av_log() repeated detection
...
Originally committed as revision 25174 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Tomas Härdin
bc6f0af289
Add av_popcount() to libavutil/common.h and bump minor version
...
Originally committed as revision 25120 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
c157fe6356
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
14 years ago
Stefano Sabatini
4660143a2c
Apply minor simplification in av_read_image_line().
...
Originally committed as revision 25112 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago