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
9742724a
Commit
9742724a
authored
Feb 02, 2008
by
Lei Zhang
Committed by
Alexandre Julliard
Feb 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Add VideoRendererDefault.
parent
e27ede40
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
0 deletions
+27
-0
main.c
dlls/quartz/main.c
+1
-0
quartz_private.h
dlls/quartz/quartz_private.h
+1
-0
regsvr.c
dlls/quartz/regsvr.c
+18
-0
videorenderer.c
dlls/quartz/videorenderer.c
+6
-0
uuids.h
include/uuids.h
+1
-0
No files found.
dlls/quartz/main.c
View file @
9742724a
...
...
@@ -69,6 +69,7 @@ static const struct object_creation_info object_creation[] =
{
&
CLSID_AviSplitter
,
AVISplitter_create
},
{
&
CLSID_MPEG1Splitter
,
MPEGSplitter_create
},
{
&
CLSID_VideoRenderer
,
VideoRenderer_create
},
{
&
CLSID_VideoRendererDefault
,
VideoRendererDefault_create
},
{
&
CLSID_DSoundRender
,
DSoundRender_create
},
{
&
CLSID_AVIDec
,
AVIDec_create
},
{
&
CLSID_SystemClock
,
&
QUARTZ_CreateSystemClock
},
...
...
dlls/quartz/quartz_private.h
View file @
9742724a
...
...
@@ -52,6 +52,7 @@ HRESULT MPEGSplitter_create(IUnknown * pUnkOuter, LPVOID * ppv);
HRESULT
AVIDec_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppv
);
HRESULT
DSoundRender_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppv
);
HRESULT
VideoRenderer_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppv
);
HRESULT
VideoRendererDefault_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppv
);
HRESULT
QUARTZ_CreateSystemClock
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppv
);
HRESULT
ACMWrapper_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppv
);
HRESULT
WAVEParser_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppv
);
...
...
dlls/quartz/regsvr.c
View file @
9742724a
...
...
@@ -861,6 +861,12 @@ static struct regsvr_coclass const coclass_list[] = {
"quartz.dll"
,
"Both"
},
{
&
CLSID_VideoRendererDefault
,
"Default Video Renderer"
,
NULL
,
"quartz.dll"
,
"Both"
},
{
&
CLSID_ACMWrapper
,
"ACM wrapper"
,
NULL
,
...
...
@@ -1075,6 +1081,18 @@ static struct regsvr_filter const filter_list[] = {
{
0xFFFFFFFF
},
}
},
{
&
CLSID_VideoRendererDefault
,
&
CLSID_LegacyAmFilterCategory
,
{
'V'
,
'i'
,
'd'
,
'e'
,
'o'
,
' '
,
'R'
,
'e'
,
'n'
,
'd'
,
'e'
,
'r'
,
'e'
,
'r'
,
0
},
0x800000
,
{
{
REG_PINFLAG_B_RENDERER
,
{
{
&
MEDIATYPE_Video
,
&
GUID_NULL
},
{
NULL
}
},
},
{
0xFFFFFFFF
},
}
},
{
&
CLSID_AVIDec
,
&
CLSID_LegacyAmFilterCategory
,
{
'A'
,
'V'
,
'I'
,
' '
,
'D'
,
'e'
,
'c'
,
'o'
,
'm'
,
'p'
,
'r'
,
'e'
,
's'
,
's'
,
'o'
,
'r'
,
0
},
...
...
dlls/quartz/videorenderer.c
View file @
9742724a
...
...
@@ -488,6 +488,12 @@ HRESULT VideoRenderer_create(IUnknown * pUnkOuter, LPVOID * ppv)
return
hr
;
}
HRESULT
VideoRendererDefault_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppv
)
{
/* TODO: Attenmpt to use the VMR-7 renderer instead when possible */
return
VideoRenderer_create
(
pUnkOuter
,
ppv
);
}
static
HRESULT
WINAPI
VideoRendererInner_QueryInterface
(
IUnknown
*
iface
,
REFIID
riid
,
LPVOID
*
ppv
)
{
ICOM_THIS_MULTI
(
VideoRendererImpl
,
IInner_vtbl
,
iface
);
...
...
include/uuids.h
View file @
9742724a
...
...
@@ -135,6 +135,7 @@ OUR_GUID_ENTRY(CLSID_QTDec, 0xfdfe9681, 0x74a3, 0x11d0,
OUR_GUID_ENTRY
(
CLSID_AVIDoc
,
0xd3588ab0
,
0x0781
,
0x11ce
,
0xb0
,
0x3a
,
0x00
,
0x20
,
0xaf
,
0x0b
,
0xa7
,
0x70
)
OUR_GUID_ENTRY
(
CLSID_AVIDocWriter
,
0xd3588ab1
,
0x0781
,
0x11ce
,
0xb0
,
0x3a
,
0x00
,
0x20
,
0xaf
,
0x0b
,
0xa7
,
0x70
)
OUR_GUID_ENTRY
(
CLSID_VideoRenderer
,
0x70e102b0
,
0x5556
,
0x11ce
,
0x97
,
0xc0
,
0x00
,
0xaa
,
0x00
,
0x55
,
0x59
,
0x5a
)
OUR_GUID_ENTRY
(
CLSID_VideoRendererDefault
,
0x6bc1cffa
,
0x8fc1
,
0x4261
,
0xac
,
0x22
,
0xcf
,
0xb4
,
0xcc
,
0x38
,
0xdb
,
0x50
)
OUR_GUID_ENTRY
(
CLSID_Colour
,
0x1643e180
,
0x90f5
,
0x11ce
,
0x97
,
0xd5
,
0x00
,
0xaa
,
0x00
,
0x55
,
0x59
,
0x5a
)
OUR_GUID_ENTRY
(
CLSID_Dither
,
0x1da08500
,
0x9edc
,
0x11cf
,
0xbc
,
0x10
,
0x00
,
0xaa
,
0x00
,
0xac
,
0x74
,
0xf6
)
OUR_GUID_ENTRY
(
CLSID_ModexRenderer
,
0x07167665
,
0x5011
,
0x11cf
,
0xbf
,
0x33
,
0x00
,
0xaa
,
0x00
,
0x55
,
0x59
,
0x5a
)
...
...
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