Commit Graph

27 Commits

Author SHA1 Message Date
Michael Niedermayer
b49d916512 using same numbers for cpuCaps as libmpeg2 & liba52
Originally committed as revision 7974 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-30 01:59:51 +00:00
Michael Niedermayer
4603ed8f91 cleanly passing the cpuCaps
Originally committed as revision 7973 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-30 01:51:14 +00:00
Michael Niedermayer
df8d4d0ed5 cleanup
Originally committed as revision 7964 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-29 20:12:24 +00:00
Michael Niedermayer
9cb54f4311 cosmetics ;)
prefixing all functions with pp_ to avoid namespace issues

Originally committed as revision 7962 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-29 18:51:52 +00:00
Michael Niedermayer
ec487e5db8 better deblocking filter
Originally committed as revision 7961 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-29 18:35:15 +00:00
Michael Niedermayer
9c9e467d8d 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)

Originally committed as revision 7947 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-10-28 19:31:04 +00:00
Michael Niedermayer
096172d435 fix typo found by Milan Cutka <cutka@szm.sk>
Originally committed as revision 5577 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-04-12 14:01:10 +00:00
Michael Niedermayer
8aaac43576 -npp fq:<quantizer>
force quantizer (for these lq movies which where reencoded at high bitrates)
(c) 2002

Originally committed as revision 3965 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2002-01-03 14:16:13 +00:00
Michael Niedermayer
07f8991b60 minor brightness/contrast bugfix / moved some global vars into ppMode
non mmx compilation bugfix

Originally committed as revision 3833 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-28 13:56:04 +00:00
Michael Niedermayer
45b4f28550 new -pp options stuff (-npp ...)
see line527@postproc/postprocess.c ;) for the documentation of the format

Originally committed as revision 3772 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-12-26 19:45:49 +00:00
Michael Niedermayer
06c4804a79 compiletime pp-mode support (luminance = chrominance filters though) 1-2% faster with -benchmark -vo null -nosound
Originally committed as revision 3155 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-27 02:25:31 +00:00
Michael Niedermayer
117e45b03b 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 ;)

Originally committed as revision 2861 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-11-13 02:40:56 +00:00
Michael Niedermayer
cf76316aa3 just a few "not implemented yet" removed
Originally committed as revision 2475 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-25 21:57:42 +00:00
Michael Niedermayer
911879d15e auto brightness/ contrast bugfix
getPPModeByNameAndQuality

Originally committed as revision 2390 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-22 23:36:35 +00:00
Arpi
311832de1f PP_FUNNY_STRIDE disabled
Originally committed as revision 2293 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-19 14:54:26 +00:00
Michael Niedermayer
a0e8aca364 added compiletime option to turn width%8==0 on
Originally committed as revision 2287 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-19 13:56:12 +00:00
Michael Niedermayer
658a85f26f fixed a bug in the tmp buffer
fixed the color range for yuv
fixed the width %8!=0 bug (another 1% speed loss)

Originally committed as revision 2286 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-19 13:41:38 +00:00
Michael Niedermayer
acced5532e 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

Originally committed as revision 2247 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-17 20:42:07 +00:00
Michael Niedermayer
a6be81113e minor cleanups
median deinterlace in MMX
fixed typos

Originally committed as revision 2222 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-16 02:31:14 +00:00
Michael Niedermayer
3b58b885fa 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)

Originally committed as revision 2204 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-15 03:01:08 +00:00
Arpi
e939e1c35b Cleanup:
- TIMEING && MORE_TIMEING disabled by default
- private stuff moved to postprocess.c to avoid possible conflicts

Originally committed as revision 2190 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-13 15:53:24 +00:00
Arpi
9f3328bc91 small changes for mplayer integration:
- getModeForQuality -> getPpModeForQuality renamed
- #define POSTPROCESS_H -> NEWPOSTPROCESS_H  (to avoid conflicts)

Originally committed as revision 2187 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-13 15:38:19 +00:00
Michael Niedermayer
9f45d04d3a 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

Originally committed as revision 2180 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-13 02:31:15 +00:00
Michael Niedermayer
67b4cf184a final changes to convert to C
Originally committed as revision 2170 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-11 23:28:58 +00:00
Michael Niedermayer
d5a1a99518 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)

Originally committed as revision 2169 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-11 22:35:45 +00:00
Arpi
13e0052810 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

Originally committed as revision 2160 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-10 22:21:19 +00:00
Arpi
3057fa6691 new postprocess code by Michael Niedermayer (michaelni@gmx.at)
Originally committed as revision 2159 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2001-10-10 22:13:27 +00:00