Stefano Sabatini
8257b835cf
Implement av_fifo_realloc2().
...
Originally committed as revision 14846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 18:43:34 +00:00
Michael Niedermayer
a8aefc8aed
Copy and paste LGPL from tree.h, the previous one referred to a non-existing
...
version.
Originally committed as revision 14818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 19:32:51 +00:00
Diego Biurrun
82ed0b763a
Add missing stdint.h header to fix 'make checkheaders'.
...
Originally committed as revision 14816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 19:15:33 +00:00
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
2008-08-17 17:41:48 +00:00
Michael Niedermayer
8cb2db4edb
restore alphabetical order of TESTS
...
Originally committed as revision 14813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 16:58:47 +00:00
Michael Niedermayer
31bcb290cc
Add PCA to TESTS.
...
Originally committed as revision 14812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 16:44:13 +00:00
Michael Niedermayer
4869f47eca
Add multiple inclusion guards for consistency and to avoid them being
...
forgotten in case they ever become neccessary.
Originally committed as revision 14810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 15:53:12 +00:00
Michael Niedermayer
ab1388e435
Move context struct to c file.
...
Originally committed as revision 14809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 15:51:20 +00:00
Michael Niedermayer
f43ad0fe74
Add prototypes to header (based on code by ramiro)
...
Originally committed as revision 14808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 15:50:20 +00:00
Michael Niedermayer
6441737591
Make ff_pca_init() allocate it struct instead of letting the user provide
...
one (more robust ABI wise).
Originally committed as revision 14807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 15:46:20 +00:00
Michael Niedermayer
7b0a6612c6
Do not mix declarations and statements (by ramiro).
...
Originally committed as revision 14806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 15:35:55 +00:00
Michael Niedermayer
88ccaf6f31
put testing code under #ifdef TEST
...
Originally committed as revision 14805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 15:33:17 +00:00
Michael Niedermayer
cd5cd37741
Testing code uses random().
...
Originally committed as revision 14804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 15:32:50 +00:00
Michael Niedermayer
a50bd69d9d
fix includes
...
Originally committed as revision 14803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 15:32:13 +00:00
Michael Niedermayer
7a0d00d49e
Principal component analysis
...
(will be cleaned up in next commits)
Originally committed as revision 14802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-17 15:28:12 +00:00
Diego Biurrun
2b409ca9d6
Remove hackish support for fastmemcpy from MPlayer.
...
Originally committed as revision 14764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-14 20:40:36 +00:00
Aurelien Jacobs
5af4f1f3e3
move M_PI definition along with other math definitions
...
Originally committed as revision 14727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 16:01:21 +00:00
Aurelien Jacobs
d1a12956a0
define some math constants so as not to depend on _XOPEN_SOURCE
...
Originally committed as revision 14725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 10:04:59 +00:00
Stefano Sabatini
76eb5c0523
Cosmetics: fix weird indent.
...
Originally committed as revision 14670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-08 19:50:35 +00:00
Stefano Sabatini
7f0026dded
Implement avutil_version().
...
Originally committed as revision 14665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-08 18:32:20 +00:00
Benoit Fouet
bc02bc8686
Remove unused redefinition of av_log for test.
...
Originally committed as revision 14657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-07 07:01:54 +00:00
Benoit Fouet
c3b9f5fbce
Remove a useless directive.
...
Originally committed as revision 14645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-06 12:04:35 +00:00
Benoit Fouet
2daefd2c00
Cosmetics: indentation
...
Originally committed as revision 14644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-06 12:03:51 +00:00
Peter Ross
6ba10f338a
Add av_memcpy_backptr(): deliberately overlapping memcpy variant.
...
Originally committed as revision 14641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-06 08:17:03 +00:00
Diego Biurrun
354de1d0b5
misc spelling/wording fixes
...
Originally committed as revision 14539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-04 21:54:50 +00:00
Måns Rullgård
c8fd5da42f
fix ARMv6 FASTDIV for divisor <=2
...
Originally committed as revision 14481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 02:38:40 +00:00
Michael Niedermayer
f39e8b03c8
1000l typo my new PRNG converged to -1.
...
Originally committed as revision 14479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-30 23:17:41 +00:00
Michael Niedermayer
310d442456
Add a multiplicative LFG for those thinking the additive is not good
...
enough, just 4 lines of code.
Originally committed as revision 14478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-30 23:08:07 +00:00
Diego Biurrun
9f31c7ef37
USE_FASTMEMCPY is now called CONFIG_FASTMEMCPY in MPlayer.
...
Originally committed as revision 14475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-30 12:02:22 +00:00
Michael Niedermayer
2cf3c8632c
Document av_lfg_get().
...
Originally committed as revision 14461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-28 15:47:06 +00:00
Michael Niedermayer
e80d474119
Warning about MTs speed.
...
Originally committed as revision 14460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-28 15:44:00 +00:00
Michael Niedermayer
2754fe8ba5
Simple lagged fibonacci PRNG.
...
3.5 times faster than our mersene twister.
10 times less memory needed. (=less cache trashing)
Originally committed as revision 14458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-28 15:35:04 +00:00
Diego Biurrun
58fe735631
Add random to list of test programs.
...
Originally committed as revision 14441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-27 21:11:06 +00:00
Diego Biurrun
cf160899dd
Change return type of main function to int to avoid a warning.
...
Originally committed as revision 14440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-27 21:10:32 +00:00
Diego Biurrun
00c6161d5a
Move #includes, which are only used in the test program, below the #ifdef
...
surrounding the test program to save an #ifdef at the top of the file.
Originally committed as revision 14439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-27 21:05:12 +00:00
Michael Niedermayer
51be0eb482
Change benchmarking code so it returns comparable values.
...
Originally committed as revision 14434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-27 20:53:30 +00:00
Michael Niedermayer
b6ff078b7b
Make the selftesting code use and compileable.
...
Originally committed as revision 14433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-27 20:50:24 +00:00
Diego Biurrun
ca74c0a180
cosmetics: Fix two common typos: wont --> will not, lets --> let us.
...
Originally committed as revision 14372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-24 17:09:28 +00:00
Diego Biurrun
80a61f08d2
Remove AltiVec vector declaration compiler compatibility macros.
...
The original problem was that FSF and Apple gcc used a different syntax
for vector declarations, i.e. {} vs. (). Nowadays Apple gcc versions support
the standard {} syntax and versions that support {} are available on all
relevant Mac OS X versions. Thus the greater compatibility is no longer
worth cluttering the code with macros.
Originally committed as revision 14366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-24 10:53:32 +00:00
Måns Rullgård
b7b38fb28a
intreadwrite: support DEC compiler __unaligned type qualifier
...
Originally committed as revision 14275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-18 01:18:59 +00:00
Måns Rullgård
fbbea48eb3
Rearrange AV_[RW][BL]*() macros
...
Originally committed as revision 14265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-17 18:42:19 +00:00
Måns Rullgård
6651ce17b8
ARM: ARMv6 optimised FASTDIV
...
Originally committed as revision 14242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 19:06:18 +00:00
Måns Rullgård
c696a863d4
ARM: fix ARCH_ARM -> ARCH_ARMV4L test in bswap_32()
...
Originally committed as revision 14240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 19:06:03 +00:00
Måns Rullgård
ea66f252a8
ARM: ARMv6 optimised bswap_16/32
...
Originally committed as revision 14239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 19:05:49 +00:00
Alexander Strange
b1e12f99a2
Print the address of the AVCodecContext in av_log().
...
This makes debug output much easier to read when the
same codec is open more than once.
Originally committed as revision 14237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 17:17:35 +00:00
Vitor Sessak
4138ad961c
Add av_clipf() function to common.h and use it in ra288.c
...
Originally committed as revision 14213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 19:59:44 +00:00
Loren Merritt
f27e1d645e
simplify vorbis windowing
...
Originally committed as revision 14205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 14:56:01 +00:00
Peter Ross
d7bd0b3dea
Only define AltiVec vector syntax macro when AltiVec is enabled.
...
patch by Peter Ross, pross xvid org
Originally committed as revision 14073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-05 08:10:47 +00:00
Michael Niedermayer
8cd8eaa546
Make START/STOP_TIMER not require -v 2.
...
Originally committed as revision 13711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-08 10:55:34 +00:00
Måns Rullgård
40c13fecfa
alloc_size attribute is new to gcc 4.3; don't use it with lesser versions
...
Originally committed as revision 13665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-05 19:49:47 +00:00
Rafaël Carré
d326dd9797
Fix embarassing __GNU__ vs. __GNUC__ typo in preprocessor condition.
...
patch by Rafaël Carré, funman videolan org
Originally committed as revision 13652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 22:10:53 +00:00
Stefano Sabatini
4a567b40b1
Macro suggested by Michael which will be used to disable the
...
definition of long_name strings in libavcodec and libavformat.
Patch by: Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 07:37:43 +00:00
Diego Biurrun
b006b26c83
Implement a proper configure test for AltiVec vector declaration syntax.
...
Originally committed as revision 13555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 10:58:48 +00:00
Michael Niedermayer
fa3b98182d
Ensure that one can store X bytes in a fifo of size X.
...
Fixed issue417.
Originally committed as revision 13405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 23:04:09 +00:00
Michael Niedermayer
0871ae1a93
Make av_fifo*_read() ignore the available amount of data.
...
This is more efficient as in practice the check is redundant most of the
time. Callers which do not know if enough data is available have to check
it with av_fifo_size(). Doing the check in *read() means the caller has
no choice to skip the check when its known to be redundant.
Also the return value was never documented in a public header so
changing it should not break the API. Besides this fixes the case where
read() failed on a 100% full fifo.
Originally committed as revision 13404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 22:20:39 +00:00
Michael Niedermayer
19757f6169
indent
...
Originally committed as revision 13251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-23 12:37:52 +00:00
Michael Niedermayer
fdf35f265a
make av_strdup(NULL) return NULL
...
Originally committed as revision 13250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-23 12:37:32 +00:00
Diego Biurrun
c38e75fc52
Add required stdint.h header.
...
Originally committed as revision 13096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 11:10:20 +00:00
Ramiro Polla
40d0e665d0
Do not misuse long as the size of a register in x86.
...
typedef x86_reg as the appropriate size and use it instead.
Originally committed as revision 13081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-08 21:11:24 +00:00
Diego Biurrun
ccd425e799
Remove unnecessary parentheses from return calls.
...
Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-06 09:16:36 +00:00
Diego Biurrun
91605c69fb
minor wording fix
...
Originally committed as revision 13068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-06 08:41:13 +00:00
Diego Biurrun
e4a957d1a7
minor spelling fix
...
Originally committed as revision 13066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-06 08:03:30 +00:00
Måns Rullgård
7c43009358
add necessary #includes in headers
...
Originally committed as revision 13043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 13:29:39 +00:00
Baptiste Coudurier
b842ecbefc
add FFMIN3
...
Originally committed as revision 12982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 12:47:02 +00:00
Stefano Sabatini
95a6a015e3
Enhance documentation for AVClass
...
Patch by Stefano Sabatini stefanodotsabatini-lalaatpostedotit
Originally committed as revision 12934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-24 10:13:38 +00:00
Vladimir Voroshilov
159ef4b02a
Implement FFMAX3(a,b,c) - maximum over three arguments.
...
Originally committed as revision 12910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 17:07:58 +00:00
Diego Biurrun
93826f561d
Fix des-test compilation.
...
Originally committed as revision 12889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-18 07:05:49 +00:00
Diego Biurrun
c88c253d8b
cosmetics: __asm__ __volatile__ --> asm volatile
...
Originally committed as revision 12885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 21:57:52 +00:00
Stefano Sabatini
07c37ca7fc
remove useless extern keyword.
...
patch by Stefano Sabatini: stefano sabatini-lala poste it
Originally committed as revision 12790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-11 14:18:33 +00:00
Benoit Fouet
95c76e1180
cosmetics (by Björn Axelsson)
...
Originally committed as revision 12774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-09 11:36:50 +00:00
Björn Axelsson
49cec1998a
Add a generic write function to av_fifo.
...
Patch by Björn Axelsson: bjorn axelsson intinor se
Original thread: [FFmpeg-devel] [RFC][PATCH] av_fifo_write_from_bytestream()
Date: 04/03/2008 12:14 PM
Originally committed as revision 12773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-09 11:35:16 +00:00
Måns Rullgård
71c61f62a3
non-recursive makefiles
...
Originally committed as revision 12760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-07 21:16:31 +00:00
Michael Niedermayer
4764fdc987
simplify
...
Originally committed as revision 12755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-05 10:52:27 +00:00
Michael Niedermayer
ed0d3048c0
Merge declaratio and initialization.
...
Originally committed as revision 12677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 19:20:32 +00:00
Michael Niedermayer
11362767b8
Merge declaration and initialization.
...
Originally committed as revision 12676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 19:18:14 +00:00
Alexander Strange
df22c35dfb
Split MANGLE macro into LOCAL_MANGLE AND EXTERN_PREFIX parts
...
so that LOCAL_MANGLE can be used without EXTERN_PREFIX.
patch by Alexander Strange, astrange ithinksw com
Originally committed as revision 12558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-22 18:15:12 +00:00
Zuxy Meng
98a6fff98c
Apply 'cold' attribute to init/uninit functions in libavcodec
...
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 03:11:20 +00:00
Måns Rullgård
3540b950ec
add missing #include "common.h" to libavutil headers
...
Originally committed as revision 12502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-19 08:47:31 +00:00
Zuxy Meng
e6e70d9bdc
Cosmetic change: remove the whitespace after 'defined'
...
Originally committed as revision 12501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-19 07:43:43 +00:00
Zuxy Meng
0fd48faca5
'malloc' attribute isn't supported in old gcc.
...
Originally committed as revision 12500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-19 07:42:50 +00:00
Zuxy Meng
cca6d953c2
Apply "alloc_size" attribute to av_alloc, av_realloc and av_mallocz
...
Originally committed as revision 12499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-19 07:30:34 +00:00
Zuxy Meng
85074d3c93
Reapply r12489: Add pure, const and malloc attributes to proper functions
...
in libavutil.
Fix a compilation failure in r12489.
Originally committed as revision 12498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-19 06:17:43 +00:00
Måns Rullgård
3662d880ed
32/64-bit agnostic x86 bswap
...
Originally committed as revision 12496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 22:28:33 +00:00
Måns Rullgård
70fa2e27ec
cosmetics: sanitise asm() statements in bswap.h
...
Originally committed as revision 12494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 20:52:37 +00:00
Benoit Fouet
2119bb8f51
revert r12489.
...
Originally committed as revision 12490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 16:29:47 +00:00
Zuxy Meng
6544f48f03
Pure, const and malloc attributes to libavutil.
...
Patch by Zuxy Meng: zuxy meng gmail com
Original thread:
[FFmpeg-devel] [PATCH] Pure, const and malloc attributes to libavutil
Date: 03/18/2008 6:09 AM
Originally committed as revision 12489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 15:27:15 +00:00
Måns Rullgård
b4d96ba2a8
check for prefix on extern symbols in configure
...
Originally committed as revision 12484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 02:01:20 +00:00
Måns Rullgård
3c9bcb42cf
add REGd definition
...
Originally committed as revision 12481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 23:08:17 +00:00
Diego Biurrun
08e89160e4
cosmetics: indentation
...
Originally committed as revision 12471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 09:22:39 +00:00
Diego Biurrun
edfd6975cf
Simplify MANGLE macro preprocessor condition checks.
...
Originally committed as revision 12470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 09:22:11 +00:00
İsmail Dönmez
8e9ccb6c7e
Fix MANGLE macro on Mac OS X.
...
Allows compiling a 64 bit FFmpeg on Mac OS X without using --disable-mmx.
patch by İsmail Dönmez ismail namtrac org
Originally committed as revision 12468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 07:49:03 +00:00
Diego Biurrun
768a920572
#include stddef.h instead of sys/types.h, the former is a standard C header.
...
Originally committed as revision 12435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 18:30:07 +00:00
Diego Biurrun
32573a74bf
#include stdint.h instead of inttypes.h like all libavutil headers do.
...
Originally committed as revision 12433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 18:17:03 +00:00
Diego Biurrun
a087028ad8
Add #include "config.h" to headers that need it.
...
Originally committed as revision 12431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 18:04:21 +00:00
Diego Biurrun
6ef2912879
Add missing stdint.h #include to headers that use it.
...
Originally committed as revision 12429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 00:20:15 +00:00
Diego Biurrun
2cab640129
typo fixes
...
Originally committed as revision 12428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-12 23:58:46 +00:00
Diego Biurrun
7ce6892373
misc spelling fixes
...
Originally committed as revision 12410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 18:42:09 +00:00
Diego Biurrun
c123486e44
#error in case we do not know how to provide alignment.
...
Originally committed as revision 12382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 20:30:15 +00:00
Måns Rullgård
6bd859d67e
check for x86 bswap instruction
...
Originally committed as revision 12375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 18:33:07 +00:00
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
2008-03-08 14:39:43 +00:00
Måns Rullgård
0e32c8c65a
simplify library version handling
...
Originally committed as revision 12362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-07 19:27:17 +00:00
Reimar Döffinger
7e14b8082d
Use cltd instead of cdq asm mnemonic, ICC and gcc support both, but
...
SunStudio 12 only supports the former.
Originally committed as revision 12275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-28 17:01:35 +00:00
Måns Rullgård
2e98d87cfc
simplify lzo-test rule
...
Originally committed as revision 12269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-27 21:38:36 +00:00
Måns Rullgård
800c289a66
less preprocessor magic in version number macros
...
Originally committed as revision 12246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 20:37:59 +00:00
Peter Ross
fe0c188b4a
This header just needs stdint.h, not inttypes.h, which is a superset of
...
stdint.h. This has the sideeffect of fixing the build on Interix.
patch by Pete Ross, pross xvid org
Originally committed as revision 12225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 09:12:55 +00:00
Eddie Pang
a02dd7ebdd
Fix MSVC identification, patch by Eddie Pang.
...
Originally committed as revision 12218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 18:32:55 +00:00
Michael Niedermayer
4fa1f6cc5c
Make code C conformant.
...
Originally committed as revision 12217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 18:25:49 +00:00
Diego Biurrun
4bfc91a07b
cosmetics: prettyprint
...
Originally committed as revision 12213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 14:53:55 +00:00
Eddie Pang
5cbd67ea43
10l: Correctly use preprocessor conditionals.
...
patch by Eddie Pang, eddpang gmail com
Originally committed as revision 12159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-20 18:48:49 +00:00
Måns Rullgård
e97ac1e6f5
Clean up lib* version definitions
...
Updating version numbers now requires changing only one place.
Originally committed as revision 12154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 22:50:28 +00:00
Diego Biurrun
27af15dc5c
prettyprinting cosmetics
...
Originally committed as revision 11941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 14:58:18 +00:00
avcoder
90d30570d8
Avoid void*-arithmetic.
...
Patch by mvplayer: ffmpeg gmail com
Originally committed as revision 11932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-14 08:16:07 +00:00
Diego Biurrun
7cb1fc766b
Add fallback for DECLARE_ALIGNED and DECLARE_ASM_CONST.
...
Originally committed as revision 11919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 08:36:04 +00:00
Diego Biurrun
b89bb8581d
Mark MSVC compiler macros as such.
...
Originally committed as revision 11918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 08:33:05 +00:00
Diego Biurrun
7433ca2982
Disentangle nested preprocessor directives.
...
Originally committed as revision 11917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 08:08:03 +00:00
Carl Eugen Hoyos
7ce3e4a882
Allow compilation with icc 10.1.
...
Originally committed as revision 11889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 20:47:11 +00:00
Michael Niedermayer
f522310b6d
Missing const found by -Wwrite-strings.
...
Originally committed as revision 11838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 21:56:13 +00:00
Reimar Döffinger
5e038b4f08
LZO decoder input is const
...
Originally committed as revision 11797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:30:51 +00:00
Michael Niedermayer
ff794171c9
Do not cast const away.
...
Originally committed as revision 11707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:14:50 +00:00
Michael Niedermayer
89ef2c29a0
Merge declaration and initialization.
...
Originally committed as revision 11701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 01:33:49 +00:00
Michael Niedermayer
070144671d
Dont cast const away.
...
Originally committed as revision 11700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 01:33:16 +00:00
Michael Niedermayer
b8fe8ab062
Fix the following using void* casts, proper casts are less readable and
...
avoiding casts would be even less readable, but other suggestions are welcome.
lls.c:56: warning: initialization from incompatible pointer type
lls.c:57: warning: initialization from incompatible pointer type
Originally committed as revision 11697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 20:52:14 +00:00
Michael Niedermayer
59abc29e69
fixing warning
...
md5.c:150: warning: passing argument 2 of 'av_md5_update' from incompatible pointer type
Originally committed as revision 11665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-30 04:50:09 +00:00
Benoit Fouet
dd670dedf9
Remove integer.h inclusion.
...
Originally committed as revision 11654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-28 17:23:57 +00:00
Diego Biurrun
bca9e0bcf1
Move common test program infrastructure to common.mak.
...
Originally committed as revision 11645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 23:28:56 +00:00
Diego Biurrun
fe34942e92
Move some lines in preparation for an upcoming commit.
...
Originally committed as revision 11644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 23:27:13 +00:00
Diego Biurrun
4942a0e8ee
Add Makefile rules for test programs.
...
Originally committed as revision 11643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 22:39:30 +00:00
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
2008-01-27 21:03:54 +00:00
Reimar Döffinger
766324fc49
Add and use DECLARE_ASM_CONST for constants used in assembler code.
...
Should make it easier to work around compilation problems with e.g. ICC.
Originally committed as revision 11641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 20:50:16 +00:00
Michael Niedermayer
51198a8737
Comment to explain how the add/remove core works.
...
Originally committed as revision 11603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-23 21:03:21 +00:00
Michael Niedermayer
c448a09624
Faster ff_sqrt()
...
Originally committed as revision 11586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-21 13:33:18 +00:00
Diego Biurrun
59ec6991ac
Disallow puts(), av_log() should be used instead.
...
Originally committed as revision 11548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-17 08:32:31 +00:00
Michael Niedermayer
5d1e3d2210
Print removing of nodes in the test code.
...
Originally committed as revision 11534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-16 01:54:56 +00:00
Michael Niedermayer
3f161c7eab
simplify
...
Originally committed as revision 11533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-16 01:54:18 +00:00
Sigbjørn Skjæret
9ad5675f25
Add a couple of missing consts.
...
patch by Sigbjørn Skjæret, cisc broadpark no
Originally committed as revision 11528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-14 22:10:19 +00:00
Diego Biurrun
f3635240b7
Fix a couple of 'return type defaults to int' and 'control reaches end of
...
non-void function' warnings in test code.
Originally committed as revision 11491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-10 10:35:37 +00:00
Diego Biurrun
f0cb505aeb
Allow compilation of test programs when TEST is defined.
...
Originally committed as revision 11473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-08 22:54:49 +00:00
Diego Biurrun
a005768d25
Remove unused variable j.
...
Originally committed as revision 11472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-08 22:53:25 +00:00
Diego Biurrun
38c162c1a9
Remove unused variable variance.
...
Originally committed as revision 11471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-08 22:48:26 +00:00
Diego Biurrun
43bfaa8920
Fix test program compilation, random() needs to be undefined.
...
Originally committed as revision 11470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-08 22:40:25 +00:00
Aurelien Jacobs
03d83abcc6
Fix access to the last element of the table.
...
(size of the table vs. number of elements in the table)
Originally committed as revision 11448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-07 13:19:38 +00:00
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
2008-01-04 23:47:10 +00:00
Aurelien Jacobs
3abe5fbdc4
improve CRC API
...
- don't export any global var
- provide either generated or hardcoded tables
Originally committed as revision 11409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 23:09:58 +00:00
Michael Niedermayer
a35bf971c6
indent
...
Originally committed as revision 11405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 19:16:38 +00:00
Michael Niedermayer
2e1d287329
Flip key and element so types match, not that it matters for any code
...
using it in libav*.
Originally committed as revision 11404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 18:58:36 +00:00
Michael Niedermayer
b57cb96836
Document O() time.
...
Originally committed as revision 11403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 18:55:14 +00:00
Michael Niedermayer
efbaf4deee
Document node removial API.
...
Originally committed as revision 11402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 18:46:53 +00:00
Michael Niedermayer
d5cb5fe86b
Fix selftest.
...
Originally committed as revision 11401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 18:21:36 +00:00
Michael Niedermayer
f05dda3b7a
Support removing elements.
...
Originally committed as revision 11400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 18:20:03 +00:00
Michael Niedermayer
6e8b982bcc
Move *malloc() out of tree.c, that way the code can be used with
...
flat arrays which have lower overhead than millions of mallocd() elements.
Originally committed as revision 11399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 17:52:16 +00:00