summaryrefslogtreecommitdiff
path: root/libavcodec/fft-test.c
Commit message (Collapse)AuthorAge
* dct/fft-test: use a replacement getopt() if the system has none present.Ronald S. Bultje2012-07-11
| | | | | | | 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-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* fft-test: add option to set cpuflag maskMans Rullgard2012-04-25
| | | | | | 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-08
|
* Move some variable declarations below the proper #ifdefs.Diego Biurrun2011-06-26
| | | | This avoids warnings about set-but-unused variables.
* Fixed-point support in fft-testMans Rullgard2011-04-01
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Move dct and rdft definitions to separate filesMans Rullgard2011-03-20
| | | | | | | 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-19
| | | | | | | 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-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* fft-test: format error output more readablyMåns Rullgård2010-08-16
| | | | Originally committed as revision 24799 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fft-test: free buffers before exitingMåns Rullgård2010-08-06
| | | | 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-04
| | | | Originally committed as revision 24693 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | 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-03
| | | | Originally committed as revision 22793 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make code using 1d-DCT consistent with the API changeVitor Sessak2010-04-03
| | | | Originally committed as revision 22792 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Give RDFT types more meaningful namesMåns Rullgård2010-03-07
| | | | Originally committed as revision 22290 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update include directives in fft-test.cMåns Rullgård2010-03-07
| | | | Originally committed as revision 22289 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Floating point discrete cosine transformVitor Sessak2010-01-20
| | | | Originally committed as revision 21338 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fft-test: Add RDFT/IRDFT support.Alex Converse2010-01-11
| | | | 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-11
| | | | Originally committed as revision 21140 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fft-test: whitespace cosmeticsAlex Converse2010-01-08
| | | | Originally committed as revision 21085 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge FFTContext and MDCTContextMåns Rullgård2009-09-20
| | | | 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-22
| | | | 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-20
| | | | 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-16
| | | | | | | | 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-10
| | | | 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-31
| | | | Originally committed as revision 18259 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace random() usage in test programs by av_lfg_*().Diego Biurrun2009-03-20
| | | | Originally committed as revision 18070 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | 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-12
| | | | 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-25
| | | | 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-24
| | | | | | | 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-24
| | | | | | | 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-01
| | | | 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-29
| | | | Originally committed as revision 9827 to svn://svn.ffmpeg.org/ffmpeg/trunk
* print max and mseMichael Niedermayer2007-07-29
| | | | 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-19
| | | | | | 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-09
| | | | | | 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-01
| | | | 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-07
| | | | | | 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-10
| | | | Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-17
| | | | 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-04
| | | | 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-13
| | | | | | org>) Originally committed as revision 2882 to svn://svn.ffmpeg.org/ffmpeg/trunk
* per file doxyMichael Niedermayer2003-03-06
| | | | Originally committed as revision 1634 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * UINTX -> uintx_t INTX -> intx_tZdenek Kabelac2003-02-11
| | | | Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
* suppressed getopt.hFabrice Bellard2003-01-07
| | | | Originally committed as revision 1422 to svn://svn.ffmpeg.org/ffmpeg/trunk
* compile fixesFabrice Bellard2003-01-07
| | | | Originally committed as revision 1411 to svn://svn.ffmpeg.org/ffmpeg/trunk
* new generic FFT/MDCT code for audio codecsFabrice Bellard2002-10-28
Originally committed as revision 1088 to svn://svn.ffmpeg.org/ffmpeg/trunk