D3D12_FEATURE_VIDEO enumeration (d3d12video.h)

Specifies a Direct3D 12 video feature or feature set to query about. When you want to query for the level to which an adapter supports a feature, pass one of these values to ID3D12VideoDevice::CheckFeatureSupport.

Syntax

typedef enum D3D12_FEATURE_VIDEO {
  D3D12_FEATURE_VIDEO_DECODE_SUPPORT,
  D3D12_FEATURE_VIDEO_DECODE_PROFILES,
  D3D12_FEATURE_VIDEO_DECODE_FORMATS,
  D3D12_FEATURE_VIDEO_DECODE_CONVERSION_SUPPORT,
  D3D12_FEATURE_VIDEO_PROCESS_SUPPORT,
  D3D12_FEATURE_VIDEO_PROCESS_MAX_INPUT_STREAMS,
  D3D12_FEATURE_VIDEO_PROCESS_REFERENCE_INFO,
  D3D12_FEATURE_VIDEO_DECODER_HEAP_SIZE,
  D3D12_FEATURE_VIDEO_PROCESSOR_SIZE,
  D3D12_FEATURE_VIDEO_DECODE_PROFILE_COUNT,
  D3D12_FEATURE_VIDEO_DECODE_FORMAT_COUNT,
  D3D12_FEATURE_VIDEO_ARCHITECTURE,
  D3D12_FEATURE_VIDEO_DECODE_HISTOGRAM,
  D3D12_FEATURE_VIDEO_FEATURE_AREA_SUPPORT,
  D3D12_FEATURE_VIDEO_MOTION_ESTIMATOR = 20,
  D3D12_FEATURE_VIDEO_MOTION_ESTIMATOR_SIZE = 21,
  D3D12_FEATURE_VIDEO_EXTENSION_COMMAND_COUNT = 22,
  D3D12_FEATURE_VIDEO_EXTENSION_COMMANDS = 23,
  D3D12_FEATURE_VIDEO_EXTENSION_COMMAND_PARAMETER_COUNT = 24,
  D3D12_FEATURE_VIDEO_EXTENSION_COMMAND_PARAMETERS = 25,
  D3D12_FEATURE_VIDEO_EXTENSION_COMMAND_SUPPORT = 26,
  D3D12_FEATURE_VIDEO_EXTENSION_COMMAND_SIZE = 27,
  D3D12_FEATURE_VIDEO_DECODE_PROTECTED_RESOURCES,
  D3D12_FEATURE_VIDEO_PROCESS_PROTECTED_RESOURCES,
  D3D12_FEATURE_VIDEO_MOTION_ESTIMATOR_PROTECTED_RESOURCES = 30,
  D3D12_FEATURE_VIDEO_DECODER_HEAP_SIZE1,
  D3D12_FEATURE_VIDEO_PROCESSOR_SIZE1,
  D3D12_FEATURE_VIDEO_ENCODER_CODEC,
  D3D12_FEATURE_VIDEO_ENCODER_PROFILE_LEVEL,
  D3D12_FEATURE_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT,
  D3D12_FEATURE_VIDEO_ENCODER_OUTPUT_RESOLUTION,
  D3D12_FEATURE_VIDEO_ENCODER_INPUT_FORMAT,
  D3D12_FEATURE_VIDEO_ENCODER_RATE_CONTROL_MODE,
  D3D12_FEATURE_VIDEO_ENCODER_INTRA_REFRESH_MODE,
  D3D12_FEATURE_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE,
  D3D12_FEATURE_VIDEO_ENCODER_HEAP_SIZE,
  D3D12_FEATURE_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT,
  D3D12_FEATURE_VIDEO_ENCODER_SUPPORT,
  D3D12_FEATURE_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT,
  D3D12_FEATURE_VIDEO_ENCODER_RESOURCE_REQUIREMENTS,
  D3D12_FEATURE_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG,
  D3D12_FEATURE_VIDEO_ENCODER_SUPPORT1
} ;

