Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
d1d9e807
Commit
d1d9e807
authored
Feb 23, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DShow: GUID cleaning
Remove GUID that are already in wine's headers
parent
a76a1d04
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
41 additions
and
143 deletions
+41
-143
modules/access/dshow/crossbar.cpp
modules/access/dshow/crossbar.cpp
+1
-2
modules/access/dshow/dshow.cpp
modules/access/dshow/dshow.cpp
+3
-1
modules/access/dshow/filter.cpp
modules/access/dshow/filter.cpp
+1
-132
modules/access/dshow/filter.h
modules/access/dshow/filter.h
+1
-3
modules/access/dshow/vlc_dshow.h
modules/access/dshow/vlc_dshow.h
+35
-5
No files found.
modules/access/dshow/crossbar.cpp
View file @
d1d9e807
...
...
@@ -37,8 +37,7 @@
#endif
#include "access.h"
#include "vlc_dshow.h"
// Helper function to associate a crossbar pin name with the type.
static
const
char
*
GetPhysicalPinName
(
long
lType
)
...
...
modules/access/dshow/dshow.cpp
View file @
d1d9e807
...
...
@@ -43,9 +43,11 @@
#include <vlc_dialog.h>
/* dialog_Fatal */
#include <vlc_charset.h>
/* FromWide */
#include <initguid.h>
#include "vlc_dshow.h"
#include "access.h"
#include "filter.h"
const
GUID
IID_IAMStreamConfig
=
{
0xC6E13340
,
0x30AC
,
0x11d0
,
{
0xA1
,
0x8C
,
0x00
,
0xA0
,
0xC9
,
0x11
,
0x89
,
0x56
}};
/*****************************************************************************
* Access: local prototypes
...
...
modules/access/dshow/filter.cpp
View file @
d1d9e807
This diff is collapsed.
Click to expand it.
modules/access/dshow/filter.h
View file @
d1d9e807
...
...
@@ -49,9 +49,7 @@ using namespace std;
#endif
#include <dshow.h>
extern
const
GUID
MEDIASUBTYPE_I420
;
extern
const
GUID
MEDIASUBTYPE_PREVIEW_VIDEO
;
#include "vlc_dshow.h"
typedef
struct
VLCMediaSample
{
...
...
modules/access/dshow/vlc_dshow.h
View file @
d1d9e807
...
...
@@ -52,14 +52,40 @@ using namespace std;
#define INSTANCEDATA_OF_PROPERTY_PTR(x) ((PKSPROPERTY((x))) + 1)
#define INSTANCEDATA_OF_PROPERTY_SIZE(x) (sizeof((x)) - sizeof(KSPROPERTY))
#ifndef VLC_DSHOW_H
#define VLC_DSHOW_H
/*****************************************************************************
* DirectShow GUIDs.
*****************************************************************************/
static
const
GUID
PROPSETID_TUNER
=
{
0x6a2e0605
,
0x28e4
,
0x11d0
,
{
0xa1
,
0x8c
,
0x00
,
0xa0
,
0xc9
,
0x11
,
0x89
,
0x56
}};
const
GUID
IID_IAMBufferNegotiation
=
{
0x56ed71a0
,
0xaf5f
,
0x11d0
,
{
0xb3
,
0xf0
,
0x00
,
0xaa
,
0x00
,
0x37
,
0x61
,
0xc5
}};
const
GUID
IID_IAMTVAudio
=
{
0x83EC1C30
,
0x23D1
,
0x11d1
,
{
0x99
,
0xE6
,
0x00
,
0xA0
,
0xC9
,
0x56
,
0x02
,
0x66
}};
const
GUID
IID_IAMCrossbar
=
{
0xC6E13380
,
0x30AC
,
0x11d0
,
{
0xA1
,
0x8C
,
0x00
,
0xA0
,
0xC9
,
0x11
,
0x89
,
0x56
}};
const
GUID
IID_IAMTVTuner
=
{
0x211A8766
,
0x03AC
,
0x11d1
,
{
0x8D
,
0x13
,
0x00
,
0xAA
,
0x00
,
0xBD
,
0x83
,
0x39
}};
/* IAM */
DEFINE_GUID
(
PROPSETID_TUNER
,
0x6a2e0605
,
0x28e4
,
0x11d0
,
0xa1
,
0x8c
,
0x00
,
0xa0
,
0xc9
,
0x11
,
0x89
,
0x56
);
DEFINE_GUID
(
IID_IAMBufferNegotiation
,
0x56ed71a0
,
0xaf5f
,
0x11d0
,
0xb3
,
0xf0
,
0x00
,
0xaa
,
0x00
,
0x37
,
0x61
,
0xc5
);
DEFINE_GUID
(
IID_IAMTVAudio
,
0x83EC1C30
,
0x23D1
,
0x11d1
,
0x99
,
0xE6
,
0x00
,
0xA0
,
0xC9
,
0x56
,
0x02
,
0x66
);
DEFINE_GUID
(
IID_IAMCrossbar
,
0xC6E13380
,
0x30AC
,
0x11d0
,
0xA1
,
0x8C
,
0x00
,
0xA0
,
0xC9
,
0x11
,
0x89
,
0x56
);
DEFINE_GUID
(
IID_IAMTVTuner
,
0x211A8766
,
0x03AC
,
0x11d1
,
0x8D
,
0x13
,
0x00
,
0xAA
,
0x00
,
0xBD
,
0x83
,
0x39
);
/* Video Format
MEDIASUBTYPEs and FORMAT */
DEFINE_GUID
(
MEDIASUBTYPE_ARGB32
,
0x773c9ac0
,
0x3274
,
0x11d0
,
0xb7
,
0x24
,
0x0
,
0xaa
,
0x0
,
0x6c
,
0x1a
,
0x1
);
/* Packed YUV formats */
DEFINE_GUID
(
MEDIASUBTYPE_YUYV
,
0x56595559
,
0x0000
,
0x0010
,
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
);
DEFINE_GUID
(
MEDIASUBTYPE_HDYC
,
0x43594448
,
0x0000
,
0x0010
,
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
);
/* Planar YUV formats */
DEFINE_GUID
(
MEDIASUBTYPE_IYUV
,
0x56555949
,
0x0000
,
0x0010
,
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
);
/* identical to YV12 */
DEFINE_GUID
(
MEDIASUBTYPE_I420
,
0x30323449
,
0x0000
,
0x0010
,
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
);
/* MPEG2 formats */
DEFINE_GUID
(
MEDIASUBTYPE_MPEG2_VIDEO
,
0xe06d8026
,
0xdb46
,
0x11cf
,
0xb4
,
0xd1
,
0x00
,
0x80
,
0x5f
,
0x6c
,
0xbb
,
0xea
);
DEFINE_GUID
(
MEDIASUBTYPE_MPEG2_PROGRAM
,
0xe06d8022
,
0xdb46
,
0x11cf
,
0xb4
,
0xd1
,
0x00
,
0x80
,
0x5f
,
0x6c
,
0xbb
,
0xea
);
DEFINE_GUID
(
MEDIASUBTYPE_MPEG2_TRANSPORT
,
0xe06d8023
,
0xdb46
,
0x11cf
,
0xb4
,
0xd1
,
0x00
,
0x80
,
0x5f
,
0x6c
,
0xbb
,
0xea
);
DEFINE_GUID
(
FORMAT_MPEG2Video
,
0xe06d80e3
,
0xdb46
,
0x11cf
,
0xb4
,
0xd1
,
0x00
,
0x80
,
0x5f
,
0x6c
,
0xbb
,
0xea
);
/* DivX formats */
DEFINE_GUID
(
MEDIASUBTYPE_DIVX
,
0x58564944
,
0x0000
,
0x0010
,
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
);
/* float */
DEFINE_GUID
(
MEDIASUBTYPE_IEEE_FLOAT
,
0x00000003
,
0x0000
,
0x0010
,
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
);
/****************************************************************************
* The following should be in ks.h and ksmedia.h, but since they are not in
...
...
@@ -171,7 +197,10 @@ typedef struct {
KSPROPERTY
Property
;
ULONG
Standard
;
// KS_AnalogVideo_*
}
KSPROPERTY_TUNER_STANDARD_S
,
*
PKSPROPERTY_TUNER_STANDARD_S
;
/* End of ks */
/* Define missing interfaces from wine's header */
/* http://msdn.microsoft.com/en-us/library/dd373441%28v=vs.85%29.aspx */
typedef
enum
tagAMTunerModeType
{
AMTUNER_MODE_DEFAULT
=
0x0000
,
...
...
@@ -355,3 +384,4 @@ DECLARE_INTERFACE_(IAMTVAudio, IUnknown)
STDMETHOD
(
UnRegisterNotificationCallBack
)
(
THIS_
IAMTunerNotification
*
);
};
#endif
/* VLC_DSHOW_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