ID3D11VideoContext::VideoProcessorGetStreamFilter 方法 (d3d11.h)

取得視訊處理器上輸入數據流的影像篩選設定。

語法

void VideoProcessorGetStreamFilter(
  [in]  ID3D11VideoProcessor         *pVideoProcessor,
  [in]  UINT                         StreamIndex,
  [in]  D3D11_VIDEO_PROCESSOR_FILTER Filter,
  [out] BOOL                         *pEnabled,
  [out] int                          *pLevel
);

參數

[in] pVideoProcessor

ID3D11VideoProcessor 介面的指標。 若要取得此指標,請呼叫 ID3D11VideoDevice::CreateVideoProcessor

[in] StreamIndex

輸入數據流以零起始的索引。 若要取得數據流數目上限,請呼叫 ID3D11VideoProcessorEnumerator::GetVideoProcessorCaps 並檢查 MaxStreamStates 結構成員。

[in] Filter

要查詢的篩選,指定為 D3D11_VIDEO_PROCESSOR_FILTER 值。

[out] pEnabled

如果啟用影像篩選條件,則會收到 TRUE 值,否則為 FALSE

[out] pLevel

接收篩選層級。

傳回值

規格需求

需求
最低支援的用戶端 Windows 8 [傳統型應用程式 |UWP 應用程式]
最低支援的伺服器 Windows Server 2012 [傳統型應用程式 |UWP 應用程式]
目標平台 Windows
標頭 d3d11.h

另請參閱

ID3D11VideoContext