Condividi tramite


enumerazione D3D12_FEATURE_VIDEO (d3d12video.h)

Specifica una funzionalità video o una funzionalità direct3D 12 impostata su cui eseguire query. Quando si desidera eseguire una query per il livello a cui un adattatore supporta una funzionalità, passare uno di questi valori a ID3D12VideoDevice::CheckFeatureSupport.

Sintassi

typedef enum D3D12_FEATURE_VIDEO {
  D3D12_FEATURE_VIDEO_DECODE_SUPPORT,
  D3D12_FEATURE_VIDEO_DECODE_PROFILES,
  D3D12_FEATURE_VIDEO_DECODE_FORMATS,
  D3D12_FEATURE_VIDEO_DECODE_CONVERSION_SUPPORT,
  D3D12_FEATURE_VIDEO_PROCESS_SUPPORT,
  D3D12_FEATURE_VIDEO_PROCESS_MAX_INPUT_STREAMS,
  D3D12_FEATURE_VIDEO_PROCESS_REFERENCE_INFO,
  D3D12_FEATURE_VIDEO_DECODER_HEAP_SIZE,
  D3D12_FEATURE_VIDEO_PROCESSOR_SIZE,
  D3D12_FEATURE_VIDEO_DECODE_PROFILE_COUNT,
  D3D12_FEATURE_VIDEO_DECODE_FORMAT_COUNT,
  D3D12_FEATURE_VIDEO_ARCHITECTURE,
  D3D12_FEATURE_VIDEO_DECODE_HISTOGRAM = 18,
  D3D12_FEATURE_VIDEO_FEATURE_AREA_SUPPORT = 19,
  D3D12_FEATURE_VIDEO_MOTION_ESTIMATOR = 20,
  D3D12_FEATURE_VIDEO_MOTION_ESTIMATOR_SIZE = 21,
  D3D12_FEATURE_VIDEO_EXTENSION_COMMAND_COUNT = 22,
  D3D12_FEATURE_VIDEO_EXTENSION_COMMANDS = 23,
  D3D12_FEATURE_VIDEO_EXTENSION_COMMAND_PARAMETER_COUNT = 24,
  D3D12_FEATURE_VIDEO_EXTENSION_COMMAND_PARAMETERS = 25,
  D3D12_FEATURE_VIDEO_EXTENSION_COMMAND_SUPPORT = 26,
  D3D12_FEATURE_VIDEO_EXTENSION_COMMAND_SIZE = 27,
  D3D12_FEATURE_VIDEO_DECODE_PROTECTED_RESOURCES = 28,
  D3D12_FEATURE_VIDEO_PROCESS_PROTECTED_RESOURCES = 29,
  D3D12_FEATURE_VIDEO_MOTION_ESTIMATOR_PROTECTED_RESOURCES = 30,
  D3D12_FEATURE_VIDEO_DECODER_HEAP_SIZE1 = 31,
  D3D12_FEATURE_VIDEO_PROCESSOR_SIZE1 = 32,
  D3D12_FEATURE_VIDEO_ENCODER_CODEC = 33,
  D3D12_FEATURE_VIDEO_ENCODER_PROFILE_LEVEL = 34,
  D3D12_FEATURE_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT = 35,
  D3D12_FEATURE_VIDEO_ENCODER_OUTPUT_RESOLUTION = 36,
  D3D12_FEATURE_VIDEO_ENCODER_INPUT_FORMAT = 37,
  D3D12_FEATURE_VIDEO_ENCODER_RATE_CONTROL_MODE = 38,
  D3D12_FEATURE_VIDEO_ENCODER_INTRA_REFRESH_MODE = 39,
  D3D12_FEATURE_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE = 40,
  D3D12_FEATURE_VIDEO_ENCODER_HEAP_SIZE = 41,
  D3D12_FEATURE_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT = 42,
  D3D12_FEATURE_VIDEO_ENCODER_SUPPORT = 43,
  D3D12_FEATURE_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT = 44,
  D3D12_FEATURE_VIDEO_ENCODER_RESOURCE_REQUIREMENTS = 45,
  D3D12_FEATURE_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG = 46,
  D3D12_FEATURE_VIDEO_ENCODER_SUPPORT1 = 47,
  D3D12_FEATURE_VIDEO_ENCODER_RESOURCE_REQUIREMENTS1,
  D3D12_FEATURE_VIDEO_ENCODER_RESOLVE_INPUT_PARAM_LAYOUT,
  D3D12_FEATURE_VIDEO_ENCODER_QPMAP_INPUT,
  D3D12_FEATURE_VIDEO_ENCODER_DIRTY_REGIONS,
  D3D12_FEATURE_VIDEO_ENCODER_MOTION_SEARCH,
  D3D12_FEATURE_VIDEO_ENCODER_SUPPORT2,
  D3D12_FEATURE_VIDEO_ENCODER_HEAP_SIZE1,
  D3D12_FEATURE_VIDEO_ENCODER_RATE_CONTROL_FRAME_ANALYSIS
} ;

