2002-03-12 20:20:44 +01:00
|
|
|
/*
|
2002-03-22 20:20:11 +01:00
|
|
|
* Copyright (C) 2002 Alexandre Julliard
|
2002-03-12 20:20:44 +01:00
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library 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
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
|
2003-08-28 23:43:34 +02:00
|
|
|
#include <rpc.h>
|
|
|
|
#include <rpcndr.h>
|
2002-03-22 20:20:11 +01:00
|
|
|
#ifndef COM_NO_WINDOWS_H
|
2003-08-28 23:43:34 +02:00
|
|
|
#include <windows.h>
|
|
|
|
#include <ole2.h>
|
2002-03-22 20:20:11 +01:00
|
|
|
#endif
|
2002-03-12 20:20:44 +01:00
|
|
|
|
2002-03-22 20:20:11 +01:00
|
|
|
#ifndef __mediaobj_h__
|
|
|
|
#define __mediaobj_h__
|
2002-03-12 20:20:44 +01:00
|
|
|
|
|
|
|
typedef struct IDMOQualityControl IDMOQualityControl;
|
|
|
|
typedef struct IDMOVideoOutputOptimizations IDMOVideoOutputOptimizations;
|
|
|
|
typedef struct IEnumDMO IEnumDMO;
|
|
|
|
typedef struct IMediaBuffer IMediaBuffer;
|
|
|
|
typedef struct IMediaObject IMediaObject;
|
|
|
|
typedef struct IMediaObjectInPlace IMediaObjectInPlace;
|
|
|
|
|
2003-08-28 23:43:34 +02:00
|
|
|
#include <unknwn.h>
|
|
|
|
#include <objidl.h>
|
2002-03-12 20:20:44 +01:00
|
|
|
|
2002-03-22 20:20:11 +01:00
|
|
|
typedef struct _DMOMediaType
|
2002-03-12 20:20:44 +01:00
|
|
|
{
|
2002-03-22 20:20:11 +01:00
|
|
|
GUID majortype;
|
|
|
|
GUID subtype;
|
|
|
|
BOOL bFixedSizeSamples;
|
|
|
|
BOOL bTemporalCompression;
|
|
|
|
ULONG lSampleSize;
|
|
|
|
GUID formattype;
|
|
|
|
IUnknown *pUnk;
|
|
|
|
ULONG cbFormat;
|
|
|
|
BYTE *pbFormat;
|
2002-03-12 20:20:44 +01:00
|
|
|
} DMO_MEDIA_TYPE;
|
|
|
|
|
2003-11-25 01:55:57 +01:00
|
|
|
#define INTERFACE IEnumDMO
|
|
|
|
#define IEnumDMO_METHODS \
|
|
|
|
IUnknown_METHODS \
|
|
|
|
STDMETHOD(Next)(THIS_ DWORD cItemsToFetch, CLSID * pCLSID, \
|
|
|
|
WCHAR ** Names, DWORD * pcItemsFectched) PURE; \
|
|
|
|
STDMETHOD(Skip)(THIS_ DWORD cItemsToSkip) PURE; \
|
|
|
|
STDMETHOD(Reset)(THIS) PURE; \
|
|
|
|
STDMETHOD(Clone)(THIS_ IEnumDMO ** ppEnum) PURE;
|
|
|
|
ICOM_DEFINE(IEnumDMO,IUnknown)
|
|
|
|
#undef INTERFACE
|
|
|
|
|
2002-03-22 20:20:11 +01:00
|
|
|
#endif /* __mediaobj_h__ */
|