On Fri, 19 Dec 2003, Alex Deucher wrote:

> This patch adds two new XV attributes: XV_COLORSPACE and XV_GAMMA.
 
> XV_GAMMA lets you adjust the gamma of the overlay to 8 presets:
> 0 - gamma 1.0, default
> 1 - 0.85
        ...             ...
> 7 - 2.5
> 
> Please let me know if you have any suggestions or find any bugs with
> this code.  The patch is against DRI cvs, but should apply pretty
> easily to xfree86 or gatos as well.

Can I suggest that the API exposes the options in some device neutral
manner - ideally a float - which the driver converts to the nearest
available preset. Either nVidia or the next generation Radeon is bound
to use 16 presets, or calculate the table for an given gamma ?
Unless the  preset list of gamma values follows some standard (sorry if 
it does) applications should be able to ask for the value they want,
and have something sensible happen ?

Andew C Aitchison

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to