다음을 통해 공유


eAVEncVideoChromaSubsampling 열거형(codecapi.h)

[이 페이지와 연결된 기능인 DirectShow는 레거시 기능입니다. MediaPlayer, IMFMediaEngineMedia Foundation의 오디오/비디오 캡처로 대체되었습니다. 이러한 기능은 Windows 10 및 Windows 11 최적화되었습니다. 가능한 경우 새 코드에서 DirectShow 대신 MediaPlayer, IMFMediaEngine오디오/비디오 캡처를 사용하는 것이 좋습니다. 가능한 경우 레거시 API를 사용하는 기존 코드를 다시 작성하여 새 API를 사용하도록 제안합니다.]

크로마 앉기를 지정합니다. 크로마 시팅은 루마 샘플에 상대적인 크로마 샘플의 위치를 정의합니다. 이 열거형은 AVEncVideoInputChromaSubsamplingAVEncVideoOutputChromaSubsampling 속성과 함께 사용됩니다.

Syntax

typedef enum eAVEncVideoChromaSubsampling {
  eAVEncVideoChromaSubsamplingFormat_SameAsSource = 0,
  eAVEncVideoChromaSubsamplingFormat_ProgressiveChroma = 0x8,
  eAVEncVideoChromaSubsamplingFormat_Horizontally_Cosited = 0x4,
  eAVEncVideoChromaSubsamplingFormat_Vertically_Cosited = 0x2,
  eAVEncVideoChromaSubsamplingFormat_Vertically_AlignedChromaPlanes = 0x1
} ;

상수

 
eAVEncVideoChromaSubsamplingFormat_SameAsSource
값: 0
입력 비디오와 동일한 크로마를 사용합니다. 이 플래그는 AVEncVideoOutputChromaResolution 속성에만 적용됩니다. 이 플래그는 다른 플래그와 결합되지 않을 수 있습니다.
eAVEncVideoChromaSubsamplingFormat_ProgressiveChroma
값: 0x8
크로마는 필드를 건너뛰거나 크로마 필터링을 적용하여 아티팩트가 4:2:0 인터레이스된 크로마를 재구성하지 않도록 최소화하는 대신 기본 비디오가 점진적 콘텐츠인 것처럼 재구성되어야 합니다.
eAVEncVideoChromaSubsamplingFormat_Horizontally_Cosited
값: 0x4
크로마 샘플은 루마 샘플의 배수와 수평으로 정렬됩니다.
eAVEncVideoChromaSubsamplingFormat_Vertically_Cosited
값: 0x2
크로마 샘플은 루마 샘플의 배수와 세로로 정렬됩니다.
eAVEncVideoChromaSubsamplingFormat_Vertically_AlignedChromaPlanes
값: 0x1
크로마 평면은 동일한 위상 맞춤을 갖습니다. 데이터가 수직으로 공동 처리되지 않는 한 이 플래그를 생략하는 것은 유효하지 않습니다. 데이터가 수직으로 공동 처리되지 않으면 이 플래그가 필요합니다. 이 플래그가 없으면 Cb 및 Cr 샘플이 대체 줄에 배치됩니다. 예를 들어 인터레이스된 PAL DV 비디오는 정렬되지 않은 크로마 평면을 사용합니다.

요구 사항

요구 사항
지원되는 최소 클라이언트 Windows 2000 Professional [데스크톱 앱 | UWP 앱]
지원되는 최소 서버 Windows 2000 Server [데스크톱 앱 | UWP 앱]
머리글 codecapi.h

추가 정보

코덱 API 열거형

ICodecAPI 인터페이스