
Hue Control Support for Overlay/Sprite-C
You can pre-configure the hue through EMGD-CED. For more details refer Overlay Color Correction.
There are three methods to configure the hue value for Overlay/Sprite-C during runtime:
• You can set or get the hue value to/from Intel® EMGD directly from the EMGDGUI “Color Correction” page. Select Overlay, move the hue slider, changing to a value from 0 to 200, and then click Apply. The EMGDGUI application configures the hue through the escape function call INTEL_ESCAPE_SET_OVL_COLOR_PARAMS. You may also use the ESCAPE API directly to configure the hue.
• You can also set the hue value directly to Intel® EMGD overlay/sprite-C using an escape API (INTEL_ESCAPE_VIDEO_PLANE_CTRL_OVERRIDE). In this mode, you must set option “VideoColorCorrect” to 1 in xorg.conf.
• The other way to set or get the hue value during runtime is through VAAPI. The VAAPI, such as a libva application, calls corresponding attributes (“vaSetDisplayAttributes()" or “vaGetDisplayAttributes () to set or get the hue value to Intel® EMGD.
For details of the escape functions, please refer to Intel® Embedded Graphics Drivers, Intel® Embedded Media and Graphics Driver, EFI Video Driver, and Video BIOS API Reference Manual.