1
mirror of https://github.com/mpv-player/mpv synced 2024-11-18 21:16:10 +01:00
Commit Graph

277 Commits

Author SHA1 Message Date
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
33d4bdc12d bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2767 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-07 23:17:11 +00:00
nick
45f3604cf4 rgb32tobgr32 now is documented ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2759 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-07 08:52:04 +00:00
michael
f1ec01ad5f rgb32tobgr32 / bgr32torgb32
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2756 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 23:54:41 +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
57abdc5516 15/16 bpp dithering
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2750 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 19:16:49 +00:00
michael
1ccfbf170b better dithering
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2749 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 18:42:22 +00:00
nick
d573fa0df8 Minor speedup of rgb32to24. (performance is not successful)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2747 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 17:14:22 +00:00
jkeil
b781460944 Remove a few obsolete header includes (fixes a compile error on solaris)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2745 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 17:04:13 +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
nick
a4910290d8 MMX2, 3DNOW, MMX optimized rgb32(24)to16(15) stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2742 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 16:35:17 +00:00
nick
28eb46a832 optimized rgb24to16 stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2741 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 16:21:38 +00:00
michael
87b501b7b7 mmx2 bgr24 stuff from swscale (slightly faster)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2740 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 14:43:19 +00:00
nick
1aed82a8da rgb24to32 now is faster
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2739 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 13:53:43 +00:00
michael
b37111a50b vars are aligned by 8 now (even faster, yes they where not aligned correctly)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2738 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 13:45:57 +00:00
michael
2458a84879 16bpp is 10% faster
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2737 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 13:41:12 +00:00
michael
1c45ff7ccd 15 bpp support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2736 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 13:26:43 +00:00
michael
501db3c02f common code moved to a #define
added bgr24 output support


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2735 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 13:06:50 +00:00
nick
dfe91abaa2 Move yuv2rgb to postprocess
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2733 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 11:22:40 +00:00
michael
ff5899ec71 faster bgr24 output
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2731 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 04:06:55 +00:00
michael
1fb2a93515 only 6 registers used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2729 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 23:49:15 +00:00
michael
deae6b59e2 unsigned stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2726 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 19:55:11 +00:00
michael
bc8918936a yuy2toyv12 fixed and speedup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2725 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 18:50:58 +00:00
michael
e550a5928f fixed yv12toyuy2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2724 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 18:26:49 +00:00
nick
e0133146f3 Forgot
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2722 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 18:03:46 +00:00
nick
6ef8871203 Fixed rgb32(24)to15 stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2721 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 17:56:11 +00:00
nick
f5d9352986 Fixed rgb32(24)to16 stuff, rgb32(24)to15 is still broken
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2720 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 17:46:20 +00:00
nick
21f00e8f8e Well - old algorithms and new stuff rgb24to16(15)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2719 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 17:35:28 +00:00
nick
0d29f843f7 More standards compilance
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2712 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 08:37:27 +00:00
michael
d8efd32d3f yuy2toyv12 in MMX
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2705 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 02:25:30 +00:00
michael
d7db781cf8 yv12toyuy2 in MMX
cleanup


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2703 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 01:21:05 +00:00
michael
b9606b37f4 yv12 <-> yuy2 in C
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2702 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 00:45:55 +00:00
michael
867f14b6b3 faster 15to16 bit rgb (the mmx routine is limited by memory speed so there is no difference ): but the c routine is faster
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2699 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-04 23:04:26 +00:00
michael
57bfcdc19d palette to bgr24
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2698 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-04 19:50:29 +00:00
michael
199e88d20c bgr32to16, bgr32to15 (needed for palette stuff)
paletteto 32,16,15bgr
all in c, will be optimized as soon as they are tested (assuming opt. is possible)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2695 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-04 19:36:24 +00:00
michael
a28c29e8f3 green line fix for dstw%8!=0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2681 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-04 13:50:20 +00:00
nick
7c04b6b3c1 using const modifier
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2678 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-04 11:51:36 +00:00
michael
6063b35ccd fixed warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2672 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-04 03:07:02 +00:00
michael
96b471219d faster bgr15/16
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2670 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-04 02:28:23 +00:00
michael
65047706ac right green line bugfix for width not %8==0 (untested -vo vesa doesnt work)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2639 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-02 19:21:02 +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
e9fecf0fea c speedup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2586 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-31 01:30:28 +00:00
michael
9cdf76885c 15/16bit in C speedup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2585 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-31 00:26:29 +00:00
michael
5b106a5b83 c optimizations
bugfix


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2577 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-30 22:24:38 +00:00
michael
478d5d3a7e c optimizations
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2576 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-30 22:03:25 +00:00
michael
16699f54b5 c optimizations (array is faster than pointer) (16bpp variants tested and 2% faster)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2573 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-30 21:33:01 +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
b697455852 interpolate chrominance for every second line in the 1:1 vertical scale function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2570 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-30 21:04:42 +00:00
michael
5fabe5dfe4 bugfixes
small speedup for the non x86 stuff


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2567 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-30 20:30:24 +00:00
nick
6b0ee0f3c3 cosmetic
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2565 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-30 17:46:07 +00:00
michael
397dc39159 fixed a warning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2541 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-29 19:54:22 +00:00
nick
dddf58db18 No longer required
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2540 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-29 18:44:20 +00:00
nick
6ce38d65cb Finish mmx2, 3dnow optimiz. 15to16 should be tested. Better fix of can't compile
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2539 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-29 18:28:06 +00:00
michael
892759080c cant compile on non x86 bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2536 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-29 18:07:40 +00:00
michael
ba649eff2d patch from Martin Decky <deckm1am@ss1000.ms.mff.cuni.cz> applied and unnecassery "memory" removed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2535 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-29 18:00:45 +00:00
michael
a183352f5f tell the c compiler that the memory changed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2522 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-28 19:54:23 +00:00
michael
cd36f60911 3dnow prefetch & sfence
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2521 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-28 19:41:50 +00:00
michael
a4ef78e9a1 yv12 to yv12 scaler
someone who knows a bit about vo_odivx could add support for it ...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2520 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-28 18:30:59 +00:00
nick
7ae1041907 32to24: MMX, MMX2, 3DNOW optimization
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2518 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-28 17:42:52 +00:00
nick
578e647be3 More elegant solution
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2517 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-28 17:15:54 +00:00
nick
696a43cbfa preprocessor cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2515 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-28 14:03:16 +00:00
nick
d8055ed5fd sfence
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2514 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-28 13:59:57 +00:00
nick
d9e4301fcc More accurate prefetching
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2513 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-28 13:06:49 +00:00
nick
4bbf6688da mmx, mmx2, 3dnow optimized 24to32
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2512 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-28 12:02:16 +00:00
nick
6beedb448b mmx optimized 24to32
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2511 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-28 11:48:50 +00:00
nick
0049dc0956 forgot, sorry
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2510 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-28 11:47:22 +00:00
nick
f6c43fb1be Prev ver could work only on x86
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2509 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-28 11:00:40 +00:00
nick
6c5420d178 vo_vesa: more rgb2rgb support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2507 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-28 10:45:42 +00:00
nick
ce1e5d842b vo_vesa: more rgb2rgb support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2506 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-28 10:28:08 +00:00
nick
d6bed371d7 vo_vesa: rgb2rgb support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2505 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-28 10:17:57 +00:00
michael
8bf53f6ddb yuv2rgb bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2504 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-28 03:03:49 +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
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
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
0b1320ab48 downscale
fixed some warnings


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2470 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-25 14:31: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
nick
8e91467d3a Independed compilation of SUBDIRS
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2445 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-24 07:34:41 +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
a5f582e9a7 BGR24 bugfix
BGR15 & BGR24 tested


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2327 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-21 00:05:56 +00:00
michael
99a2f8a751 fixed alignment (static variables where sometimes not 8-byte aligned)
added half uv interpolation support
added prefetch
BGR15 support in MMX (untested) (so BGR15,16,24,32 are supported)
special unscaled height version (not much faster but it doesnt interpolate uv vertically)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2317 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-20 21:12:09 +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
0ac6fe1c49 first line bug fixed (happend if the image was scaled down or 1:1)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2298 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 15:50:44 +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
08e3fe558c horizontal scaling bugs fixed, should be mostly bugfree now
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2280 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 12:30:01 +00:00
arpi
793efa116b xinc scaled by 16 instead of 8
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2275 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 02:21:47 +00:00
michael
f8c68da092 horizontal lines bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2272 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 01:53:45 +00:00
michael
76f00f9a17 vertical lines bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2271 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 01:26:36 +00:00
arpi
60d5dc4ed3 (C) fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2270 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 00:42:18 +00:00
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