Commit Graph

226 Commits

Author SHA1 Message Date
michael ff3a001090 fixed a bug which caused horizontal lines
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2268 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 00:21:07 +00:00
michael b975d4d30d increased precission of s_xinc s_xinc2 (needed for the mmx2 bugfix)
moved mmx variables to top to avoid alignment issues
mmx2 code should work fine now if and only if the input width is %16=0 and the output width is %32=0
reordered some code (5% faster with a simply -benchmark)
first line bug fixed (i hope i didnt introduce any new bugs with that ...)
changed a lot of the vertical scale setup code, i hope i fixed something and didnt mess it up :)
a few known bugs left (rightmost line is wrong)
MMX2 code will only be used for upscaling & acceptable width´s
16bit dithering can be disabled


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2265 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-18 22:27:13 +00:00
michael 631f0bde0e fixed the height%8!=0 bug
simplified a few things
removed last row variants of the deinterlace filters, they are not needed anymore
added cubic interpolating deinterlacer


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2247 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-17 20:42:07 +00:00
michael 9e5dde93d4 24bpp support (untested)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2238 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-17 13:59:49 +00:00
arpi 9139829e1b added (f)emms
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2237 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-17 11:57:11 +00:00
arpi a5e78eef50 bpp changed from bytespp to bitspp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2236 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-17 10:55:29 +00:00
michael 490f4d6c16 fixed out of regs "bug"
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2234 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-17 03:40:03 +00:00
michael b0dcb97188 MMX & MMX2 optimizations (MMX2 is buggy and commented out)
32, 24, 16, 15 bit support in C (only 32 & 16 tested)
32, 16 bit support in mmx (16 with dithering)
ranges of some variables changed so mmx likes them more


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2233 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-17 02:30:39 +00:00
michael 5904f014cf quick fix for movies with a height which is not a multiple of 8
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2232 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-17 02:04:16 +00:00
atmos4 984f2f5665 fix rgb/bgr for 15/16bpp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2231 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-17 00:29:07 +00:00
arpi c6f5d437bc 16bpp code for atmos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2230 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-16 23:58:17 +00:00
michael 48f75aa656 minor cleanups
median deinterlace in MMX
fixed typos


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2222 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-16 02:31:14 +00:00
arpi a5248a4098 header for swscale.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2218 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-15 19:06:16 +00:00
arpi 99fa9191fd software yv12->rgb scaler - separated from fsdga
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2217 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-15 18:59:44 +00:00
michael e503beaf7c rewrote the horizontal lowpass filter to fix a bug which caused a blocky look
added deinterlace filters (linear interpolate, linear blend, median)
minor cleanups (removed some outcommented stuff)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2204 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-15 03:01:08 +00:00
arpi 3a2c8617a5 c++ fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2196 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-14 17:11:17 +00:00
arpi 3001ca41f3 Cleanup:
- TIMEING && MORE_TIMEING disabled by default
- private stuff moved to postprocess.c to avoid possible conflicts


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2190 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-13 15:53:24 +00:00
arpi c1e14c6cb3 small changes for mplayer integration:
- getModeForQuality -> getPpModeForQuality renamed
- #define POSTPROCESS_H -> NEWPOSTPROCESS_H  (to avoid conflicts)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2187 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-13 15:38:19 +00:00
arpi 40dfa00c7d small changes for mplayer integration:
- getModeForQuality -> getPpModeForQuality renamed
- #define POSTPROCESS_H -> NEWPOSTPROCESS_H  (to avoid conflicts)
- added #ifdef'ed code for calling old postprocess (for testing/comparison)
- #ifdef'ed some asm code to allow compilation on non-x86 platforms (untested)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2186 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-13 15:36:04 +00:00
michael 5bfa97c7f5 fixed a sig4 bug an non mmx2 cpus (in case of more sig4 errors please send me a "disassemble $eip-16 $eip+16" from gdb)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2182 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-13 11:58:41 +00:00
michael 7416a86f48 minor QP scaling & auto-contrast bugfix
fixed compilation problem without -fomit-frame-pointer


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2181 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-13 09:30:07 +00:00
michael 422e29bebe fixed a rounding bug thing in the X1 Filter
changed the X1 Filter slightly to make flat blocks look like in the 9tap lpf
minor change to the -pp numbers & added decimal numbers in comments
new experimental horizontal deblocking filter


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2180 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-13 02:31:15 +00:00
michael 8244aecaa8 final changes to convert to C
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2170 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-11 23:28:58 +00:00
michael 84d075d1cd bugfixes: last 3 lines not brightness/contrast corrected
brightness statistics messed up with initial black pic
changed initial values of the brightness statistics
C++ -> C conversation
QP range question solved (very likely 1<=QP<=32 according to arpi)
new experimental vertical deblocking filter
RK filter has 3dNow support now (untested)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2169 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-11 22:35:45 +00:00
arpi 1ff723dd53 fixed a bug in the horizontal default filter
3dnow version of the Horizontal & Vertical Lowpass filters
mmx version of the Horizontal Default filter
mmx2 & C versions of a simple filter described in a paper from ramkishor & karan
added mode flags & quality2mode function


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2160 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-10 22:21:19 +00:00
arpi ccb3b35a3d new postprocess code by Michael Niedermayer (michaelni@gmx.at)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2159 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-10 22:13:27 +00:00