Constants

 
D3D12_FEATURE_VIDEO_DECODE_SUPPORT
Check if a decode profile, bitstream encryption, resolution, and format are supported. The result is a D3D12_VIDEO_DECODE_TIER indicating the level of support. The associated data structure is D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT.
D3D12_FEATURE_VIDEO_DECODE_PROFILES
Retrieve the list of decode profiles supported by the adapter. Call CheckFeatureSupport specifying the feature D3D12_FEATURE_VIDEO_DECODE_PROFILE_COUNT to get the number of profiles before calling CheckFeatureSupport for the D3D12_FEATURE_VIDEO_DECODE_PROFILES feature. The associated data structure is D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILES.
D3D12_FEATURE_VIDEO_DECODE_FORMATS
Retrieves the list of supported decode formats for a D3D12_VIDEO_DECODE_CONFIGURATION. Call CheckFeatureSupport specifying the feature D3D12_FEATURE_VIDEO_DECODE_FORMAT_COUNT to get the number of profiles before calling CheckFeatureSupport for the D3D12_FEATURE_VIDEO_DECODE_PROFILES feature.The associated data structure is D3D12_FEATURE_DATA_VIDEO_DECODE_FORMATS.
D3D12_FEATURE_VIDEO_DECODE_CONVERSION_SUPPORT
Check if a colorspace conversion, format conversion, and scale are supported. The associated data structure is D3D12_FEATURE_DATA_VIDEO_DECODE_CONVERSION_SUPPORT.
D3D12_FEATURE_VIDEO_PROCESS_SUPPORT
Retrieves the video processor capabilities. The associated data structure is D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT.
D3D12_FEATURE_VIDEO_PROCESS_MAX_INPUT_STREAMS
Retrieves the maximum number of streams that can be enabled at the same time. The associated data structure is D3D12_FEATURE_DATA_VIDEO_PROCESS_MAX_INPUT_STREAMS.
D3D12_FEATURE_VIDEO_PROCESS_REFERENCE_INFO
Retrieves the number of past and future frames required for a given deinterlace mode, filters, frame rate conversion, and features. The associated data structure is D3D12_FEATURE_DATA_VIDEO_PROCESS_REFERENCE_INFO.
D3D12_FEATURE_VIDEO_DECODER_HEAP_SIZE
Checks the allocation size of a video decoder heap. The associated data structure is D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE. For information on residency budgeting for heaps, see Residency.
D3D12_FEATURE_VIDEO_PROCESSOR_SIZE
Checks the allocation size of a video processor heap. The associated data structure is D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE. For information on residency budgeting for heaps, see Residency.
D3D12_FEATURE_VIDEO_DECODE_PROFILE_COUNT
Retrieves the number of supported decoder profiles. The returned count is used when querying for D3D12_FEATURE_VIDEO_DECODE_PROFILES.
D3D12_FEATURE_VIDEO_DECODE_FORMAT_COUNT
Retrieves the number of supported decoder profiles. The returned count is used when querying for D3D12_FEATURE_VIDEO_DECODE_FORMATS.
D3D12_FEATURE_VIDEO_ARCHITECTURE
Indicates if the video engine is IO coherent with the CPU.
D3D12_FEATURE_VIDEO_DECODE_HISTOGRAM
Retrieves the supported components, bin count, and counter bit depth for the a decode histogram with the specified decode profile, resolution, and format. The associated data structure is D3D12_FEATURE_DATA_VIDEO_DECODE_HISTOGRAM.
D3D12_FEATURE_VIDEO_MOTION_ESTIMATOR
Value: 20
Retrieves the supported resolutions, search block sizes, and precision for motion estimation. The associated data structure is D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR.
D3D12_FEATURE_VIDEO_MOTION_ESTIMATOR_SIZE
Value: 21
Checks the allocation size of a motion estimator heap. The associated data structure is D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE.
D3D12_FEATURE_VIDEO_EXTENSION_COMMAND_COUNT
Value: 22
Retrieves the supported number of video extension commands. The associated data structure is D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT.
D3D12_FEATURE_VIDEO_EXTENSION_COMMANDS
Value: 23
Retrieves a list of D3D12_VIDEO_EXTENSION_COMMAND_INFO structures describing video extension commands. The associated data structure is D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT.
D3D12_FEATURE_VIDEO_EXTENSION_COMMAND_PARAMETER_COUNT
Value: 24
Retrieves the parameter count for the specified parameter stage. The associated data structure is D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETER_COUNT.
D3D12_FEATURE_VIDEO_EXTENSION_COMMAND_PARAMETERS
Value: 25
Retrieves a list of D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_INFO structures describing video extension command parameters for the specified parameter stage. The associated data structure is D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETERS.
D3D12_FEATURE_VIDEO_EXTENSION_COMMAND_SUPPORT
Value: 26
Queries for command-defined support information. The associated data structure is D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORT.
D3D12_FEATURE_VIDEO_EXTENSION_COMMAND_SIZE
Value: 27
Checks the allocation size of a video extension command. The associated data structure is D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE.
D3D12_FEATURE_VIDEO_MOTION_ESTIMATOR_PROTECTED_RESOURCES
Value: 30
Checks support for motion estimation with protected resources. The associated data structure is D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_PROTECTED_RESOURCES.

