Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
4abf09f0
Commit
4abf09f0
authored
Mar 11, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
Mar 12, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strmbase: Rename pfnDoRenderSample to renderer_render.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0ae1669e
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
13 deletions
+12
-13
evr.c
dlls/evr/evr.c
+2
-2
nullrenderer.c
dlls/qedit/nullrenderer.c
+2
-2
videorenderer.c
dlls/quartz/videorenderer.c
+2
-2
vmr9.c
dlls/quartz/vmr9.c
+2
-2
renderer.c
dlls/strmbase/renderer.c
+3
-3
strmbase.h
include/wine/strmbase.h
+1
-2
No files found.
dlls/evr/evr.c
View file @
4abf09f0
...
...
@@ -48,7 +48,7 @@ static void evr_destroy(struct strmbase_renderer *iface)
free
(
filter
);
}
static
HRESULT
WINAPI
evr_DoRenderSample
(
struct
strmbase_renderer
*
iface
,
IMediaSample
*
sample
)
static
HRESULT
evr_render
(
struct
strmbase_renderer
*
iface
,
IMediaSample
*
sample
)
{
FIXME
(
"Not implemented.
\n
"
);
return
E_NOTIMPL
;
...
...
@@ -63,7 +63,7 @@ static HRESULT evr_query_accept(struct strmbase_renderer *iface, const AM_MEDIA_
static
const
struct
strmbase_renderer_ops
renderer_ops
=
{
.
renderer_query_accept
=
evr_query_accept
,
.
pfnDoRenderSample
=
evr_DoRenderSample
,
.
renderer_render
=
evr_render
,
.
renderer_destroy
=
evr_destroy
,
};
...
...
dlls/qedit/nullrenderer.c
View file @
4abf09f0
...
...
@@ -36,7 +36,7 @@ static struct null_renderer *impl_from_strmbase_renderer(struct strmbase_rendere
return
CONTAINING_RECORD
(
iface
,
struct
null_renderer
,
renderer
);
}
static
HRESULT
WINAPI
NullRenderer_DoRenderSample
(
struct
strmbase_renderer
*
iface
,
IMediaSample
*
sample
)
static
HRESULT
null_renderer_render
(
struct
strmbase_renderer
*
iface
,
IMediaSample
*
sample
)
{
return
S_OK
;
}
...
...
@@ -57,7 +57,7 @@ static void null_renderer_destroy(struct strmbase_renderer *iface)
static
const
struct
strmbase_renderer_ops
renderer_ops
=
{
.
renderer_query_accept
=
null_renderer_query_accept
,
.
pfnDoRenderSample
=
NullRenderer_DoRenderSample
,
.
renderer_render
=
null_renderer_render
,
.
renderer_destroy
=
null_renderer_destroy
,
};
...
...
dlls/quartz/videorenderer.c
View file @
4abf09f0
...
...
@@ -79,7 +79,7 @@ static void VideoRenderer_AutoShowWindow(struct video_renderer *This)
ShowWindow
(
This
->
window
.
hwnd
,
SW_SHOW
);
}
static
HRESULT
WINAPI
VideoRenderer_DoRenderSample
(
struct
strmbase_renderer
*
iface
,
IMediaSample
*
pSample
)
static
HRESULT
video_renderer_render
(
struct
strmbase_renderer
*
iface
,
IMediaSample
*
pSample
)
{
struct
video_renderer
*
filter
=
impl_from_strmbase_renderer
(
iface
);
RECT
src
=
filter
->
window
.
src
,
dst
=
filter
->
window
.
dst
;
...
...
@@ -214,7 +214,7 @@ static RECT video_renderer_get_default_rect(struct video_window *iface)
static
const
struct
strmbase_renderer_ops
renderer_ops
=
{
.
renderer_query_accept
=
video_renderer_query_accept
,
.
pfnDoRenderSample
=
VideoRenderer_DoRenderSample
,
.
renderer_render
=
video_renderer_render
,
.
renderer_init_stream
=
video_renderer_init_stream
,
.
renderer_stop_stream
=
video_renderer_stop_stream
,
.
renderer_destroy
=
video_renderer_destroy
,
...
...
dlls/quartz/vmr9.c
View file @
4abf09f0
...
...
@@ -206,7 +206,7 @@ static inline struct quartz_vmr *impl_from_IBaseFilter(IBaseFilter *iface)
return
CONTAINING_RECORD
(
iface
,
struct
quartz_vmr
,
renderer
.
filter
.
IBaseFilter_iface
);
}
static
HRESULT
WINAPI
VMR9_DoRenderSample
(
struct
strmbase_renderer
*
iface
,
IMediaSample
*
sample
)
static
HRESULT
vmr_render
(
struct
strmbase_renderer
*
iface
,
IMediaSample
*
sample
)
{
struct
quartz_vmr
*
filter
=
impl_from_IBaseFilter
(
&
iface
->
filter
.
IBaseFilter_iface
);
unsigned
int
data_size
,
width
,
depth
,
src_pitch
;
...
...
@@ -638,7 +638,7 @@ static HRESULT vmr_pin_query_interface(struct strmbase_renderer *iface, REFIID i
static
const
struct
strmbase_renderer_ops
renderer_ops
=
{
.
renderer_query_accept
=
vmr_query_accept
,
.
pfnDoRenderSample
=
VMR9_DoRenderSample
,
.
renderer_render
=
vmr_render
,
.
renderer_init_stream
=
vmr_init_stream
,
.
renderer_start_stream
=
vmr_start_stream
,
.
renderer_stop_stream
=
vmr_stop_stream
,
...
...
dlls/strmbase/renderer.c
View file @
4abf09f0
...
...
@@ -361,7 +361,7 @@ static HRESULT WINAPI BaseRenderer_Receive(struct strmbase_sink *pin, IMediaSamp
filter
->
current_sample
=
sample
;
hr
=
filter
->
pFuncsTable
->
pfnDoRenderSample
(
filter
,
sample
);
hr
=
filter
->
pFuncsTable
->
renderer_render
(
filter
,
sample
);
SetEvent
(
filter
->
state_event
);
LeaveCriticalSection
(
&
filter
->
filter
.
stream_cs
);
...
...
@@ -401,14 +401,14 @@ static HRESULT WINAPI BaseRenderer_Receive(struct strmbase_sink *pin, IMediaSamp
}
if
(
state
==
State_Running
)
hr
=
filter
->
pFuncsTable
->
pfnDoRenderSample
(
filter
,
sample
);
hr
=
filter
->
pFuncsTable
->
renderer_render
(
filter
,
sample
);
perform_qos
(
filter
,
start
,
stop
,
jitter
);
}
else
{
if
(
state
==
State_Running
)
hr
=
filter
->
pFuncsTable
->
pfnDoRenderSample
(
filter
,
sample
);
hr
=
filter
->
pFuncsTable
->
renderer_render
(
filter
,
sample
);
}
return
hr
;
...
...
include/wine/strmbase.h
View file @
4abf09f0
...
...
@@ -305,13 +305,12 @@ struct strmbase_renderer
BOOL
eos
;
};
typedef
HRESULT
(
WINAPI
*
BaseRenderer_DoRenderSample
)(
struct
strmbase_renderer
*
iface
,
IMediaSample
*
sample
);
typedef
HRESULT
(
WINAPI
*
BaseRenderer_BreakConnect
)
(
struct
strmbase_renderer
*
iface
);
struct
strmbase_renderer_ops
{
HRESULT
(
*
renderer_query_accept
)(
struct
strmbase_renderer
*
iface
,
const
AM_MEDIA_TYPE
*
mt
);
BaseRenderer_DoRenderSample
pfnDoRenderSample
;
HRESULT
(
*
renderer_render
)(
struct
strmbase_renderer
*
iface
,
IMediaSample
*
sample
)
;
void
(
*
renderer_init_stream
)(
struct
strmbase_renderer
*
iface
);
void
(
*
renderer_start_stream
)(
struct
strmbase_renderer
*
iface
);
void
(
*
renderer_stop_stream
)(
struct
strmbase_renderer
*
iface
);
...
...
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