Skip to content

Latest commit

 

History

History
76 lines (56 loc) · 2.41 KB

ns-d3d12video-d3d12_video_encoder_desc.md

File metadata and controls

76 lines (56 loc) · 2.41 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
NS:d3d12video.D3D12_VIDEO_ENCODER_DESC
mf
D3D12_VIDEO_ENCODER_DESC
06/21/2021
Windows
Describes an ID3D12VideoEncoder.
false
structure
d3d12video.h
Windows Build 22000
Windows Build 22000
D3D12_VIDEO_ENCODER_DESC
apiref
HeaderDef
d3d12video.h
D3D12_VIDEO_ENCODER_DESC
D3D12_VIDEO_ENCODER_DESC
d3d12video/D3D12_VIDEO_ENCODER_DESC
c++

-description

Describes an ID3D12VideoEncoder. Pass this structure into ID3D12VideoDevice3::CreateVideoEncoder to create an instance of ID3D12VideoEncoder.

-struct-fields

-field NodeMask

The node mask specifying the physical adapter on which the video processor will be used. For single GPU operation, set this to zero. If there are multiple GPU nodes, set a bit to identify the node, i.e. the device's physical adapter, to which the command queue applies. Each bit in the mask corresponds to a single node. Only 1 bit may be set.

-field Flags

A bitwise OR combination of values from the D3D12_VIDEO_ENCODER_FLAGS specifying the flags for encoder creation.

-field EncodeCodec

A D3D12_VIDEO_ENCODER_CODEC specifying the desired codec.

-field EncodeProfile

A D3D12_VIDEO_ENCODER_PROFILE_DESC structure specifying the desired encoding profile.

-field InputFormat

A DXGI_FORMAT specifying the format of the source stream.

-field CodecConfiguration

A D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION structure specifying codec configuration parameters.

-field MaxMotionEstimationPrecision

A value from the D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE enumeration the maximum number of motion vectors allowed.

-remarks

-see-also