TV output properties

Keith Packard keithp at
Fri Nov 9 22:29:42 PST 2007

On Fri, 2007-11-09 at 12:20 -0800, Jesse Barnes wrote:
> Since seems to be down, I'm sending these patches out for 
> testing to the list.
> They add hue, saturation, contrast and brightness properties to the TV output 
> and set default values that will hopefully work for people.  In order to use 
> the new properties though, you'll need the attached patch to xrandr to 
> properly display and set 8 bit integer values.
> Please test it out and let me know if it works for you.
> How to expose the various properties is still up in the air, right now they're 
> just exposed as 8 bit values, since that's what goes into the actual color 
> knob register, but they could be exposed in a friendlier way (e.g. hue as 
> 0-360 degrees value, saturation and contrast as 2.6 fixed point values), 
> though that probably wouldn't make much difference to the user experience.  
> Any opinions?  Is that best left to fancy GUI applications?

Any reason not to expose these as 32-bit values instead? We support
range limited 32-bit values, and this might reduce compatibility issues
with hardware that needs more bits.

keith.packard at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the xorg mailing list