Daniel Laird wrote: > The following patch allows for Gamma Correction Support in DirectFB. > > The low level driver needs to implement what to do with the value it is > passed: > (see http://en.wikipedia.org/wiki/Gamma_correction) > > So the driver writer has control over the implementation. > > Hope it is useful:
Having a gamma value instead of (or in addition to) linear brightness adjustment seems like a good idea, but is it really necessary to add a double for this? :) Maybe a fixed point value with 16 bit on each side would be enough. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev