Bewerken

Delen via


D3D12DDI_VIDEO_PROCESS_PALETTE_0020 structure (d3d12umddi.h)

Specifies whether the palette is enabled and an array of palette entries.

Syntax

typedef struct D3D12DDI_VIDEO_PROCESS_PALETTE_0020 {
  BOOL Enable;
  UINT NumEntries;
  UINT *pEntries;
} D3D12DDI_VIDEO_PROCESS_PALETTE_0020;

Members

Enable

Whether palette is enabled.

NumEntries

The number of elements in the pEntries array.

pEntries

A pointer to an array of palette entries. For RGB streams, the palette entries use the DXGI_FORMAT_B8G8R8A8 representation. For YCbCr streams, the palette entries use the DXGI_FORMAT_AYUV representation. For more information, see the DXGI_FORMAT enumeration. The caller allocates the array.

Requirements

Requirement Value
Header d3d12umddi.h (include D3d12umddi.h)

See also

DXGI_FORMAT