D3D12DDI_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT_0095 structure (d3d12umddi.h)

The D3D12DDI_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT_0095 structure describes the AV1 frame subregion layout configuration support settings for the AV1 encoder.

Syntax

typedef struct D3D12DDI_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT_0095 {
  BOOL                                                                           Use128SuperBlocks;
  D3D12DDI_VIDEO_ENCODER_AV1_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_TILES_0095   TilesConfiguration;
  D3D12DDI_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_0095_FLAGS ValidationFlags;
  UINT                                                                           MinTileRows;
  UINT                                                                           MaxTileRows;
  UINT                                                                           MinTileCols;
  UINT                                                                           MaxTileCols;
  UINT                                                                           MinTileWidth;
  UINT                                                                           MaxTileWidth;
  UINT                                                                           MinTileArea;
  UINT                                                                           MaxTileArea;
  UINT                                                                           TileSizeBytesMinus1;
} D3D12DDI_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT_0095;

Members

Use128SuperBlocks

Input parameter. Boolean that indicates whether the encoder uses 128x128 superblocks. Otherwise the superblock default size 64x64 must be used.

TilesConfiguration

Input parameter. A D3D12DDI_VIDEO_ENCODER_AV1_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_TILES_0095 structure that specifies the tile configuration to check for support for.

ValidationFlags

Input parameter. A D3D12DDI_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_0095_FLAGS enumeration that specifies the flags for the AV1 frame subregion layout configuration validation. Indicates more details when D3D12DDI_FEATURE_DATA_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG_0095.IsSupported is false.

MinTileRows

Output parameter. Minimum number of horizontal partitions.

MaxTileRows

Output parameter. Maximum number of horizontal partitions.

MinTileCols

Output parameter. Minimum number of vertical partitions.

MaxTileCols

Output parameter. Maximum number of vertical partitions.

MinTileWidth

Output parameter. Minimum width of any tile, in superblock units.

MaxTileWidth

Output parameter. Maximum width of any tile, in superblock units.

MinTileArea

Output parameter. Minimum dimension of any tile, in superblock units.

MaxTileArea

Output parameter. Maximum dimension of any tile, in superblock units.

TileSizeBytesMinus1

Output parameter. Specifies the number of bytes needed to code each tile size. Related to the driver writing the D3D12DDI_VIDEO_ENCODER_FRAME_SUBREGION_METADATA_0080.bSize elements in the resolved metadata. The API Client will write tile_size_bytes_minus_1 = (TileSizeBytesMinus1) in frame_header_obu/uncompressed_header/tile_info when writing the frame header OBU, and when writing le(TileSizeBytes) tile_size_minus_1 in tile_group_obu().

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

See also

D3D12DDI_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT_0095