Énumération eAVEncVideoChromaResolution (codecapi.h)

[La fonctionnalité associée à cette page, DirectShow, est une fonctionnalité héritée. Il a été remplacé par MediaPlayer, IMFMediaEngine et Audio/Video Capture in Media Foundation. Ces fonctionnalités ont été optimisées pour Windows 10 et Windows 11. Microsoft recommande vivement que le nouveau code utilise MediaPlayer, IMFMediaEngine et Audio/Video Capture dans Media Foundation au lieu de DirectShow, si possible. Microsoft suggère que le code existant qui utilise les API héritées soit réécrit pour utiliser les nouvelles API si possible.]

Spécifie la résolution chromatique. Cette énumération est utilisée avec les propriétés AVEncVideoInputChromaResolution et AVEncVideoOutputChromaResolution .

Syntax

typedef enum eAVEncVideoChromaResolution {
  eAVEncVideoChromaResolution_SameAsSource = 0,
  eAVEncVideoChromaResolution_444 = 1,
  eAVEncVideoChromaResolution_422 = 2,
  eAVEncVideoChromaResolution_420 = 3,
  eAVEncVideoChromaResolution_411 = 4
} ;

Constantes

 
eAVEncVideoChromaResolution_SameAsSource
Valeur : 0
Utilisez la même résolution chromatique que la vidéo d’entrée. Cet indicateur s’applique uniquement à la propriété AVEncVideoOutputChromaResolution .
eAVEncVideoChromaResolution_444
Valeur : 1
4 :4 :4 (pas de sous-échantillonnage).
eAVEncVideoChromaResolution_422
Valeur : 2
4 :2 :2 (sous-échantillonnage horizontal 2 :1, sans sous-échantillonnage vertical).
eAVEncVideoChromaResolution_420
Valeur : 3
4 :2 :0 (sous-échantillonnage horizontal 2 :1, avec un sous-échantillonnage vertical 2 :1).
eAVEncVideoChromaResolution_411
Valeur : 4
4 :1 :1 (sous-échantillonnage horizontal 4 :1, sans sous-échantillonnage vertical).

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows 2000 Professionnel [applications de bureau | Applications UWP]
Serveur minimal pris en charge Windows 2000 Server [applications de bureau | Applications UWP]
En-tête codecapi.h

Voir aussi

Énumérations de l’API codec

ICodecAPI, interface