mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-05 11:52:10 +01:00
51 lines
1.5 KiB
C
51 lines
1.5 KiB
C
|
#pragma once
|
||
|
|
||
|
#include "d3d11_device.h"
|
||
|
|
||
|
namespace dxvk {
|
||
|
|
||
|
class D3D11VideoProcessorEnumerator : public D3D11DeviceChild<ID3D11VideoProcessorEnumerator> {
|
||
|
|
||
|
public:
|
||
|
|
||
|
D3D11VideoProcessorEnumerator(
|
||
|
D3D11Device* pDevice,
|
||
|
const D3D11_VIDEO_PROCESSOR_CONTENT_DESC& Desc);
|
||
|
|
||
|
~D3D11VideoProcessorEnumerator();
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE QueryInterface(
|
||
|
REFIID riid,
|
||
|
void** ppvObject);
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE GetVideoProcessorContentDesc(
|
||
|
D3D11_VIDEO_PROCESSOR_CONTENT_DESC* pContentDesc);
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE CheckVideoProcessorFormat(
|
||
|
DXGI_FORMAT Format,
|
||
|
UINT* pFlags);
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE GetVideoProcessorCaps(
|
||
|
D3D11_VIDEO_PROCESSOR_CAPS* pCaps);
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE GetVideoProcessorRateConversionCaps(
|
||
|
UINT TypeIndex,
|
||
|
D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS* pCaps);
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE GetVideoProcessorCustomRate(
|
||
|
UINT TypeIndex,
|
||
|
UINT CustomRateIndex,
|
||
|
D3D11_VIDEO_PROCESSOR_CUSTOM_RATE* pRate);
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE GetVideoProcessorFilterRange(
|
||
|
D3D11_VIDEO_PROCESSOR_FILTER Filter,
|
||
|
D3D11_VIDEO_PROCESSOR_FILTER_RANGE* pRange);
|
||
|
|
||
|
private:
|
||
|
|
||
|
D3D11_VIDEO_PROCESSOR_CONTENT_DESC m_desc;
|
||
|
|
||
|
};
|
||
|
|
||
|
}
|