UID | tech.root | title | ms.date | targetos | description | prerelease | req.construct-type | req.ddi-compliance | req.header | req.include-header | req.kmdf-ver | req.max-support | req.target-min-winverclnt | req.target-min-winversvr | req.target-type | req.typenames | req.umdf-ver | topic_type | api_type | api_location | api_name | f1_keywords | dev_langs | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NE:d3d12video.D3D12_VIDEO_ENCODER_FRAME_TYPE_HEVC |
mf |
D3D12_VIDEO_ENCODER_FRAME_TYPE_HEVC |
06/29/2021 |
Windows |
Specifies the type of an HEVC video frame. |
false |
enumeration |
d3d12video.h |
Windows Build 22000 |
Windows Build 22000 |
|
|
|
|
|
|
Specifies the type of an HEVC video frame.
I-Frame. Completely intra-coded frame.
P-Frame. Allows references to past frames.
B-Frame. Allows references to both past and future (in display order) frames.
Instantaneous decode refresh frame. A special type of I-frame where no frame after it can reference any frame before it.
The following table lists the expected HEVC header frame type for each HEVC frame type value.
Syntax element | Expected default value |
---|---|
D3D12_VIDEO_ENCODER_FRAME_TYPE_HEVC_I_FRAME | nal_unit_type = CRA_NUT |
D3D12_VIDEO_ENCODER_FRAME_TYPE_HEVC_P_FRAME | nal_unit_type = TRAIL_R |
D3D12_VIDEO_ENCODER_FRAME_TYPE_HEVC_B_FRAME | nal_unit_type = TRAIL_R |
D3D12_VIDEO_ENCODER_FRAME_TYPE_HEVC_IDR_FRAME | nal_unit_type = IDR_W_RADL |
If D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAG_P_FRAMES_IMPLEMENTED_AS_LOW_DELAY_B_FRAMES is set, it informs the caller that when encoding frames with type D3D12_VIDEO_ENCODER_FRAME_TYPE_HEVC_P_FRAME, they will be written as low delay B-Frames in the compressed bitstream. If bit is not set, it informs the caller P frames will be written in the compressed bitstream. Note that When operating under this mode, is the caller's responsibility to code the correct frame type in AUD_NUT and other parts of the HEVC bitstream, taking into account that P frames will be treated as generalized B frames with only references to past frames in POC order.