If anyone (Alistair?) would like to look at this patch, you can download it from
http://x.mame.net/download/xmame-0.37b15.1-xv-ext.patch.gz Also, his FLTK frontend is available from http://x.mame.net/download/fmame-0_8.tgz There's a followup message concerning the speed of this Xv patch vs. the current one. I don't know how much of the speed hit is due to other differences between 0.37b15 and 0.65.1, though. ----- Forwarded message from [EMAIL PROTECTED] ----- Date: Mon, 17 Feb 2003 10:46:52 +0100 From: [EMAIL PROTECTED] Subject: XV extension for MAME To: [EMAIL PROTECTED] X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Spam-Status: No, hits=3.7 required=5.0 tests=NO_REAL_NAME,RCVD_IN_MULTIHOP_DSBL, RCVD_IN_UNCONFIRMED_DSBL,SPAM_PHRASE_00_01 version=2.43 X-Spam-Level: *** Hi, this weekend I've made a wonderful hack on the XMAME source code and I would like to propose to you my work. One of the most annoying things in MAME is that the options -scale heavily slow down the emulator even for a 2-factor scaling. Some days ago I've discovered that MPlayer can resize the window in which the movie is played without any significant CPU overhead. I've given a look at the documentation and I've soon discovered that this features was achieved with the use of the XV extension provided by the X Server. XV is an extension of the X Server which allows direct drawing of a video output on the screen. With XV the works of resizing the image is left to the video cards with a significant advantage. Tipically this extension works with images in YUV format. You can test if your X Server + Video Card support the XV extensione with the "xvinfo" utilities. The only disavantage of this technology is a loss of precision in the image because in YUV formats the color information is subsampled. After some work I've implemented this features for the MAME X11 display and it works very well! Now I can resize the image to fullscreen dimension without any slow down!! I send to you the patch for the 0.37b15.1 version of XMAME (sorry but that's is the most recent version I have). Also I send to you the latest version of FMAME : the MAME frontend I've made with the FLTK libraries. I hope you will give me some feedback about the XV extension for XMAME. best regards, -- Francesco Abbate <[EMAIL PROTECTED]> __________________________________________________________________ Tiscali ADSL parte da 6,1 euro al mese e in pi? l'attivazione e il primo mese sono GRATIS! Vai all'offerta, oppure scopri di che ADSL sei con il test on line. http://point.tiscali.it/adsl ----- End forwarded message ----- _______________________________________________ Xmame mailing list [EMAIL PROTECTED] http://toybox.twisted.org.uk/mailman/listinfo/xmame