D3D12_VIDEO_PROCESS_FEATURE_FLAGS enumeration (d3d12video.h)
Specifies the features that a video processor can support.
Syntax
typedef enum D3D12_VIDEO_PROCESS_FEATURE_FLAGS {
D3D12_VIDEO_PROCESS_FEATURE_FLAG_NONE,
D3D12_VIDEO_PROCESS_FEATURE_FLAG_ALPHA_FILL,
D3D12_VIDEO_PROCESS_FEATURE_FLAG_LUMA_KEY,
D3D12_VIDEO_PROCESS_FEATURE_FLAG_STEREO,
D3D12_VIDEO_PROCESS_FEATURE_FLAG_ROTATION,
D3D12_VIDEO_PROCESS_FEATURE_FLAG_FLIP,
D3D12_VIDEO_PROCESS_FEATURE_FLAG_ALPHA_BLENDING,
D3D12_VIDEO_PROCESS_FEATURE_FLAG_PIXEL_ASPECT_RATIO
} ;
Constants
D3D12_VIDEO_PROCESS_FEATURE_FLAG_NONE No features are supported. |
D3D12_VIDEO_PROCESS_FEATURE_FLAG_ALPHA_FILL The video processor can set alpha values on the output pixels. The alpha fill mode is used in D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC. D3D12_VIDEO_PROCESS_ALPHA_FILL_MODE_OPAQUE must be always supported. The background, destination, and source stream modes are only supported when the driver reports D3D12_VIDEO_PROCESS_FEATURE_FLAG_ALPHA_FILL. |
D3D12_VIDEO_PROCESS_FEATURE_FLAG_LUMA_KEY The video processor can perform luma keying. Luma keying is configured via the D3D12_VIDEO_PROCESS_LUMA_KEY member of the D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS structure. For more information see <a href=ns-d3d12video-d3d12_video_process_luma_key"">D3D12_VIDEO_PROCESS_LUMA_KEY. |
D3D12_VIDEO_PROCESS_FEATURE_FLAG_STEREO The video processor can support 3D stereo video. For more information, see D3D12_VIDEO_FRAME_STEREO_FORMAT. All drivers setting this capability must support the following stereo formats: D3D12_VIDEO_PROCESS_STEREO_FORMAT_HORIZONTAL, D3D12_VIDEO_PROCESS_STEREO_FORMAT_VERTICAL, and D3D12_VIDEO_PROCESS_STEREO_FORMAT_SEPARATE. |
D3D12_VIDEO_PROCESS_FEATURE_FLAG_ROTATION The driver can rotate the input data either 90, 180, or 270 degrees clockwise as part of the video processing operation. |
D3D12_VIDEO_PROCESS_FEATURE_FLAG_FLIP The driver can flip the input data horizontally or vertically, together or separately with a video rotation operation. |
D3D12_VIDEO_PROCESS_FEATURE_FLAG_ALPHA_BLENDING Alpha blending and a planar alpha may be set in the AlphaBlending member of the D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS structure. For more information see D3D12_VIDEO_PROCESS_ALPHA_BLENDING. |
D3D12_VIDEO_PROCESS_FEATURE_FLAG_PIXEL_ASPECT_RATIO The driver supports changing the pixel aspect ratio. If the driver does not report this capability, then the SourceAspectRatio and DestinationAspectRatio members of D3D12_VIDEO_PROCESS_INPUT_STREAM_ARGUMENTS structure must indicate a 1:1 aspect ratio. |
Requirements
Requirement | Value |
---|---|
Header | d3d12video.h |