Intel 82854 GMCH, 82830M GMCH manual Icegdescapesetfbgammaramp

Page 35

7.1.1.6ICEGD_ESCAPE_SET_FB_GAMMA_RAMP

 

Input Data Structure

Output Data Structure

 

Notes

 

 

 

 

 

 

 

 

 

esc_color_params flag options:

 

 

 

 

Mandatory:

 

 

 

 

GAMMA_FLAG (0x1)

 

esc_color_params_t

N/A

 

Not Applicable:

 

 

BRIGHTNESS_FLAG (0x2)

 

 

 

 

 

 

 

 

CONTRAST_FLAG (0x4)

 

 

 

 

SATURATION_FLAG (0x8)

 

 

 

 

OVL_COLOR_FLAG (0x10)

 

 

 

 

 

Description

This escape code is used to set frame buffer gamma correction ramp. Legal values are from 1-500, 1 - default, 500 – brightest.

Input Data Structure Definition

Same data structure as ICEGD_ESCAPE_SET_OVL_COLOR_PARAMS, but for this escape code, you need only set the GAMMA_FLAG.

Example

esc_color_params_t color;

memset(&color, 0, sizeof(esc_color_params_t));

//set flag to gamma color.flag = GAMMA_FLAG; color.gamma = 0;

for(int i=1;i<10;i++){

//change gamma value gradually, and the legal value is between 1 and 500 color.gamma=i*50;

ExtEscape(

Hdc,

ICEGD_ESCAPE_SET_FB_GAMMA_RAMP, sizeof(esc_color_params_t), (LPCSTR)&color,

0,

NULL);

//Check error status returned by ExtEscape

//

//Wait a while for HW to complete the operation of changing the gamma value Sleep(500);

}

Intel® Digital Set Top Box Display Driver

35

User’s Guide for Microsoft* Windows* CE 5.0

Image 35 Contents
Intel Digital Set Top Box Display Driver Legal Statements Contents Hardware Limitations Date Driver Description Revision HistoryThis page intentionally left blank Definitions IntroductionDefinitions GMCHs Feature SummaryBase Features Surface Support 2 830 and 854 Base FeaturesDisplay Configuration Direct3D Mobile Support Display Configuration NotesVBI Support TV Encoders1 830 MSI Installation NotesInstalling the MSI Display Driver MSIRegistry Options Driver FilesDisplay Options Configuration InformationDisplay Driver Options VRWorkaroundModeDWORD AlphaBlendModeDWORDPort Driver TV Encoder DLL Options Memory Management Options BlitSyncVBI Dword 4 2D Graphics OptionsSysToVidStretch Dword BlendFilter DwordMaxBackBuffers Dword GDI OptionsVideo Options ForceGRAY16 DwordDirect3D Mobile Options Port Driver Attribute Notes Conexant Port Driver Attributes Port Driver TV Encoder DLL AttributesSilicon Image Port Driver Attributes Focus Port Driver Attributes2 854 Configuration ConfigurationDefault Configuration 1 830 Default ConfigurationEnabling 3D Support Configuration ChangesChanging the TV Format to PAL-B Changing the TV Output Type to ComponentHdmi Support Single, Shadow DVO Modes 854 Chipset Limitations Hardware Limitations830 Chipset Limitations WinCE Graphics Driver Escape Interface Programming InterfaceSummary of Supported Graphics Driver Escape Codes Input Data Structure Output Data Structure IcegdescapeenableportIcegdescapegetnumpdattributes Icegdescapegetavailpdattributes Icegdescapegetavailpdattributes IcegdescapesetpdattributesIcegdescapegetnumpdattributes Null Icegdescapesetovlcolorparams Icegdescapesetfbgammaramp Icegdescapegetmemstats Icegdescapegetmonitordesc Icegdescapevbienable Icegdescapevbidisable Icegdescapevbiupdate Sleep33 Disable vbi ExtEscape Hdc Icegdescapeinterruptinstall Icegdescapeinterruptuninstall Icegdescapesetvideoplanezorder Icegdescapesethwalphacompatmode Icegdescapedriverversion ICEGDESCAPEI2CCONFIG ICEGDESCAPEI2CACCESS Page This escape code is used to select a DVO port master/slave Icegdescapequeryhdmihotplug Null IcegdescapequeryhdmihotplugIcegdescapewaithdmihotplug Null IcegdescapewaithdmihotplugIcegdescapesetscaninfo