Edit

Share via


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 = 18,
  D3D12_FEATURE_VIDEO_FEATURE_AREA_SUPPORT = 19,
  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 = 28,
  D3D12_FEATURE_VIDEO_PROCESS_PROTECTED_RESOURCES = 29,
  D3D12_FEATURE_VIDEO_MOTION_ESTIMATOR_PROTECTED_RESOURCES = 30,
  D3D12_FEATURE_VIDEO_DECODER_HEAP_SIZE1 = 31,
  D3D12_FEATURE_VIDEO_PROCESSOR_SIZE1 = 32,
  D3D12_FEATURE_VIDEO_ENCODER_CODEC = 33,
  D3D12_FEATURE_VIDEO_ENCODER_PROFILE_LEVEL = 34,
  D3D12_FEATURE_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT = 35,
  D3D12_FEATURE_VIDEO_ENCODER_OUTPUT_RESOLUTION = 36,
  D3D12_FEATURE_VIDEO_ENCODER_INPUT_FORMAT = 37,
  D3D12_FEATURE_VIDEO_ENCODER_RATE_CONTROL_MODE = 38,
  D3D12_FEATURE_VIDEO_ENCODER_INTRA_REFRESH_MODE = 39,
  D3D12_FEATURE_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE = 40,
  D3D12_FEATURE_VIDEO_ENCODER_HEAP_SIZE = 41,
  D3D12_FEATURE_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT = 42,
  D3D12_FEATURE_VIDEO_ENCODER_SUPPORT = 43,
  D3D12_FEATURE_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT = 44,
  D3D12_FEATURE_VIDEO_ENCODER_RESOURCE_REQUIREMENTS = 45,
  D3D12_FEATURE_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG = 46,
  D3D12_FEATURE_VIDEO_ENCODER_SUPPORT1 = 47,
  D3D12_FEATURE_VIDEO_ENCODER_RESOURCE_REQUIREMENTS1,
  D3D12_FEATURE_VIDEO_ENCODER_RESOLVE_INPUT_PARAM_LAYOUT,
  D3D12_FEATURE_VIDEO_ENCODER_QPMAP_INPUT,
  D3D12_FEATURE_VIDEO_ENCODER_DIRTY_REGIONS,
  D3D12_FEATURE_VIDEO_ENCODER_MOTION_SEARCH,
  D3D12_FEATURE_VIDEO_ENCODER_SUPPORT2,
  D3D12_FEATURE_VIDEO_ENCODER_HEAP_SIZE1,
  D3D12_FEATURE_VIDEO_ENCODER_RATE_CONTROL_FRAME_ANALYSIS
} ;

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
Value: 18
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_FEATURE_AREA_SUPPORT
Value: 19
Checks support for video feature areas. The associated data structure is D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT.
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_DECODE_PROTECTED_RESOURCES
Value: 28
Checks support for decode with protected resources. The associated data structure is D3D12_FEATURE_DATA_VIDEO_DECODE_PROTECTED_RESOURCES.
D3D12_FEATURE_VIDEO_PROCESS_PROTECTED_RESOURCES
Value: 29
Checks support for video processing with protected resources. The associated data structure is D3D12_FEATURE_DATA_VIDEO_PROCESS_PROTECTED_RESOURCES.
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.
D3D12_FEATURE_VIDEO_DECODER_HEAP_SIZE1
Value: 31
Checks the allocation size of a video decoder heap. The associated data structure is D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1.
D3D12_FEATURE_VIDEO_PROCESSOR_SIZE1
Value: 32
Checks the allocation size of a video processor heap. The associated data structure is D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1.
D3D12_FEATURE_VIDEO_ENCODER_CODEC
Value: 33
Checks support for a given codec. The associated data structure is D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC.
D3D12_FEATURE_VIDEO_ENCODER_PROFILE_LEVEL
Value: 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
Value: 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
Value: 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
Value: 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
Value: 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
Value: 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
Value: 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
Value: 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
Value: 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
Value: 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
Value: 44
Retrieves the codec-specific capabilities related to reference picture management limitations. The associated data structure is D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT.
D3D12_FEATURE_VIDEO_ENCODER_RESOURCE_REQUIREMENTS
Value: 45
Retrieves the requirements for alignment for resource access. The associated data structure is D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOURCE_REQUIREMENTS.
D3D12_FEATURE_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG
Value: 46
Retrieves configuration support for frame subregion layouts. The associated data structure is D3D12_FEATURE_DATA_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG.
D3D12_FEATURE_VIDEO_ENCODER_SUPPORT1
Value: 47
Retrieves the feature support details on the requested configuration. The associated data structure is D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT1.
D3D12_FEATURE_VIDEO_ENCODER_RESOLVE_INPUT_PARAM_LAYOUT
Checks support for ID3D12VideoEncodeCommandList4::ResolveInputParamLayout. The associated data structure is D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLVE_INPUT_PARAM_LAYOUT.
D3D12_FEATURE_VIDEO_ENCODER_QPMAP_INPUT
Checks support for QPMap input. The associated data structure is D3D12_FEATURE_DATA_VIDEO_ENCODER_QPMAP_INPUT.
D3D12_FEATURE_VIDEO_ENCODER_DIRTY_REGIONS
Checks support for dirty regions. The associated data structure is D3D12_FEATURE_DATA_ENCODER_DIRTY_REGIONS.
D3D12_FEATURE_VIDEO_ENCODER_MOTION_SEARCH
Checks support for motion search. The associated data structure is D3D12_FEATURE_DATA_VIDEO_ENCODER_MOTION_SEARCH.
D3D12_FEATURE_VIDEO_ENCODER_SUPPORT2
Retrieves the feature support details on the requested configuration, including frame analysis support, QPMap, dirty regions, and motion search. Extends D3D12_FEATURE_VIDEO_ENCODER_SUPPORT1. The associated data structure is D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT2.
D3D12_FEATURE_VIDEO_ENCODER_HEAP_SIZE1
Retrieves the memory requirements of a video encoder heap created with the given encoder heap properties. Extends D3D12_FEATURE_VIDEO_ENCODER_HEAP_SIZE by using D3D12_VIDEO_ENCODER_HEAP_DESC1. The associated data structure is D3D12_FEATURE_DATA_VIDEO_ENCODER_HEAP_SIZE1.
D3D12_FEATURE_VIDEO_ENCODER_RATE_CONTROL_FRAME_ANALYSIS
Queries driver support for lower resolution two pass frame analysis at a given downscale factor and encode configuration. The associated data structure is D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_FRAME_ANALYSIS.

Requirements

Requirement Value
Header d3d12video.h