Diego Biurrun
4dccfff9dd
tests/examples: Mark some variables only used within their files as static.
13 years ago
Diego Biurrun
f36b390275
Replace some forgotten FFmpeg references by Libav.
13 years ago
Carl Eugen Hoyos
ee93363f8f
Fix compilation of dct-test on ia32.
13 years ago
Michael Niedermayer
96b0ddeeaa
dct-test: Test ff_prores_idct_put_10_sse2()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
dfeeb85b65
dct-test: add transpose permutation support
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
db27bef747
dct-test: document the number of bits we use for testing.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3d5971d9f7
dct-test: better term for meximum error.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
ae2e89717b
dct-test: factor out some common code and do whas was likely intended
...
This fixes some nonsensical code by moving some should-be-shared
code to separate functions and using these.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
0a72533e98
jfdctint: add 10-bit version
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
e7a972e113
simple_idct: add 10-bit version
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
2f07cb4d39
dct-test: remove write-only variable
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
74965f2644
dct-test: remove 'ref' function pointer from tables
...
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>
14 years ago
Mans Rullgard
dbf396d497
dct-test: exit with non-zero status if an IDCT fails
...
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>
14 years ago
Mans Rullgard
7fd2c13888
dct-test: make speed test optional
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
cf2b4f884d
dct-test: remove is_idct field from tables
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
4b357756b1
dct-test: split table in two for idct and fdct
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
4f905a658b
dct-test: simplify calling dct_error()
...
Pass a pointer to the DCT descriptor instead of each field
individually.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
36fa9ef3e2
dct-test: whitespace cosmetics
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
412594ed0a
dct-test: remove commented out code
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Michael Niedermayer
007d352c1c
dct-test: Support testing bits>8
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Diego Biurrun
2e15305b70
Remove some disabled printf debug cruft.
14 years ago
Diego Biurrun
e6ff064845
Eliminate pointless '#if 1' statements without matching '#else'.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Stefano Sabatini
c6c98d0897
Move mm_support() from libavcodec to libavutil, make it a public
...
function and rename it to av_get_cpu_flags().
Originally committed as revision 25076 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
7160bb716b
Rename FF_MM_ symbols related to CPU features flags as AV_CPU_FLAG_
...
symbols, and move them from libavcodec/avcodec.h to libavutil/cpu.h.
Originally committed as revision 25040 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 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
Måns Rullgård
0926c00980
ARM: fix dct-test
...
Originally committed as revision 22339 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
a79f59e31c
Remove unused fast_memcpy() function in dct-test
...
Originally committed as revision 22334 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
6a81329593
Move dctref prototypes to a header file
...
Originally committed as revision 22331 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
c67278098d
Move array specifiers outside DECLARE_ALIGNED() invocations
...
Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
74a841af8b
Replace more uses of __attribute__((aligned)) by DECLARE_ALIGNED.
...
Originally committed as revision 19089 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
147a90a3e5
Replace deprecated FF_MM_MMXEXT flag with FF_MM_MMX2.
...
Originally committed as revision 18443 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
Dylan Yudaken
0de74546d7
Give better names to reference DCT functions.
...
patch by Dylan Yudaken, dyudaken gmail com
Originally committed as revision 18257 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
2029e934d2
Nicely align output columns.
...
Originally committed as revision 18042 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
94f694a476
cosmetics: Remove period after copyright statement non-sentence.
...
Originally committed as revision 16919 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
Diego Biurrun
dc8a7c93d3
Add missing void keyword to parameterless function declarations.
...
Originally committed as revision 16860 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
2a839eeb02
dct-test: add Alpha idct
...
Originally committed as revision 16669 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
a6493a8fbd
Rename libavcodec/i386/ --> libavcodec/x86/.
...
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
16 years ago
Måns Rullgård
a2fc0f6a6d
ARM: replace "armv4l" with "arm"
...
Originally committed as revision 16179 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
479044cea5
dct-test: add ARM IDCTs
...
Originally committed as revision 16170 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
875f31259b
dct-test: add PARTTRANS permutation
...
Originally committed as revision 16169 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
9686df2be5
Delete unnecessary 'extern' keywords.
...
Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
10ac361827
Do not duplicate AAN DCT tables in dct-test.c.
...
Originally committed as revision 15948 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
83534418f0
add sse2 fdct
...
Originally committed as revision 15817 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Dominik Mierzejewski
82d1605fe7
Remove duplicated MM_* macros for CPU capabilities from dsputil.h.
...
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
16 years ago