Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a92e3979
Commit
a92e3979
authored
Mar 22, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rewrote some headers from scratch based on publicly available
information to avoid EULA concerns.
parent
4887da52
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
118 additions
and
99 deletions
+118
-99
audevcod.h
include/audevcod.h
+21
-21
dmo.h
include/dmo.h
+12
-6
dmoreg.h
include/dmoreg.h
+42
-24
dmort.h
include/dmort.h
+10
-14
dshow.h
include/dshow.h
+12
-17
mediaerr.h
include/mediaerr.h
+4
-4
mediaobj.h
include/mediaobj.h
+17
-13
No files found.
include/audevcod.h
View file @
a92e3979
/*
* Copyright (C) 200
1 Hidenori Takeshima
* Copyright (C) 200
2 Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -16,29 +16,29 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef __
WINE_AUDEVCOD_H
_
#define __
WINE_AUDEVCOD_H
_
#ifndef __
AUDEVCOD_
_
#define __
AUDEVCOD_
_
typedef
enum
typedef
enum
_tagSND_DEVICE_ERROR
{
SNDDEV_ERROR_Open
=
1
,
SNDDEV_ERROR_Close
=
2
,
SNDDEV_ERROR_GetCaps
=
3
,
SNDDEV_ERROR_PrepareHeader
=
4
,
SNDDEV_ERROR_UnprepareHeader
=
5
,
SNDDEV_ERROR_Reset
=
6
,
SNDDEV_ERROR_Restart
=
7
,
SNDDEV_ERROR_GetPosition
=
8
,
SNDDEV_ERROR_Write
=
9
,
SNDDEV_ERROR_Pause
=
10
,
SNDDEV_ERROR_Stop
=
11
,
SNDDEV_ERROR_Start
=
12
,
SNDDEV_ERROR_AddBuffer
=
13
,
SNDDEV_ERROR_Query
=
14
,
SNDDEV_ERROR_Open
=
1
,
SNDDEV_ERROR_Close
=
2
,
SNDDEV_ERROR_GetCaps
=
3
,
SNDDEV_ERROR_PrepareHeader
=
4
,
SNDDEV_ERROR_UnprepareHeader
=
5
,
SNDDEV_ERROR_Reset
=
6
,
SNDDEV_ERROR_Restart
=
7
,
SNDDEV_ERROR_GetPosition
=
8
,
SNDDEV_ERROR_Write
=
9
,
SNDDEV_ERROR_Pause
=
10
,
SNDDEV_ERROR_Stop
=
11
,
SNDDEV_ERROR_Start
=
12
,
SNDDEV_ERROR_AddBuffer
=
13
,
SNDDEV_ERROR_Query
=
14
}
SNDDEV_ERR
;
#define EC_SND_DEVICE_ERROR_BASE 0x0200
#define EC_SNDDEV_IN_ERROR
(EC_SND_DEVICE_ERROR_BASE +
0x00)
#define EC_SNDDEV_OUT_ERROR
(EC_SND_DEVICE_ERROR_BASE +
0x01)
#define EC_SNDDEV_IN_ERROR
(EC_SND_DEVICE_ERROR_BASE+
0x00)
#define EC_SNDDEV_OUT_ERROR
(EC_SND_DEVICE_ERROR_BASE+
0x01)
#endif
/* __
WINE_AUDEVCOD_H
_ */
#endif
/* __
AUDEVCOD_
_ */
include/dmo.h
View file @
a92e3979
/*
* Copyright (C) 2002
Hidenori Takeshima
* Copyright (C) 2002
Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -16,13 +16,19 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef __
WINE_DMO_H
_
#define __
WINE_DMO_H
_
#ifndef __
DMO_H_
_
#define __
DMO_H_
_
#include "mediaerr.h"
#ifdef FIX_LOCK_NAME
#define Lock DMOLock
#endif
#include "mediaobj.h"
#ifdef FIX_LOCK_NAME
#undef Lock
#endif
#include "dmoreg.h"
#include "dmort.h"
#include "mediaerr.h"
#endif
/* __WINE_DMO_H
_ */
#endif
/* __DMO_H_
_ */
include/dmoreg.h
View file @
a92e3979
/*
* Copyright (C) 2002
Hidenori Takeshima
* Copyright (C) 2002
Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -16,35 +16,53 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef __
WINE_DMOREG_H
_
#define __
WINE_DMOREG_H
_
#ifndef __
DMOREG_H_
_
#define __
DMOREG_H_
_
/* structs. */
typedef
struct
typedef
struct
_DMO_PARTIAL_MEDIATYPE
{
GUID
type
;
GUID
subtype
;
}
DMO_PARTIAL_MEDIATYPE
;
/* exported APIs */
HRESULT
WINAPI
DMOEnum
(
REFGUID
rguidCat
,
DWORD
dwFlags
,
DWORD
dwCountOfInTypes
,
const
DMO_PARTIAL_MEDIATYPE
*
pInTypes
,
DWORD
dwCountOfOutTypes
,
const
DMO_PARTIAL_MEDIATYPE
*
pOutTypes
,
IEnumDMO
**
ppEnum
);
HRESULT
WINAPI
DMOGetName
(
REFCLSID
rclsid
,
WCHAR
*
pwszName
);
}
DMO_PARTIAL_MEDIATYPE
,
*
PDMO_PARTIAL_MEDIATYPE
;
HRESULT
WINAPI
DMOGetTypes
(
REFCLSID
rclsid
,
unsigned
long
ulInputTypesReq
,
unsigned
long
*
pulInputTypesRet
,
unsigned
long
ulOutputTypesReq
,
unsigned
long
*
pulOutputTypesRet
,
const
DMO_PARTIAL_MEDIATYPE
*
pOutTypes
);
/* DMOGuidToStrA - undocumented */
/* DMOGuidToStrW - undocumented */
HRESULT
WINAPI
DMORegister
(
LPCWSTR
pwszName
,
REFCLSID
rclsid
,
REFGUID
rguidCat
,
DWORD
dwFlags
,
DWORD
dwCountOfInTypes
,
const
DMO_PARTIAL_MEDIATYPE
*
pInTypes
,
DWORD
dwCountOfOutTypes
,
const
DMO_PARTIAL_MEDIATYPE
*
pOutTypes
);
enum
DMO_REGISTER_FLAGS
{
DMO_REGISTERF_IS_KEYED
=
1
};
/* DMOStrToGuidA - undocumented */
/* DMOStrToGuidW - undocumented */
enum
DMO_ENUM_FLAGS
{
DMO_ENUMF_INCLUDE_KEYED
=
1
};
HRESULT
WINAPI
DMOUnregister
(
REFCLSID
rclsid
,
REFGUID
rguidCat
);
HRESULT
WINAPI
DMORegister
(
LPCWSTR
,
REFCLSID
,
REFGUID
,
DWORD
,
DWORD
,
const
DMO_PARTIAL_MEDIATYPE
*
,
DWORD
,
const
DMO_PARTIAL_MEDIATYPE
*
);
HRESULT
WINAPI
DMOUnregister
(
REFCLSID
,
REFGUID
);
HRESULT
WINAPI
DMOEnum
(
REFGUID
,
DWORD
,
DWORD
,
const
DMO_PARTIAL_MEDIATYPE
*
,
DWORD
,
const
DMO_PARTIAL_MEDIATYPE
*
,
IEnumDMO
**
);
HRESULT
WINAPI
DMOGetTypes
(
REFCLSID
,
unsigned
long
,
unsigned
long
*
,
DMO_PARTIAL_MEDIATYPE
*
,
unsigned
long
,
unsigned
long
*
,
DMO_PARTIAL_MEDIATYPE
*
);
HRESULT
WINAPI
DMOGetName
(
REFCLSID
,
WCHAR
*
);
DEFINE_GUID
(
DMOCATEGORY_AUDIO_DECODER
,
0x57f2db8b
,
0xe6bb
,
0x4513
,
0x9d
,
0x43
,
0xdc
,
0xd2
,
0xa6
,
0x59
,
0x31
,
0x25
);
DEFINE_GUID
(
DMOCATEGORY_AUDIO_ENCODER
,
0x33d9a761
,
0x90c8
,
0x11d0
,
0xbd
,
0x43
,
0x00
,
0xa0
,
0xc9
,
0x11
,
0xce
,
0x86
);
DEFINE_GUID
(
DMOCATEGORY_VIDEO_DECODER
,
0x4a69b442
,
0x28be
,
0x4991
,
0x96
,
0x9c
,
0xb5
,
0x00
,
0xad
,
0xf5
,
0xd8
,
0xa8
);
DEFINE_GUID
(
DMOCATEGORY_VIDEO_ENCODER
,
0x33d9a760
,
0x90c8
,
0x11d0
,
0xbd
,
0x43
,
0x00
,
0xa0
,
0xc9
,
0x11
,
0xce
,
0x86
);
DEFINE_GUID
(
DMOCATEGORY_AUDIO_EFFECT
,
0xf3602b3f
,
0x0592
,
0x48df
,
0xa4
,
0xcd
,
0x67
,
0x47
,
0x21
,
0xe7
,
0xeb
,
0xeb
);
DEFINE_GUID
(
DMOCATEGORY_VIDEO_EFFECT
,
0xd990ee14
,
0x776c
,
0x4723
,
0xbe
,
0x46
,
0x3d
,
0xa2
,
0xf5
,
0x6f
,
0x10
,
0xb9
);
DEFINE_GUID
(
DMOCATEGORY_AUDIO_CAPTURE_EFFECT
,
0xf665aaba
,
0x3e09
,
0x4920
,
0xaa
,
0x5f
,
0x21
,
0x98
,
0x11
,
0x14
,
0x8f
,
0x09
);
DEFINE_GUID
(
DMOCATEGORY_ACOUSTIC_ECHO_CANCEL
,
0xbf963d80
,
0xc559
,
0x11d0
,
0x8a
,
0x2b
,
0x00
,
0xa0
,
0xc9
,
0x25
,
0x5a
,
0xc1
);
DEFINE_GUID
(
DMOCATEGORY_AUDIO_NOISE_SUPPRESS
,
0xe07f903f
,
0x62fd
,
0x4e60
,
0x8c
,
0xdd
,
0xde
,
0xa7
,
0x23
,
0x66
,
0x65
,
0xb5
);
DEFINE_GUID
(
DMOCATEGORY_AGC
,
0xe88c9ba0
,
0xc557
,
0x11d0
,
0x8a
,
0x2b
,
0x00
,
0xa0
,
0xc9
,
0x25
,
0x5a
,
0xc1
);
#endif
/* __WINE_DMOREG_H
_ */
#endif
/* __DMOREG_H_
_ */
include/dmort.h
View file @
a92e3979
/*
* Copyright (C) 2002
Hidenori Takeshima
* Copyright (C) 2002
Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -16,18 +16,14 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef __
WINE_DMORT_H
_
#define __
WINE_DMORT_H
_
#ifndef __
DMORT_H_
_
#define __
DMORT_H_
_
HRESULT
WINAPI
MoCopyMediaType
(
DMO_MEDIA_TYPE
*
,
const
DMO_MEDIA_TYPE
*
);
HRESULT
WINAPI
MoCreateMediaType
(
DMO_MEDIA_TYPE
**
,
DWORD
);
HRESULT
WINAPI
MoDeleteMediaType
(
DMO_MEDIA_TYPE
*
);
HRESULT
WINAPI
MoDuplicateMediaType
(
DMO_MEDIA_TYPE
**
,
const
DMO_MEDIA_TYPE
*
);
HRESULT
WINAPI
MoFreeMediaType
(
DMO_MEDIA_TYPE
*
);
HRESULT
WINAPI
MoInitMediaType
(
DMO_MEDIA_TYPE
*
,
DWORD
);
/* exported APIs */
HRESULT
WINAPI
MoCopyMediaType
(
DMO_MEDIA_TYPE
*
pmtDst
,
const
DMO_MEDIA_TYPE
*
pmtSrc
);
HRESULT
WINAPI
MoCreateMediaType
(
DMO_MEDIA_TYPE
**
ppmt
,
DWORD
cbFormat
);
HRESULT
WINAPI
MoDeleteMediaType
(
DMO_MEDIA_TYPE
*
pmt
);
HRESULT
WINAPI
MoDuplicateMediaType
(
DMO_MEDIA_TYPE
**
ppmtDest
,
const
DMO_MEDIA_TYPE
*
pmtSrc
);
HRESULT
WINAPI
MoFreeMediaType
(
DMO_MEDIA_TYPE
*
pmt
);
HRESULT
WINAPI
MoInitMediaType
(
DMO_MEDIA_TYPE
*
pmt
,
DWORD
cbFormat
);
#endif
/* __WINE_DMORT_H_ */
#endif
/* __DMORT_H__ */
include/dshow.h
View file @
a92e3979
/*
* Copyright (C) 200
1 Hidenori Takeshima
* Copyright (C) 200
2 Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -16,8 +16,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef __WINE_DSHOW_H
#define __WINE_DSHOW_H
#ifndef __DSHOW_INCLUDED__
#define __DSHOW_INCLUDED__
#define AM_NOVTABLE
#include "windows.h"
#include "windowsx.h"
...
...
@@ -25,6 +27,10 @@
#include "ddraw.h"
#include "mmsystem.h"
#ifndef NUMELMS
#define NUMELMS(array) (sizeof(array)/sizeof((array)[0]))
#endif
#include "strmif.h"
#include "amvideo.h"
#include "amaudio.h"
...
...
@@ -32,24 +38,13 @@
#include "evcode.h"
#include "uuids.h"
#include "errors.h"
/*#include "edevdefs.h"*/
/* not yet */
#include "audevcod.h"
/*#include "dvdevcod.h"*/
/* not yet */
#ifndef AM_NOVTABLE
#define AM_NOVTABLE
#endif
/* AM_NOVTABLE */
#ifndef NUMELEMS
#define NUMELEMS(elem) (sizeof(elem)/sizeof((elem)[0]))
#endif
/* NUMELEMS */
#ifndef OATRUE
#define OATRUE (-1)
#endif
/* OATRUE */
#endif
#ifndef OAFALSE
#define OAFALSE (0)
#endif
/* OAFALSE */
#endif
#endif
/* __
WINE_DSHOW_H
*/
#endif
/* __
DSHOW_INCLUDED__
*/
include/mediaerr.h
View file @
a92e3979
/*
* Copyright (C) 2002
Hidenori Takeshima
* Copyright (C) 2002
Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -16,8 +16,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef _
_WINE_
MEDIAERR_H_
#define _
_WINE_
MEDIAERR_H_
#ifndef _MEDIAERR_H_
#define _MEDIAERR_H_
#define DMO_E_INVALIDSTREAMINDEX 0x80040201
#define DMO_E_INVALIDTYPE 0x80040202
...
...
@@ -26,4 +26,4 @@
#define DMO_E_TYPE_NOT_ACCEPTED 0x80040205
#define DMO_E_NO_MORE_ITEMS 0x80040206
#endif
/* __WINE
_MEDIAERR_H_ */
#endif
/*
_MEDIAERR_H_ */
include/mediaobj.h
View file @
a92e3979
/*
* Copyright (C) 2002
Hidenori Takeshima
* Copyright (C) 2002
Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -16,10 +16,17 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef __WINE_MEDIAOBJ_H_
#define __WINE_MEDIAOBJ_H_
#ifndef __WINE__
#include "rpc.h"
#include "rpcndr.h"
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif
#endif
/* forward decls. */
#ifndef __mediaobj_h__
#define __mediaobj_h__
typedef
struct
IDMOQualityControl
IDMOQualityControl
;
typedef
struct
IDMOVideoOutputOptimizations
IDMOVideoOutputOptimizations
;
...
...
@@ -28,11 +35,10 @@ typedef struct IMediaBuffer IMediaBuffer;
typedef
struct
IMediaObject
IMediaObject
;
typedef
struct
IMediaObjectInPlace
IMediaObjectInPlace
;
#include "unknwn.h"
#include "objidl.h"
/* structs. */
typedef
struct
typedef
struct
_DMOMediaType
{
GUID
majortype
;
GUID
subtype
;
...
...
@@ -40,11 +46,9 @@ typedef struct
BOOL
bTemporalCompression
;
ULONG
lSampleSize
;
GUID
formattype
;
IUnknown
*
pUnk
;
IUnknown
*
pUnk
;
ULONG
cbFormat
;
BYTE
*
pbFormat
;
BYTE
*
pbFormat
;
}
DMO_MEDIA_TYPE
;
#endif
/* __WINE_MEDIAOBJ_H_ */
#endif
/* __mediaobj_h__ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment