struttura D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT2 (d3d12video.h)

Estende D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT1 per il driver per segnalare i dettagli di supporto quando si abilitano le funzionalità QPMap, aree dirty e/o hint di ricerca movimento. Se il driver non supporta una determinata combinazione, deve segnalare D3D12_VIDEO_ENCODER_SUPPORT_FLAG_NONE e specificare le funzionalità in conflitto in D3D12_VIDEO_ENCODER_VALIDATION_FLAGS.

Sintassi

typedef struct D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT2 {
  UINT                                                        NodeIndex;
  D3D12_VIDEO_ENCODER_CODEC                                   Codec;
  DXGI_FORMAT                                                 InputFormat;
  D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION                     CodecConfiguration;
  D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE                  CodecGopSequence;
  D3D12_VIDEO_ENCODER_RATE_CONTROL                            RateControl;
  D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE                      IntraRefresh;
  D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE             SubregionFrameEncoding;
  UINT                                                        ResolutionsListCount;
  const D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC           *pResolutionList;
  UINT                                                        MaxReferenceFramesInDPB;
  D3D12_VIDEO_ENCODER_VALIDATION_FLAGS                        ValidationFlags;
  D3D12_VIDEO_ENCODER_SUPPORT_FLAGS                           SupportFlags;
  D3D12_VIDEO_ENCODER_PROFILE_DESC                            SuggestedProfile;
  D3D12_VIDEO_ENCODER_LEVEL_SETTING                           SuggestedLevel;
  D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS1 *pResolutionDependentSupport;
  D3D12_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA  SubregionFrameEncodingData;
  UINT                                                        MaxQualityVsSpeed;
  D3D12_VIDEO_ENCODER_QPMAP_CONFIGURATION                     QPMap;
  D3D12_VIDEO_ENCODER_DIRTY_REGIONS_CONFIGURATION             DirtyRegions;
  D3D12_VIDEO_ENCODER_MOTION_SEARCH_CONFIGURATION             MotionSearch;
  D3D12_VIDEO_ENCODER_FRAME_ANALYSIS_CONFIGURATION            FrameAnalysis;
} D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT2;

Membri

NodeIndex

parametro di input. Nell'operazione a più schede indica la scheda fisica del dispositivo a cui si applica questa operazione.

Codec

parametro di input. Valore D3D12_VIDEO_ENCODER_CODEC che specifica il codec.

InputFormat

parametro di input. Valore DXGI_FORMAT che specifica il formato di input.

CodecConfiguration

parametro di input. Oggetto D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION che specifica la configurazione del codec.

CodecGopSequence

parametro di input. Oggetto D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE che specifica la struttura GOP.

RateControl

parametro di input. Oggetto D3D12_VIDEO_ENCODER_RATE_CONTROL che specifica il controllo frequenza.

IntraRefresh

parametro di input. Oggetto D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE che specifica la modalità intra-aggiornamento.

SubregionFrameEncoding

parametro di input. Valore D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE che specifica la modalità di layout delle aree secondarie.

ResolutionsListCount

parametro di input. Numero di risoluzioni in pResolutionList.

pResolutionList

parametro di input. Puntatore a una matrice di strutture D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC che specificano le risoluzioni.

MaxReferenceFramesInDPB

parametro di input. Numero massimo di frame di riferimento nel buffer immagine decodificato.

ValidationFlags

parametro di output. Combinazione di D3D12_VIDEO_ENCODER_VALIDATION_FLAGS che indica le funzionalità non supportate.

SupportFlags

parametro di output. Combinazione di D3D12_VIDEO_ENCODER_SUPPORT_FLAGS che indica il supporto.

SuggestedProfile

parametro di output. Un D3D12_VIDEO_ENCODER_PROFILE_DESC con il profilo suggerito.

SuggestedLevel

parametro di output. Un D3D12_VIDEO_ENCODER_LEVEL_SETTING con il livello suggerito.

pResolutionDependentSupport

parametro di output. Puntatore a una matrice allocata dal chiamante di D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS1 strutture il riempimento del driver per ogni risoluzione in pResolutionList.

SubregionFrameEncodingData

Oggetto D3D12_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA che specifica i dati di layout delle aree secondarie.

MaxQualityVsSpeed

parametro di output. Valore massimo di qualità e velocità.

QPMap

parametro di input. Oggetto D3D12_VIDEO_ENCODER_QPMAP_CONFIGURATION che specifica la configurazione QPMap desiderata.

DirtyRegions

parametro di input. Oggetto D3D12_VIDEO_ENCODER_DIRTY_REGIONS_CONFIGURATION che specifica la configurazione delle aree dirty desiderate.

MotionSearch

parametro di input. Oggetto D3D12_VIDEO_ENCODER_MOTION_SEARCH_CONFIGURATION che specifica la configurazione di ricerca movimento prevista.

FrameAnalysis

Requisiti

Requisito Valore
Intestazione d3d12video.h