diff options
author | Underground78 <underground78@users.sourceforge.net> | 2013-06-23 22:46:36 +0400 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2013-06-29 23:56:22 +0400 |
commit | f46c1fd78e595b889bb27148a986cdbd0e4913c0 (patch) | |
tree | fbd90a5b738081dc615b1083382907cb228e6b3a /include | |
parent | 51e719b03f2e1ace5bf49b1512b340f278cb586e (diff) |
Remove now deprecated filters.
Diffstat (limited to 'include')
-rw-r--r-- | include/IMPCVideoDecFilter.h | 90 | ||||
-rw-r--r-- | include/moreuuids.h | 5 |
2 files changed, 95 insertions, 0 deletions
diff --git a/include/IMPCVideoDecFilter.h b/include/IMPCVideoDecFilter.h new file mode 100644 index 000000000..1e9268ac7 --- /dev/null +++ b/include/IMPCVideoDecFilter.h @@ -0,0 +1,90 @@ +/* + * (C) 2006-2013 see Authors.txt + * + * This file is part of MPC-HC. + * + * MPC-HC is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * MPC-HC is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ + +#pragma once + +// Internal codec list (used to enable/disable codec in standalone mode) +typedef enum { + MPCVD_H264 = 1 << 0, + MPCVD_VC1 = 1 << 1, + MPCVD_XVID = 1 << 2, + MPCVD_DIVX = 1 << 3, + MPCVD_WMV = 1 << 4, + MPCVD_MSMPEG4 = 1 << 5, + MPCVD_H263 = 1 << 6, + MPCVD_SVQ3 = 1 << 7, + MPCVD_THEORA = 1 << 8, + MPCVD_AMVV = 1 << 9, + MPCVD_FLASH = 1 << 10, + MPCVD_H264_DXVA = 1 << 11, + MPCVD_VC1_DXVA = 1 << 12, + MPCVD_VP356 = 1 << 13, + MPCVD_VP8 = 1 << 14, + MPCVD_MJPEG = 1 << 15, + MPCVD_INDEO = 1 << 16, + MPCVD_RV = 1 << 17, + MPCVD_WMV3_DXVA = 1 << 19, + MPCVD_MPEG2_DXVA = 1 << 20 +} MPC_VIDEO_CODEC; + +// Interlaced flag handling +enum MPCVD_INTERLACED_FLAG { + MPCVC_INTERLACED_AUTO, + MPCVC_INTERLACED_PROGRESSIVE, + MPCVC_INTERLACED_TOP_FIELD_FIRST, + MPCVC_INTERLACED_BOTTOM_FIELD_FIRST +}; + +interface __declspec(uuid("CDC3B5B3-A8B0-4c70-A805-9FC80CDEF262")) +IMPCVideoDecFilter : +public IUnknown { + STDMETHOD(Apply()) PURE; + + STDMETHOD(SetThreadNumber(int nValue)) PURE; + STDMETHOD_(int, GetThreadNumber()) PURE; + + STDMETHOD(SetDiscardMode(int nValue)) PURE; + STDMETHOD_(int, GetDiscardMode()) PURE; + + STDMETHOD_(GUID*, GetDXVADecoderGuid()) PURE; + + STDMETHOD(SetActiveCodecs(MPC_VIDEO_CODEC nValue)) PURE; + STDMETHOD_(MPC_VIDEO_CODEC, GetActiveCodecs()) PURE; + + STDMETHOD_(LPCTSTR, GetVideoCardDescription()) PURE; + + STDMETHOD(SetARMode(int nValue)) PURE; + STDMETHOD_(int, GetARMode()) PURE; + + STDMETHOD(SetDXVACheckCompatibility(int nValue)) PURE; + STDMETHOD_(int, GetDXVACheckCompatibility()) PURE; + + 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()) PURE; + + STDMETHOD(SetInterlacedFlag(MPCVD_INTERLACED_FLAG interlacedFlag)) PURE; + STDMETHOD_(MPCVD_INTERLACED_FLAG, GetInterlacedFlag()) PURE; +}; diff --git a/include/moreuuids.h b/include/moreuuids.h index 4bf62c678..c6ad090e3 100644 --- a/include/moreuuids.h +++ b/include/moreuuids.h @@ -1263,3 +1263,8 @@ DEFINE_GUID(CLSID_FFDShowDXVADecoder, 0x0B0EFF97, 0xC750, 0x462C, 0x94, 0x88, 0x // Microsoft DTV-DVD Audio Decoder - {E1F1A0B8-BEEE-490D-BA7C-066C40B5E2B9}
DEFINE_GUID(CLSID_MSDVTDVDAudioDecoder, 0xE1F1A0B8, 0xBEEE, 0x490D, 0xBA, 0x7C, 0x06, 0x6C, 0x40, 0xB5, 0xE2, 0xB9);
+
+// Old MPC-HC filters
+DEFINE_GUID(CLSID_MPCMpegSplitter, 0xDC257063, 0x045F, 0x4BE2, 0xBD, 0x5B, 0xE1, 0x22, 0x79, 0xC4, 0x64, 0xF0);
+DEFINE_GUID(CLSID_MPCMpegSplitterSource, 0x1365BE7A, 0xC86A, 0x473C, 0x9A, 0x41, 0xC0, 0xA6, 0xE8, 0x2C, 0x9F, 0xA3);
+DEFINE_GUID(CLSID_MPCVideoDecoder, 0x008BAC12, 0xFBAF, 0x497b, 0x96, 0x70, 0xBC, 0x6F, 0x6F, 0xBA, 0xE2, 0xC4);
|