summaryrefslogtreecommitdiff
path: root/libavcodec/fft-test.c
Commit message (Collapse)AuthorAge
* Merge commit '24f45c16224d4c5d482e928676714766ffdda4fc'Michael Niedermayer2014-06-27
|\ | | | | | | | | | | | | | | | | | | | | * commit '24f45c16224d4c5d482e928676714766ffdda4fc': fate: Add dependencies for dct/fft/mdct/rdft tests Conflicts: libavcodec/fft-test.c tests/fate/fft.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: Add dependencies for dct/fft/mdct/rdft testsDiego Biurrun2014-06-26
| |
* | lavc: Use av_gettime_relative()Olivier Langlois2014-05-17
| | | | | | | | | | | | | | | | | | Whenever av_gettime() is used to measure relative period of time, av_gettime_relative() is prefered as it guarantee monotonic time on supported platforms. Signed-off-by: Olivier Langlois <olivier@trillion01.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/fft-test: use av_malloc_array()Michael Niedermayer2014-04-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | rename CONFIG_FFT_FIXED_32 -> FFT_FIXED_32Michael Niedermayer2014-01-07
| | | | | | | | | | | | This matches FFT_FLOAT Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '794fcf79a89eca2d4e889803b2c804a0b1defbb3'Michael Niedermayer2014-01-07
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '794fcf79a89eca2d4e889803b2c804a0b1defbb3': Rename CONFIG_FFT_FLOAT ---> FFT_FLOAT Conflicts: libavcodec/fft-internal.h libavcodec/fft-test.c libavcodec/fft_fixed.c libavcodec/fft_float.c libavcodec/fft_template.c libavcodec/mdct_fixed.c libavcodec/mdct_float.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Rename CONFIG_FFT_FLOAT ---> FFT_FLOATDiego Biurrun2014-01-06
| | | | | | | | | | The define does not originate from configure, so it should not have a name that is CONFIG_-prefixed.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-10-26
|\| | | | | | | | | | | | | * qatar/master: fft-test: add a missing #include Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fft-test: add a missing #includeAnton Khirnov2013-10-26
| | | | | | | | stdio.h needed for printf since 7177df90a043bd59e172843fc7cb9e767080ea12
| * fft-test: Remove possibility of returning restricted exit codeDerek Buitenhuis2013-10-25
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | fft-test: Remove possibility of returning restricted exit codeDerek Buitenhuis2013-10-24
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | avcodec/fft-test: put ff_dct* code under CONFIG_DCTMichael Niedermayer2013-08-26
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavcodec: Implementation of 32 bit fixed point FFTNedeljko Babic2013-08-04
| | | | | | | | | | | | | | | | Iterative implementation of 32 bit fixed point split-radix FFT. Max FFT that can be calculated currently is 2^12. Signed-off-by: Nedeljko Babic <nbabic@mips.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fft-test: fix order of operations for calculating the average errorMichael Niedermayer2012-09-30
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fft-test: switch to new cpu flags APIMichael Niedermayer2012-08-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-07-12
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: build: Fix Ogg demuxer dependencies build: Fix FLAC demuxer dependencies flac: Move flac functions shared between libraries to flac common code build: Fix CAF demuxer dependencies build: Fix MP2 muxer dependencies build: Add missing build rules for the ISMV muxer configure: Drop redundant mxf_d10 test dependency declaration Support AAC encoding via the external library fdk-aac libavcodec: Add more AAC profiles dct/fft-test: use a replacement getopt() if the system has none present. Conflicts: Changelog libavcodec/Makefile libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-06-20
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: MS Screen 1 decoder aacdec: Fix popping channel layouts. av_gettime: support Win32 without gettimeofday() Use av_gettime() in various places Move av_gettime() to libavutil dct-test: use emms_c() from libavutil instead of duplicating it mov: fix operator precedence bug mathematics.h: remove a couple of math defines Remove unnecessary inclusions of [sys/]time.h lavf: remove unnecessary inclusions of unistd.h bfin: libswscale: add const where appropriate to fix warnings bfin: libswscale: remove unnecessary #includes udp: Properly check for invalid sockets tcp: Check the return value from getsockopt network: Use av_strerror for getting error messages udp: Properly print error from getnameinfo mmst: Use AVUNERROR() to convert error codes to the right range for strerror network: Pass pointers of the right type to get/setsockopt/ioctlsocket on windows rtmp: Reduce the number of idle posts sent by sleeping 50ms Conflicts: Changelog configure libavcodec/aacdec.c libavcodec/allcodecs.c libavcodec/avcodec.h libavcodec/dct-test.c libavcodec/version.h libavformat/riff.c libavformat/udp.c libavutil/Makefile libswscale/bfin/yuv2rgb_bfin.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Use av_gettime() in various placesMans Rullgard2012-06-20
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-26
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: dsputil: fix invalid array indexing configure: add libavresample to rpath build: icc: silence some warnings fft-test: add option to set cpuflag mask cpu: recognise only cpu flag names pertinent to the architecture avutil: add av_parse_cpu_flags() function vp8: armv6: fix non-armv6t2 build vp8: armv6 optimisations vp8: arm: separate ARMv6 functions from NEON ARM: add some compatibility macros mov: support eac3 audio avf: fix faulty check in has_duration Conflicts: configure doc/APIchanges ffmpeg.c libavcodec/arm/Makefile libavcodec/arm/asm.S libavcodec/arm/vp8dsp_armv6.S libavcodec/arm/vp8dsp_init_arm.c libavutil/avutil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | fft-test: fix all pointer type warnings.Michael Niedermayer2012-04-01
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-09
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: cljr: K&R cosmetics cljr: return a more sensible value when encountering invalid headers cljr: drop unnecessary emms_c() calls without MMX code cljr: remove useless casts cljr: group encode/decode parts under single ifdefs cljr: remove stray semicolon cljr: add missing return statement in decode_end() doc: add pulseaudio to the input list avconv: remove unsubstantiated comment shorten: avoid abort() on unknown audio types cljr: add encoder build: merge lists of HTML documentation targets tests/examples: Mark some variables only used within their files as static. tests/tools/examples: Replace direct exit() calls by return. x86 cpuid: set vendor union members separately cljr: release picture at end of decoding rv40: NEON optimised rv40 qpel motion compensation Conflicts: doc/examples/muxing.c libavcodec/cljr.c libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * tests/tools/examples: Replace direct exit() calls by return.Diego Biurrun2011-12-08
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-06-27
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: build: improve rules for test programs build: factor out the .c and .S compile commands as a macro swscale: remove unused xInc/srcW arguments from hScale(). H.264: disable 2tap qpel with CODEC_FLAG2_FAST and >8-bit H.264: make filter_mb_fast support 4:4:4 mpeg4videoenc: Remove disabled variant of mpeg4_encode_block(). configure: allow post-fixed cpu strings for athlon64, k8, and opteron when setting the -march flag. Move some variable declarations below the proper #ifdefs. Conflicts: Makefile ffplay.c libswscale/swscale.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Move some variable declarations below the proper #ifdefs.Diego Biurrun2011-06-26
| | | | | | | | This avoids warnings about set-but-unused variables.
* | Merge remote branch 'qatar/master'Michael Niedermayer2011-04-02
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: ac3enc: ARM optimised ac3_compute_matissa_size ac3: armv6 optimised bit_alloc_calc_bap fate: simplify fft test rules avio: document avio_alloc_context. lavf: make compute_chapters_end less picky. sierravmd: fix Indeo3 videos FFT: simplify fft8() fate: add fixed-point fft/mdct tests Fixed-point support in fft-test ape: check that number of seektable entries is equal to number of frames Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Fixed-point support in fft-testMans Rullgard2011-04-01
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge remote-tracking branch 'newdev/master'Michael Niedermayer2011-03-21
|\| | | | | | | Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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