mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Merge pull request #9217 from alalek:cleanup_3rdparty
This commit is contained in:
@@ -108,55 +108,11 @@ Thanks to:
|
||||
#include <vector>
|
||||
|
||||
//Include Directshow stuff here so we don't worry about needing all the h files.
|
||||
#if defined _MSC_VER && _MSC_VER >= 1500
|
||||
# include "DShow.h"
|
||||
# include "strmif.h"
|
||||
# include "Aviriff.h"
|
||||
# include "dvdmedia.h"
|
||||
# include "bdaiface.h"
|
||||
#else
|
||||
# ifdef _MSC_VER
|
||||
# define __extension__
|
||||
typedef BOOL WINBOOL;
|
||||
#endif
|
||||
|
||||
#include "dshow/dshow.h"
|
||||
#include "dshow/dvdmedia.h"
|
||||
#include "dshow/bdatypes.h"
|
||||
|
||||
interface IEnumPIDMap : public IUnknown
|
||||
{
|
||||
public:
|
||||
virtual HRESULT STDMETHODCALLTYPE Next(
|
||||
/* [in] */ ULONG cRequest,
|
||||
/* [size_is][out][in] */ PID_MAP *pPIDMap,
|
||||
/* [out] */ ULONG *pcReceived) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Skip(
|
||||
/* [in] */ ULONG cRecords) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Clone(
|
||||
/* [out] */ IEnumPIDMap **ppIEnumPIDMap) = 0;
|
||||
};
|
||||
|
||||
interface IMPEG2PIDMap : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE MapPID(
|
||||
/* [in] */ ULONG culPID,
|
||||
/* [in] */ ULONG *pulPID,
|
||||
/* [in] */ MEDIA_SAMPLE_CONTENT MediaSampleContent) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE UnmapPID(
|
||||
/* [in] */ ULONG culPID,
|
||||
/* [in] */ ULONG *pulPID) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE EnumPIDMap(
|
||||
/* [out] */ IEnumPIDMap **pIEnumPIDMap) = 0;
|
||||
};
|
||||
|
||||
#endif
|
||||
#include "DShow.h"
|
||||
#include "strmif.h"
|
||||
#include "Aviriff.h"
|
||||
#include "dvdmedia.h"
|
||||
#include "bdaiface.h"
|
||||
|
||||
//for threading
|
||||
#include <process.h>
|
||||
|
||||
Reference in New Issue
Block a user