Remarks

Field Value Description
D3D12_FEATURE_VIDEO_ENCODER_CODEC 33 Checks support for a given codec. The associated data structure is D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC.
D3D12_FEATURE_VIDEO_ENCODER_PROFILE_LEVEL 34 Checks support for a given profile and returns the supported levels range for that profile. The associated data structure is D3D12_FEATURE_DATA_VIDEO_ENCODER_PROFILE_LEVEL.
D3D12_FEATURE_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT 35 Checks support for the number of resolution ratios available. The associated data structure is D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT.
D3D12_FEATURE_VIDEO_ENCODER_OUTPUT_RESOLUTION 36 Checks support for the rules that resolutions must meet. The associated data structure is D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION.
D3D12_FEATURE_VIDEO_ENCODER_INPUT_FORMAT 37 Checks support for a given input format. The associated data structure is D3D12_FEATURE_DATA_VIDEO_ENCODER_INPUT_FORMAT.
D3D12_FEATURE_VIDEO_ENCODER_RATE_CONTROL_MODE 38 Checks support for a given rate control mode. The associated data structure is D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_MODE.
D3D12_FEATURE_VIDEO_ENCODER_INTRA_REFRESH_MODE 39 Checks support for a given intra refresh mode. The associated data structure is D3D12_FEATURE_DATA_VIDEO_ENCODER_INTRA_REFRESH_MODE.
D3D12_FEATURE_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE 40 Checks support for a given subregion layout mode. The associated data structure is D3D12_FEATURE_DATA_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE.
D3D12_FEATURE_VIDEO_ENCODER_HEAP_SIZE 41 Retrieves the memory requirements of a video encoder heap created with the given encoder heap properties. The associated data structure is D3D12_FEATURE_DATA_VIDEO_ENCODER_HEAP_SIZE.
D3D12_FEATURE_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT 42 Retrieves a set of codec specific configuration limits. The associated data structure is D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT.
D3D12_FEATURE_VIDEO_ENCODER_SUPPORT 43 Retrieves the feature support details on the requested configuration. The associated data structure is D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT.
D3D12_FEATURE_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT 44 Retrieves the codec specific capabilities related to the reference picture management limitations. The associated data structure is D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT.
D3D12_FEATURE_VIDEO_ENCODER_RESOURCE_REQUIREMENTS 45 Retrieves the requirements for alignment for resource access. The associated data structure is D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOURCE_REQUIREMENTS.

Requirements

Requirement Value
Header d3d12video.h