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
a3da9a7a
Commit
a3da9a7a
authored
Apr 20, 2012
by
Francois Gouget
Committed by
Alexandre Julliard
Apr 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Mark a bunch of functions as static.
parent
118ea982
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
24 deletions
+24
-24
dsoundrender.c
dlls/quartz/dsoundrender.c
+1
-1
main.c
dlls/quartz/main.c
+1
-1
videorenderer.c
dlls/quartz/videorenderer.c
+11
-11
vmr9.c
dlls/quartz/vmr9.c
+11
-11
No files found.
dlls/quartz/dsoundrender.c
View file @
a3da9a7a
...
...
@@ -340,7 +340,7 @@ static HRESULT WINAPI DSoundRender_ShouldDrawSampleNow(BaseRenderer *This, IMedi
}
HRESULT
WINAPI
DSoundRender_PrepareReceive
(
BaseRenderer
*
iface
,
IMediaSample
*
pSample
)
static
HRESULT
WINAPI
DSoundRender_PrepareReceive
(
BaseRenderer
*
iface
,
IMediaSample
*
pSample
)
{
DSoundRenderImpl
*
This
=
impl_from_BaseRenderer
(
iface
);
HRESULT
hr
;
...
...
dlls/quartz/main.c
View file @
a3da9a7a
...
...
@@ -37,7 +37,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
return
QUARTZ_DllMain
(
hInstDLL
,
fdwReason
,
lpv
);
}
HRESULT
SeekingPassThru_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
)
static
HRESULT
SeekingPassThru_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
)
{
return
PosPassThru_Construct
(
pUnkOuter
,
ppObj
);
/* from strmbase */
}
...
...
dlls/quartz/videorenderer.c
View file @
a3da9a7a
...
...
@@ -249,7 +249,7 @@ static DWORD VideoRenderer_SendSampleData(VideoRendererImpl* This, LPBYTE data,
return
S_OK
;
}
HRESULT
WINAPI
VideoRenderer_ShouldDrawSampleNow
(
BaseRenderer
*
This
,
IMediaSample
*
pSample
,
REFERENCE_TIME
*
pStartTime
,
REFERENCE_TIME
*
pEndTime
)
static
HRESULT
WINAPI
VideoRenderer_ShouldDrawSampleNow
(
BaseRenderer
*
This
,
IMediaSample
*
pSample
,
REFERENCE_TIME
*
pStartTime
,
REFERENCE_TIME
*
pEndTime
)
{
/* Preroll means the sample isn't shown, this is used for key frames and things like that */
if
(
IMediaSample_IsPreroll
(
pSample
)
==
S_OK
)
...
...
@@ -477,14 +477,14 @@ static const BaseWindowFuncTable renderer_BaseWindowFuncTable = {
VideoRenderer_OnSize
};
HRESULT
WINAPI
VideoRenderer_GetSourceRect
(
BaseControlVideo
*
iface
,
RECT
*
pSourceRect
)
static
HRESULT
WINAPI
VideoRenderer_GetSourceRect
(
BaseControlVideo
*
iface
,
RECT
*
pSourceRect
)
{
VideoRendererImpl
*
This
=
impl_from_BaseControlVideo
(
iface
);
CopyRect
(
pSourceRect
,
&
This
->
SourceRect
);
return
S_OK
;
}
HRESULT
WINAPI
VideoRenderer_GetStaticImage
(
BaseControlVideo
*
iface
,
LONG
*
pBufferSize
,
LONG
*
pDIBImage
)
static
HRESULT
WINAPI
VideoRenderer_GetStaticImage
(
BaseControlVideo
*
iface
,
LONG
*
pBufferSize
,
LONG
*
pDIBImage
)
{
VideoRendererImpl
*
This
=
impl_from_BaseControlVideo
(
iface
);
BITMAPINFOHEADER
*
bmiHeader
;
...
...
@@ -543,14 +543,14 @@ HRESULT WINAPI VideoRenderer_GetStaticImage(BaseControlVideo* iface, LONG *pBuff
return
S_OK
;
}
HRESULT
WINAPI
VideoRenderer_GetTargetRect
(
BaseControlVideo
*
iface
,
RECT
*
pTargetRect
)
static
HRESULT
WINAPI
VideoRenderer_GetTargetRect
(
BaseControlVideo
*
iface
,
RECT
*
pTargetRect
)
{
VideoRendererImpl
*
This
=
impl_from_BaseControlVideo
(
iface
);
CopyRect
(
pTargetRect
,
&
This
->
DestRect
);
return
S_OK
;
}
VIDEOINFOHEADER
*
WINAPI
VideoRenderer_GetVideoFormat
(
BaseControlVideo
*
iface
)
static
VIDEOINFOHEADER
*
WINAPI
VideoRenderer_GetVideoFormat
(
BaseControlVideo
*
iface
)
{
VideoRendererImpl
*
This
=
impl_from_BaseControlVideo
(
iface
);
AM_MEDIA_TYPE
*
pmt
;
...
...
@@ -572,7 +572,7 @@ VIDEOINFOHEADER* WINAPI VideoRenderer_GetVideoFormat(BaseControlVideo* iface)
}
}
HRESULT
WINAPI
VideoRenderer_IsDefaultSourceRect
(
BaseControlVideo
*
iface
)
static
HRESULT
WINAPI
VideoRenderer_IsDefaultSourceRect
(
BaseControlVideo
*
iface
)
{
VideoRendererImpl
*
This
=
impl_from_BaseControlVideo
(
iface
);
FIXME
(
"(%p/%p)->(): stub !!!
\n
"
,
This
,
iface
);
...
...
@@ -580,7 +580,7 @@ HRESULT WINAPI VideoRenderer_IsDefaultSourceRect(BaseControlVideo* iface)
return
S_OK
;
}
HRESULT
WINAPI
VideoRenderer_IsDefaultTargetRect
(
BaseControlVideo
*
iface
)
static
HRESULT
WINAPI
VideoRenderer_IsDefaultTargetRect
(
BaseControlVideo
*
iface
)
{
VideoRendererImpl
*
This
=
impl_from_BaseControlVideo
(
iface
);
FIXME
(
"(%p/%p)->(): stub !!!
\n
"
,
This
,
iface
);
...
...
@@ -588,7 +588,7 @@ HRESULT WINAPI VideoRenderer_IsDefaultTargetRect(BaseControlVideo* iface)
return
S_OK
;
}
HRESULT
WINAPI
VideoRenderer_SetDefaultSourceRect
(
BaseControlVideo
*
iface
)
static
HRESULT
WINAPI
VideoRenderer_SetDefaultSourceRect
(
BaseControlVideo
*
iface
)
{
VideoRendererImpl
*
This
=
impl_from_BaseControlVideo
(
iface
);
...
...
@@ -600,7 +600,7 @@ HRESULT WINAPI VideoRenderer_SetDefaultSourceRect(BaseControlVideo* iface)
return
S_OK
;
}
HRESULT
WINAPI
VideoRenderer_SetDefaultTargetRect
(
BaseControlVideo
*
iface
)
static
HRESULT
WINAPI
VideoRenderer_SetDefaultTargetRect
(
BaseControlVideo
*
iface
)
{
VideoRendererImpl
*
This
=
impl_from_BaseControlVideo
(
iface
);
RECT
rect
;
...
...
@@ -616,14 +616,14 @@ HRESULT WINAPI VideoRenderer_SetDefaultTargetRect(BaseControlVideo* iface)
return
S_OK
;
}
HRESULT
WINAPI
VideoRenderer_SetSourceRect
(
BaseControlVideo
*
iface
,
RECT
*
pSourceRect
)
static
HRESULT
WINAPI
VideoRenderer_SetSourceRect
(
BaseControlVideo
*
iface
,
RECT
*
pSourceRect
)
{
VideoRendererImpl
*
This
=
impl_from_BaseControlVideo
(
iface
);
CopyRect
(
&
This
->
SourceRect
,
pSourceRect
);
return
S_OK
;
}
HRESULT
WINAPI
VideoRenderer_SetTargetRect
(
BaseControlVideo
*
iface
,
RECT
*
pTargetRect
)
static
HRESULT
WINAPI
VideoRenderer_SetTargetRect
(
BaseControlVideo
*
iface
,
RECT
*
pTargetRect
)
{
VideoRendererImpl
*
This
=
impl_from_BaseControlVideo
(
iface
);
CopyRect
(
&
This
->
DestRect
,
pTargetRect
);
...
...
dlls/quartz/vmr9.c
View file @
a3da9a7a
...
...
@@ -202,7 +202,7 @@ static HRESULT WINAPI VMR9_CheckMediaType(BaseRenderer *iface, const AM_MEDIA_TY
return
S_OK
;
}
HRESULT
WINAPI
VMR9_ShouldDrawSampleNow
(
BaseRenderer
*
This
,
IMediaSample
*
pSample
,
REFERENCE_TIME
*
pStartTime
,
REFERENCE_TIME
*
pEndTime
)
static
HRESULT
WINAPI
VMR9_ShouldDrawSampleNow
(
BaseRenderer
*
This
,
IMediaSample
*
pSample
,
REFERENCE_TIME
*
pStartTime
,
REFERENCE_TIME
*
pEndTime
)
{
/* Preroll means the sample isn't shown, this is used for key frames and things like that */
if
(
IMediaSample_IsPreroll
(
pSample
)
==
S_OK
)
...
...
@@ -277,14 +277,14 @@ static const BaseWindowFuncTable renderer_BaseWindowFuncTable = {
VMR9_OnSize
,
};
HRESULT
WINAPI
VMR9_GetSourceRect
(
BaseControlVideo
*
This
,
RECT
*
pSourceRect
)
static
HRESULT
WINAPI
VMR9_GetSourceRect
(
BaseControlVideo
*
This
,
RECT
*
pSourceRect
)
{
VMR9Impl
*
pVMR9
=
impl_from_BaseControlVideo
(
This
);
CopyRect
(
pSourceRect
,
&
pVMR9
->
source_rect
);
return
S_OK
;
}
HRESULT
WINAPI
VMR9_GetStaticImage
(
BaseControlVideo
*
This
,
LONG
*
pBufferSize
,
LONG
*
pDIBImage
)
static
HRESULT
WINAPI
VMR9_GetStaticImage
(
BaseControlVideo
*
This
,
LONG
*
pBufferSize
,
LONG
*
pDIBImage
)
{
VMR9Impl
*
pVMR9
=
impl_from_BaseControlVideo
(
This
);
BITMAPINFOHEADER
*
bmiHeader
;
...
...
@@ -343,14 +343,14 @@ HRESULT WINAPI VMR9_GetStaticImage(BaseControlVideo* This, LONG *pBufferSize, LO
return
S_OK
;
}
HRESULT
WINAPI
VMR9_GetTargetRect
(
BaseControlVideo
*
This
,
RECT
*
pTargetRect
)
static
HRESULT
WINAPI
VMR9_GetTargetRect
(
BaseControlVideo
*
This
,
RECT
*
pTargetRect
)
{
VMR9Impl
*
pVMR9
=
impl_from_BaseControlVideo
(
This
);
CopyRect
(
pTargetRect
,
&
pVMR9
->
target_rect
);
return
S_OK
;
}
VIDEOINFOHEADER
*
WINAPI
VMR9_GetVideoFormat
(
BaseControlVideo
*
This
)
static
VIDEOINFOHEADER
*
WINAPI
VMR9_GetVideoFormat
(
BaseControlVideo
*
This
)
{
VMR9Impl
*
pVMR9
=
impl_from_BaseControlVideo
(
This
);
AM_MEDIA_TYPE
*
pmt
;
...
...
@@ -372,7 +372,7 @@ VIDEOINFOHEADER* WINAPI VMR9_GetVideoFormat(BaseControlVideo* This)
}
}
HRESULT
WINAPI
VMR9_IsDefaultSourceRect
(
BaseControlVideo
*
This
)
static
HRESULT
WINAPI
VMR9_IsDefaultSourceRect
(
BaseControlVideo
*
This
)
{
VMR9Impl
*
pVMR9
=
impl_from_BaseControlVideo
(
This
);
FIXME
(
"(%p/%p)->(): stub !!!
\n
"
,
pVMR9
,
This
);
...
...
@@ -380,7 +380,7 @@ HRESULT WINAPI VMR9_IsDefaultSourceRect(BaseControlVideo* This)
return
S_OK
;
}
HRESULT
WINAPI
VMR9_IsDefaultTargetRect
(
BaseControlVideo
*
This
)
static
HRESULT
WINAPI
VMR9_IsDefaultTargetRect
(
BaseControlVideo
*
This
)
{
VMR9Impl
*
pVMR9
=
impl_from_BaseControlVideo
(
This
);
FIXME
(
"(%p/%p)->(): stub !!!
\n
"
,
pVMR9
,
This
);
...
...
@@ -388,7 +388,7 @@ HRESULT WINAPI VMR9_IsDefaultTargetRect(BaseControlVideo* This)
return
S_OK
;
}
HRESULT
WINAPI
VMR9_SetDefaultSourceRect
(
BaseControlVideo
*
This
)
static
HRESULT
WINAPI
VMR9_SetDefaultSourceRect
(
BaseControlVideo
*
This
)
{
VMR9Impl
*
pVMR9
=
impl_from_BaseControlVideo
(
This
);
...
...
@@ -400,7 +400,7 @@ HRESULT WINAPI VMR9_SetDefaultSourceRect(BaseControlVideo* This)
return
S_OK
;
}
HRESULT
WINAPI
VMR9_SetDefaultTargetRect
(
BaseControlVideo
*
This
)
static
HRESULT
WINAPI
VMR9_SetDefaultTargetRect
(
BaseControlVideo
*
This
)
{
RECT
rect
;
VMR9Impl
*
pVMR9
=
impl_from_BaseControlVideo
(
This
);
...
...
@@ -416,14 +416,14 @@ HRESULT WINAPI VMR9_SetDefaultTargetRect(BaseControlVideo* This)
return
S_OK
;
}
HRESULT
WINAPI
VMR9_SetSourceRect
(
BaseControlVideo
*
This
,
RECT
*
pSourceRect
)
static
HRESULT
WINAPI
VMR9_SetSourceRect
(
BaseControlVideo
*
This
,
RECT
*
pSourceRect
)
{
VMR9Impl
*
pVMR9
=
impl_from_BaseControlVideo
(
This
);
CopyRect
(
&
pVMR9
->
source_rect
,
pSourceRect
);
return
S_OK
;
}
HRESULT
WINAPI
VMR9_SetTargetRect
(
BaseControlVideo
*
This
,
RECT
*
pTargetRect
)
static
HRESULT
WINAPI
VMR9_SetTargetRect
(
BaseControlVideo
*
This
,
RECT
*
pTargetRect
)
{
VMR9Impl
*
pVMR9
=
impl_from_BaseControlVideo
(
This
);
CopyRect
(
&
pVMR9
->
target_rect
,
pTargetRect
);
...
...
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