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>2012-11-24 02:02:05 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2012-11-24 02:02:05 +0400
commit25fd7bcd90cd15b479c8887ba154e1ad38aa0677 (patch)
tree0a28052593d6af8be8ebc0db736e5679fc3fbd02 /decoder/LAVVideo/LAVVideo.h
parent1554b07a7199dac1df5957b38d225bbdb0bf3568 (diff)
Add options to control for which resolutions the HW decoder is used.
Fixes issue 245
Diffstat (limited to 'decoder/LAVVideo/LAVVideo.h')
-rw-r--r--decoder/LAVVideo/LAVVideo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/decoder/LAVVideo/LAVVideo.h b/decoder/LAVVideo/LAVVideo.h
index 6e184b5e..8fc93be4 100644
--- a/decoder/LAVVideo/LAVVideo.h
+++ b/decoder/LAVVideo/LAVVideo.h
@@ -114,6 +114,9 @@ public:
STDMETHODIMP SetDVDVideoSupport(BOOL bEnabled);
STDMETHODIMP_(BOOL) GetDVDVideoSupport();
+ STDMETHODIMP SetHWAccelResolutionFlags(DWORD dwResFlags);
+ STDMETHODIMP_(DWORD) GetHWAccelResolutionFlags();
+
// ILAVVideoStatus
STDMETHODIMP_(const WCHAR *) GetActiveDecoderName() { return m_Decoder.GetDecoderName(); }
@@ -251,6 +254,7 @@ private:
DWORD RGBRange;
DWORD HWAccel;
BOOL bHWFormats[HWCodec_NB];
+ DWORD HWAccelResFlags;
DWORD HWDeintMode;
DWORD HWDeintOutput;
BOOL HWDeintHQ;