Notatka
Dostęp do tej strony wymaga autoryzacji. Może spróbować zalogować się lub zmienić katalogi.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Specifies video encoder picture control flags.
Syntax
typedef enum D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS {
D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAG_NONE,
D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAG_USED_AS_REFERENCE_PICTURE,
D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAG_ENABLE_QUANTIZATION_MATRIX_INPUT,
D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAG_ENABLE_DIRTY_REGIONS_INPUT,
D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAG_ENABLE_MOTION_VECTORS_INPUT
} ;
Constants
D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAG_NONENone. |
D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAG_USED_AS_REFERENCE_PICTUREThe associated frame will be used as a reference frame in future encode commands. Indicates that the reconstructed picture along with the bitstream should be output for the host to place it in future calls in the reconstructed pictures reference list. Note that there might be limitations for some frame types to be marked as references. Check feature support before setting this value. |
D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAG_ENABLE_QUANTIZATION_MATRIX_INPUTEnable GPU quantization map input via D3D12_VIDEO_ENCODER_QUANTIZATION_OPAQUE_MAP. Also requires D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAG_ENABLE_DELTA_QP to be set. |
D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAG_ENABLE_DIRTY_REGIONS_INPUTEnable dirty regions input via D3D12_VIDEO_ENCODER_DIRTY_REGIONS. The associated ID3D12VideoEncoderHeap must have been created with D3D12_VIDEO_ENCODER_HEAP_FLAG_ALLOW_DIRTY_REGIONS. |
D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAG_ENABLE_MOTION_VECTORS_INPUTEnable motion vectors input via D3D12_VIDEO_ENCODER_FRAME_MOTION_VECTORS. |
Remarks
Values from this enumeration are used by D3D12_VIDEO_ENCODER_PICTURE_CONTROL_DESC.
If this flag is not set, the D3D12_VIDEO_ENCODER_RECONSTRUCTED_PICTURE.pReconstructedPicture can be nullptr in the associated call to ID3D12VideoEncodeCommandList2::EncodeFrame.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Build 22000 |
| Minimum supported server | Windows Build 22000 |
| Header | d3d12video.h |