Måns Rullgård
0926c00980
ARM: fix dct-test
...
Originally committed as revision 22339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08 19:00:05 +00:00
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
2010-03-08 18:43:41 +00:00
Måns Rullgård
6a81329593
Move dctref prototypes to a header file
...
Originally committed as revision 22331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08 18:43:33 +00:00
Måns Rullgård
c67278098d
Move array specifiers outside DECLARE_ALIGNED() invocations
...
Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-22 03:25:11 +00:00
Ramiro Polla
74a841af8b
Replace more uses of __attribute__((aligned)) by DECLARE_ALIGNED.
...
Originally committed as revision 19089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-04 23:25:09 +00:00
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
2009-04-11 18:12:23 +00:00
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
2009-04-10 17:23:38 +00:00
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
2009-03-31 09:32:59 +00:00
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
2009-03-31 08:55:22 +00:00
Diego Biurrun
294eaa2643
Replace random() usage in test programs by av_lfg_*().
...
Originally committed as revision 18070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-20 11:48:27 +00:00
Diego Biurrun
2029e934d2
Nicely align output columns.
...
Originally committed as revision 18042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-19 09:53:50 +00:00
Diego Biurrun
94f694a476
cosmetics: Remove period after copyright statement non-sentence.
...
Originally committed as revision 16919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-01 15:52:01 +00:00
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
2009-02-01 02:00:19 +00:00
Diego Biurrun
dc8a7c93d3
Add missing void keyword to parameterless function declarations.
...
Originally committed as revision 16860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-30 18:38:25 +00:00
Måns Rullgård
2a839eeb02
dct-test: add Alpha idct
...
Originally committed as revision 16669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 05:52:20 +00:00
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
2009-01-13 23:44:16 +00:00
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
2008-12-22 09:12:42 +00:00
Måns Rullgård
a2fc0f6a6d
ARM: replace "armv4l" with "arm"
...
Originally committed as revision 16179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 00:54:54 +00:00
Måns Rullgård
479044cea5
dct-test: add ARM IDCTs
...
Originally committed as revision 16170 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 20:00:07 +00:00
Måns Rullgård
875f31259b
dct-test: add PARTTRANS permutation
...
Originally committed as revision 16169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 19:59:50 +00:00
Diego Biurrun
9686df2be5
Delete unnecessary 'extern' keywords.
...
Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 15:23:30 +00:00
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
2008-11-28 00:32:24 +00:00
Baptiste Coudurier
83534418f0
add sse2 fdct
...
Originally committed as revision 15817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 19:54:02 +00:00
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
2008-11-03 18:08:00 +00:00
Diego Pettenò
be449fca79
Convert asm keyword into __asm__.
...
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
2008-10-16 13:34:09 +00:00
Michael Niedermayer
aadd27cdf4
Make code independent/less dependent on dsputil.
...
This also makes the mmx parts work again ...
Originally committed as revision 14021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-28 10:42:31 +00:00
Måns Rullgård
dce292bb35
Revert "add libmpeg2 permutation to dct-test"
...
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
2008-06-26 17:20:26 +00:00
Måns Rullgård
fb9464e807
add libmpeg2 permutation to dct-test
...
Originally committed as revision 13985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-26 01:13:16 +00:00
Alexander Strange
dafe882457
Use a local variable instead of mm_flags in dct-test.
...
Originally committed as revision 13967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-25 17:33:55 +00:00
Alexander Strange
f67a10cd0c
Define mm_flags/support to be 0 on architectures where they don't exist.
...
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
2008-06-24 23:51:17 +00:00
Diego Biurrun
ae32e509fb
Replace redundant MAX macro declaration by proper use of FFMAX.
...
Originally committed as revision 13948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-24 20:15:31 +00:00
Laurent Desnogues
f5b6778184
Mark constant structure member as const to avoid some warnings.
...
patch by Laurent Desnogues, laurent.desnogues gmail com
Originally committed as revision 13942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-24 09:10:30 +00:00
Alexander Strange
ad246860fa
Test idct_xvid_sse2() in dct-test.
...
Originally committed as revision 12844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 01:54:16 +00:00
Alexander Strange
54a0b6e590
Add a header file to declare Xvid IDCT functions.
...
patch by Alexander Strange, astrange ithinksw com
Originally committed as revision 12794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-12 16:54:36 +00:00
Alexander Strange
55727a835b
Altivec and SSE2 require 16-byte alignment, so make sure they get it
...
patch by Alexander Strange %astrange A ithinksw P com%
Originally committed as revision 12629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-30 10:30:33 +00:00
Alexander Strange
3794b92819
check mm_flags for each DCT and skips the ones that can't be run
...
patch by Alexander Strange %astrange A ithinksw P com%
Originally committed as revision 12628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-30 10:29:28 +00:00
Alexander Strange
1a7ee380c5
get rid of the useless DCT_ERROR() macro
...
patch by Alexander Strange %astrange A ithinksw P com%
Originally committed as revision 12627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-30 10:28:03 +00:00
Alexander Strange
28c47a423b
Set mm_flags in dct-test to fix floating math.
...
Patch by Alexander Strange \astrange ithinksw com/
Originally committed as revision 12580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 14:34:27 +00:00
Michael Niedermayer
6f08c541b4
floating point AAN IDCT
...
Originally committed as revision 12233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 14:59:11 +00:00
Aurelien Jacobs
59e6f60a99
add ff_ prefix to all simple_idct symbols
...
Originally committed as revision 11192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-08 21:21:11 +00:00
Panagiotis Issaris
cc61f96f8a
Fix the compilation of dct-test, fft-test and motion-test which are using
...
random().
Originally committed as revision 9754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 08:46:28 +00:00
Diego Biurrun
755bfeabcc
misc spelling fixes
...
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 09:29:25 +00:00
Ronald S. Bultje
12807c8d87
Add some #includes to allow compilation without HAVE_AV_CONFIG_H.
...
taken from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net
Originally committed as revision 9263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-09 17:52:16 +00:00
Diego Biurrun
94254fc00e
Only run MMX2 tests when MMX2 is available.
...
Originally committed as revision 9245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 15:59:15 +00:00
Diego Biurrun
b9702de506
Fix linking when GPL code has been disabled.
...
Originally committed as revision 9244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 15:54:49 +00:00
Ronald S. Bultje
ee3035f31e
Fix compilation when MMX is disabled.
...
inspired by a patch by Ronald S. Bultje, rbultje ronald.bitfreak net
Originally committed as revision 9243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 15:30:54 +00:00
Diego Biurrun
b0b0d7e78c
FAAN is not x86-specific.
...
Originally committed as revision 9242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-07 15:27:53 +00:00
Diego Biurrun
7f58baa8ca
Remove redundant extern declaration of j_rev_dct that is already
...
present in the #included header file dsputil.h.
Originally committed as revision 9005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-12 10:53:33 +00:00
Marc Hoffman
3ac35bdb3e
platform-independent restructuring and code simplification
...
patch by Marc Hoffman, mmh pleasantst com
Originally committed as revision 8576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 17:24:09 +00:00
Marc Hoffman
c6bdc90890
Remove illegal call to exit().
...
patch by Marc Hoffman, mmh pleasantst com
Originally committed as revision 8575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 17:14:59 +00:00