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

eAVEncVideoColorPrimaries

列挙型
基底型i4

メンバー 9

名前10進16進説明
eAVEncVideoColorPrimaries_SameAsSource00x0入力ビデオと同じカラープライマリを使用します。このフラグは AVEncVideoOutputColorPrimaries プロパティにのみ適用されます。
eAVEncVideoColorPrimaries_Reserved10x1予約済みです。使用しないでください。
eAVEncVideoColorPrimaries_BT70920x2ITU-R BT.709 (sRGB および scRGB を含む)。
eAVEncVideoColorPrimaries_BT470_2_SysM30x3ITU-R.BT.470-4 System M (NTSC)。
eAVEncVideoColorPrimaries_BT470_2_SysBG40x4ITU-R.BT.470-4 System B,G (NTSC)。
eAVEncVideoColorPrimaries_SMPTE170M50x5SMPTE 170M。
eAVEncVideoColorPrimaries_SMPTE240M60x6SMPTE 240M。
eAVEncVideoColorPrimaries_EBU323170x7EBU 3213。
eAVEncVideoColorPrimaries_SMPTE_C80x8SPMTE C (NTSC)。

公式ドキュメント

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

ビデオのカラープライマリを指定します。この列挙型は AVEncVideoInputColorPrimaries プロパティおよび AVEncVideoOutputColorPrimaries プロパティで使用されます。

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

各言語での定義

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

typedef enum eAVEncVideoColorPrimaries : int {
    eAVEncVideoColorPrimaries_SameAsSource = 0,
    eAVEncVideoColorPrimaries_Reserved = 1,
    eAVEncVideoColorPrimaries_BT709 = 2,
    eAVEncVideoColorPrimaries_BT470_2_SysM = 3,
    eAVEncVideoColorPrimaries_BT470_2_SysBG = 4,
    eAVEncVideoColorPrimaries_SMPTE170M = 5,
    eAVEncVideoColorPrimaries_SMPTE240M = 6,
    eAVEncVideoColorPrimaries_EBU3231 = 7,
    eAVEncVideoColorPrimaries_SMPTE_C = 8
} eAVEncVideoColorPrimaries;
public enum eAVEncVideoColorPrimaries : int
{
    eAVEncVideoColorPrimaries_SameAsSource = 0,
    eAVEncVideoColorPrimaries_Reserved = 1,
    eAVEncVideoColorPrimaries_BT709 = 2,
    eAVEncVideoColorPrimaries_BT470_2_SysM = 3,
    eAVEncVideoColorPrimaries_BT470_2_SysBG = 4,
    eAVEncVideoColorPrimaries_SMPTE170M = 5,
    eAVEncVideoColorPrimaries_SMPTE240M = 6,
    eAVEncVideoColorPrimaries_EBU3231 = 7,
    eAVEncVideoColorPrimaries_SMPTE_C = 8,
}
Public Enum eAVEncVideoColorPrimaries As Integer
    eAVEncVideoColorPrimaries_SameAsSource = 0
    eAVEncVideoColorPrimaries_Reserved = 1
    eAVEncVideoColorPrimaries_BT709 = 2
    eAVEncVideoColorPrimaries_BT470_2_SysM = 3
    eAVEncVideoColorPrimaries_BT470_2_SysBG = 4
    eAVEncVideoColorPrimaries_SMPTE170M = 5
    eAVEncVideoColorPrimaries_SMPTE240M = 6
    eAVEncVideoColorPrimaries_EBU3231 = 7
    eAVEncVideoColorPrimaries_SMPTE_C = 8
End Enum
import enum

class eAVEncVideoColorPrimaries(enum.IntEnum):
    eAVEncVideoColorPrimaries_SameAsSource = 0
    eAVEncVideoColorPrimaries_Reserved = 1
    eAVEncVideoColorPrimaries_BT709 = 2
    eAVEncVideoColorPrimaries_BT470_2_SysM = 3
    eAVEncVideoColorPrimaries_BT470_2_SysBG = 4
    eAVEncVideoColorPrimaries_SMPTE170M = 5
    eAVEncVideoColorPrimaries_SMPTE240M = 6
    eAVEncVideoColorPrimaries_EBU3231 = 7
    eAVEncVideoColorPrimaries_SMPTE_C = 8
