View Full Version : Brightness?

01-29-2010, 10:22 AM
Just been going through the OpenWF Display spec and just noticed that there doesn't appear to be any API to control the brightness of a WFDPort (or rather the display hardware connected to a WFDPort of type WFD_PORT_TYPE_INTERNAL)? The closest I can see is WFD_PORT_POWER_MODE which allows toggling between WFD_POWER_MODE_ON and WFD_POWER_MODE_LIMITED_USE, which I guess could be used to "dim" the display.. have I missed something?

01-29-2010, 02:43 PM
Yes, we notice that too. Brightness, hue, saturation would be nice pipeline properties.

01-30-2010, 05:53 AM
I was thinking more along the lines of a port attribute to control the brightness of the LCD backlight. Do you mean adjusting the connected display's hue/brightness/saturation? Do you know if it is possible to signal such settings via DVI or HDMI? Or did you mean running the image through a hw filter and adjust the brightness/hue/saturation of the image data before it is sent to the display hardware?

01-30-2010, 06:38 AM
I was suggesting those properties for pipelines as some layers on display controllers support them. I'm less familiar with ports, but I have heard of backlights. I don't think the other properties I mentioned would be applicable to ports.

02-09-2010, 11:43 AM
Don't forget very useful gamma correction/targeting stuff.
Can make a big difference in color-sensitive applications.
Artistically oriented or graphic designer work.

02-10-2010, 09:47 AM
The spec allows you to set gamma correction to a port using the WFD_PORT_GAMMA.

02-15-2010, 09:36 AM
The OpenWF working group did not address the idea of display backlight control on purpose. It was discussed, but there are many different backlight arrangements and it was unclear whether the backlight controlling entity was the window system, the target user for the API. Due to this the working group decided that display backlight control was outside of the original scope of the API.

If there is a strong feeling that control of display backlights should be part of this API, I would suggest creating a extension for such an addition. If the extension becomes a very common addition to an OpenWF implementation, then it may be included as an official part of the a future revision.

FYI, none of the WFD_POWER_MODE_* values were intended to address the idea of backlight control. The LIMITED_USE mode was intended for use cases such as default clock display, which only needs to be updated occasionally. The display update hardware could be turned off most of the time and conserve power.

Concerning color brightness, hue, & saturation, the gamma setting should be able to address some of these. Beyond that, again I'd suggest creating an extension so the working group can see what sort of additions would be needed and to see if these are commonly needed.

02-21-2010, 04:29 AM
Yup, I guess it makes sense to not stick it in if it's not certain it belongs in OpenWF. Thanks for clearing the matter up, especially what WFD_POWER_CONTROL was designed for.