D3DKMDT_PIXEL_VALUE_ACCESS_MODE enumeration

The D3DKMDT_PIXEL_VALUE_ACCESS_MODE enumeration is used to indicate the way color values or palette indices are stored in the primary surface of a video present source.

Syntax


typedef enum _D3DKMDT_PIXEL_VALUE_ACCESS_MODE { 
  D3DKMDT_PVAM_UNINITIALIZED    = 0,
  D3DKMDT_PVAM_DIRECT           = 1,
  D3DKMDT_PVAM_PRESETPALETTE    = 2,
  D3DKMDT_PVAM_SETTABLEPALETTE  = 3
} D3DKMDT_PIXEL_VALUE_ACCESS_MODE;

Constants

D3DKMDT_PVAM_UNINITIALIZED

Indicates that a variable of type D3DKMDT_PIXEL_VALUE_ACCESS_MODE has not yet been assigned a meaningful value.

D3DKMDT_PVAM_DIRECT

Indicates that colors are stored directly in the primary surface.

D3DKMDT_PVAM_PRESETPALETTE

Indicates that palette indices are stored in the primary surface. Colors are stored in a palette that is specific to the display adapter. The operating system can query the display miniport driver for the palette.

D3DKMDT_PVAM_SETTABLEPALETTE

Indicates that palette indices are stored in the primary surface. Colors are stored in a palette that the operating system can set dynamically by calling the display miniport driver.

Remarks

The Format.Graphics member of the D3DKMDT_VIDPN_SOURCE_MODE structure is a D3DKMDT_GRAPHICS_RENDERING_FORMAT structure. The PixelValueAccessMode member of the D3DKMDT_GRAPHICS_RENDERING_FORMAT structure is a D3DKMDT_PIXEL_VALUE_ACCESS_MODE value.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dkmdt.h (include D3dkmdt.h)

See also

VidPn Source Mode Set Interface

 

 

Send comments about this topic to Microsoft

Show: