Edit

Share via


D3D12_VIDEO_ENCODER_HEAP_FLAGS enumeration (d3d12video.h)

Specifies heap options for video encoding.

Syntax

typedef enum D3D12_VIDEO_ENCODER_HEAP_FLAGS {
  D3D12_VIDEO_ENCODER_HEAP_FLAG_NONE,
  D3D12_VIDEO_ENCODER_HEAP_FLAG_ALLOW_SUBREGION_NOTIFICATION_ARRAY_OF_BUFFERS,
  D3D12_VIDEO_ENCODER_HEAP_FLAG_ALLOW_SUBREGION_NOTIFICATION_SINGLE_BUFFER,
  D3D12_VIDEO_ENCODER_HEAP_FLAG_ALLOW_DIRTY_REGIONS,
  D3D12_VIDEO_ENCODER_HEAP_FLAG_ALLOW_RATE_CONTROL_FRAME_ANALYSIS
} ;

Constants

 
D3D12_VIDEO_ENCODER_HEAP_FLAG_NONE
No flags.
D3D12_VIDEO_ENCODER_HEAP_FLAG_ALLOW_DIRTY_REGIONS
Indicates that the encoder heap supports dirty regions. Required when using D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAG_ENABLE_DIRTY_REGIONS_INPUT.
D3D12_VIDEO_ENCODER_HEAP_FLAG_ALLOW_RATE_CONTROL_FRAME_ANALYSIS
Indicates to the driver that two pass will be used with the associated ID3D12VideoEncoderHeap1. The driver uses this flag to allocate and initialize the internal state required for storing two pass context in this object.

Requirements

Requirement Value
Minimum supported client Windows Build 22000
Minimum supported server Windows Build 22000
Header d3d12video.h