Win32 API 日本語リファレンス
ホームMedia.MediaFoundation › eAVEncVideoChromaResolution

eAVEncVideoChromaResolution

列挙型
基底型i4

メンバー 5

名前10進16進説明
eAVEncVideoChromaResolution_SameAsSource00x0入力ビデオと同じクロマ解像度を使用します。このフラグは AVEncVideoOutputChromaResolution プロパティにのみ適用されます。
eAVEncVideoChromaResolution_44410x14:4:4 (ダウンサンプリングなし)。
eAVEncVideoChromaResolution_42220x24:2:2 (水平方向に 2:1 のダウンサンプリング、垂直方向のダウンサンプリングなし)。
eAVEncVideoChromaResolution_42030x34:2:0 (水平方向に 2:1 のダウンサンプリング、垂直方向に 2:1 のダウンサンプリング)。
eAVEncVideoChromaResolution_41140x44:1:1 (水平方向に 4:1 のダウンサンプリング、垂直方向のダウンサンプリングなし)。

公式ドキュメント

[このページに関連する機能である DirectShow はレガシー機能です。MediaPlayerIMFMediaEngine、および Audio/Video Capture in Media Foundation に置き換えられました。これらの機能は Windows 10 および Windows 11 向けに最適化されています。Microsoft は、可能な場合には新しいコードで DirectShow ではなく MediaPlayerIMFMediaEngineAudio/Video Capture in Media Foundation を使用することを強く推奨します。また、レガシー API を使用している既存のコードについても、可能であれば新しい API を使用するように書き換えることを推奨します。]

クロマ解像度を指定します。この列挙型は AVEncVideoInputChromaResolution プロパティおよび AVEncVideoOutputChromaResolution プロパティで使用されます。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum eAVEncVideoChromaResolution : int {
    eAVEncVideoChromaResolution_SameAsSource = 0,
    eAVEncVideoChromaResolution_444 = 1,
    eAVEncVideoChromaResolution_422 = 2,
    eAVEncVideoChromaResolution_420 = 3,
    eAVEncVideoChromaResolution_411 = 4
} eAVEncVideoChromaResolution;
public enum eAVEncVideoChromaResolution : int
{
    eAVEncVideoChromaResolution_SameAsSource = 0,
    eAVEncVideoChromaResolution_444 = 1,
    eAVEncVideoChromaResolution_422 = 2,
    eAVEncVideoChromaResolution_420 = 3,
    eAVEncVideoChromaResolution_411 = 4,
}
Public Enum eAVEncVideoChromaResolution As Integer
    eAVEncVideoChromaResolution_SameAsSource = 0
    eAVEncVideoChromaResolution_444 = 1
    eAVEncVideoChromaResolution_422 = 2
    eAVEncVideoChromaResolution_420 = 3
    eAVEncVideoChromaResolution_411 = 4
End Enum
import enum

class eAVEncVideoChromaResolution(enum.IntEnum):
    eAVEncVideoChromaResolution_SameAsSource = 0
    eAVEncVideoChromaResolution_444 = 1
    eAVEncVideoChromaResolution_422 = 2
    eAVEncVideoChromaResolution_420 = 3
    eAVEncVideoChromaResolution_411 = 4
// eAVEncVideoChromaResolution
pub const eAVEncVideoChromaResolution_SameAsSource: i32 = 0;
pub const eAVEncVideoChromaResolution_444: i32 = 1;
pub const eAVEncVideoChromaResolution_422: i32 = 2;
pub const eAVEncVideoChromaResolution_420: i32 = 3;
pub const eAVEncVideoChromaResolution_411: i32 = 4;
// eAVEncVideoChromaResolution
const (
	eAVEncVideoChromaResolution_SameAsSource int32 = 0
	eAVEncVideoChromaResolution_444 int32 = 1
	eAVEncVideoChromaResolution_422 int32 = 2
	eAVEncVideoChromaResolution_420 int32 = 3
	eAVEncVideoChromaResolution_411 int32 = 4
)
const
  eAVEncVideoChromaResolution_SameAsSource = 0;
  eAVEncVideoChromaResolution_444 = 1;
  eAVEncVideoChromaResolution_422 = 2;
  eAVEncVideoChromaResolution_420 = 3;
  eAVEncVideoChromaResolution_411 = 4;
// eAVEncVideoChromaResolution
pub const eAVEncVideoChromaResolution_SameAsSource: i32 = 0;
pub const eAVEncVideoChromaResolution_444: i32 = 1;
pub const eAVEncVideoChromaResolution_422: i32 = 2;
pub const eAVEncVideoChromaResolution_420: i32 = 3;
pub const eAVEncVideoChromaResolution_411: i32 = 4;
const
  eAVEncVideoChromaResolution_SameAsSource* = 0
  eAVEncVideoChromaResolution_444* = 1
  eAVEncVideoChromaResolution_422* = 2
  eAVEncVideoChromaResolution_420* = 3
  eAVEncVideoChromaResolution_411* = 4
enum eAVEncVideoChromaResolution : int {
    eAVEncVideoChromaResolution_SameAsSource = 0,
    eAVEncVideoChromaResolution_444 = 1,
    eAVEncVideoChromaResolution_422 = 2,
    eAVEncVideoChromaResolution_420 = 3,
    eAVEncVideoChromaResolution_411 = 4,
}
#define global eAVEncVideoChromaResolution_SameAsSource 0x0
#define global eAVEncVideoChromaResolution_444          0x1
#define global eAVEncVideoChromaResolution_422          0x2
#define global eAVEncVideoChromaResolution_420          0x3
#define global eAVEncVideoChromaResolution_411          0x4