I recenly wrote a patch (with some help from Andreas) to a allow for
gamma adjustment of the video overlay. It adds the XV_GAMMA attribute. 
The current patch works, but I'm not sure I'm programming the registers
right.  Could someone with databooks verify how they should be
programmed?  The relevant gamma table is in radeon_video.c.  I asked
ati about it, but I haven't heard anything back as of yet.  I have a
patch against DRI cvs here:
http://www.botchco.com/alex/radeon/xv_and_gamma/gamma_v3.diff

Also according to the source r100 chips can only adjust the lower four
and upper 2 gamma registers (which I assume map to points on the gamma
curve).  r200 can adjust all 18.  The current code adjusts all 18 no
matter which core is being used.  will this cause a problem?  I haven't
seen any problems yet with my test systsm (m6 and 9200), however, the
radeon video code in mplayer sets up the default gamma curves for them
(r100 vs. r200) separately.


Any ideas are appreciated.

Alex

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to