共用方式為


eAVEncVideoColorTransferMatrix 列舉 (codecapi.h)

[與此頁面相關的功能 DirectShow是舊版功能。 它已被 MediaPlayerIMFMediaEngineMedia Foundation 中的音訊/視訊擷取取代。 這些功能已針對Windows 10和Windows 11進行優化。 Microsoft 強烈建議新程式碼盡可能使用 MediaPlayerIMFMediaEngine音訊/視訊擷取 ,而不是 DirectShow。 Microsoft 建議使用舊版 API 的現有程式碼盡可能重寫為使用新的 API。

指定從 Y'Cb'Cr' 色彩空間到 R'G'B' 色彩空間的轉換矩陣。 此列舉會與 AVEncVideoInputColorTransferMatrixAVEncVideoOutputColorTransferMatrix 屬性搭配使用。

Syntax

typedef enum eAVEncVideoColorTransferMatrix {
  eAVEncVideoColorTransferMatrix_SameAsSource = 0,
  eAVEncVideoColorTransferMatrix_BT709 = 1,
  eAVEncVideoColorTransferMatrix_BT601 = 2,
  eAVEncVideoColorTransferMatrix_SMPTE240M = 3
} ;

常數

 
eAVEncVideoColorTransferMatrix_SameAsSource
值: 0
使用與輸入視訊相同的傳輸矩陣。 此旗標僅適用于 AVEncVideoOutputColorTransferMatrix 屬性。
eAVEncVideoColorTransferMatrix_BT709
值: 1
BT-R BT.709 傳輸矩陣。
eAVEncVideoColorTransferMatrix_BT601
值: 2
BT-R BT.601 傳輸矩陣。
eAVEncVideoColorTransferMatrix_SMPTE240M
值: 3
SMPTE 240M 傳輸矩陣。

規格需求

   
最低支援的用戶端 Windows 2000 專業版 [傳統型應用程式 |UWP 應用程式]
最低支援的伺服器 Windows 2000 Server [傳統型應用程式 |UWP 應用程式]
標頭 codecapi.h

另請參閱

編解碼器 API 列舉

ICodecAPI 介面