ホーム › Media.MediaFoundation › eAVEncVideoColorTransferFunction
eAVEncVideoColorTransferFunction
列挙型メンバー 9
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| eAVEncVideoColorTransferFunction_SameAsSource | 0 | 0x0 | 入力ビデオと同じ関数を使用します。このフラグは AVEncVideoOutputColorTransferFunction プロパティにのみ適用されます。 |
| eAVEncVideoColorTransferFunction_10 | 1 | 0x1 | リニア RGB (ガンマ = 1.0)。 |
| eAVEncVideoColorTransferFunction_18 | 2 | 0x2 | 真の 1.8 ガンマ。L' = L^1/1.8。 |
| eAVEncVideoColorTransferFunction_20 | 3 | 0x3 | 真の 2.0 ガンマ。L' = L^1/2.0.. |
| eAVEncVideoColorTransferFunction_22 | 4 | 0x4 | 真の 2.2 ガンマ。L' = L^1/2.2.. |
| eAVEncVideoColorTransferFunction_22_709 | 5 | 0x5 | 下位範囲に線形セグメントを持つガンマ 2.2 カーブ。L < 0.018 の場合は L' = 4.5L、L >= 0.018 の場合は L' = 1.099L^0.45.- 0.099。この伝達関数は BT-709、SMPTE 296M、SMPTE 170M、BT-470、および SPMTE 274M で使用されます。 |
| eAVEncVideoColorTransferFunction_22_240M | 6 | 0x6 | 下位範囲に線形セグメントを持つガンマ 2.2 カーブ。L < 0.0228 の場合は L' = 4.0L、L >= 0.0228 の場合は L' = 1.1115^L0.45.- 0.01115。この伝達関数は SPMTE 240M で使用されます。 |
| eAVEncVideoColorTransferFunction_22_8bit_sRGB | 7 | 0x7 | 下位範囲に線形セグメントを持つガンマ 2.4 カーブ。L < 0.03928 の場合は L' = L/12.92、L >= 0.03928 の場合は L' = ((L + 0.055) / 1.055)^2.4.。 |
| eAVEncVideoColorTransferFunction_28 | 8 | 0x8 | 真の 2.8 ガンマ。L' = L^1/2.8.. |
公式ドキュメント
[このページに関連する機能である 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 を使用するように書き換えることを推奨します。]
R'G'B' から RGB への変換関数を指定します。この列挙型は、AVEncVideoInputColorTransferFunction プロパティおよび AVEncVideoOutputColorTransferFunction プロパティで使用されます。
出典・ライセンス: 上記「公式ドキュメント」の内容は 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 eAVEncVideoColorTransferFunction : int {
eAVEncVideoColorTransferFunction_SameAsSource = 0,
eAVEncVideoColorTransferFunction_10 = 1,
eAVEncVideoColorTransferFunction_18 = 2,
eAVEncVideoColorTransferFunction_20 = 3,
eAVEncVideoColorTransferFunction_22 = 4,
eAVEncVideoColorTransferFunction_22_709 = 5,
eAVEncVideoColorTransferFunction_22_240M = 6,
eAVEncVideoColorTransferFunction_22_8bit_sRGB = 7,
eAVEncVideoColorTransferFunction_28 = 8
} eAVEncVideoColorTransferFunction;public enum eAVEncVideoColorTransferFunction : int
{
eAVEncVideoColorTransferFunction_SameAsSource = 0,
eAVEncVideoColorTransferFunction_10 = 1,
eAVEncVideoColorTransferFunction_18 = 2,
eAVEncVideoColorTransferFunction_20 = 3,
eAVEncVideoColorTransferFunction_22 = 4,
eAVEncVideoColorTransferFunction_22_709 = 5,
eAVEncVideoColorTransferFunction_22_240M = 6,
eAVEncVideoColorTransferFunction_22_8bit_sRGB = 7,
eAVEncVideoColorTransferFunction_28 = 8,
}Public Enum eAVEncVideoColorTransferFunction As Integer
eAVEncVideoColorTransferFunction_SameAsSource = 0
eAVEncVideoColorTransferFunction_10 = 1
eAVEncVideoColorTransferFunction_18 = 2
eAVEncVideoColorTransferFunction_20 = 3
eAVEncVideoColorTransferFunction_22 = 4
eAVEncVideoColorTransferFunction_22_709 = 5
eAVEncVideoColorTransferFunction_22_240M = 6
eAVEncVideoColorTransferFunction_22_8bit_sRGB = 7
eAVEncVideoColorTransferFunction_28 = 8
End Enumimport enum
class eAVEncVideoColorTransferFunction(enum.IntEnum):
eAVEncVideoColorTransferFunction_SameAsSource = 0
eAVEncVideoColorTransferFunction_10 = 1
eAVEncVideoColorTransferFunction_18 = 2
eAVEncVideoColorTransferFunction_20 = 3
eAVEncVideoColorTransferFunction_22 = 4
eAVEncVideoColorTransferFunction_22_709 = 5
eAVEncVideoColorTransferFunction_22_240M = 6
eAVEncVideoColorTransferFunction_22_8bit_sRGB = 7
eAVEncVideoColorTransferFunction_28 = 8// eAVEncVideoColorTransferFunction
pub const eAVEncVideoColorTransferFunction_SameAsSource: i32 = 0;
pub const eAVEncVideoColorTransferFunction_10: i32 = 1;
pub const eAVEncVideoColorTransferFunction_18: i32 = 2;
pub const eAVEncVideoColorTransferFunction_20: i32 = 3;
pub const eAVEncVideoColorTransferFunction_22: i32 = 4;
pub const eAVEncVideoColorTransferFunction_22_709: i32 = 5;
pub const eAVEncVideoColorTransferFunction_22_240M: i32 = 6;
pub const eAVEncVideoColorTransferFunction_22_8bit_sRGB: i32 = 7;
pub const eAVEncVideoColorTransferFunction_28: i32 = 8;// eAVEncVideoColorTransferFunction
const (
eAVEncVideoColorTransferFunction_SameAsSource int32 = 0
eAVEncVideoColorTransferFunction_10 int32 = 1
eAVEncVideoColorTransferFunction_18 int32 = 2
eAVEncVideoColorTransferFunction_20 int32 = 3
eAVEncVideoColorTransferFunction_22 int32 = 4
eAVEncVideoColorTransferFunction_22_709 int32 = 5
eAVEncVideoColorTransferFunction_22_240M int32 = 6
eAVEncVideoColorTransferFunction_22_8bit_sRGB int32 = 7
eAVEncVideoColorTransferFunction_28 int32 = 8
)const
eAVEncVideoColorTransferFunction_SameAsSource = 0;
eAVEncVideoColorTransferFunction_10 = 1;
eAVEncVideoColorTransferFunction_18 = 2;
eAVEncVideoColorTransferFunction_20 = 3;
eAVEncVideoColorTransferFunction_22 = 4;
eAVEncVideoColorTransferFunction_22_709 = 5;
eAVEncVideoColorTransferFunction_22_240M = 6;
eAVEncVideoColorTransferFunction_22_8bit_sRGB = 7;
eAVEncVideoColorTransferFunction_28 = 8;// eAVEncVideoColorTransferFunction
pub const eAVEncVideoColorTransferFunction_SameAsSource: i32 = 0;
pub const eAVEncVideoColorTransferFunction_10: i32 = 1;
pub const eAVEncVideoColorTransferFunction_18: i32 = 2;
pub const eAVEncVideoColorTransferFunction_20: i32 = 3;
pub const eAVEncVideoColorTransferFunction_22: i32 = 4;
pub const eAVEncVideoColorTransferFunction_22_709: i32 = 5;
pub const eAVEncVideoColorTransferFunction_22_240M: i32 = 6;
pub const eAVEncVideoColorTransferFunction_22_8bit_sRGB: i32 = 7;
pub const eAVEncVideoColorTransferFunction_28: i32 = 8;const
eAVEncVideoColorTransferFunction_SameAsSource* = 0
eAVEncVideoColorTransferFunction_10* = 1
eAVEncVideoColorTransferFunction_18* = 2
eAVEncVideoColorTransferFunction_20* = 3
eAVEncVideoColorTransferFunction_22* = 4
eAVEncVideoColorTransferFunction_22_709* = 5
eAVEncVideoColorTransferFunction_22_240M* = 6
eAVEncVideoColorTransferFunction_22_8bit_sRGB* = 7
eAVEncVideoColorTransferFunction_28* = 8enum eAVEncVideoColorTransferFunction : int {
eAVEncVideoColorTransferFunction_SameAsSource = 0,
eAVEncVideoColorTransferFunction_10 = 1,
eAVEncVideoColorTransferFunction_18 = 2,
eAVEncVideoColorTransferFunction_20 = 3,
eAVEncVideoColorTransferFunction_22 = 4,
eAVEncVideoColorTransferFunction_22_709 = 5,
eAVEncVideoColorTransferFunction_22_240M = 6,
eAVEncVideoColorTransferFunction_22_8bit_sRGB = 7,
eAVEncVideoColorTransferFunction_28 = 8,
}#define global eAVEncVideoColorTransferFunction_SameAsSource 0x0
#define global eAVEncVideoColorTransferFunction_10 0x1
#define global eAVEncVideoColorTransferFunction_18 0x2
#define global eAVEncVideoColorTransferFunction_20 0x3
#define global eAVEncVideoColorTransferFunction_22 0x4
#define global eAVEncVideoColorTransferFunction_22_709 0x5
#define global eAVEncVideoColorTransferFunction_22_240M 0x6
#define global eAVEncVideoColorTransferFunction_22_8bit_sRGB 0x7
#define global eAVEncVideoColorTransferFunction_28 0x8