Zebediah Figura
881f938067
strmbase: Split RenderEvent into separate events for advising and flushing.
...
While it's certainly possible to use one event for both purposes, it's a
little less clear, and it makes it a little more difficult to do other waits
that need to be interrupted by flushing. For example, the video renderer
should block in Receive() after rendering the sample until the filter is run.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 10:00:29 +02:00
Zebediah Figura
659b93c7da
strmbase: Rename "evComplete" to "state_event" for clarity.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 10:00:29 +02:00
Zebediah Figura
ac10f3de1f
strmbase: Remove unused "ThreadSignal" event.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 10:00:29 +02:00
Zebediah Figura
0791cfb096
strmbase: Add default implementations of filter state change methods.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-24 10:08:30 +02:00
Zebediah Figura
b583452af3
strmbase/renderer: Store the sink pin inline in the BaseRenderer structure.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-21 08:06:06 +02:00
Zebediah Figura
2d5c9d0666
strmbase/transform: Store the pins inline in the TransformFilter structure.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-21 08:06:00 +02:00
Zebediah Figura
42b3fd84bb
strmbase: Share pin and filter reference counts in base pin reference counting methods.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-19 10:26:21 +02:00
Zebediah Figura
17b118a09f
qcap/avico: Store the source pin inline in the AviCompressor structure.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-14 09:16:19 +02:00
Zebediah Figura
f2206d3db6
qcap/avico: Store the sink pin inline in the AviCompressor structure.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-13 20:55:35 +02:00
Zebediah Figura
89cf4cba6e
strmbase: Add default implementations of IUnknown methods for IVideoWindow.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-12 16:11:01 +02:00
Zebediah Figura
fbd9133ee5
strmbase: Get rid of the "lpVtbl" parameter to BaseControlVideo_Init().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-12 16:10:57 +02:00
Zebediah Figura
96b6f0e1d6
strmbase: Add default implementations of IUnknown methods for IBasicVideo.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-12 16:10:47 +02:00
Zebediah Figura
0ce5ab71b0
strmbase: Get rid of base IDispatch implementation.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-10 12:26:07 +02:00
Zebediah Figura
ea0dfa7934
strmbase: Get rid of IBasicAudio implementation.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-10 12:26:05 +02:00
Zebediah Figura
fad521f525
strmbase: Use the type info cache for IVideoWindow.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-10 12:25:54 +02:00
Zebediah Figura
384d3a45ab
strmbase: Add a cached implementation of IDispatch and use it in IBasicVideo.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-10 12:25:49 +02:00
Zebediah Figura
f500b1dc19
strmbase: Support aggregation in the base transform filter.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-06 17:40:44 +02:00
Zebediah Figura
0d0f1e0ff7
strmbase: Get rid of BaseRendererImpl_QueryInterface().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-06 17:40:42 +02:00
Zebediah Figura
31a5cb5f05
strmbase: Support aggregation in the base filter.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-04 23:05:25 +02:00
Zebediah Figura
d930dff4a8
strmbase/renderer: Add a QueryInterface() callback.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-31 10:10:22 +02:00
Zebediah Figura
4b839bdd6a
strmbase: Reimplement BaseFilterImpl_QueryInterface() using a callback.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 20:20:09 +02:00
Zebediah Figura
1296526450
strmbase/renderer: Add a destructor callback.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-28 12:06:45 +02:00
Zebediah Figura
3c98e11b60
strmbase: Reimplement BaseFilterImpl_Release() using a destructor callback.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-24 11:25:35 +02:00
Zebediah Figura
1fc5c6b75d
strmbase: Remove unnecessary calling convention from the filter_get_pin() callback.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-24 11:25:35 +02:00
Zebediah Figura
8a8c5a8229
strmbase: Rename pfnGetPin to filter_get_pin.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-24 11:25:35 +02:00
Zebediah Figura
97546ca0b7
strmbase: Use an unsigned int for the GetPin() callback.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-24 11:25:35 +02:00
Zebediah Figura
347fdce0ad
strmbase: Return void from strmbase_filter_cleanup().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-22 09:27:41 +02:00
Zebediah Figura
43444f4096
strmbase: Rename BaseFilter_Destroy() to strmbase_filter_cleanup().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-22 09:27:19 +02:00
Zebediah Figura
17ab5f977d
strmbase: Get rid of BaseRendererImpl_Release().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 10:00:42 +02:00
Zebediah Figura
9ff3db5247
strmbase: Factor out strmbase_renderer_cleanup().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 10:00:29 +02:00
Zebediah Figura
0f9e4cd660
strmbase: Get rid of the "filterVtbl" parameter to TransformFilter_Construct().
...
Reordering some functions to avoid forward declarations.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-15 09:36:15 +02:00
Zebediah Figura
38726831c4
strmbase: Return void from BaseFilter_Init().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-15 09:36:08 +02:00
Zebediah Figura
dad885e2b9
strmbase: Get rid of the "pfnGetPinCount" callback.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 10:29:15 +02:00
Zebediah Figura
a95c1f300e
strmbase: Remove function pointers from the IEnumPinsImpl structure.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 10:29:07 +02:00
Zebediah Figura
df05902b96
strmbase: Get rid of the "pfnBreakConnect" field from BaseOutputPinFuncTable.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-13 12:48:18 +02:00
Zebediah Figura
9be7995448
strmbase: Get rid of the "pfnGetMediaTypeVersion" callback.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-10 16:04:25 +02:00
Zebediah Figura
7e6ab5e53c
strmbase: Move "AttemptConnection" to the base source pin function table.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-10 15:54:15 +02:00
Zebediah Figura
e48559b2bf
strmbase: Move some internal definitions to strmbase_private.h.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-10 15:54:15 +02:00
Zebediah Figura
4f16a137da
strmbase: Correct pin IDs for renderers.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 10:53:40 +01:00
Zebediah Figura
1cabe7e4a3
strmbase/transform: Get rid of superfluous npins field.
...
Also return the correct number of pins in TransformFilter_GetPinCount().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-06 10:06:23 +01:00
Zebediah Figura
d69a26b21b
strmbase: Use CBaseFilter::FindPin().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-06 19:44:27 +02:00
Zebediah Figura
5b9ae5ad8d
strmbase: Implement CBaseFilter::FindPin().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-04 14:56:21 +02:00
Nikolay Sivov
89763f0e95
strmbase: Allocate sample list as a part of queue structure.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-25 19:50:19 +01:00
Thomas Faber
4ea1f35777
strmbase: Separate BasePin destructors from Release.
2014-07-28 17:23:06 -05:00
Thomas Faber
992f5345ed
strmbase: Separate BaseFilter destructor from Release.
2014-07-21 11:49:53 +02:00
Jacek Caban
289bdc4f45
strmbase: Store BasePinFuncTable inside Base*PinFuncTable structs.
2014-01-06 20:47:02 +01:00
Piotr Caban
5c8339df4a
strmbase: Add structure size parameter in BaseInputPin_Construct function.
2013-11-25 16:28:14 +01:00
Alessandro Pignotti
f53fa4f05b
strmbase: Remove code duplicated by every user of ISeekingPassThruImpl.
2013-03-05 09:50:02 +01:00
Damjan Jovanovic
7f767bb195
strmbase: Store and use the chosen IMemAllocator instead of getting it from the input pin.
2013-01-15 12:18:04 +01:00
Aric Stewart
a01d6be69f
strmbase: Implement BasicAudio.
2012-04-30 11:00:20 +02:00