Skip to content

Latest commit

 

History

History
91 lines (65 loc) · 3.83 KB

ns-d3d12umddi-d3d12ddicaps_video_encoder_resource_requirements_data_0080_2.md

File metadata and controls

91 lines (65 loc) · 3.83 KB
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
apiref
HeaderDef
d3d12umddi.h
D3D12DDICAPS_VIDEO_ENCODER_RESOURCE_REQUIREMENTS_DATA_0080_2
D3D12DDICAPS_VIDEO_ENCODER_RESOURCE_REQUIREMENTS_DATA_0080_2
d3d12umddi/D3D12DDICAPS_VIDEO_ENCODER_RESOURCE_REQUIREMENTS_DATA_0080_2
c++
D3D12DDICAPS_VIDEO_ENCODER_RESOURCE_REQUIREMENTS_DATA_0080_2

-description

The D3D12DDICAPS_VIDEO_ENCODER_RESOURCE_REQUIREMENTS_DATA_0080_2 structure specifies resource access requirements.

-struct-fields

-field NodeIndex

[in] In a multi-adapter operation, NodeIndex indicates which physical adapter of the device that the operation applies to.

-field Codec

[in] A D3D12DDI_VIDEO_ENCODER_CODEC_0080 value that specifies the codec to check support for.

-field Profile

[in] A D3D12DDI_VIDEO_ENCODER_PROFILE_DESC_0080_2 structure that specifies the profile to check support for.

-field InputFormat

[in] A DXGI_FORMAT value that specifies the input format of the input frames.

-field PictureTargetResolution

[in] A D3D12DDI_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC_0080 structure that indicates the picture resolution for which resource requirements are being queried.

-field IsSupported

[out] Indicates whether the given input values are supported.

-field CompressedBitstreamBufferAccessAlignment

[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.

-field EncoderMetadataBufferAccessAlignment

[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.

-field MaxEncoderOutputMetadataBufferSize

[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.

-remarks

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.

-see-also

D3D12DDIARG_VIDEO_GETCAPS_0020