Michael Niedermayer
f43ad0fe74
Add prototypes to header (based on code by ramiro)
...
Originally committed as revision 14808 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
Michael Niedermayer
7b0a6612c6
Do not mix declarations and statements (by ramiro).
...
Originally committed as revision 14806 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
88ccaf6f31
put testing code under #ifdef TEST
...
Originally committed as revision 14805 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
cd5cd37741
Testing code uses random().
...
Originally committed as revision 14804 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
a50bd69d9d
fix includes
...
Originally committed as revision 14803 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
Diego Biurrun
2b409ca9d6
Remove hackish support for fastmemcpy from MPlayer.
...
Originally committed as revision 14764 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
5af4f1f3e3
move M_PI definition along with other math definitions
...
Originally committed as revision 14727 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
Stefano Sabatini
76eb5c0523
Cosmetics: fix weird indent.
...
Originally committed as revision 14670 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
7f0026dded
Implement avutil_version().
...
Originally committed as revision 14665 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Benoit Fouet
bc02bc8686
Remove unused redefinition of av_log for test.
...
Originally committed as revision 14657 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Benoit Fouet
c3b9f5fbce
Remove a useless directive.
...
Originally committed as revision 14645 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Benoit Fouet
2daefd2c00
Cosmetics: indentation
...
Originally committed as revision 14644 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Peter Ross
6ba10f338a
Add av_memcpy_backptr(): deliberately overlapping memcpy variant.
...
Originally committed as revision 14641 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
354de1d0b5
misc spelling/wording fixes
...
Originally committed as revision 14539 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
c8fd5da42f
fix ARMv6 FASTDIV for divisor <=2
...
Originally committed as revision 14481 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
f39e8b03c8
1000l typo my new PRNG converged to -1.
...
Originally committed as revision 14479 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
Diego Biurrun
9f31c7ef37
USE_FASTMEMCPY is now called CONFIG_FASTMEMCPY in MPlayer.
...
Originally committed as revision 14475 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
2cf3c8632c
Document av_lfg_get().
...
Originally committed as revision 14461 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
e80d474119
Warning about MTs speed.
...
Originally committed as revision 14460 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
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
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
17 years ago
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
17 years ago
Michael Niedermayer
51be0eb482
Change benchmarking code so it returns comparable values.
...
Originally committed as revision 14434 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
b6ff078b7b
Make the selftesting code use and compileable.
...
Originally committed as revision 14433 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
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
17 years ago
Måns Rullgård
b7b38fb28a
intreadwrite: support DEC compiler __unaligned type qualifier
...
Originally committed as revision 14275 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
fbbea48eb3
Rearrange AV_[RW][BL]*() macros
...
Originally committed as revision 14265 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
6651ce17b8
ARM: ARMv6 optimised FASTDIV
...
Originally committed as revision 14242 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
Måns Rullgård
ea66f252a8
ARM: ARMv6 optimised bswap_16/32
...
Originally committed as revision 14239 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
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
17 years ago
Loren Merritt
f27e1d645e
simplify vorbis windowing
...
Originally committed as revision 14205 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
Michael Niedermayer
8cd8eaa546
Make START/STOP_TIMER not require -v 2.
...
Originally committed as revision 13711 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
Michael Niedermayer
19757f6169
indent
...
Originally committed as revision 13251 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
fdf35f265a
make av_strdup(NULL) return NULL
...
Originally committed as revision 13250 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
c38e75fc52
Add required stdint.h header.
...
Originally committed as revision 13096 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago