IDirectXVideoDecoder 介面 (dxva2api.h)

代表 DirectX 影片加速 (DXVA) 視訊解碼器裝置。

若要取得此介面的指標,請呼叫 IDirectXVideoDecoderService::CreateVideoDecoder

繼承

IDirectXVideoDecoder介面繼承自IUnknown介面。 IDirectXVideoDecoder 也有下列類型的成員:

方法

IDirectXVideoDecoder介面具有這些方法。

 
IDirectXVideoDecoder::BeginFrame

啟動解碼作業。
IDirectXVideoDecoder::EndFrame

發出解碼作業結尾的訊號。
IDirectXVideoDecoder::Execute

在目前的畫面上執行解碼作業。
IDirectXVideoDecoder::GetBuffer

擷取 DirectX 影片加速 (DXVA) 解碼器緩衝區的指標。
IDirectXVideoDecoder::GetCreationParameters

擷取用來建立此裝置的參數。 (IDirectXVideoDecoder.GetCreationParameters)
IDirectXVideoDecoder::GetVideoDecoderService

擷取建立此解碼器裝置的 DirectX 影片加速 (DXVA) 解碼器服務。
IDirectXVideoDecoder::ReleaseBuffer

釋放藉由呼叫 IDirectXVideoDecoder::GetBuffer 取得的緩衝區。

備註

IDirectXVideoDecoder方法會呼叫 Direct3D 裝置。 因此,您在建立裝置時指定的 D3DCREATE 旗標可能會影響此介面的行為。 例如,如果您指定 D3DCREATE_MULTITHREADED 旗標,則會在解碼作業期間保留 Direct3D 全域關鍵區段。

需求

   
最低支援的用戶端 Windows Vista [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2008 [僅限傳統型應用程式]
目標平台 Windows
標頭 dxva2api.h

另請參閱

DirectX 影片加速 2.0

媒體基礎介面