Diego Biurrun
9a5d6c23c5
tests/tools/examples: Replace direct exit() calls by return.
13 years ago
Diego Biurrun
f3876ea485
Move some variable declarations below the proper #ifdefs.
...
This avoids warnings about set-but-unused variables.
14 years ago
Mans Rullgard
6efe6028ed
Fixed-point support in fft-test
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
0aded9484d
Move dct and rdft definitions to separate files
...
This leaves fft.h with only the core FFT and MDCT definitions
thus making it more managable.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
26f548bb59
fft: remove inline wrappers for function pointers
...
This removes the rather pointless wrappers (one not even inline)
for calling the fft_calc and related function pointers.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Måns Rullgård
ead7ef8251
fft-test: format error output more readably
...
Originally committed as revision 24799 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
85fbad4555
fft-test: free buffers before exiting
...
Originally committed as revision 24708 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
a79e921ee6
fft-test: exit with non-zero status if test failed
...
Originally committed as revision 24693 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
c99baf05c3
Add help for (I)RDFT test in fft-test
...
Originally committed as revision 22793 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
c2b774a04e
Make code using 1d-DCT consistent with the API change
...
Originally committed as revision 22792 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
41ea18fb0d
Give RDFT types more meaningful names
...
Originally committed as revision 22290 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
3bd8a2ef6c
Update include directives in fft-test.c
...
Originally committed as revision 22289 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
7f3f5f46c2
Floating point discrete cosine transform
...
Originally committed as revision 21338 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
c460833d76
fft-test: Add RDFT/IRDFT support.
...
Originally committed as revision 21141 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
5b37ef8e43
fft-test: Replace do_mdct with a tf_transform enum and switch on it.
...
Originally committed as revision 21140 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
d987a9e9ad
fft-test: whitespace cosmetics
...
Originally committed as revision 21085 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
01b2214758
Merge FFTContext and MDCTContext
...
Originally committed as revision 19931 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Loren Merritt
50b1785a57
bring back some randomness in fft-test. (regression in r18070)
...
Originally committed as revision 19679 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Siarhei Siamashka
34aecf1c87
Support for testing (i)MDCT output scale factor in fft-test tool.
...
Originally committed as revision 18877 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Siarhei Siamashka
7d485f165f
Support for getting (i)MDCT output multiplied by a constant scaling factor.
...
Scaling (i)MDCT output has no runtime overhead and can be used to improve
performance of audio codecs. All the changes are only needed in
'ff_mdct_init' function and slow down initialization a bit.
Originally committed as revision 18855 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
64bde1974b
cosmetics: Rename prn variable to prng (Pseudo Random Number Generator).
...
Originally committed as revision 18422 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
504ffed19f
Mark non-exported functions in test and example programs as static.
...
Originally committed as revision 18259 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
294eaa2643
Replace random() usage in test programs by av_lfg_*().
...
Originally committed as revision 18070 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Loren Merritt
0a570e826d
remove mdct tmp buffer
...
Originally committed as revision 14702 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander Strange
ff558537f0
Don't set mm_flags in fft-test, since it doesn't do anything anyway.
...
Originally committed as revision 13968 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander Strange
f67a10cd0c
Define mm_flags/support to be 0 on architectures where they don't exist.
...
Make sure we don't try to set them if that's the case.
This lets dct-test and fft-test build with --disable-mmx on x86, but not yet on ARM.
Originally committed as revision 13957 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
941b1258b8
Remove redundant mm_flags declaration, fixes the warning:
...
libavcodec.a(dsputil_ppc.o): warning: definition of `mm_flags' overriding common
fft-test.o: warning: common is here
Originally committed as revision 13940 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Marc Hoffman
dc1ecb6a4a
making reference models have the same API
...
Originally committed as revision 9861 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
3bdc2fcea6
make the reference code use double instead of float where it is easy
...
Originally committed as revision 9827 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
86c624af1b
print max and mse
...
Originally committed as revision 9826 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
cc61f96f8a
Fix the compilation of dct-test, fft-test and motion-test which are using
...
random().
Originally committed as revision 9754 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ronald S. Bultje
12807c8d87
Add some #includes to allow compilation without HAVE_AV_CONFIG_H.
...
taken from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net
Originally committed as revision 9263 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
2818647310
Add '#undef exit', the function is now forbidden.
...
Originally committed as revision 8584 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
04d7f60143
Add official LGPL license headers to the files that were missing them.
...
Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Benjamin Larsson
0979831511
printf -> av_log patch by (Benjamin Larsson <>banan student.ltu se)
...
Originally committed as revision 4105 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Gildas Bazin
68951ecf0c
fft_*() renamed into ff_fft_*() patch by (Gildas Bazin <gbazin at altern dot org>)
...
Originally committed as revision 2882 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
983e3246b7
per file doxy
...
Originally committed as revision 1634 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Zdenek Kabelac
0c1a9edad4
* UINTX -> uintx_t INTX -> intx_t
...
Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Fabrice Bellard
e366e6795d
suppressed getopt.h
...
Originally committed as revision 1422 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Fabrice Bellard
ea0f841a54
compile fixes
...
Originally committed as revision 1411 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Fabrice Bellard
bb6f569072
new generic FFT/MDCT code for audio codecs
...
Originally committed as revision 1088 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago