Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2016-02-14 18:56:52 +0300
committerHendrik Leppkes <h.leppkes@gmail.com>2016-02-14 18:56:52 +0300
commit14703100434eb2971a209f0bfe289582a40b02d1 (patch)
treedfaa6d73490b4c7fdd792a5541b27ac06b94905f /decoder/LAVVideo/LAVVideo.h
parent49fe074d3d4492bb0070f7fdfc0fb32263a82771 (diff)
Add options to select the GPU for DXVA2-CopyBack
Diffstat (limited to 'decoder/LAVVideo/LAVVideo.h')
-rw-r--r--decoder/LAVVideo/LAVVideo.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/decoder/LAVVideo/LAVVideo.h b/decoder/LAVVideo/LAVVideo.h
index b353db81..9089d6a4 100644
--- a/decoder/LAVVideo/LAVVideo.h
+++ b/decoder/LAVVideo/LAVVideo.h
@@ -127,8 +127,15 @@ public:
STDMETHODIMP SetGPUDeviceIndex(DWORD dwDevice);
+ STDMETHODIMP_(DWORD) GetHWAccelNumDevices(LAVHWAccel hwAccel);
+ STDMETHODIMP GetHWAccelDeviceInfo(LAVHWAccel hwAccel, DWORD dwIndex, BSTR *pstrDeviceName, DWORD *pdwDeviceIdentifier);
+
+ STDMETHODIMP_(DWORD) GetHWAccelDeviceIndex(LAVHWAccel hwAccel, DWORD *pdwDeviceIdentifier);
+ STDMETHODIMP SetHWAccelDeviceIndex(LAVHWAccel hwAccel, DWORD dwIndex, DWORD dwDeviceIdentifier);
+
// ILAVVideoStatus
STDMETHODIMP_(const WCHAR *) GetActiveDecoderName() { return m_Decoder.GetDecoderName(); }
+ STDMETHODIMP GetHWAccelActiveDevice(BSTR *pstrDeviceName);
// CTransformFilter
HRESULT CheckInputType(const CMediaType* mtIn);
@@ -281,6 +288,8 @@ private:
DWORD SWDeintOutput;
DWORD DitherMode;
BOOL bDVDVideo;
+ DWORD HWAccelDeviceDXVA2;
+ DWORD HWAccelDeviceDXVA2Desc;
} m_settings;
DWORD m_dwGPUDeviceIndex = DWORD_MAX;