UID | tech.root | title | ms.date | targetos | description | prerelease | req.construct-type | req.ddi-compliance | req.dll | req.header | req.include-header | req.kmdf-ver | req.lib | req.max-support | req.redist | req.target-min-winverclnt | req.target-min-winversvr | req.target-type | req.typenames | req.umdf-ver | req.unicode-ansi | topic_type | api_type | api_location | api_name | f1_keywords | dev_langs | helpviewer_keywords | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NS:d3d12umddi.D3D12DDICAPS_VIDEO_ENCODER_RESOURCE_REQUIREMENTS_DATA_0080_2 |
display |
D3D12DDICAPS_VIDEO_ENCODER_RESOURCE_REQUIREMENTS_DATA_0080_2 |
02/16/2022 |
Windows |
Learn more about the D3D12DDICAPS_VIDEO_ENCODER_RESOURCE_REQUIREMENTS_DATA_0080_2 structure. |
false |
structure |
d3d12umddi.h |
Windows 11 (WDDM 3.0) |
D3D12DDICAPS_VIDEO_ENCODER_RESOURCE_REQUIREMENTS_DATA_0080_2 |
|
|
|
|
|
|
|
The D3D12DDICAPS_VIDEO_ENCODER_RESOURCE_REQUIREMENTS_DATA_0080_2 structure specifies resource access requirements.
[in] In a multi-adapter operation, NodeIndex indicates which physical adapter of the device that the operation applies to.
[in] A D3D12DDI_VIDEO_ENCODER_CODEC_0080 value that specifies the codec to check support for.
[in] A D3D12DDI_VIDEO_ENCODER_PROFILE_DESC_0080_2 structure that specifies the profile to check support for.
[in] A DXGI_FORMAT value that specifies the input format of the input frames.
[in] A D3D12DDI_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC_0080 structure that indicates the picture resolution for which resource requirements are being queried.
[out] Indicates whether the given input values are supported.
[out] Indicates the alignment required in bytes for the resource to be passed in the hDrvBuffer and Offset members of D3D12DDI_VIDEO_ENCODER_COMPRESSED_BITSTREAM_0080. If no alignment is required, the driver should report 1 to indicate 1 byte (trivial) alignment.
[out] Indicates the alignment required in bytes for the resource to be passed in D3D12DDI_VIDEO_ENCODER_ENCODEFRAME_OUTPUT_STREAM_ARGUMENTS_0080_2.HWLayoutEncoderMetadataDrvBuffer. If no alignment is required, the driver should report 1 to convey 1 byte (trivial) alignment.
[out] Indicates the maximum size in bytes needed for the resource that will be allocated by the host and used as output in PFND3D12DDI_VIDEO_ENCODE_FRAME_0082_0 for output encoder metadata based on the input arguments.
The D3D runtime calls PFND3D12DDI_VIDEO_GETCAPS with D3D12DDICAPS_TYPE_VIDEO_0080_ENCODER_RESOURCE_REQUIREMENTS specified as the capability type.
See D3D12 video encoding for general information.