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

eAVEncVideoColorTransferMatrix

列挙型
基底型i4

メンバー 4

名前10進16進説明
eAVEncVideoColorTransferMatrix_SameAsSource00x0入力ビデオと同じ変換行列を使用します。このフラグは AVEncVideoOutputColorTransferMatrix プロパティにのみ適用されます。
eAVEncVideoColorTransferMatrix_BT70910x1ITU-R BT.709 変換行列です。
eAVEncVideoColorTransferMatrix_BT60120x2ITU-R BT.601 変換行列です。
eAVEncVideoColorTransferMatrix_SMPTE240M30x3SMPTE 240M 変換行列です。

公式ドキュメント

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

Y'Cb'Cr' 色空間から R'G'B' 色空間への変換行列を指定します。この列挙型は AVEncVideoInputColorTransferMatrix プロパティおよび AVEncVideoOutputColorTransferMatrix プロパティで使用されます。

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

各言語での定義

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

typedef enum eAVEncVideoColorTransferMatrix : int {
    eAVEncVideoColorTransferMatrix_SameAsSource = 0,
    eAVEncVideoColorTransferMatrix_BT709 = 1,
    eAVEncVideoColorTransferMatrix_BT601 = 2,
    eAVEncVideoColorTransferMatrix_SMPTE240M = 3
} eAVEncVideoColorTransferMatrix;
public enum eAVEncVideoColorTransferMatrix : int
{
    eAVEncVideoColorTransferMatrix_SameAsSource = 0,
    eAVEncVideoColorTransferMatrix_BT709 = 1,
    eAVEncVideoColorTransferMatrix_BT601 = 2,
    eAVEncVideoColorTransferMatrix_SMPTE240M = 3,
}
Public Enum eAVEncVideoColorTransferMatrix As Integer
    eAVEncVideoColorTransferMatrix_SameAsSource = 0
    eAVEncVideoColorTransferMatrix_BT709 = 1
    eAVEncVideoColorTransferMatrix_BT601 = 2
    eAVEncVideoColorTransferMatrix_SMPTE240M = 3
End Enum
import enum

class eAVEncVideoColorTransferMatrix(enum.IntEnum):
    eAVEncVideoColorTransferMatrix_SameAsSource = 0
    eAVEncVideoColorTransferMatrix_BT709 = 1
    eAVEncVideoColorTransferMatrix_BT601 = 2
    eAVEncVideoColorTransferMatrix_SMPTE240M = 3
// eAVEncVideoColorTransferMatrix
pub const eAVEncVideoColorTransferMatrix_SameAsSource: i32 = 0;
pub const eAVEncVideoColorTransferMatrix_BT709: i32 = 1;
pub const eAVEncVideoColorTransferMatrix_BT601: i32 = 2;
pub const eAVEncVideoColorTransferMatrix_SMPTE240M: i32 = 3;
// eAVEncVideoColorTransferMatrix
const (
	eAVEncVideoColorTransferMatrix_SameAsSource int32 = 0
	eAVEncVideoColorTransferMatrix_BT709 int32 = 1
	eAVEncVideoColorTransferMatrix_BT601 int32 = 2
	eAVEncVideoColorTransferMatrix_SMPTE240M int32 = 3
)
const
  eAVEncVideoColorTransferMatrix_SameAsSource = 0;
  eAVEncVideoColorTransferMatrix_BT709 = 1;
  eAVEncVideoColorTransferMatrix_BT601 = 2;
  eAVEncVideoColorTransferMatrix_SMPTE240M = 3;
// eAVEncVideoColorTransferMatrix
pub const eAVEncVideoColorTransferMatrix_SameAsSource: i32 = 0;
pub const eAVEncVideoColorTransferMatrix_BT709: i32 = 1;
pub const eAVEncVideoColorTransferMatrix_BT601: i32 = 2;
pub const eAVEncVideoColorTransferMatrix_SMPTE240M: i32 = 3;
const
  eAVEncVideoColorTransferMatrix_SameAsSource* = 0
  eAVEncVideoColorTransferMatrix_BT709* = 1
  eAVEncVideoColorTransferMatrix_BT601* = 2
  eAVEncVideoColorTransferMatrix_SMPTE240M* = 3
enum eAVEncVideoColorTransferMatrix : int {
    eAVEncVideoColorTransferMatrix_SameAsSource = 0,
    eAVEncVideoColorTransferMatrix_BT709 = 1,
    eAVEncVideoColorTransferMatrix_BT601 = 2,
    eAVEncVideoColorTransferMatrix_SMPTE240M = 3,
}
#define global eAVEncVideoColorTransferMatrix_SameAsSource 0x0
#define global eAVEncVideoColorTransferMatrix_BT709        0x1
#define global eAVEncVideoColorTransferMatrix_BT601        0x2
#define global eAVEncVideoColorTransferMatrix_SMPTE240M    0x3