Commit Graph

32 Commits

Author SHA1 Message Date
michael 1aaf1516e8 cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8041 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-02 14:20:05 +00:00
michael 3e091cbbd2 cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8039 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-02 13:58:14 +00:00
michael 3a5834bc21 cosmetics requested by kabi
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8020 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-01 01:19:04 +00:00
michael ad5a3a16da per context cpuCaps (idea by kabi)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7986 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-30 21:02:21 +00:00
michael 31642e2744 change qscale type to int8 and fix qscale ordering
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7985 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-30 20:50:33 +00:00
michael 0df5aa5a35 using same numbers for cpuCaps as libmpeg2 & liba52
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7974 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-30 01:59:51 +00:00
michael f8456285fb cleanly passing the cpuCaps
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7973 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-30 01:51:14 +00:00
michael de382c1b8c cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7964 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-29 20:12:24 +00:00
michael 8b2f3eb5e4 cosmetics ;)
prefixing all functions with pp_ to avoid namespace issues


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7962 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-29 18:51:52 +00:00
michael 0f1d6aabec better deblocking filter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7961 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-29 18:35:15 +00:00
michael 2d28fdd64c postprocessing cleanup:
remove opendivx #ifdefs
remove rk1 filter
remove unused / obsolete stuff
add -1,4,2,4,-1 deinterlacing filter (ffmpeg uses that)
threadsafe / no more non-const globals
some optimizations
different strides for Y,U,V possible
remove ebx usage (someone really should fix gcc, this is really lame)
change the dering filter slightly (tell me if its worse for any files)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7947 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-28 19:31:04 +00:00
michael 8368822c8c fix typo found by Milan Cutka <cutka@szm.sk>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5577 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-12 14:01:10 +00:00
michael 2aa34c8fb4 -npp fq:<quantizer>
force quantizer (for these lq movies which where reencoded at high bitrates)
(c) 2002


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3965 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-03 14:16:13 +00:00
michael 0c4138440d minor brightness/contrast bugfix / moved some global vars into ppMode
non mmx compilation bugfix


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3833 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-28 13:56:04 +00:00
michael 1eaa5eae03 new -pp options stuff (-npp ...)
see line527@postproc/postprocess.c ;) for the documentation of the format


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3772 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-26 19:45:49 +00:00
michael b5c58f8381 compiletime pp-mode support (luminance = chrominance filters though) 1-2% faster with -benchmark -vo null -nosound
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3155 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-27 02:25:31 +00:00
michael 327341ec03 temporal noise reducer in C (-pp 0x100000)
setting the thresholds from the commandline requires postprocess2() / getPpModeByNameAndQuality() (someone could perhaps modify mplayer so that they are beiing used, iam too lazy for it ;)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2861 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-13 02:40:56 +00:00
michael 1d7443cd77 just a few "not implemented yet" removed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2475 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-25 21:57:42 +00:00
michael e2fcfe476b auto brightness/ contrast bugfix
getPPModeByNameAndQuality


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2390 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-22 23:36:35 +00:00
arpi 5fbdb807ec PP_FUNNY_STRIDE disabled
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2293 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 14:54:26 +00:00
michael c64769de50 added compiletime option to turn width%8==0 on
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2287 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 13:56:12 +00:00
michael 13994ecabb fixed a bug in the tmp buffer
fixed the color range for yuv
fixed the width %8!=0 bug (another 1% speed loss)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2286 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 13:41:38 +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 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
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 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
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