Hi,

Antonino Daplas <[EMAIL PROTECTED]> writes:

> Because color adjustment of the primary layer requires
> administrative/exclusive level, it's a bit too difficult to use them
> normally.  So, I thought of adding this as a --dfb: option. Also,
> setting of the gamma ramp is now "visual format blind".
> 
> Several new options are available:
> 
> For gamma control: 'gamma_all', 'gamma_red', 'gamma_green', and
> 'gamma_blue'.
> 
> They're self-explanatory.  The range of values is from 0 - 1000 (gamma
> 0.0 - 10.0), where the normal (gamma 1.0) is 100.

hmm, why don't you use doubles here? Seems confusing to use an
arbitrary mapping to integers. I'd also suggest to rename 'gamma_all'
to 'gamma'.

> For color adjustment: 'brightness', 'contrast', and 'saturation'. The
> range of values is from 0 - 255, where 128 is the normal value.

again, a rather arbitrary choice. Since the internal API uses a range
of 0 to 0xFFFF it might make sense to map this to 0.0 - 2.0 with 1.0
being the standard value.


Salut, Sven


-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to