Michael Niedermayer
50eb9cbc44
idct_permutation_type variable, so the permutation type can quickly be identified
...
Originally committed as revision 1071 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
2ad1516a6c
idct permutation cleanup, idct can be selected per context now
...
fixing some threadunsafe code
Originally committed as revision 980 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
084c726ba3
pix_sum16_mmx()
...
Originally committed as revision 961 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
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
22 years ago
Michael Niedermayer
b318477992
put/avg_pixels16
...
fixing 2 small qpel bugs
Originally committed as revision 915 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
1a684b3d53
fixing encoding at high QPs (was broken after the dct accuracy increase due to too small inverse table)
...
Originally committed as revision 901 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
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
23 years ago
Lennert Buytenhek
1565dabc1a
be less verbose patch by (Lennert Buytenhek <buytenh at math dot leidenuniv dot nl>)
...
Originally committed as revision 889 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
e7fce5e9fb
bitexact hack for the simple mmx idct
...
Originally committed as revision 886 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
28db7fce02
slow but accurate integer dct from IJG (should be ok with the LGPL as the old DCT is the fast integer DCT from IJG)
...
per context DCT selection
Originally committed as revision 878 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Dominik Mierzejewski
0778718635
warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
...
Originally committed as revision 872 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
9f36153415
dont trash mm0, its still used in the next iteration of the loop (fixes strange horizontal lines on some blocks in b frames on mmx only cpus)
...
Originally committed as revision 855 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
87f8cab45b
mpeg4 mpeg quantizer encoding
...
Originally committed as revision 844 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
4afeaec92f
pix_abs mmx2 isnt bit-exact ...
...
Originally committed as revision 781 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
39825f315f
* reimplemented remaing avg_ pixel functions
...
* modified PAVGB mmx macro to select mmx register with FE constant
Originally committed as revision 657 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
d3cd07425a
* implemented remaing avg_ pixel functions (these are not used offen)
...
Originally committed as revision 656 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
fca0f0e59f
* removed MANGLE from macros for setting constants
...
* using MOVQ_WONE/MOVQ_BFE as two instruction instead of static memory value access
as its always faster
* PAVGB_MMX macro is using now mm6 -> mm7 is unmodified
* replaced original pixels_xy2_mmx with new faster and equal implementation
* replaced usage of mm7 for other then ZERO contstant in _rnd & _avg file with mm6
Originally committed as revision 632 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
ff9657069a
* using unrolled loops seems to help to MMX Celerons
...
* calculating average in parallel to use two MMX units
* disabled xy2 put code - it's producing rouding errors
Originally committed as revision 626 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
6aa6ea8e11
* reenabled original xy2 put routine - rounding error is really bad with
...
the new code
* added PAVGP macros for parallel processing to safe few more cycles on
celerons
Originally committed as revision 625 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
91abb473fb
* code with new PAVGB for MMX only CPU splited into separate file
...
and being compiled in the same way as _avg.h
* PAVG_MMX macros accept also output parameter
* implemented faster put_pixels_xy2, but it has slightly smaller precission.
But there is not visible difference in the image quality - might be eventualy
easily switched back (#if 0 #endif)- please check
Originally committed as revision 624 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
def60345ad
* new mmx code - based upon http://aggregate.org/MAGIC
...
for now it's rather sneak preview (new functions are nearly 100% faster)
Originally committed as revision 623 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
541027e26a
* cosmetic minor change
...
Originally committed as revision 622 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
d17b6f0bbb
* optimized remaing avg_pixels_xy2
...
Originally committed as revision 621 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
e9c0a38ff0
* optimized avg_* functions (except xy2)
...
* minor speedup for put_pixels_x2 & cleanup
Originally committed as revision 619 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
c0eb0bb717
* more PIC friendly and faster code
...
Originally committed as revision 616 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
5f6230016a
* removed TESTCPU_MAIN - not needed for testing
...
Originally committed as revision 615 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
e5f3d22d35
* undefine local defines when they are no longer needed
...
Originally committed as revision 612 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
30eb039652
* avoids double inclusion of this header
...
(how about making all headers in ffmpeg working this way ?)
Originally committed as revision 609 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
ff4ec49e64
license/copyright change
...
Originally committed as revision 599 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
52af45ad77
* baling 8 seems to have the same speed
...
Originally committed as revision 575 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
fbdedc1704
* always baling even though it seems to produce sometime worse
...
results then for -fPIC compilation - don't ask me why...
Originally committed as revision 573 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
31ddcf9851
* cleanup for put_pixels_mmx
...
Originally committed as revision 572 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
ec9a41f57d
* somewhat more advanced test suit for dsp code - for now i386 only
...
cd test ; make dsptest ; ./dsptest
Originally committed as revision 568 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
6efad6fd85
* align the source initialy address
...
Originally committed as revision 567 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
2bd978bdb8
* fixed contrains and avoid usage of scale index access
...
Originally committed as revision 566 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
dcb9cd4b81
* added simple test main - see comments about how to
...
compile - should be probably made as a regression test
Originally committed as revision 565 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
ba0420d83e
using 1 operand less and slightly faster put_pixels_y2
...
Originally committed as revision 564 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
a213d66486
* fix for -fPIC compilation - compiles with 2.95.2 as well - any
...
other compiler shows any problem here ??
Originally committed as revision 563 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
4f12a4976a
removed unused code
...
Originally committed as revision 543 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
61a4e8ae3b
removed debug function
...
Originally committed as revision 519 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
9241551049
tried to avoid gcc 2.95.2 bug by puting explicit register constraints - added comment about rounding bug in some functions (need to correct or suppress them for regression tests)
...
Originally committed as revision 515 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
a7bd879798
shared lib support (req by kabi) ...
...
Originally committed as revision 510 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
607dce96c0
hopefully faster mmx2&3dnow MC
...
Originally committed as revision 506 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
ccf589a8fe
C4=16383 for the c version too and even for some outcommented code
...
Originally committed as revision 433 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
9e1795dd13
set C4 to 16383
...
Originally committed as revision 432 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Juanjo
ef5b1b5a7e
- Advanced Intra Coding (AIC) support for H.263+ encoder, just DC by now.
...
- Bug fix H.263+ AIC tables.
- Warning fixes.
Originally committed as revision 431 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
d7e9533aa0
fixed msmpeg4 infinite loop if buggy stream
...
rewrote quantizer
fixed bias (+10% compression/quality for h263 like codecs)
qscale=1 support
mpeg1 intra frames looks far less blocky
added codec_id field
Originally committed as revision 423 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
cd8e5f9637
* fixes problem with -funroll-loops and buggy gcc compiler
...
Originally committed as revision 421 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
ba8d0be99d
rounding bugfix
...
Originally committed as revision 409 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Michael Niedermayer
9dbf1dddbd
mpeg2/mpeg4 dequantizer support (c & mmx)
...
mpeg1 dequantizer optimizations
Originally committed as revision 404 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago