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
8a8c5a82
Commit
8a8c5a82
authored
May 23, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
May 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strmbase: Rename pfnGetPin to filter_get_pin.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
97546ca0
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
33 additions
and
35 deletions
+33
-35
evr.c
dlls/evr/evr.c
+2
-2
audiorecord.c
dlls/qcap/audiorecord.c
+2
-2
avico.c
dlls/qcap/avico.c
+2
-2
avimux.c
dlls/qcap/avimux.c
+2
-2
smartteefilter.c
dlls/qcap/smartteefilter.c
+2
-2
vfwcapture.c
dlls/qcap/vfwcapture.c
+2
-2
samplegrabber.c
dlls/qedit/samplegrabber.c
+2
-2
filesource.c
dlls/quartz/filesource.c
+2
-2
parser.c
dlls/quartz/parser.c
+2
-2
enumpins.c
dlls/strmbase/enumpins.c
+3
-3
filter.c
dlls/strmbase/filter.c
+1
-1
renderer.c
dlls/strmbase/renderer.c
+2
-2
transform.c
dlls/strmbase/transform.c
+2
-2
gstdemux.c
dlls/winegstreamer/gstdemux.c
+2
-2
qtsplitter.c
dlls/wineqtdecoder/qtsplitter.c
+2
-2
strmbase.h
include/wine/strmbase.h
+3
-5
No files found.
dlls/evr/evr.c
View file @
8a8c5a82
...
...
@@ -191,7 +191,7 @@ static const IBaseFilterVtbl basefilter_vtbl =
BaseFilterImpl_QueryVendorInfo
};
static
IPin
*
WINAPI
filter_GetP
in
(
BaseFilter
*
iface
,
unsigned
int
index
)
static
IPin
*
WINAPI
evr_get_p
in
(
BaseFilter
*
iface
,
unsigned
int
index
)
{
FIXME
(
"iface %p, index %u, stub!
\n
"
,
iface
,
index
);
return
NULL
;
...
...
@@ -199,7 +199,7 @@ static IPin * WINAPI filter_GetPin(BaseFilter *iface, unsigned int index)
static
const
BaseFilterFuncTable
basefilter_functable
=
{
filter_GetP
in
,
.
filter_get_pin
=
evr_get_p
in
,
};
HRESULT
evr_filter_create
(
IUnknown
*
outer_unk
,
void
**
ppv
)
...
...
dlls/qcap/audiorecord.c
View file @
8a8c5a82
...
...
@@ -171,14 +171,14 @@ static const IBaseFilterVtbl AudioRecordVtbl = {
BaseFilterImpl_QueryVendorInfo
};
static
IPin
*
WINAPI
AudioRecord_GetP
in
(
BaseFilter
*
iface
,
unsigned
int
index
)
static
IPin
*
WINAPI
audio_record_get_p
in
(
BaseFilter
*
iface
,
unsigned
int
index
)
{
FIXME
(
"iface %p, index %u, stub!
\n
"
,
iface
,
index
);
return
NULL
;
}
static
const
BaseFilterFuncTable
AudioRecordFuncs
=
{
AudioRecord_GetP
in
,
.
filter_get_pin
=
audio_record_get_p
in
,
};
static
HRESULT
WINAPI
PPB_QueryInterface
(
IPersistPropertyBag
*
iface
,
REFIID
riid
,
LPVOID
*
ppv
)
...
...
dlls/qcap/avico.c
View file @
8a8c5a82
...
...
@@ -244,7 +244,7 @@ static const IBaseFilterVtbl AVICompressorVtbl = {
AVICompressor_QueryVendorInfo
};
static
IPin
*
WINAPI
AVICompressor_GetP
in
(
BaseFilter
*
iface
,
unsigned
int
index
)
static
IPin
*
WINAPI
avi_compressor_get_p
in
(
BaseFilter
*
iface
,
unsigned
int
index
)
{
AVICompressor
*
This
=
impl_from_BaseFilter
(
iface
);
IPin
*
ret
;
...
...
@@ -261,7 +261,7 @@ static IPin * WINAPI AVICompressor_GetPin(BaseFilter *iface, unsigned int index)
}
static
const
BaseFilterFuncTable
filter_func_table
=
{
AVICompressor_GetP
in
,
.
filter_get_pin
=
avi_compressor_get_p
in
,
};
static
AVICompressor
*
impl_from_IPersistPropertyBag
(
IPersistPropertyBag
*
iface
)
...
...
dlls/qcap/avimux.c
View file @
8a8c5a82
...
...
@@ -116,7 +116,7 @@ static inline AviMux* impl_from_BaseFilter(BaseFilter *filter)
return
CONTAINING_RECORD
(
filter
,
AviMux
,
filter
);
}
static
IPin
*
WINAPI
AviMux_GetP
in
(
BaseFilter
*
iface
,
unsigned
int
index
)
static
IPin
*
WINAPI
avi_mux_get_p
in
(
BaseFilter
*
iface
,
unsigned
int
index
)
{
AviMux
*
This
=
impl_from_BaseFilter
(
iface
);
...
...
@@ -135,7 +135,7 @@ static IPin * WINAPI AviMux_GetPin(BaseFilter *iface, unsigned int index)
}
static
const
BaseFilterFuncTable
filter_func_table
=
{
AviMux_GetP
in
,
.
filter_get_pin
=
avi_mux_get_p
in
,
};
static
inline
AviMux
*
impl_from_IBaseFilter
(
IBaseFilter
*
iface
)
...
...
dlls/qcap/smartteefilter.c
View file @
8a8c5a82
...
...
@@ -199,7 +199,7 @@ static const IBaseFilterVtbl SmartTeeFilterVtbl = {
BaseFilterImpl_QueryVendorInfo
};
static
IPin
*
WINAPI
SmartTeeFilter_GetP
in
(
BaseFilter
*
iface
,
unsigned
int
index
)
static
IPin
*
WINAPI
smart_tee_get_p
in
(
BaseFilter
*
iface
,
unsigned
int
index
)
{
SmartTeeFilter
*
This
=
impl_from_BaseFilter
(
iface
);
IPin
*
ret
;
...
...
@@ -218,7 +218,7 @@ static IPin * WINAPI SmartTeeFilter_GetPin(BaseFilter *iface, unsigned int index
}
static
const
BaseFilterFuncTable
SmartTeeFilterFuncs
=
{
SmartTeeFilter_GetP
in
,
.
filter_get_pin
=
smart_tee_get_p
in
,
};
static
ULONG
WINAPI
SmartTeeFilterInput_AddRef
(
IPin
*
iface
)
...
...
dlls/qcap/vfwcapture.c
View file @
8a8c5a82
...
...
@@ -192,7 +192,7 @@ static const IUnknownVtbl unknown_inner_vtbl =
unknown_inner_Release
,
};
static
IPin
*
WINAPI
VfwCapture_GetP
in
(
BaseFilter
*
iface
,
unsigned
int
index
)
static
IPin
*
WINAPI
vfw_capture_get_p
in
(
BaseFilter
*
iface
,
unsigned
int
index
)
{
VfwCapture
*
This
=
impl_from_BaseFilter
(
iface
);
...
...
@@ -204,7 +204,7 @@ static IPin * WINAPI VfwCapture_GetPin(BaseFilter *iface, unsigned int index)
}
static
const
BaseFilterFuncTable
BaseFuncTable
=
{
VfwCapture_GetP
in
,
.
filter_get_pin
=
vfw_capture_get_p
in
,
};
IUnknown
*
WINAPI
QCAP_createVFWCaptureFilter
(
IUnknown
*
pUnkOuter
,
HRESULT
*
phr
)
...
...
dlls/qedit/samplegrabber.c
View file @
8a8c5a82
...
...
@@ -339,7 +339,7 @@ static const IUnknownVtbl samplegrabber_vtbl =
SampleGrabber_Release
,
};
static
IPin
*
WINAPI
SampleGrabber_GetP
in
(
BaseFilter
*
iface
,
unsigned
int
index
)
static
IPin
*
WINAPI
sample_grabber_get_p
in
(
BaseFilter
*
iface
,
unsigned
int
index
)
{
SG_Impl
*
This
=
impl_from_BaseFilter
(
iface
);
IPin
*
pin
;
...
...
@@ -356,7 +356,7 @@ static IPin * WINAPI SampleGrabber_GetPin(BaseFilter *iface, unsigned int index)
}
static
const
BaseFilterFuncTable
basefunc_vtbl
=
{
SampleGrabber_GetP
in
,
.
filter_get_pin
=
sample_grabber_get_p
in
,
};
/* Helper that buffers data and/or calls installed sample callbacks */
...
...
dlls/quartz/filesource.c
View file @
8a8c5a82
...
...
@@ -392,7 +392,7 @@ HRESULT GetClassMediaFile(IAsyncReader * pReader, LPCOLESTR pszFileName, GUID *
return
hr
;
}
static
IPin
*
WINAPI
AsyncReader_GetP
in
(
BaseFilter
*
iface
,
unsigned
int
index
)
static
IPin
*
WINAPI
async_reader_get_p
in
(
BaseFilter
*
iface
,
unsigned
int
index
)
{
AsyncReader
*
This
=
impl_from_BaseFilter
(
iface
);
...
...
@@ -404,7 +404,7 @@ static IPin * WINAPI AsyncReader_GetPin(BaseFilter *iface, unsigned int index)
}
static
const
BaseFilterFuncTable
BaseFuncTable
=
{
AsyncReader_GetP
in
,
.
filter_get_pin
=
async_reader_get_p
in
,
};
HRESULT
AsyncReader_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppv
)
...
...
dlls/quartz/parser.c
View file @
8a8c5a82
...
...
@@ -62,7 +62,7 @@ static inline ParserImpl *impl_from_BaseFilter( BaseFilter *iface )
return
CONTAINING_RECORD
(
iface
,
ParserImpl
,
filter
);
}
static
IPin
*
WINAPI
Parser_GetP
in
(
BaseFilter
*
iface
,
unsigned
int
index
)
static
IPin
*
WINAPI
parser_get_p
in
(
BaseFilter
*
iface
,
unsigned
int
index
)
{
ParserImpl
*
filter
=
impl_from_BaseFilter
(
iface
);
...
...
@@ -74,7 +74,7 @@ static IPin * WINAPI Parser_GetPin(BaseFilter *iface, unsigned int index)
}
static
const
BaseFilterFuncTable
BaseFuncTable
=
{
Parser_GetP
in
,
.
filter_get_pin
=
parser_get_p
in
,
};
HRESULT
Parser_Create
(
ParserImpl
*
pParser
,
const
IBaseFilterVtbl
*
Parser_Vtbl
,
...
...
dlls/strmbase/enumpins.c
View file @
8a8c5a82
...
...
@@ -59,7 +59,7 @@ HRESULT enum_pins_create(BaseFilter *base, IEnumPins **out)
IBaseFilter_AddRef
(
&
base
->
IBaseFilter_iface
);
object
->
Version
=
base
->
pin_version
;
while
((
pin
=
base
->
pFuncsTable
->
pfnGetP
in
(
base
,
object
->
count
)))
while
((
pin
=
base
->
pFuncsTable
->
filter_get_p
in
(
base
,
object
->
count
)))
{
IPin_Release
(
pin
);
++
object
->
count
;
...
...
@@ -141,7 +141,7 @@ static HRESULT WINAPI IEnumPinsImpl_Next(IEnumPins * iface, ULONG cPins, IPin **
while
(
i
<
cPins
)
{
IPin
*
pin
;
pin
=
This
->
base
->
pFuncsTable
->
pfnGetP
in
(
This
->
base
,
This
->
uIndex
+
i
);
pin
=
This
->
base
->
pFuncsTable
->
filter_get_p
in
(
This
->
base
,
This
->
uIndex
+
i
);
if
(
!
pin
)
break
;
...
...
@@ -185,7 +185,7 @@ static HRESULT WINAPI IEnumPinsImpl_Reset(IEnumPins *iface)
if
(
enum_pins
->
Version
!=
enum_pins
->
base
->
pin_version
)
{
enum_pins
->
count
=
0
;
while
((
pin
=
enum_pins
->
base
->
pFuncsTable
->
pfnGetP
in
(
enum_pins
->
base
,
enum_pins
->
count
)))
while
((
pin
=
enum_pins
->
base
->
pFuncsTable
->
filter_get_p
in
(
enum_pins
->
base
,
enum_pins
->
count
)))
{
IPin_Release
(
pin
);
++
enum_pins
->
count
;
...
...
dlls/strmbase/filter.c
View file @
8a8c5a82
...
...
@@ -144,7 +144,7 @@ HRESULT WINAPI BaseFilterImpl_FindPin(IBaseFilter *iface, const WCHAR *id, IPin
TRACE
(
"(%p)->(%s, %p)
\n
"
,
This
,
debugstr_w
(
id
),
ret
);
for
(
i
=
0
;
(
pin
=
This
->
pFuncsTable
->
pfnGetP
in
(
This
,
i
));
++
i
)
for
(
i
=
0
;
(
pin
=
This
->
pFuncsTable
->
filter_get_p
in
(
This
,
i
));
++
i
)
{
hr
=
IPin_QueryPinInfo
(
pin
,
&
info
);
if
(
FAILED
(
hr
))
...
...
dlls/strmbase/renderer.c
View file @
8a8c5a82
...
...
@@ -183,7 +183,7 @@ static const IPinVtbl BaseRenderer_InputPin_Vtbl =
BaseInputPinImpl_NewSegment
};
static
IPin
*
WINAPI
BaseRenderer_GetP
in
(
BaseFilter
*
iface
,
unsigned
int
index
)
static
IPin
*
WINAPI
renderer_get_p
in
(
BaseFilter
*
iface
,
unsigned
int
index
)
{
BaseRenderer
*
This
=
impl_from_BaseFilter
(
iface
);
...
...
@@ -207,7 +207,7 @@ static HRESULT WINAPI BaseRenderer_Receive(BaseInputPin *pin, IMediaSample * pSa
}
static
const
BaseFilterFuncTable
RendererBaseFilterFuncTable
=
{
BaseRenderer_GetP
in
,
.
filter_get_pin
=
renderer_get_p
in
,
};
static
const
BaseInputPinFuncTable
input_BaseInputFuncTable
=
{
...
...
dlls/strmbase/transform.c
View file @
8a8c5a82
...
...
@@ -128,7 +128,7 @@ static HRESULT WINAPI TransformFilter_Output_GetMediaType(BasePin *This, int iPo
return
S_OK
;
}
static
IPin
*
WINAPI
TransformFilter_GetP
in
(
BaseFilter
*
iface
,
unsigned
int
index
)
static
IPin
*
WINAPI
transform_get_p
in
(
BaseFilter
*
iface
,
unsigned
int
index
)
{
TransformFilter
*
filter
=
impl_from_BaseFilter
(
iface
);
...
...
@@ -140,7 +140,7 @@ static IPin *WINAPI TransformFilter_GetPin(BaseFilter *iface, unsigned int index
}
static
const
BaseFilterFuncTable
tfBaseFuncTable
=
{
TransformFilter_GetP
in
,
.
filter_get_pin
=
transform_get_p
in
,
};
static
const
BaseInputPinFuncTable
tf_input_BaseInputFuncTable
=
{
...
...
dlls/winegstreamer/gstdemux.c
View file @
8a8c5a82
...
...
@@ -1196,7 +1196,7 @@ static inline GSTOutPin *impl_from_IMediaSeeking( IMediaSeeking *iface )
return
CONTAINING_RECORD
(
iface
,
GSTOutPin
,
seek
.
IMediaSeeking_iface
);
}
static
IPin
*
WINAPI
GST_GetP
in
(
BaseFilter
*
base
,
unsigned
int
index
)
static
IPin
*
WINAPI
gstdemux_get_p
in
(
BaseFilter
*
base
,
unsigned
int
index
)
{
GSTImpl
*
This
=
impl_from_IBaseFilter
(
&
base
->
IBaseFilter_iface
);
IPin
*
pin
;
...
...
@@ -1214,7 +1214,7 @@ static IPin* WINAPI GST_GetPin(BaseFilter *base, unsigned int index)
}
static
const
BaseFilterFuncTable
BaseFuncTable
=
{
GST_GetP
in
,
.
filter_get_pin
=
gstdemux_get_p
in
,
};
IUnknown
*
CALLBACK
Gstreamer_Splitter_create
(
IUnknown
*
pUnkOuter
,
HRESULT
*
phr
)
...
...
dlls/wineqtdecoder/qtsplitter.c
View file @
8a8c5a82
...
...
@@ -202,7 +202,7 @@ static inline QTSplitter *impl_from_IBaseFilter( IBaseFilter *iface )
* Base Filter
*/
static
IPin
*
WINAPI
QT_GetP
in
(
BaseFilter
*
base
,
unsigned
int
index
)
static
IPin
*
WINAPI
qt_splitter_get_p
in
(
BaseFilter
*
base
,
unsigned
int
index
)
{
QTSplitter
*
filter
=
impl_from_BaseFilter
(
base
);
...
...
@@ -234,7 +234,7 @@ static IPin * WINAPI QT_GetPin(BaseFilter *base, unsigned int index)
}
static
const
BaseFilterFuncTable
BaseFuncTable
=
{
QT_GetP
in
,
.
filter_get_pin
=
qt_splitter_get_p
in
,
};
IUnknown
*
CALLBACK
QTSplitter_create
(
IUnknown
*
punkout
,
HRESULT
*
phr
)
...
...
include/wine/strmbase.h
View file @
8a8c5a82
...
...
@@ -168,11 +168,9 @@ typedef struct BaseFilter
const
struct
BaseFilterFuncTable
*
pFuncsTable
;
}
BaseFilter
;
typedef
IPin
*
(
WINAPI
*
BaseFilter_GetPin
)(
BaseFilter
*
iface
,
unsigned
int
index
);
typedef
struct
BaseFilterFuncTable
{
/* Required */
BaseFilter_GetPin
pfnGetPin
;
typedef
struct
BaseFilterFuncTable
{
IPin
*
(
WINAPI
*
filter_get_pin
)(
BaseFilter
*
iface
,
unsigned
int
index
);
}
BaseFilterFuncTable
;
HRESULT
WINAPI
BaseFilterImpl_QueryInterface
(
IBaseFilter
*
iface
,
REFIID
riid
,
LPVOID
*
ppv
);
...
...
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