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
Marc Hoffman
19ef2ba57a
Replace emms() with emms_c(), patch by Marc Hoffman, mmh pleasantst com.
...
Originally committed as revision 8571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 16:20:51 +00:00
Måns Rullgård
486497e07b
revert bad checkin
...
Originally committed as revision 7044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 03:18:09 +00:00
Måns Rullgård
be6ed6fff4
move some CFLAGS settings away from config.* writing section
...
Originally committed as revision 7043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 03:12:29 +00:00
Diego Biurrun
c26abfa541
Rename ABS macro to FFABS.
...
Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 23:17:58 +00:00
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 15:30:46 +00:00
Diego Biurrun
04d7f60143
Add official LGPL license headers to the files that were missing them.
...
Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 14:02:42 +00:00
Luca Abeni
9c39071d6d
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
...
Originally committed as revision 5595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-03 10:52:07 +00:00
Diego Biurrun
bb270c0896
COSMETICS: tabs --> spaces, some prettyprinting
...
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 01:10:11 +00:00
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 18:14:38 +00:00
Michael Niedermayer
434df899fe
add xvid idcts to dct-test
...
Originally committed as revision 4576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 23:00:13 +00:00
Michael Niedermayer
94789b9e59
10l
...
Originally committed as revision 2435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-25 19:44:37 +00:00
Michael Niedermayer
b4c3816cfa
optionally merge postscale into quantization table for the float aan dct
...
Originally committed as revision 2420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-23 09:11:56 +00:00
Michael Niedermayer
65e4c8c919
floating point AAN DCT
...
Originally committed as revision 2415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-22 18:26:38 +00:00
Michael Niedermayer
983e3246b7
per file doxy
...
Originally committed as revision 1634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-06 11:32:04 +00:00
Zdenek Kabelac
0c1a9edad4
* UINTX -> uintx_t INTX -> intx_t
...
Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-11 16:35:48 +00:00
Fabrice Bellard
e366e6795d
suppressed getopt.h
...
Originally committed as revision 1422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-07 23:49:40 +00:00
Fabrice Bellard
652f019786
in fact IDCT248 needs to be normalized as I suspected
...
Originally committed as revision 997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-03 21:03:59 +00:00
Fabrice Bellard
a46a3ce416
added IDCT248 testing
...
Originally committed as revision 995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-10-03 19:49:23 +00:00
Arpi
3f09f52adf
fdct_mmx -> ff_fdct_mmx (renamed to avoid namespace conflict with xvid)
...
[found by Kim Minh Kaplan]
Originally committed as revision 960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-19 22:14:53 +00:00
Michael Niedermayer
ad324c9351
dct cleanup
...
more accurate mmx dct (dont discard bits for fun)
fixing mmx quantizer bug for qscale%2==1 (bias was slightly wrong)
Originally committed as revision 895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-01 16:52:33 +00:00
Michael Niedermayer
86748dbc61
dct-test update
...
test simple-idct and ijg int DCT too
do tests with random & sparse matrixes
print systematic error matrixes
Originally committed as revision 892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-09-01 09:33:05 +00:00
Fabrice Bellard
03c94ede93
avoid name clash with libjpeg - added missing externs
...
Originally committed as revision 660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-06-04 12:58:40 +00:00
Fabrice Bellard
ff4ec49e64
license/copyright change
...
Originally committed as revision 599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-05-25 22:45:33 +00:00
Fabrice Bellard
9e1586fce9
updated dct-test to test IDCTs too
...
Originally committed as revision 44 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-08-07 22:42:45 +00:00
Fabrice Bellard
de6d9b6404
Initial revision
...
Originally committed as revision 5 to svn://svn.ffmpeg.org/ffmpeg/trunk
2001-07-22 14:18:56 +00:00