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.
The D3D12DDI_VIDEO_ENCODER_AV1_SEGMENTATION_CONFIG_0095 structure contains configuration information for segmentation for an AV1 frame.
Syntax
typedef struct D3D12DDI_VIDEO_ENCODER_AV1_SEGMENTATION_CONFIG_0095 {
UINT64 UpdateMap;
UINT64 TemporalUpdate;
UINT64 UpdateData;
UINT64 NumSegments;
D3D12DDI_VIDEO_ENCODER_AV1_SEGMENT_DATA_0095 SegmentsData[8];
} D3D12DDI_VIDEO_ENCODER_AV1_SEGMENTATION_CONFIG_0095;
Members
UpdateMap
A flag indicating whether the segmentation map should be updated for the current frame. If set, the encoder will use the new segmentation map provided in the D3D12DDI_VIDEO_ENCODER_AV1_SEGMENTATION_MAP_0095 structure.
TemporalUpdate
A flag indicating whether the segmentation map is updated based on temporal information. If set, segments may be predicted from previous frames.
UpdateData
A flag indicating whether the data for the segments should be updated. If set, the encoder will use the new data provided in the SegmentsData array.
NumSegments
When using D3D12DDI_VIDEO_ENCODER_AV1_PICTURE_CONTROL_0095_FLAG_ENABLE_FRAME_SEGMENTATION_AUTO and the driver writes it back on post encode values, a value of NumSegments = 0 indicated that segmentation_enabled must be 0 in the frame header. Otherwise, the API client codes segmentation_params() in the frame header accordingly with the other parameters in this structure.
When using D3D12DDI_VIDEO_ENCODER_AV1_PICTURE_CONTROL_0095_FLAG_ENABLE_FRAME_SEGMENTATION_CUSTOM, indicates the input number of segments.
SegmentsData[8]
Array of D3D12DDI_VIDEO_ENCODER_AV1_SEGMENT_DATA_0095 structures that contain the data for each segment. The number of elements in the array is specified by NumSegments.
Remarks
See D3D12 AV1 video encoding for more information.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 11, version 24H2 (WDDM 3.2) |
| Header | d3d12umddi.h |