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

eAVEncVideoColorTransferFunction

列挙型
基底型i4

メンバー 9

名前10進16進説明
eAVEncVideoColorTransferFunction_SameAsSource00x0入力ビデオと同じ関数を使用します。このフラグは AVEncVideoOutputColorTransferFunction プロパティにのみ適用されます。
eAVEncVideoColorTransferFunction_1010x1リニア RGB (ガンマ = 1.0)。
eAVEncVideoColorTransferFunction_1820x2真の 1.8 ガンマ。L' = L^1/1.8。
eAVEncVideoColorTransferFunction_2030x3真の 2.0 ガンマ。L' = L^1/2.0..
eAVEncVideoColorTransferFunction_2240x4真の 2.2 ガンマ。L' = L^1/2.2..
eAVEncVideoColorTransferFunction_22_70950x5下位範囲に線形セグメントを持つガンマ 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_240M60x6下位範囲に線形セグメントを持つガンマ 2.2 カーブ。L < 0.0228 の場合は L' = 4.0L、L >= 0.0228 の場合は L' = 1.1115^L0.45.- 0.01115。この伝達関数は SPMTE 240M で使用されます。
eAVEncVideoColorTransferFunction_22_8bit_sRGB70x7下位範囲に線形セグメントを持つガンマ 2.4 カーブ。L < 0.03928 の場合は L' = L/12.92、L >= 0.03928 の場合は L' = ((L + 0.055) / 1.055)^2.4.。
eAVEncVideoColorTransferFunction_2880x8真の 2.8 ガンマ。L' = L^1/2.8..

公式ドキュメント

[このページに関連する機能である DirectShow は、レガシー機能です。これは MediaPlayerIMFMediaEngine、および Audio/Video Capture in Media Foundation に置き換えられました。これらの機能は Windows 10 および Windows 11 向けに最適化されています。Microsoft は、可能な場合は新しいコードで DirectShow ではなく MediaPlayerIMFMediaEngineAudio/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)

各言語での定義

列挙メンバーの定義。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 Enum
import 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* = 8
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,
}
#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