ホーム › Media.MediaFoundation › eAVEncVideoChromaSubsampling
eAVEncVideoChromaSubsampling
列挙型メンバー 5
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| eAVEncVideoChromaSubsamplingFormat_SameAsSource | 0 | 0x0 | 入力ビデオと同じクロマサイティングを使用します。このフラグは AVEncVideoOutputChromaResolution プロパティにのみ適用されます。このフラグを他のフラグと組み合わせることはできません。 |
| eAVEncVideoChromaSubsamplingFormat_ProgressiveChroma | 8 | 0x8 | 4:2:0 のインターレースクロマの再構築で生じるアーティファクトを最小化するためにフィールドをスキップしたりクロマフィルタリングを適用したりするのではなく、元のビデオがプログレッシブコンテンツであるものとしてクロマを再構築します。 |
| eAVEncVideoChromaSubsamplingFormat_Horizontally_Cosited | 4 | 0x4 | クロマサンプルは、ルーマサンプルの整数倍の位置に水平方向で揃えられます。 |
| eAVEncVideoChromaSubsamplingFormat_Vertically_Cosited | 2 | 0x2 | クロマサンプルは、ルーマサンプルの整数倍の位置に垂直方向で揃えられます。 |
| eAVEncVideoChromaSubsamplingFormat_Vertically_AlignedChromaPlanes | 1 | 0x1 | クロマ平面が同じ位相合わせを持ちます。データが垂直方向にコサイトされている場合を除き、このフラグを省略することはできません。データが垂直方向にコサイトされていない場合は、このフラグが必須です。このフラグが無い場合、Cb と Cr のサンプルは 1 行おきに配置されます。たとえば、インターレースの PAL DV ビデオでは、位置合わせされていないクロマ平面が使用されます。 |
公式ドキュメント
[このページに関連する機能である DirectShow はレガシー機能です。この機能は MediaPlayer、IMFMediaEngine、および Audio/Video Capture in Media Foundation に置き換えられました。これらの機能は Windows 10 および Windows 11 向けに最適化されています。Microsoft は、可能な場合は新しいコードで DirectShow ではなく MediaPlayer、IMFMediaEngine、Audio/Video Capture in Media Foundation を使用することを強く推奨します。また、レガシー API を使用している既存のコードについても、可能であれば新しい API を使用するように書き換えることを推奨します。]
クロマサイティングを指定します。クロマサイティングは、ルーマサンプルに対するクロマサンプルの位置を定義します。この列挙型は AVEncVideoInputChromaSubsampling プロパティおよび AVEncVideoOutputChromaSubsampling プロパティで使用されます。
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum eAVEncVideoChromaSubsampling : int {
eAVEncVideoChromaSubsamplingFormat_SameAsSource = 0,
eAVEncVideoChromaSubsamplingFormat_ProgressiveChroma = 8,
eAVEncVideoChromaSubsamplingFormat_Horizontally_Cosited = 4,
eAVEncVideoChromaSubsamplingFormat_Vertically_Cosited = 2,
eAVEncVideoChromaSubsamplingFormat_Vertically_AlignedChromaPlanes = 1
} eAVEncVideoChromaSubsampling;public enum eAVEncVideoChromaSubsampling : int
{
eAVEncVideoChromaSubsamplingFormat_SameAsSource = 0,
eAVEncVideoChromaSubsamplingFormat_ProgressiveChroma = 8,
eAVEncVideoChromaSubsamplingFormat_Horizontally_Cosited = 4,
eAVEncVideoChromaSubsamplingFormat_Vertically_Cosited = 2,
eAVEncVideoChromaSubsamplingFormat_Vertically_AlignedChromaPlanes = 1,
}Public Enum eAVEncVideoChromaSubsampling As Integer
eAVEncVideoChromaSubsamplingFormat_SameAsSource = 0
eAVEncVideoChromaSubsamplingFormat_ProgressiveChroma = 8
eAVEncVideoChromaSubsamplingFormat_Horizontally_Cosited = 4
eAVEncVideoChromaSubsamplingFormat_Vertically_Cosited = 2
eAVEncVideoChromaSubsamplingFormat_Vertically_AlignedChromaPlanes = 1
End Enumimport enum
class eAVEncVideoChromaSubsampling(enum.IntEnum):
eAVEncVideoChromaSubsamplingFormat_SameAsSource = 0
eAVEncVideoChromaSubsamplingFormat_ProgressiveChroma = 8
eAVEncVideoChromaSubsamplingFormat_Horizontally_Cosited = 4
eAVEncVideoChromaSubsamplingFormat_Vertically_Cosited = 2
eAVEncVideoChromaSubsamplingFormat_Vertically_AlignedChromaPlanes = 1// eAVEncVideoChromaSubsampling
pub const eAVEncVideoChromaSubsamplingFormat_SameAsSource: i32 = 0;
pub const eAVEncVideoChromaSubsamplingFormat_ProgressiveChroma: i32 = 8;
pub const eAVEncVideoChromaSubsamplingFormat_Horizontally_Cosited: i32 = 4;
pub const eAVEncVideoChromaSubsamplingFormat_Vertically_Cosited: i32 = 2;
pub const eAVEncVideoChromaSubsamplingFormat_Vertically_AlignedChromaPlanes: i32 = 1;// eAVEncVideoChromaSubsampling
const (
eAVEncVideoChromaSubsamplingFormat_SameAsSource int32 = 0
eAVEncVideoChromaSubsamplingFormat_ProgressiveChroma int32 = 8
eAVEncVideoChromaSubsamplingFormat_Horizontally_Cosited int32 = 4
eAVEncVideoChromaSubsamplingFormat_Vertically_Cosited int32 = 2
eAVEncVideoChromaSubsamplingFormat_Vertically_AlignedChromaPlanes int32 = 1
)const
eAVEncVideoChromaSubsamplingFormat_SameAsSource = 0;
eAVEncVideoChromaSubsamplingFormat_ProgressiveChroma = 8;
eAVEncVideoChromaSubsamplingFormat_Horizontally_Cosited = 4;
eAVEncVideoChromaSubsamplingFormat_Vertically_Cosited = 2;
eAVEncVideoChromaSubsamplingFormat_Vertically_AlignedChromaPlanes = 1;// eAVEncVideoChromaSubsampling
pub const eAVEncVideoChromaSubsamplingFormat_SameAsSource: i32 = 0;
pub const eAVEncVideoChromaSubsamplingFormat_ProgressiveChroma: i32 = 8;
pub const eAVEncVideoChromaSubsamplingFormat_Horizontally_Cosited: i32 = 4;
pub const eAVEncVideoChromaSubsamplingFormat_Vertically_Cosited: i32 = 2;
pub const eAVEncVideoChromaSubsamplingFormat_Vertically_AlignedChromaPlanes: i32 = 1;const
eAVEncVideoChromaSubsamplingFormat_SameAsSource* = 0
eAVEncVideoChromaSubsamplingFormat_ProgressiveChroma* = 8
eAVEncVideoChromaSubsamplingFormat_Horizontally_Cosited* = 4
eAVEncVideoChromaSubsamplingFormat_Vertically_Cosited* = 2
eAVEncVideoChromaSubsamplingFormat_Vertically_AlignedChromaPlanes* = 1enum eAVEncVideoChromaSubsampling : int {
eAVEncVideoChromaSubsamplingFormat_SameAsSource = 0,
eAVEncVideoChromaSubsamplingFormat_ProgressiveChroma = 8,
eAVEncVideoChromaSubsamplingFormat_Horizontally_Cosited = 4,
eAVEncVideoChromaSubsamplingFormat_Vertically_Cosited = 2,
eAVEncVideoChromaSubsamplingFormat_Vertically_AlignedChromaPlanes = 1,
}#define global eAVEncVideoChromaSubsamplingFormat_SameAsSource 0x0
#define global eAVEncVideoChromaSubsamplingFormat_ProgressiveChroma 0x8
#define global eAVEncVideoChromaSubsamplingFormat_Horizontally_Cosited 0x4
#define global eAVEncVideoChromaSubsamplingFormat_Vertically_Cosited 0x2
#define global eAVEncVideoChromaSubsamplingFormat_Vertically_AlignedChromaPlanes 0x1