Commit Graph

474 Commits

Author SHA1 Message Date
atmos4 c184876b1a Compile fix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2851 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-12 02:01:24 +00:00
michael 6778e88bf5 p2/p3 bgr32 version (20%faster)
yv12 and yuy2 versions in mmx


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2847 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-11 22:14:13 +00:00
nick 615471a069 Use new logic suggested by Michael Niedermayer
K7:
Non-MMX stuff
    total=299997790
Old-MMX stuff:
    total=159120928
New-MMX stuff:
    total=80925337


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2844 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-11 17:14:57 +00:00
nick c5e3ac66ac Cloning 32 stuff to 24
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2840 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-11 16:09:19 +00:00
nick 1ffb6bfa2b Minor speedup for K6-2, K7, P3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2836 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-11 15:35:11 +00:00
nick 7035adb0bd Enable MMX stuff
I don't know why Michael Niedermayer disabled it but:
my benchmarks of 25 frames for TIMER+SUBTITLE (measured by RDTSC):
Non-MMX stuff:
    total=306142159
MMX stuff:
    total=159534150


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2834 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-11 14:42:10 +00:00
nick f4730e10c1 Extract parallelism from OSD stuff + MMX2 optimization.
I've found that mplayer's measuring is not precise :(
Here my test with using RDTSC:
Old stuff:
	rd_tsc: 774377
	rd_tsc: 765985
	rd_tsc: 265309
New CPU optimized stuff:
	rd_tsc: 661154
	rd_tsc: 641317
	rd_tsc: 222448
New MMX2 optimized stuff:
	rd_tsc: 269544
	rd_tsc: 329189
	rd_tsc: 173110


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2824 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-11 11:18:50 +00:00
michael 20d9b4ff45 bugfix
nick why did u remove the #if 0 around that code without testing it?


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2808 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-11 01:14:09 +00:00
michael 751324d0d3 .balign or we´ll align by 64kb on some architectures
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2801 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-10 20:39:23 +00:00
nick 672e0016c9 Code cleanup - emms is not required when MMX block is commented out.
Special notes for Michael Niedermayer:
Are you still here?
If you don't like for(cond;cond;cond) C-constructions and prefer
asm ones: "jb 1b" then use .align 16 pseudo assembler instructions
else loops rather will be not aligned on correct boundary.
(16 it's for K7 for pent should be 8).
Your parts have a lot such lacks.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2799 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-10 18:40:49 +00:00
alex dc28bd3450 added some macros for rgb/bgr
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2792 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-09 23:49:03 +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
pl 2b1aa3af86 memalign detection cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2775 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-09 02:02:58 +00:00
atmos4 2f2350320a DXR3 beta2 patch by David Holm.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2771 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-08 21:51:28 +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
nick adbc62c736 No longer required
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2732 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 11:21:43 +00:00
jaf 15c3567aa8 autodetecting for dvb-cards
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2728 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 21:49: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 0e949b7ec5 rgb32to16, rgb32to15 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2713 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 08:38:18 +00:00
jaf ce1f575413 Sorry, my laptop has no dvb-card
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2710 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 05:38:23 +00:00
arpi 9e418adf1e vo_pts added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2708 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 02:58:47 +00:00
arpi 3b086e8243 audio packet writting added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2707 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-05 02:55:00 +00:00
nick 4db20c913d Minor notes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2693 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-04 18:04:45 +00:00
nick 44101a8d68 Use standard aspect code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2690 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-04 17:22:22 +00:00
nick ab6ccafde3 Code cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2689 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-04 17:01:12 +00:00
nick 11148f0835 Double buffering support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2687 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-04 16:20:58 +00:00
nick 7e8ad962b7 Fixed rgb2rgb in DGA mode
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2677 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-04 11:50:52 +00:00
alex 2468fadea2 vo_format_name prototype added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2655 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-03 21:01:12 +00:00
nick 529ad9ff87 What's new:
- in DGA mode: subtitles moved out of image area.
  (lack: background is not erased)
- removed testing MODE_WIN_READABLE flag in bank switch mode.
  (Doesn't work for Michael Niedermayer - still one broken BIOS)
- added new subdevices:
  -vo vesa:nodga  - disables DGA usage
  -vo vesa:dga    - forces DGA usage
  -vo vesa        - detects possibility of DGA usage automatically
- initial code for doublebuffering (currently disabled)
BUGS:
- rgb2rgb doesn't work in DGA mode (will be fixed soon)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2650 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-03 18:45:13 +00:00
arpi bd74597c36 ao_dxr3 by David Holm <dholm@telia.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2646 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-03 02:38:10 +00:00
nick e6365f7f26 code cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2638 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-02 18:24:25 +00:00
nick 846d5e18a5 Fixed bug of -vc libmpeg2 on vesa:dga
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2637 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-02 18:10:20 +00:00
nick 43bd1f95dd Qualitative speedup decoding when video card supports DGA!
Known bugs:
-zoom              - SwScale_YV12slice paints green line at right of image
                     in non fullscreen mode. With -fs and -fs -zoom
		     everything o'k.
-vc libmpeg2       - is unusable without -zoom or -fs.
                     Bug (lack) in yuv2rgb or vo_vesa?


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2634 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-02 17:36:04 +00:00
nick 6bce7cb6fb *** empty log message ***
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2630 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-02 15:27:38 +00:00
michael 80f8ea5769 mmx opt ,untested, i have no mga
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2626 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-02 03:17:33 +00:00
nick c8c745857b vo_vesa: DGA support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2611 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-01 18:12:58 +00:00
alex d35b8acb81 vo_format_name moved from video_out.c to img_format.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2600 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-31 22:04:28 +00:00
nick e9230074bd Code cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2597 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-31 18:46:30 +00:00
michael 028ee068e4 slow mmx & not so slow asm versions (outcommented)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2579 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-30 22:35:02 +00:00
nick 66ec3ac567 No longer required
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2559 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-30 17:06:08 +00:00
nick 534dd3b7ce Using new stuff of rgb15to16
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2557 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-30 17:04:31 +00:00
nick a04920f24f print 'sw convertor usage' without verbosing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2555 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-30 16:47:27 +00:00
nick 5502f4418e Cosmetic
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2554 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-30 16:17:38 +00:00
nick f348370e5a memalign 64
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2538 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-29 18:25:07 +00:00
arpi 3e59e2495c vo_odivx disabled
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2529 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-29 00:48:20 +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 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 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