Constants

 
D3D12_FEATURE_VIDEO_DECODE_SUPPORT
Controllare se sono supportati un profilo decodifica, la crittografia bitstream, la risoluzione e il formato. Il risultato è un D3D12_VIDEO_DECODE_TIER che indica il livello di supporto. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT.
D3D12_FEATURE_VIDEO_DECODE_PROFILES
Recuperare l'elenco dei profili decodificati supportati dall'adapter. Chiama CheckFeatureSupport specificando la funzionalità D3D12_FEATURE_VIDEO_DECODE_PROFILE_COUNT per ottenere il numero di profili prima di chiamare CheckFeatureSupport per la funzionalità D3D12_FEATURE_VIDEO_DECODE_PROFILES. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILES.
D3D12_FEATURE_VIDEO_DECODE_FORMATS
Recupera l'elenco dei formati di decodifica supportati per un D3D12_VIDEO_DECODE_CONFIGURATION. Chiama CheckFeatureSupport specificando la funzionalità D3D12_FEATURE_VIDEO_DECODE_FORMAT_COUNT per ottenere il numero di profili prima di chiamare CheckFeatureSupport per la funzionalità D3D12_FEATURE_VIDEO_DECODE_PROFILES. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_DECODE_FORMATS.
D3D12_FEATURE_VIDEO_DECODE_CONVERSION_SUPPORT
Controllare se sono supportate una conversione dello spazio colori, la conversione del formato e la scalabilità. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_DECODE_CONVERSION_SUPPORT.
D3D12_FEATURE_VIDEO_PROCESS_SUPPORT
Recupera le funzionalità del processore video. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT.
D3D12_FEATURE_VIDEO_PROCESS_MAX_INPUT_STREAMS
Recupera il numero massimo di flussi che possono essere abilitati contemporaneamente. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_PROCESS_MAX_INPUT_STREAMS.
D3D12_FEATURE_VIDEO_PROCESS_REFERENCE_INFO
Recupera il numero di fotogrammi passati e futuri necessari per una determinata modalità deinterlace, filtri, conversione della frequenza dei fotogrammi e funzionalità. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_PROCESS_REFERENCE_INFO.
D3D12_FEATURE_VIDEO_DECODER_HEAP_SIZE
Controlla le dimensioni di allocazione di un heap del decodificatore video. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE. Per informazioni sul budget di residenza per gli heap, vedere Residenza.
D3D12_FEATURE_VIDEO_PROCESSOR_SIZE
Controlla le dimensioni di allocazione di un heap del processore video. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE. Per informazioni sul budget di residenza per gli heap, vedere Residenza.
D3D12_FEATURE_VIDEO_DECODE_PROFILE_COUNT
Recupera il numero di profili decodificatori supportati. Il conteggio restituito viene usato durante l'esecuzione di query per D3D12_FEATURE_VIDEO_DECODE_PROFILES.
D3D12_FEATURE_VIDEO_DECODE_FORMAT_COUNT
Recupera il numero di profili decodificatori supportati. Il conteggio restituito viene usato durante l'esecuzione di query per D3D12_FEATURE_VIDEO_DECODE_FORMATS.
D3D12_FEATURE_VIDEO_ARCHITECTURE
Indica se il motore video è coerente con la CPU.
D3D12_FEATURE_VIDEO_DECODE_HISTOGRAM
Valore: 18
Recupera i componenti supportati, il conteggio dei bin e la profondità dei bit del contatore per l'istogramma decodificato con il profilo di decodifica, la risoluzione e il formato specificati. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_DECODE_HISTOGRAM.
D3D12_FEATURE_VIDEO_FEATURE_AREA_SUPPORT
Valore: 19
Controlla il supporto per le aree delle funzionalità video. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT.
D3D12_FEATURE_VIDEO_MOTION_ESTIMATOR
Valore: 20
Recupera le risoluzioni supportate, le dimensioni dei blocchi di ricerca e la precisione per la stima del movimento. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR.
D3D12_FEATURE_VIDEO_MOTION_ESTIMATOR_SIZE
Valore: 21
Controlla le dimensioni di allocazione di un heap dello strumento di stima del movimento. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE.
D3D12_FEATURE_VIDEO_EXTENSION_COMMAND_COUNT
Valore: 22
Recupera il numero supportato di comandi di estensione video. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT.
D3D12_FEATURE_VIDEO_EXTENSION_COMMANDS
Valore: 23
Recupera un elenco di strutture D3D12_VIDEO_EXTENSION_COMMAND_INFO che descrivono i comandi di estensione video. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT.
D3D12_FEATURE_VIDEO_EXTENSION_COMMAND_PARAMETER_COUNT
Valore: 24
Recupera il conteggio dei parametri per la fase del parametro specificata. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETER_COUNT.
D3D12_FEATURE_VIDEO_EXTENSION_COMMAND_PARAMETERS
Valore: 25
Recupera un elenco di strutture D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_INFO che descrivono i parametri dei comandi dell'estensione video per la fase del parametro specificata. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETERS.
D3D12_FEATURE_VIDEO_EXTENSION_COMMAND_SUPPORT
Valore: 26
Query per informazioni sul supporto definite dal comando. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORT.
D3D12_FEATURE_VIDEO_EXTENSION_COMMAND_SIZE
Valore: 27
Controlla le dimensioni di allocazione di un comando di estensione video. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE.
D3D12_FEATURE_VIDEO_DECODE_PROTECTED_RESOURCES
Valore: 28
Controlla il supporto per la decodifica con le risorse protette. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_DECODE_PROTECTED_RESOURCES.
D3D12_FEATURE_VIDEO_PROCESS_PROTECTED_RESOURCES
Valore: 29
Controlla il supporto per l'elaborazione video con risorse protette. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_PROCESS_PROTECTED_RESOURCES.
D3D12_FEATURE_VIDEO_MOTION_ESTIMATOR_PROTECTED_RESOURCES
Valore: 30
Controlla il supporto per la stima del movimento con risorse protette. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_PROTECTED_RESOURCES.
D3D12_FEATURE_VIDEO_DECODER_HEAP_SIZE1
Valore: 31
Controlla le dimensioni di allocazione di un heap del decodificatore video. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1.
D3D12_FEATURE_VIDEO_PROCESSOR_SIZE1
Valore: 32
Controlla le dimensioni di allocazione di un heap del processore video. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1.
D3D12_FEATURE_VIDEO_ENCODER_CODEC
Valore: 33
Controlla il supporto per un determinato codec. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC.
D3D12_FEATURE_VIDEO_ENCODER_PROFILE_LEVEL
Valore: 34
Controlla il supporto per un determinato profilo e restituisce l'intervallo di livelli supportato per tale profilo. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_ENCODER_PROFILE_LEVEL.
D3D12_FEATURE_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT
Valore: 35
Controlla il supporto per il numero di rapporti di risoluzione disponibili. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT.
D3D12_FEATURE_VIDEO_ENCODER_OUTPUT_RESOLUTION
Valore: 36
Controlla il supporto per le regole che le risoluzioni devono soddisfare. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION.
D3D12_FEATURE_VIDEO_ENCODER_INPUT_FORMAT
Valore: 37
Controlla il supporto per un determinato formato di input. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_ENCODER_INPUT_FORMAT.
D3D12_FEATURE_VIDEO_ENCODER_RATE_CONTROL_MODE
Valore: 38
Controlla il supporto per una determinata modalità di controllo della frequenza. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_MODE.
D3D12_FEATURE_VIDEO_ENCODER_INTRA_REFRESH_MODE
Valore: 39
Controlla il supporto per una determinata modalità di aggiornamento all'interno dell'aggiornamento. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_ENCODER_INTRA_REFRESH_MODE.
D3D12_FEATURE_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE
Valore: 40
Controlla il supporto per una determinata modalità di layout delle aree secondarie. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE.
D3D12_FEATURE_VIDEO_ENCODER_HEAP_SIZE
Valore: 41
Recupera i requisiti di memoria di un heap del codificatore video creato con le proprietà dell'heap del codificatore specificato. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_ENCODER_HEAP_SIZE.
D3D12_FEATURE_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT
Valore: 42
Recupera un set di limiti di configurazione specifici del codec. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT.
D3D12_FEATURE_VIDEO_ENCODER_SUPPORT
Valore: 43
Recupera i dettagli del supporto delle funzionalità sulla configurazione richiesta. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT.
D3D12_FEATURE_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT
Valore: 44
Recupera le funzionalità specifiche del codec correlate alle limitazioni di gestione delle immagini di riferimento. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT.
D3D12_FEATURE_VIDEO_ENCODER_RESOURCE_REQUIREMENTS
Valore: 45
Recupera i requisiti per l'allineamento per l'accesso alle risorse. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOURCE_REQUIREMENTS.
D3D12_FEATURE_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG
Valore: 46
Recupera il supporto della configurazione per i layout delle sottoregion frame. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG.
D3D12_FEATURE_VIDEO_ENCODER_SUPPORT1
Valore: 47
Recupera i dettagli del supporto delle funzionalità sulla configurazione richiesta. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT1.
D3D12_FEATURE_VIDEO_ENCODER_RESOLVE_INPUT_PARAM_LAYOUT
Controlla il supporto per ID3D12VideoEncodeCommandList4::ResolveInputParamLayout. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLVE_INPUT_PARAM_LAYOUT.
D3D12_FEATURE_VIDEO_ENCODER_QPMAP_INPUT
Controlla il supporto per l'input QPMap. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_ENCODER_QPMAP_INPUT.
D3D12_FEATURE_VIDEO_ENCODER_DIRTY_REGIONS
Controlla il supporto per le aree dirty. La struttura dei dati associata è D3D12_FEATURE_DATA_ENCODER_DIRTY_REGIONS.
D3D12_FEATURE_VIDEO_ENCODER_MOTION_SEARCH
Controlla il supporto per la ricerca movimento. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_ENCODER_MOTION_SEARCH.
D3D12_FEATURE_VIDEO_ENCODER_SUPPORT2
Recupera i dettagli del supporto delle funzionalità sulla configurazione richiesta, tra cui il supporto per l'analisi dei fotogrammi, QPMap, le aree dirty e la ricerca del movimento. Estende D3D12_FEATURE_VIDEO_ENCODER_SUPPORT1. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT2.
D3D12_FEATURE_VIDEO_ENCODER_HEAP_SIZE1
Recupera i requisiti di memoria di un heap del codificatore video creato con le proprietà dell'heap del codificatore specificato. Estende D3D12_FEATURE_VIDEO_ENCODER_HEAP_SIZE utilizzando D3D12_VIDEO_ENCODER_HEAP_DESC1. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_ENCODER_HEAP_SIZE1.
D3D12_FEATURE_VIDEO_ENCODER_RATE_CONTROL_FRAME_ANALYSIS
Esegue query sul supporto del driver per l'analisi dei fotogrammi a due passaggi con risoluzione inferiore a un determinato fattore di scala inferiore e alla configurazione di codifica. La struttura dei dati associata è D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_FRAME_ANALYSIS.

Requisiti

Requisito Valore
Intestazione d3d12video.h