summaryrefslogtreecommitdiff
path: root/libavcodec/fft-test.c
Commit message (Collapse)AuthorAgeFilesLines
* dct/fft-test: use a replacement getopt() if the system has none present.Ronald S. Bultje2012-07-111-0/+6
| | | | | | | This allows compiling and running these tests on systems lacking a built- in version of getopt(), such as MSVC. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Use av_gettime() in various placesMans Rullgard2012-06-201-10/+3
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* fft-test: add option to set cpuflag maskMans Rullgard2012-04-251-1/+9
| | | | | | This can be useful for testing. Signed-off-by: Mans Rullgard <mans@mansr.com>
* tests/tools/examples: Replace direct exit() calls by return.Diego Biurrun2011-12-081-4/+1
|
* Move some variable declarations below the proper #ifdefs.Diego Biurrun2011-06-261-2/+3
| | | | This avoids warnings about set-but-unused variables.
* Fixed-point support in fft-testMans Rullgard2011-04-011-22/+51
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Move dct and rdft definitions to separate filesMans Rullgard2011-03-201-0/+2
| | | | | | | 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>
* fft: remove inline wrappers for function pointersMans Rullgard2011-03-191-12/+12
| | | | | | | 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>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* fft-test: format error output more readablyMåns Rullgård2010-08-161-1/+1
| | | | Originally committed as revision 24799 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fft-test: free buffers before exitingMåns Rullgård2010-08-061-0/+7
| | | | Originally committed as revision 24708 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fft-test: exit with non-zero status if test failedMåns Rullgård2010-08-041-8/+12
| | | | Originally committed as revision 24693 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-201-1/+1
| | | | | | | | 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
* Add help for (I)RDFT test in fft-testVitor Sessak2010-04-031-0/+1
| | | | Originally committed as revision 22793 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make code using 1d-DCT consistent with the API changeVitor Sessak2010-04-031-3/+3
| | | | Originally committed as revision 22792 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Give RDFT types more meaningful namesMåns Rullgård2010-03-071-3/+3
| | | | Originally committed as revision 22290 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update include directives in fft-test.cMåns Rullgård2010-03-071-1/+3
| | | | Originally committed as revision 22289 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Floating point discrete cosine transformVitor Sessak2010-01-201-1/+65
| | | | Originally committed as revision 21338 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fft-test: Add RDFT/IRDFT support.Alex Converse2010-01-111-2/+52
| | | | Originally committed as revision 21141 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fft-test: Replace do_mdct with a tf_transform enum and switch on it.Alex Converse2010-01-111-11/+26
| | | | Originally committed as revision 21140 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fft-test: whitespace cosmeticsAlex Converse2010-01-081-10/+10
| | | | Originally committed as revision 21085 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge FFTContext and MDCTContextMåns Rullgård2009-09-201-1/+1
| | | | Originally committed as revision 19931 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bring back some randomness in fft-test. (regression in r18070)Loren Merritt2009-08-221-6/+6
| | | | Originally committed as revision 19679 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support for testing (i)MDCT output scale factor in fft-test tool.Siarhei Siamashka2009-05-201-7/+13
| | | | Originally committed as revision 18877 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support for getting (i)MDCT output multiplied by a constant scaling factor.Siarhei Siamashka2009-05-161-1/+1
| | | | | | | | 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
* cosmetics: Rename prn variable to prng (Pseudo Random Number Generator).Diego Biurrun2009-04-101-3/+3
| | | | Originally committed as revision 18422 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark non-exported functions in test and example programs as static.Diego Biurrun2009-03-311-8/+8
| | | | Originally committed as revision 18259 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace random() usage in test programs by av_lfg_*().Diego Biurrun2009-03-201-2/+4
| | | | Originally committed as revision 18070 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-011-1/+1
| | | | | | | 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
* remove mdct tmp bufferLoren Merritt2008-08-121-6/+5
| | | | Originally committed as revision 14702 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Don't set mm_flags in fft-test, since it doesn't do anything anyway.Alexander Strange2008-06-251-4/+0
| | | | Originally committed as revision 13968 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define mm_flags/support to be 0 on architectures where they don't exist.Alexander Strange2008-06-241-0/+3
| | | | | | | 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
* Remove redundant mm_flags declaration, fixes the warning:Diego Biurrun2008-06-241-2/+0
| | | | | | | 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
* making reference models have the same APIMarc Hoffman2007-08-011-4/+6
| | | | Originally committed as revision 9861 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make the reference code use double instead of float where it is easyMichael Niedermayer2007-07-291-4/+4
| | | | Originally committed as revision 9827 to svn://svn.ffmpeg.org/ffmpeg/trunk
* print max and mseMichael Niedermayer2007-07-291-1/+7
| | | | Originally committed as revision 9826 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix the compilation of dct-test, fft-test and motion-test which are usingPanagiotis Issaris2007-07-191-0/+1
| | | | | | random(). Originally committed as revision 9754 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add some #includes to allow compilation without HAVE_AV_CONFIG_H.Ronald S. Bultje2007-06-091-0/+2
| | | | | | taken from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net Originally committed as revision 9263 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add '#undef exit', the function is now forbidden.Diego Biurrun2007-04-011-0/+2
| | | | Originally committed as revision 8584 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-071-4/+6
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add official LGPL license headers to the files that were missing them.Diego Biurrun2006-09-101-0/+18
| | | | Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-171-6/+6
| | | | Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
* printf -> av_log patch by (Benjamin Larsson <>banan student.ltu se)Benjamin Larsson2005-04-041-10/+10
| | | | Originally committed as revision 4105 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fft_*() renamed into ff_fft_*() patch by (Gildas Bazin <gbazin at altern dot ↵Gildas Bazin2004-03-131-5/+5
| | | | | | org>) Originally committed as revision 2882 to svn://svn.ffmpeg.org/ffmpeg/trunk
* per file doxyMichael Niedermayer2003-03-061-1/+5
| | | | Originally committed as revision 1634 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * UINTX -> uintx_t INTX -> intx_tZdenek Kabelac2003-02-111-3/+3
| | | | Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
* suppressed getopt.hFabrice Bellard2003-01-071-1/+1
| | | | Originally committed as revision 1422 to svn://svn.ffmpeg.org/ffmpeg/trunk
* compile fixesFabrice Bellard2003-01-071-27/+6
| | | | Originally committed as revision 1411 to svn://svn.ffmpeg.org/ffmpeg/trunk
* new generic FFT/MDCT code for audio codecsFabrice Bellard2002-10-281-0/+294
Originally committed as revision 1088 to svn://svn.ffmpeg.org/ffmpeg/trunk