// d3d12umddi.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
The D3D12DDI_VIDEO_ENCODER_AV1_SEGMENTATION_CONFIG_0095 structure contains configuration information for segmentation for an AV1 frame.
UpdateMapA 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.
TemporalUpdateA flag indicating whether the segmentation map is updated based on temporal information. If set, segments may be predicted from previous frames.
UpdateDataA 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.
NumSegmentsWhen 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.
See D3D12 AV1 video encoding for more information.
D3D12DDI_VIDEO_ENCODER_AV1_PICTURE_CONTROL_CODEC_DATA_0095
D3D12DDI_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_0095