D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE enumeration (d3d12video.h)

Specifies the types of parameters for video extension commands.

Syntax

typedef enum D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE {
  D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE_UINT8,
  D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE_UINT16,
  D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE_UINT32,
  D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE_UINT64,
  D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE_SINT8,
  D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE_SINT16,
  D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE_SINT32,
  D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE_SINT64,
  D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE_FLOAT,
  D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE_DOUBLE,
  D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE_RESOURCE
} ;

Constants

 
D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE_UINT8
Unsigned 8-bit integer.
D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE_UINT16
Unsigned 16-bit integer.
D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE_UINT32
Unsigned 32-bit integer.
D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE_UINT64
Unsigned 64-bit integer.
D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE_SINT8
Signed 8-bit integer.
D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE_SINT16
Signed 16-bit integer.
D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE_SINT32
Signed 32-bit integer.
D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE_SINT64
Signed 64-bit integer.
D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE_FLOAT
IEEE 32-bit floating point number
D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE_DOUBLE
IEEE 64-bit floating point number
D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE_RESOURCE
A D3D12DDI_HRESOURCE handle. The caller must use resource barriers to transition to the state appropriate for the parameter.

D3D12_COMMAND_LIST_SUPPORT_FLAGS value Read Write
------------------- --------------------------- ------------------------
D3D12_COMMAND_LIST_SUPPORT_FLAG_VIDEO_DECODE D3D12_RESOURCE_STATE_VIDEO_DECODE_READ D3D12_RESOURCE_STATE_VIDEO_DECODE_WRITE
D3D12_COMMAND_LIST_SUPPORT_FLAG_VIDEO_PROCESS D3D12_RESOURCE_STATE_VIDEO_PROCESS_READ D3D12_RESOURCE_STATE_VIDEO_PROCESS_WRITE
D3D12_COMMAND_LIST_SUPPORT_FLAG_VIDEO_ENCODE D3D12_RESOURCE_STATE_VIDEO_ENCODE_READ D3D12_RESOURCE_STATE_VIDEO_ENCODE_WRITE

Remarks

Values from this enumeration are used by the D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_INFO structure.

Requirements

   
Minimum supported client Windows 10, version 2004 (10.0; Build 19041)
Minimum supported server Windows Server, version 2004 (10.0; Build 19041)
Header d3d12video.h

See also

D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_INFO