// eAVEncVideoColorPrimaries
pub const eAVEncVideoColorPrimaries_SameAsSource: i32 = 0;
pub const eAVEncVideoColorPrimaries_Reserved: i32 = 1;
pub const eAVEncVideoColorPrimaries_BT709: i32 = 2;
pub const eAVEncVideoColorPrimaries_BT470_2_SysM: i32 = 3;
pub const eAVEncVideoColorPrimaries_BT470_2_SysBG: i32 = 4;
pub const eAVEncVideoColorPrimaries_SMPTE170M: i32 = 5;
pub const eAVEncVideoColorPrimaries_SMPTE240M: i32 = 6;
pub const eAVEncVideoColorPrimaries_EBU3231: i32 = 7;
pub const eAVEncVideoColorPrimaries_SMPTE_C: i32 = 8;
// eAVEncVideoColorPrimaries
const (
	eAVEncVideoColorPrimaries_SameAsSource int32 = 0
	eAVEncVideoColorPrimaries_Reserved int32 = 1
	eAVEncVideoColorPrimaries_BT709 int32 = 2
	eAVEncVideoColorPrimaries_BT470_2_SysM int32 = 3
	eAVEncVideoColorPrimaries_BT470_2_SysBG int32 = 4
	eAVEncVideoColorPrimaries_SMPTE170M int32 = 5
	eAVEncVideoColorPrimaries_SMPTE240M int32 = 6
	eAVEncVideoColorPrimaries_EBU3231 int32 = 7
	eAVEncVideoColorPrimaries_SMPTE_C int32 = 8
)
const
  eAVEncVideoColorPrimaries_SameAsSource = 0;
  eAVEncVideoColorPrimaries_Reserved = 1;
  eAVEncVideoColorPrimaries_BT709 = 2;
  eAVEncVideoColorPrimaries_BT470_2_SysM = 3;
  eAVEncVideoColorPrimaries_BT470_2_SysBG = 4;
  eAVEncVideoColorPrimaries_SMPTE170M = 5;
  eAVEncVideoColorPrimaries_SMPTE240M = 6;
  eAVEncVideoColorPrimaries_EBU3231 = 7;
  eAVEncVideoColorPrimaries_SMPTE_C = 8;
// eAVEncVideoColorPrimaries
pub const eAVEncVideoColorPrimaries_SameAsSource: i32 = 0;
pub const eAVEncVideoColorPrimaries_Reserved: i32 = 1;
pub const eAVEncVideoColorPrimaries_BT709: i32 = 2;
pub const eAVEncVideoColorPrimaries_BT470_2_SysM: i32 = 3;
pub const eAVEncVideoColorPrimaries_BT470_2_SysBG: i32 = 4;
pub const eAVEncVideoColorPrimaries_SMPTE170M: i32 = 5;
pub const eAVEncVideoColorPrimaries_SMPTE240M: i32 = 6;
pub const eAVEncVideoColorPrimaries_EBU3231: i32 = 7;
pub const eAVEncVideoColorPrimaries_SMPTE_C: i32 = 8;
const
  eAVEncVideoColorPrimaries_SameAsSource* = 0
  eAVEncVideoColorPrimaries_Reserved* = 1
  eAVEncVideoColorPrimaries_BT709* = 2
  eAVEncVideoColorPrimaries_BT470_2_SysM* = 3
  eAVEncVideoColorPrimaries_BT470_2_SysBG* = 4
  eAVEncVideoColorPrimaries_SMPTE170M* = 5
  eAVEncVideoColorPrimaries_SMPTE240M* = 6
  eAVEncVideoColorPrimaries_EBU3231* = 7
  eAVEncVideoColorPrimaries_SMPTE_C* = 8
enum eAVEncVideoColorPrimaries : int {
    eAVEncVideoColorPrimaries_SameAsSource = 0,
    eAVEncVideoColorPrimaries_Reserved = 1,
    eAVEncVideoColorPrimaries_BT709 = 2,
    eAVEncVideoColorPrimaries_BT470_2_SysM = 3,
    eAVEncVideoColorPrimaries_BT470_2_SysBG = 4,
    eAVEncVideoColorPrimaries_SMPTE170M = 5,
    eAVEncVideoColorPrimaries_SMPTE240M = 6,
    eAVEncVideoColorPrimaries_EBU3231 = 7,
    eAVEncVideoColorPrimaries_SMPTE_C = 8,
}
#define global eAVEncVideoColorPrimaries_SameAsSource  0x0
#define global eAVEncVideoColorPrimaries_Reserved      0x1
#define global eAVEncVideoColorPrimaries_BT709         0x2
#define global eAVEncVideoColorPrimaries_BT470_2_SysM  0x3
#define global eAVEncVideoColorPrimaries_BT470_2_SysBG 0x4
#define global eAVEncVideoColorPrimaries_SMPTE170M     0x5
#define global eAVEncVideoColorPrimaries_SMPTE240M     0x6
#define global eAVEncVideoColorPrimaries_EBU3231       0x7
#define global eAVEncVideoColorPrimaries_SMPTE_C       0x8