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

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/filters/transform')
-rw-r--r--src/filters/transform/BufferFilter/BufferFilter.h10
-rw-r--r--src/filters/transform/MPCVideoDec/IMPCVideoDecFilter.h36
-rw-r--r--src/filters/transform/MPCVideoDec/VideoDecDXVAAllocator.h4
-rw-r--r--src/filters/transform/MpaDecFilter/IMpaDecFilter.h26
-rw-r--r--src/filters/transform/Mpeg2DecFilter/IMpeg2DecFilter.h40
5 files changed, 58 insertions, 58 deletions
diff --git a/src/filters/transform/BufferFilter/BufferFilter.h b/src/filters/transform/BufferFilter/BufferFilter.h
index c6e227e36..babd6315d 100644
--- a/src/filters/transform/BufferFilter/BufferFilter.h
+++ b/src/filters/transform/BufferFilter/BufferFilter.h
@@ -1,6 +1,6 @@
/*
* (C) 2003-2006 Gabest
- * (C) 2006-2012 see Authors.txt
+ * (C) 2006-2013 see Authors.txt
*
* This file is part of MPC-HC.
*
@@ -28,10 +28,10 @@
interface __declspec(uuid("63EF0035-3FFE-4c41-9230-4346E028BE20"))
IBufferFilter :
public IUnknown {
- STDMETHOD(SetBuffers)(int nBuffers) = 0;
- STDMETHOD_(int, GetBuffers)() = 0;
- STDMETHOD_(int, GetFreeBuffers)() = 0;
- STDMETHOD(SetPriority)(DWORD dwPriority = THREAD_PRIORITY_NORMAL) = 0;
+ STDMETHOD(SetBuffers)(int nBuffers) PURE;
+ STDMETHOD_(int, GetBuffers)() PURE;
+ STDMETHOD_(int, GetFreeBuffers)() PURE;
+ STDMETHOD(SetPriority)(DWORD dwPriority = THREAD_PRIORITY_NORMAL) PURE;
};
class __declspec(uuid("DA2B3D77-2F29-4fd2-AC99-DEE4A8A13BF0"))
diff --git a/src/filters/transform/MPCVideoDec/IMPCVideoDecFilter.h b/src/filters/transform/MPCVideoDec/IMPCVideoDecFilter.h
index 75a404eda..dbfe1316b 100644
--- a/src/filters/transform/MPCVideoDec/IMPCVideoDecFilter.h
+++ b/src/filters/transform/MPCVideoDec/IMPCVideoDecFilter.h
@@ -55,36 +55,36 @@ enum MPCVD_INTERLACED_FLAG {
interface __declspec(uuid("CDC3B5B3-A8B0-4c70-A805-9FC80CDEF262"))
IMPCVideoDecFilter :
public IUnknown {
- STDMETHOD(Apply()) = 0;
+ STDMETHOD(Apply()) PURE;
- STDMETHOD(SetThreadNumber(int nValue)) = 0;
- STDMETHOD_(int, GetThreadNumber()) = 0;
+ STDMETHOD(SetThreadNumber(int nValue)) PURE;
+ STDMETHOD_(int, GetThreadNumber()) PURE;
- STDMETHOD(SetDiscardMode(int nValue)) = 0;
- STDMETHOD_(int, GetDiscardMode()) = 0;
+ STDMETHOD(SetDiscardMode(int nValue)) PURE;
+ STDMETHOD_(int, GetDiscardMode()) PURE;
- STDMETHOD_(GUID*, GetDXVADecoderGuid()) = 0;
+ STDMETHOD_(GUID*, GetDXVADecoderGuid()) PURE;
- STDMETHOD(SetActiveCodecs(MPC_VIDEO_CODEC nValue)) = 0;
- STDMETHOD_(MPC_VIDEO_CODEC, GetActiveCodecs()) = 0;
+ STDMETHOD(SetActiveCodecs(MPC_VIDEO_CODEC nValue)) PURE;
+ STDMETHOD_(MPC_VIDEO_CODEC, GetActiveCodecs()) PURE;
- STDMETHOD_(LPCTSTR, GetVideoCardDescription()) = 0;
+ STDMETHOD_(LPCTSTR, GetVideoCardDescription()) PURE;
- STDMETHOD(SetARMode(int nValue)) = 0;
- STDMETHOD_(int, GetARMode()) = 0;
+ STDMETHOD(SetARMode(int nValue)) PURE;
+ STDMETHOD_(int, GetARMode()) PURE;
- STDMETHOD(SetDXVACheckCompatibility(int nValue)) = 0;
- STDMETHOD_(int, GetDXVACheckCompatibility()) = 0;
+ STDMETHOD(SetDXVACheckCompatibility(int nValue)) PURE;
+ STDMETHOD_(int, GetDXVACheckCompatibility()) PURE;
- STDMETHOD(SetDXVA_SD(int nValue)) = 0;
- STDMETHOD_(int, GetDXVA_SD()) = 0;
+ STDMETHOD(SetDXVA_SD(int nValue)) PURE;
+ STDMETHOD_(int, GetDXVA_SD()) PURE;
};
interface __declspec(uuid("F0ABC515-19ED-4D65-9D5F-59E36AE7F2AF"))
IMPCVideoDecFilter2 :
public IMPCVideoDecFilter {
- STDMETHOD_(int, GetFrameType()) = 0;
+ STDMETHOD_(int, GetFrameType()) PURE;
- STDMETHOD(SetInterlacedFlag(MPCVD_INTERLACED_FLAG interlacedFlag)) = 0;
- STDMETHOD_(MPCVD_INTERLACED_FLAG, GetInterlacedFlag()) = 0;
+ STDMETHOD(SetInterlacedFlag(MPCVD_INTERLACED_FLAG interlacedFlag)) PURE;
+ STDMETHOD_(MPCVD_INTERLACED_FLAG, GetInterlacedFlag()) PURE;
};
diff --git a/src/filters/transform/MPCVideoDec/VideoDecDXVAAllocator.h b/src/filters/transform/MPCVideoDec/VideoDecDXVAAllocator.h
index 5f1f56af4..71e362b94 100644
--- a/src/filters/transform/MPCVideoDec/VideoDecDXVAAllocator.h
+++ b/src/filters/transform/MPCVideoDec/VideoDecDXVAAllocator.h
@@ -1,5 +1,5 @@
/*
- * (C) 2007-2012 see Authors.txt
+ * (C) 2007-2013 see Authors.txt
*
* This file is part of MPC-HC.
*
@@ -31,7 +31,7 @@ class CVideoDecDXVAAllocator;
interface __declspec(uuid("AE7EC2A2-1913-4a80-8DD6-DF1497ABA494"))
IMPCDXVA2Sample :
public IUnknown {
- STDMETHOD_(int, GetDXSurfaceId()) = 0;
+ STDMETHOD_(int, GetDXSurfaceId()) PURE;
};
class CDXVA2Sample : public CMediaSample, public IMFGetService, public IMPCDXVA2Sample
diff --git a/src/filters/transform/MpaDecFilter/IMpaDecFilter.h b/src/filters/transform/MpaDecFilter/IMpaDecFilter.h
index 17a013b9d..50dfaa466 100644
--- a/src/filters/transform/MpaDecFilter/IMpaDecFilter.h
+++ b/src/filters/transform/MpaDecFilter/IMpaDecFilter.h
@@ -1,6 +1,6 @@
/*
* (C) 2003-2006 Gabest
- * (C) 2006-2012 see Authors.txt
+ * (C) 2006-2013 see Authors.txt
*
* This file is part of MPC-HC.
*
@@ -41,17 +41,17 @@ public IUnknown {
etcount
};
- STDMETHOD(SetSampleFormat(MPCSampleFormat sf, bool enable)) = 0;
- STDMETHOD_(bool, GetSampleFormat(MPCSampleFormat sf)) = 0;
- STDMETHOD_(MPCSampleFormat, SelectSampleFormat(MPCSampleFormat sf)) = 0;
- STDMETHOD(SetMixer(bool fMixer)) = 0;
- STDMETHOD_(bool, GetMixer()) = 0;
- STDMETHOD(SetMixerLayout(int sc)) = 0;
- STDMETHOD_(int, GetMixerLayout()) = 0;
- STDMETHOD(SetDynamicRangeControl(bool fDRC)) = 0;
- STDMETHOD_(bool, GetDynamicRangeControl()) = 0;
- STDMETHOD(SetSPDIF(enctype et, bool fSPDIF)) = 0;
- STDMETHOD_(bool, GetSPDIF(enctype et)) = 0;
+ STDMETHOD(SetSampleFormat(MPCSampleFormat sf, bool enable)) PURE;
+ STDMETHOD_(bool, GetSampleFormat(MPCSampleFormat sf)) PURE;
+ STDMETHOD_(MPCSampleFormat, SelectSampleFormat(MPCSampleFormat sf)) PURE;
+ STDMETHOD(SetMixer(bool fMixer)) PURE;
+ STDMETHOD_(bool, GetMixer()) PURE;
+ STDMETHOD(SetMixerLayout(int sc)) PURE;
+ STDMETHOD_(int, GetMixerLayout()) PURE;
+ STDMETHOD(SetDynamicRangeControl(bool fDRC)) PURE;
+ STDMETHOD_(bool, GetDynamicRangeControl()) PURE;
+ STDMETHOD(SetSPDIF(enctype et, bool fSPDIF)) PURE;
+ STDMETHOD_(bool, GetSPDIF(enctype et)) PURE;
- STDMETHOD(SaveSettings()) = 0;
+ STDMETHOD(SaveSettings()) PURE;
};
diff --git a/src/filters/transform/Mpeg2DecFilter/IMpeg2DecFilter.h b/src/filters/transform/Mpeg2DecFilter/IMpeg2DecFilter.h
index 52b504072..04580c72c 100644
--- a/src/filters/transform/Mpeg2DecFilter/IMpeg2DecFilter.h
+++ b/src/filters/transform/Mpeg2DecFilter/IMpeg2DecFilter.h
@@ -1,6 +1,6 @@
/*
* (C) 2003-2006 Gabest
- * (C) 2006-2012 see Authors.txt
+ * (C) 2006-2013 see Authors.txt
*
* This file is part of MPC-HC.
*
@@ -33,33 +33,33 @@ typedef enum {
interface __declspec(uuid("0ABEAA65-0317-47B9-AE1D-D9EA905AFD25"))
IMpeg2DecFilter :
public IUnknown {
- STDMETHOD(SetDeinterlaceMethod(ditype di)) = 0;
- STDMETHOD_(ditype, GetDeinterlaceMethod()) = 0;
+ STDMETHOD(SetDeinterlaceMethod(ditype di)) PURE;
+ STDMETHOD_(ditype, GetDeinterlaceMethod()) PURE;
// Brightness: -255.0 to 255.0, default 0.0
// Contrast: 0.0 to 10.0, default 1.0
// Hue: -180.0 to +180.0, default 0.0
// Saturation: 0.0 to 10.0, default 1.0
- STDMETHOD(SetBrightness(float brightness)) = 0;
- STDMETHOD(SetContrast(float contrast)) = 0;
- STDMETHOD(SetHue(float hue)) = 0;
- STDMETHOD(SetSaturation(float saturation)) = 0;
- STDMETHOD_(float, GetBrightness()) = 0;
- STDMETHOD_(float, GetContrast()) = 0;
- STDMETHOD_(float, GetHue()) = 0;
- STDMETHOD_(float, GetSaturation()) = 0;
+ STDMETHOD(SetBrightness(float brightness)) PURE;
+ STDMETHOD(SetContrast(float contrast)) PURE;
+ STDMETHOD(SetHue(float hue)) PURE;
+ STDMETHOD(SetSaturation(float saturation)) PURE;
+ STDMETHOD_(float, GetBrightness()) PURE;
+ STDMETHOD_(float, GetContrast()) PURE;
+ STDMETHOD_(float, GetHue()) PURE;
+ STDMETHOD_(float, GetSaturation()) PURE;
- STDMETHOD(EnableForcedSubtitles(bool fEnable)) = 0;
- STDMETHOD_(bool, IsForcedSubtitlesEnabled()) = 0;
+ STDMETHOD(EnableForcedSubtitles(bool fEnable)) PURE;
+ STDMETHOD_(bool, IsForcedSubtitlesEnabled()) PURE;
- STDMETHOD(EnablePlanarYUV(bool fEnable)) = 0;
- STDMETHOD_(bool, IsPlanarYUVEnabled()) = 0;
+ STDMETHOD(EnablePlanarYUV(bool fEnable)) PURE;
+ STDMETHOD_(bool, IsPlanarYUVEnabled()) PURE;
- STDMETHOD(EnableInterlaced(bool fEnable)) = 0;
- STDMETHOD_(bool, IsInterlacedEnabled()) = 0;
+ STDMETHOD(EnableInterlaced(bool fEnable)) PURE;
+ STDMETHOD_(bool, IsInterlacedEnabled()) PURE;
- STDMETHOD(EnableReadARFromStream(bool fEnable)) = 0;
- STDMETHOD_(bool, IsReadARFromStreamEnabled()) = 0;
+ STDMETHOD(EnableReadARFromStream(bool fEnable)) PURE;
+ STDMETHOD_(bool, IsReadARFromStreamEnabled()) PURE;
- STDMETHOD(Apply()) = 0;
+ STDMETHOD(Apply()) PURE;
};