Zebediah Figura
5757a07fc2
strmbase: Add a callback to expose renderer pin interfaces.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-03 00:37:35 +02:00
Zebediah Figura
c7a447b67a
strmbase: Rename "pConnectedTo" to "peer".
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-27 13:26:52 +02:00
Zebediah Figura
71fdcf3ba8
qcap: Use BasePinImpl_QueryInterface().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-26 10:24:26 +02:00
Zebediah Figura
fa280172e8
strmbase: Introduce BasePinImpl_QueryInterface().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-26 10:24:07 +02:00
Zebediah Figura
b0e47ab9e7
strmbase: Pass an unsigned index to pin_get_media_type().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-25 16:27:57 +02:00
Zebediah Figura
f46fe6d371
strmbase: Rename pfnGetMediaType() to pin_get_media_type().
...
And remove the unnecessary calling convention.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-25 16:27:54 +02:00
Zebediah Figura
9f1909be89
strmbase: Rename pfnCheckMediaType() to pin_query_accept().
...
And remove the unnecessary calling convention.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-25 16:27:51 +02:00
Zebediah Figura
8619eb9838
strmbase: Get rid of the BasePin typedef.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-24 09:08:20 +02:00
Zebediah Figura
b68498c875
strmbase: Don't expose EnumMediaTypes_Construct().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-24 09:08:03 +02:00
Zebediah Figura
765cb748a8
strmbase: Get rid of the BaseOutputPinFuncTable typedef.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-13 10:37:49 +02:00
Zebediah Figura
c585931d61
strmbase: Get rid of the BaseOutputPin typedef.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-13 10:37:37 +02:00
Zebediah Figura
aa88c5d65b
strmbase: Get rid of the "pCritSec" member of BasePin.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-06 13:07:22 +02:00
Zebediah Figura
28a511554c
strmbase: Store the filter as a strmbase_filter pointer in the BasePin structure.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-06 13:07:16 +02:00
Zebediah Figura
0a10566061
strmbase: Get rid of the no longer used pin constructor and destructor helpers.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-06 13:07:04 +02:00
Zebediah Figura
eeb7bc58aa
strmbase: Get rid of the BaseFilter typedef.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-29 20:08:14 +02:00
Zebediah Figura
cfe3b05c83
strmbase: Get rid of the BaseFilterFuncTable typedef.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-29 20:08:14 +02:00
Zebediah Figura
1317102f6c
strmbase: Get rid of the "debug_info" parameter to strmbase_filter_init().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-28 08:44:35 +02:00
Zebediah Figura
444f9b7ba2
strmbase: Rename pfnOnStopStreaming to renderer_stop_stream.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-03 10:56:03 +02:00
Zebediah Figura
fa5c24e933
strmbase: Rename pfnOnStartStreaming to renderer_start_stream.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-03 10:56:00 +02:00
Zebediah Figura
48b475ad00
strmbase: Remove several unused callbacks.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-03 10:55:57 +02:00
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
Aric Stewart
7d5c4ec1f8
strmbase: Have BaseControlVideo use BaseDispatch.
2012-04-20 19:15:11 +02:00
Aric Stewart
c7b12c10d8
strmbase: Have BaseControlWindow use BaseDispatch.
2012-04-20 19:15:08 +02:00
Aric Stewart
a37d4b79ab
strmbase: Implement BaseDispatch.
2012-04-20 19:15:02 +02:00
Aric Stewart
56477075c2
strmbase: Remove QualityControlImpl from the general strmbase.h.
...
Quality Control things are not part of the standard strmbase library set.
2012-04-03 12:19:17 +02:00
Aric Stewart
54eafc73e5
strmbase: Implement renderer quality control into the base renderer.
2012-04-03 12:10:33 +02:00
Aric Stewart
e1a72011e5
strmbase: More additions to BaseRenderer for video renderers.
2012-04-02 14:01:41 +02:00
Aric Stewart
662220f77f
strmbase: Expand BaseRenderer implementation.
2012-04-02 14:01:23 +02:00
Aric Stewart
eccd9770cc
strmbase: Basic BaseRenderer implementation.
2012-03-29 20:49:16 +02:00
Aric Stewart
4ae6f928aa
strmbase: Implement BaseControlVideo.
2012-03-29 20:49:16 +02:00
Aric Stewart
73efbff484
strmbase: Implement BaseControlWindow.
2012-03-29 20:49:15 +02:00
Aric Stewart
a179b50c9b
strmbase: Add beginnings of BaseWindow.
2012-03-28 19:05:06 +02:00
Aric Stewart
d3c5b2c4f1
strmbase: COM cleanup for cleanup SourceSeeking.
2012-03-26 18:15:50 +02:00
Aric Stewart
eb5d8b969f
strmbase: COM cleanup for BasePin, BaseInputPin, and BaseOutputPin.
2012-03-26 18:15:49 +02:00
Aric Stewart
29d3c75442
strmbase: COM cleanup for BaseFilter.
2012-03-26 18:15:48 +02:00
Aric Stewart
cdf9c4f223
strmbase: Rename MediaSeekingPassThru to RendererPosPassThru to match standard strmbase naming.
2012-03-15 19:50:39 +01:00
Aric Stewart
026037ab69
strmbase: Move the MediaSeekingPassThru functions from quartz into strmbase.
2012-03-15 19:49:21 +01:00
Aric Stewart
b32b1a924e
strmbase: In the TransformFilter add a critical section that protects the streaming state.
2012-01-17 11:49:28 +01:00
Aric Stewart
ed71339d17
strmbase: Add OutputQueue_EOS implementation.
2011-04-06 12:05:08 +02:00
Aric Stewart
928994d986
strmbase: Create OutputQueue for queuing outgoing samples.
2011-04-06 12:05:08 +02:00
Maarten Lankhorst
95897b6819
strmbase: Add support for rendering algorithms to quality control.
2010-11-10 12:16:09 +01:00
Maarten Lankhorst
5955a349c6
strmbase: Add support for IQualityControl to transform filter.
2010-11-08 13:30:27 +01:00
Maarten Lankhorst
0a4ee68168
strmbase: Add support for IQualityControl.
2010-11-08 13:30:26 +01:00
Michael Stefaniuc
ac45ab3d8f
strmbase: Remove duplicate 'const' in strmbase.h.
2010-11-03 11:08:55 +01:00
Aric Stewart
7e8751b2e1
strmbase: More properly standardized pin implementations for NewSegment.
2010-11-01 14:53:29 +01:00
Aric Stewart
2c3bc2cf56
strmbase: Implement STRMBASE_DllGetClassObject and STRMBASE_DllCanUnloadNow.
2010-10-20 18:37:09 +02:00
Aric Stewart
58468ef152
strmbase: Define STRMBASE_DllMain.
2010-10-20 18:37:09 +02:00
Aric Stewart
6a00d78b39
strmbase: Begin implementations of AMovieDllRegisterServer2 and AMovieSetupRegisterFilter2.
2010-10-20 18:37:09 +02:00
Aric Stewart
60bf76db9a
strmbase: Remove non-standard custom allocator logic from strmbase.
...
Implement function overrides for parser.c where a custom allocator was needed.
2010-10-14 17:54:52 +02:00
Aric Stewart
7602829c4f
strmbase: Add GetMediaType and GetMediaTypeVersion to BasePin function table.
...
Allows for more widespread use of the BasePinImpl version of EnumMediaTypes.
2010-10-14 17:54:51 +02:00
Aric Stewart
3c2dfd186a
strmbase: Standardize "class" function into functions tables in the structs.
...
This allows the standardization of the "class" functions to use the
class as the argument and will aid in expanding the implementation of
these functions.
2010-10-14 17:54:51 +02:00