Dell UP3218K SDK for Monitors - Application Programming Interface Guide - Page 19

GetColorPresetCaps, GetColorPreset, SetColorPreset

Page 19 highlights

u8Val Input Color Format 0 RGB 1 YPbPr GetColorPresetCaps Returns the available color presets API MONITOR_CODE GetColorPresetCaps(UWORD32 *pu32Val) Params *pu32Val Pointer to return color space capabilities Return pu32Val Bitwise representation of supported color presets 0x00000001 Standard 0x00000002 Multimedia 0x00000004 Movie 0x00000008 Game 0x00000010 Paper 0x00000020 Color Temp. 0x00000040 Color Space 0x00000080 Custom Color For example: 0x00000013 would indicate Standard, Multimedia and Paper presets available GetColorPreset Returns the current color preset API MONITOR_CODE GetColorPreset(UWORD32 *pu32Val) Params *pu32Val Pointer to return color preset Return pu32Val Color preset 0x00000001 0x00000002 0x00000004 0x00000008 0x00000010 0x00000020 0x00000040 0x00000080 Standard Multimedia Movie Game Paper Color Temp. Color Space Custom Color SetColorPreset Sets the color preset API Color Management | 19

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37

Color Management
|
19
u8Val
Input Color Format
0
RGB
1
YPbPr
GetColorPresetCaps
Returns the available color presets
API
MONITOR_CODE GetColorPresetCaps(UWORD32 *pu32Val)
Params
*pu32Val
Pointer to return color space capabilities
Return
pu32Val
Bitwise representation of supported color presets
0x00000001
Standard
0x00000002
Multimedia
0x00000004
Movie
0x00000008
Game
0x00000010
Paper
0x00000020
Color Temp.
0x00000040
Color Space
0x00000080
Custom Color
For example:
0x00000013 would indicate Standard, Multimedia and Paper presets
available
GetColorPreset
Returns the current color preset
API
MONITOR_CODE GetColorPreset(UWORD32 *pu32Val)
Params
*pu32Val
Pointer to return color preset
Return
pu32Val
Color preset
0x00000001
Standard
0x00000002
Multimedia
0x00000004
Movie
0x00000008
Game
0x00000010
Paper
0x00000020
Color Temp.
0x00000040
Color Space
0x00000080
Custom Color
SetColorPreset
Sets the color preset
API