Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the configuration for video decoding.
Syntax
typedef enum D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS {
D3D12_VIDEO_DECODE_CONFIGURATION_FLAG_NONE,
D3D12_VIDEO_DECODE_CONFIGURATION_FLAG_HEIGHT_ALIGNMENT_MULTIPLE_32_REQUIRED,
D3D12_VIDEO_DECODE_CONFIGURATION_FLAG_POST_PROCESSING_SUPPORTED,
D3D12_VIDEO_DECODE_CONFIGURATION_FLAG_REFERENCE_ONLY_ALLOCATIONS_REQUIRED,
D3D12_VIDEO_DECODE_CONFIGURATION_FLAG_ALLOW_RESOLUTION_CHANGE_ON_NON_KEY_FRAME
} ;
Constants
D3D12_VIDEO_DECODE_CONFIGURATION_FLAG_NONENo configuration flags. |
D3D12_VIDEO_DECODE_CONFIGURATION_FLAG_HEIGHT_ALIGNMENT_MULTIPLE_32_REQUIREDThe height of the output decoded surfaces must be a multiple of 32. |
D3D12_VIDEO_DECODE_CONFIGURATION_FLAG_POST_PROCESSING_SUPPORTEDThe driver supports post processing. If this flag is set, the host decoder can set up post-processing by using the conversion flags in the D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS. |
D3D12_VIDEO_DECODE_CONFIGURATION_FLAG_REFERENCE_ONLY_ALLOCATIONS_REQUIREDReference resources must be allocated with the D3D12_RESOURCE_FLAG_VIDEO_DECODE_REFERENCE_ONLY resource flag. References textures must be separate from output textures, similar to performing a format conversion or downscale. This flag must not be set for D3D12_VIDEO_DECODE_TIER_3 or greater. |
D3D12_VIDEO_DECODE_CONFIGURATION_FLAG_ALLOW_RESOLUTION_CHANGE_ON_NON_KEY_FRAMEThe decode resolution can be changed on a non-key frame. |
Requirements
| Requirement | Value |
|---|---|
| Header | d3d12video.h |