summaryrefslogtreecommitdiff
path: root/libavcodec/dct-test.c
Commit message (Collapse)AuthorAge
* jfdctint: add 10-bit versionMans Rullgard2011-07-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* simple_idct: add 10-bit versionMans Rullgard2011-07-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dct-test: remove write-only variableMans Rullgard2011-07-16
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dct-test: remove 'ref' function pointer from tablesMans Rullgard2011-07-04
| | | | | | | The reference function can be inferred from the direction of the transform, no need for storing it with each entry. Signed-off-by: Mans Rullgard <mans@mansr.com>
* dct-test: exit with non-zero status if an IDCT failsMans Rullgard2011-07-04
| | | | | | | | | IDCTs are partially evaluated according to IEEE 1180-1990 (more or less). An override is added to the table for implementations known to not meet the spec requirements. These variants are run but not checked for accuracy. Signed-off-by: Mans Rullgard <mans@mansr.com>
* dct-test: make speed test optionalMans Rullgard2011-07-04
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dct-test: remove is_idct field from tablesMans Rullgard2011-07-04
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dct-test: split table in two for idct and fdctMans Rullgard2011-07-04
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dct-test: simplify calling dct_error()Mans Rullgard2011-07-04
| | | | | | | Pass a pointer to the DCT descriptor instead of each field individually. Signed-off-by: Mans Rullgard <mans@mansr.com>
* dct-test: whitespace cosmeticsMans Rullgard2011-07-04
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dct-test: remove commented out codeMans Rullgard2011-07-04
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove some disabled printf debug cruft.Diego Biurrun2011-04-29
|
* Eliminate pointless '#if 1' statements without matching '#else'.Diego Biurrun2011-04-26
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Move mm_support() from libavcodec to libavutil, make it a publicStefano Sabatini2010-09-08
| | | | | | function and rename it to av_get_cpu_flags(). Originally committed as revision 25076 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename FF_MM_ symbols related to CPU features flags as AV_CPU_FLAG_Stefano Sabatini2010-09-04
| | | | | | symbols, and move them from libavcodec/avcodec.h to libavutil/cpu.h. Originally committed as revision 25040 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
* ARM: fix dct-testMåns Rullgård2010-03-08
| | | | Originally committed as revision 22339 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused fast_memcpy() function in dct-testMåns Rullgård2010-03-08
| | | | Originally committed as revision 22334 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move dctref prototypes to a header fileMåns Rullgård2010-03-08
| | | | Originally committed as revision 22331 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move array specifiers outside DECLARE_ALIGNED() invocationsMåns Rullgård2010-01-22
| | | | Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace more uses of __attribute__((aligned)) by DECLARE_ALIGNED.Ramiro Polla2009-06-04
| | | | Originally committed as revision 19089 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace deprecated FF_MM_MMXEXT flag with FF_MM_MMX2.Stefano Sabatini2009-04-11
| | | | Originally committed as revision 18443 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
* Give better names to reference DCT functions.Dylan Yudaken2009-03-31
| | | | | | patch by Dylan Yudaken, dyudaken gmail com Originally committed as revision 18257 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
* Nicely align output columns.Diego Biurrun2009-03-19
| | | | Originally committed as revision 18042 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove period after copyright statement non-sentence.Diego Biurrun2009-02-01
| | | | Originally committed as revision 16919 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
* Add missing void keyword to parameterless function declarations.Diego Biurrun2009-01-30
| | | | Originally committed as revision 16860 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dct-test: add Alpha idctMåns Rullgård2009-01-18
| | | | Originally committed as revision 16669 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-13
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename libavcodec/i386/ --> libavcodec/x86/.Diego Biurrun2008-12-22
| | | | | | | It contains optimizations that are not specific to i386 and libavutil uses this naming scheme already. Originally committed as revision 16270 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ARM: replace "armv4l" with "arm"Måns Rullgård2008-12-17
| | | | Originally committed as revision 16179 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dct-test: add ARM IDCTsMåns Rullgård2008-12-16
| | | | Originally committed as revision 16170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dct-test: add PARTTRANS permutationMåns Rullgård2008-12-16
| | | | Originally committed as revision 16169 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Delete unnecessary 'extern' keywords.Diego Biurrun2008-12-03
| | | | Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not duplicate AAN DCT tables in dct-test.c.Diego Biurrun2008-11-28
| | | | Originally committed as revision 15948 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add sse2 fdctBaptiste Coudurier2008-11-13
| | | | Originally committed as revision 15817 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove duplicated MM_* macros for CPU capabilities from dsputil.h.Dominik Mierzejewski2008-11-03
| | | | | | | Add missing one for FF_MM_ALTIVEC to avcodec.h. Rename all the occurences of MM_* to the corresponding FF_MM_*. Originally committed as revision 15770 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Convert asm keyword into __asm__.Diego Pettenò2008-10-16
| | | | | | | | | | | | | Neither the asm() nor the __asm__() keyword is part of the C99 standard, but while GCC accepts the former in C89 syntax, it is not accepted in C99 unless GNU extensions are turned on (with -fasm). The latter form is accepted in any syntax as an extension (without requiring further command-line options). Sun Studio C99 compiler also does not accept asm() while accepting __asm__(), albeit reporting warnings that it's not valid C99 syntax. Originally committed as revision 15627 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make code independent/less dependent on dsputil.Michael Niedermayer2008-06-28
| | | | | | This also makes the mmx parts work again ... Originally committed as revision 14021 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert "add libmpeg2 permutation to dct-test"Måns Rullgård2008-06-26
| | | | | | | 10l to me for not noticing that dct-test.c calls this permutation MMX. Note to self: don't code after 2am. Originally committed as revision 13991 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add libmpeg2 permutation to dct-testMåns Rullgård2008-06-26
| | | | Originally committed as revision 13985 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use a local variable instead of mm_flags in dct-test.Alexander Strange2008-06-25
| | | | Originally committed as revision 13967 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
* Replace redundant MAX macro declaration by proper use of FFMAX.Diego Biurrun2008-06-24
| | | | Originally committed as revision 13948 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark constant structure member as const to avoid some warnings.Laurent Desnogues2008-06-24
| | | | | | patch by Laurent Desnogues, laurent.desnogues gmail com Originally committed as revision 13942 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Test idct_xvid_sse2() in dct-test.Alexander Strange2008-04-16
| | | | Originally committed as revision 12844 to svn://svn.ffmpeg.org/ffmpeg/trunk