Commit Graph

49 Commits

Author SHA1 Message Date
michael 813b79917b runtime cpu detect optional (compiles faster)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3152 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-27 01:12:30 +00:00
michael 09c4c29277 runtime cpu detection
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3100 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-24 22:16:29 +00:00
michael becadec644 use fastmemcpy for chrominance if no chrominance filtering is done
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3095 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-24 02:05:06 +00:00
michael 39595a9f2e faster dering
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3094 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-24 01:38:30 +00:00
michael 6220f955b3 1% speedup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3038 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-20 20:46:39 +00:00
michael e68df118a9 oops, too much cleanup ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3033 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-20 18:07:13 +00:00
michael 0510e0933e cleanup
precopy fewer lines from src to dst if possible
speedup (due to cleanup of blockcopy)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3032 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-20 17:47:52 +00:00
michael 3c25d58ba3 faster mmx2 / 3dnow deblocking filter
brightness_debug (draws luminance histogram & autodetected white/black level)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3014 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-19 22:20:30 +00:00
michael cf408ccf65 temp denoiser:
bugfix?
 averageing noise over the surrounding blocks


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2900 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-14 11:51:36 +00:00
michael 056ba1208b temp denoiser changes: (a-b)^2 instead of |a-b| and MMX2/3DNOW version
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2896 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-14 02:46:58 +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 d7bb86940c QP_store==null bugfix and no opendivx bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2809 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-11 01:18:40 +00:00
pl 0afb7c9331 added missing #include <malloc.h>
#include "config.h" moved as 1st #include since it defines HAVE_foo_h for
  later conditional inclusions


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2776 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-09 02:17:02 +00:00
michael 20c8c1aea2 gcc does optimize writes to non volatile variables away if it didnt know that they were read in between
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2751 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 19:26:22 +00:00
michael 991ff4de60 minor changes (fixed some warnings, added attribute aligned(8) stuff)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2743 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 16:53:47 +00:00
michael 48d827fda5 deinterlace bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2596 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-31 18:29:03 +00:00
michael c49f4a4d6f c speedup (x1, rk1 filters)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2587 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-31 02:29:02 +00:00
michael 717220bc55 minor speedup
cleanup


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2571 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-30 21:14:02 +00:00
michael f7618d27fe faster dering
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2479 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-26 09:34:41 +00:00
michael ae85163a58 dering in c
dering bugfix


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2478 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-26 00:35:41 +00:00
pl 74d8c35e5d a few warning fixes (missing #include's)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2477 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-25 23:34:14 +00:00
michael 4a83e16d1b 3dnow dering
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2476 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-25 22:50:03 +00:00
michael 4f4d8e2c10 dering in mmx2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2474 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-25 21:55:11 +00:00
michael 89c050f4ef fixed difference with -vo md5 between doVertDefFilter() C and MMX / MMX2 versions
fixed some warnings
fixed the cant compile on non x86 systems (i didnt apply the patch from Oliver Schoenbrunner <oliver.schoenbrunner@jku.at> because it used ARCH_X86 instead of HAVE_MMX)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2462 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-25 11:42:34 +00:00
michael e83e41a88d much better horizontal filters (transpose & use the vertical ones) :)
bugfix
bugs?


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2455 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-24 16:39:40 +00:00
michael 0ee3e70425 more speed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2438 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-24 00:05:30 +00:00
michael 77f285907e more speed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2429 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-23 15:55:54 +00:00
michael d9d2200ccf and another +2% speedup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2417 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-23 12:05:34 +00:00
michael 2c4c72959d optimizations (+2% speedup)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2414 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-23 10:29:48 +00:00
michael 3c0fdf1316 brightness / contrast fix/copy optimizations +2% speedup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2402 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-23 01:46:50 +00:00
michael 3f4f1ad52c negative black bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2395 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-23 00:03:19 +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
michael 4576b903d7 more logic behavior if the altenative deblock filters are used (turning a alt filter on without turning the deblock filter on uses the alt filter instead of using no filter now)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2301 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 17:03:51 +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 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
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 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 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