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
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
Michael Niedermayer
6ed040408b
Move AVOptions from libavcodec to libavutil
...
Originally committed as revision 25210 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
9275438a19
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
14 years ago
Stefano Sabatini
c6c98d0897
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
14 years ago
Stefano Sabatini
7160bb716b
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
14 years ago
Diego Pettenò
3fc548df28
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
like FASTDIV), but if CONFIG_SMALL is unset, then a different copy is made
available to libavcodec, to avoid the performance penalty of using an
external look up table.
Dynamic linking works, because the libraries are linked with -Bsymbolic, so
the local copy of the symbol has priority over the external; static linking
works because the table is on a standalone object file in both libraries,
so the linker is able to discard one of the two.
Tested on Linux/x86-64 and Mac OS X/x86-64.
Originally committed as revision 24383 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
b91d08f4a3
Install bswap.h and intreadwrite.h
...
Originally committed as revision 24174 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
89eec74a52
avutil: install lfg.h
...
Originally committed as revision 23985 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
0b99215c0e
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
15 years ago
Martin Storsjö
576fb48e6d
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
15 years ago
Stefano Sabatini
87958234f9
Implement av_strerror().
...
Originally committed as revision 22684 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
60c144f700
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
Date: Sun, 19 Jul 2009 12:09:16 +0200
Originally committed as revision 22501 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
2791730dbf
Move gcc attribute macros to new header libavutil/attributes.h
...
Originally committed as revision 22346 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
f89c14027a
checkheaders: skip per-arch headers not meant for direct inclusion
...
Some of the per-arch headers are only meant to be used through
the parent header of the same name. Testing these standalone
does not make sense.
Originally committed as revision 22341 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
a3e02a8cad
Create and install libavutil/avconfig.h
...
This file contains a safe subset of the config.h settings.
Only bigendian is included for now, more can be added as
need arises.
Originally committed as revision 21321 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
74a0059f2c
Make the pixdesc API public.
...
Originally committed as revision 20603 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
451ae25724
Prepare SHA code to handle SHA-2 as well. For now rename files and functions
...
and leave av_sha1_* functions for compatibility until next major bump.
Originally committed as revision 19394 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
9d58d4717a
cosmetics: Add missing ending backslash to installed header list.
...
Originally committed as revision 19135 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
e467369278
Add a configure check for lzo1x_999_compress() and compile the lzo test program
...
in libavutil when this function is available.
Originally committed as revision 18386 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
a8f9e7f641
Fix lzo-test linking: -llzo2 should be in ELIBS, not EXTRALIBS.
...
Originally committed as revision 18320 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
3344cf851c
Use a wildcard match instead of a list to remove test programs.
...
This is robust against renames and also removes test programs not
(yet) hooked up in the main Makefiles.
Originally committed as revision 18193 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
7304c2c4ce
Move adding the '-test$(EXESUF)' suffix to test programs into common.mak.
...
Originally committed as revision 18189 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
661ce28996
Rename 'tests' target to 'testprogs'. It is too easily confused with the
...
'test' target and a directory named tests exists.
Originally committed as revision 18165 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
ee6624ef4a
Remove deprecated and now unused Mersenne Twister PRNG.
...
Originally committed as revision 18116 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
792e467904
Remove the Mersenne Twister from the public API/ABI.
...
We provide better PRNGs.
Originally committed as revision 17872 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
48d58e592a
add ff_random_get_seed to be used in conjunction with random functions
...
Originally committed as revision 17868 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
04331dea2a
Split avutil.h, move all the pixel format definitions to the new
...
dedicated file pixfmt.h.
Originally committed as revision 17528 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
21eff9ced7
Add a new test program for base64, based on that removed in r17024.
...
See the thread:
"[PATCH] remove unused and broken test program in libavutil/base64.c".
Originally committed as revision 17025 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
4d55404fca
Rename string.c to avstring.c so that the name of header and C file match.
...
Originally committed as revision 16853 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
7b5e8a274a
Extend 'checkheaders' target to architecture-specific subdirectories.
...
Originally committed as revision 16559 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
f0e602351e
cosmetics: Consistently place HEADERS before OBJS in all Makefiles.
...
Originally committed as revision 15896 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
ede725104b
cosmetic: align backslashes in makefiles
...
Originally committed as revision 15717 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
ec0350c983
use LFG instead of Mersenne Twister for AC-3 PRNG
...
Originally committed as revision 14815 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
8cb2db4edb
restore alphabetical order of TESTS
...
Originally committed as revision 14813 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
31bcb290cc
Add PCA to TESTS.
...
Originally committed as revision 14812 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
7f0026dded
Implement avutil_version().
...
Originally committed as revision 14665 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
58fe735631
Add random to list of test programs.
...
Originally committed as revision 14441 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
71c61f62a3
non-recursive makefiles
...
Originally committed as revision 12760 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
9b25f4a65f
cosmetics: Consistently move NAME and FFLIBS to the top of each Makefile.
...
Originally committed as revision 12364 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
0e32c8c65a
simplify library version handling
...
Originally committed as revision 12362 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
2e98d87cfc
simplify lzo-test rule
...
Originally committed as revision 12269 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
bca9e0bcf1
Move common test program infrastructure to common.mak.
...
Originally committed as revision 11645 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
fe34942e92
Move some lines in preparation for an upcoming commit.
...
Originally committed as revision 11644 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
4942a0e8ee
Add Makefile rules for test programs.
...
Originally committed as revision 11643 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
cff7ccdd44
Do not install integer.h, it is not part of the public API.
...
Originally committed as revision 11642 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
977cbe79d8
install crc.h which is now part of public API
...
Originally committed as revision 11410 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Barbato
537c8e7a48
Provide sha1 to outside applications
...
Patch from Diego Pettenò flameeyesATgmailDOTcom
Originally committed as revision 11207 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
2e9ad69aaf
Add support for DES en- and decryption.
...
Originally committed as revision 10810 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
547972fdad
cosmetics: sort()
...
Originally committed as revision 10729 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago