Commit Graph

68 Commits

Author SHA1 Message Date
Zebediah Figura 1f1f417791 quartz/acmwrapper: Get rid of the ACMWrapperImpl typedef.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-01 10:22:09 +02:00
Zebediah Figura f27030f1f6 quartz/acmwrapper: Use the strmbase_passthrough object directly.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-30 12:09:09 +02:00
Zebediah Figura cb3dc98928 quartz: Implement proper DLL refcounting.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48734
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-13 09:42:49 +01:00
Zebediah Figura 56a6bc87ac quartz: Pass an IUnknown pointer to the object creation functions.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-12 10:12:03 +01:00
Zebediah Figura 1ac3fe36c2 quartz/acmwrapper: Reimplement the ACM wrapper directly on top of strmbase_filter.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-11 15:55:51 +01:00
Zebediah Figura eea01d8e8b quartz: Introduce a helper to trace reference time.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-31 10:19:19 +01:00
Zebediah Figura 264c539ed6 strmbase: Combine the SetMediaType() and CompleteConnect() callbacks.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-10 20:59:19 +01:00
Zebediah Figura 3a7f54947e strmbase/transform: Hold the streaming lock for the entirety of Receive().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-02 10:42:10 +01:00
Zebediah Figura 66eb752fe5 quartz/acmwrapper: Don't drop the "csReceive" mutex while calling IMemInputPin::Receive().
There's no reason to do this, and there may never have been.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-25 20:47:43 +01:00
Zebediah Figura 5cfdf95022 quartz/acmwrapper: Call IMemInputPin::Receive() directly.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-25 20:47:43 +01:00
Zebediah Figura d44d83b684 quartz: Get rid of the no longer used base parser.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-23 10:10:08 +02:00
Zebediah Figura fb504baaa8 strmbase: Build with msvcrt.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-05 18:49:31 +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 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 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 d88218324b quartz: 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
Sebastian Lackner f9663af1f4 quartz: Fix use of CONTAINING_RECORD in impl_from_TransformFilter.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-28 18:41:01 +09:00
Sebastian Lackner 2e6ff19e0e quartz: Distinguish interface pointer and implementation pointer in multiple interfaces. 2015-06-26 20:35:05 +09:00
André Hentschel bf12844bf1 quartz: Remove unused code (Clang). 2014-12-02 10:48:37 +01:00
Alessandro Pignotti f53fa4f05b strmbase: Remove code duplicated by every user of ISeekingPassThruImpl. 2013-03-05 09:50:02 +01:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Aric Stewart c6289fecec quartz: COM cleanup in ACMWrapperImpl. 2012-04-02 14:00:36 +02:00
Aric Stewart da0650a209 quartz: Use the csReceive critical sections in transform filters. 2012-01-23 17:05:12 +01:00
Marcus Meissner 3f42609042 quartz: Removed useless NULL check (Coverity). 2011-06-27 13:27:24 -05:00
Francois Gouget 78c605c3c9 quartz: Make some functions static. 2011-03-16 14:14:24 +01:00
Maarten Lankhorst 5a8ce4c793 quartz: Refuse WAVE_FORMAT_PCM/EXTENSIBLE in acmwrapper. 2010-12-02 12:47:41 +01:00
Maarten Lankhorst af33888b39 quartz: Forward media time in ACM Wrapper. 2010-11-08 13:30:23 +01:00
Aric Stewart 8f3c3723bb strmbase: Clean up the allocator negotiating for BaseOutputPin. 2010-10-14 17:54:51 +02:00
Aric Stewart 34f3f7cae3 strmbase: Move TransformFilter implementation to strmbase. 2010-10-08 11:04:52 +02:00
Aric Stewart 1d42659c40 strmbase: Implement BaseFilter in strmbase. 2010-10-08 11:04:04 +02:00
Aric Stewart 66e1ad8a96 strmbase: Move InputPin implementation to strmbase. 2010-10-06 20:46:48 +02:00
Aric Stewart 5c1409b55f strmbase: Move OutputPin implementation to strmbase. 2010-10-06 20:46:48 +02:00
Maarten Lankhorst 4fe2be86a6 quartz: Add support for MediaSeekingPassThru to transform filter. 2010-10-05 13:02:47 +02:00
Michael Stefaniuc 63512e8e98 quartz: Avoid using the long type. 2010-05-20 13:47:44 +02:00
Michael Stefaniuc cc7fc4abef quartz: Remove superfluous pointer casts. 2009-01-29 14:06:01 +01:00
Maarten Lankhorst ca0db58808 quartz: Fix ACMWrapper to allow mono channels too. 2008-10-22 11:53:30 +02:00
Maarten Lankhorst 89f4eeece3 quartz: Pass InputPin as parameter to transform filter. 2008-07-29 11:54:28 +02:00
Maarten Lankhorst 36418d8ad1 quartz: Fix incorrect use of mtCurrent in transform filter. 2008-07-14 12:21:10 +02:00
Maarten Lankhorst 992fb02c73 quartz: Fix deadlock with transform filter. 2008-07-09 10:58:27 +02:00
Maarten Lankhorst 7d6e28c3bb quartz: Silence a fixme. 2008-05-13 11:21:05 +02:00
Maarten Lankhorst 4afc2ae951 Revert "quartz: Handle failures better in acmwrapper.".
This reverts commit 1ba8ece76e.

Code for holding sample doesn't make sense and shouldn't be there
because it should really be handled by keeping track of the last
successful position of a frame sent and aborting the whole processing
as soon as rejection occurs.
2008-05-01 12:35:30 +02:00
Maarten Lankhorst 1ba8ece76e quartz: Handle failures better in acmwrapper. 2008-04-29 12:45:38 +02:00
Maarten Lankhorst 10708b405c quartz: Fix acmwrapper time regression. 2008-04-28 14:21:56 +02:00
Maarten Lankhorst b7e20bfdd1 quartz: Fix time discontinuities in the acm wrapper. 2008-04-28 14:21:00 +02:00
Maarten Lankhorst 4abbf915d3 quartz: Copy discontinuity status in acmwrapper. 2008-04-23 13:02:48 +02:00
Maarten Lankhorst fb2c975a8f quartz: No longer drop packets on discontinuities. 2008-04-21 14:05:37 +02:00
Maarten Lankhorst 172347341a quartz: Make acmwrapper respect preroll samples. 2008-04-21 14:05:37 +02:00
Maarten Lankhorst 975dc03302 quartz: Make acmwrapper respond to a sample discontinuity by dropping the frame after parsing it. 2008-04-02 11:16:35 +02:00
Maarten Lankhorst e18129068e quartz: Implement seeking stubs for transform filters. 2008-04-02 11:15:13 +02:00
Alexandre Julliard 6af76b3daa quartz: Avoid %ll printf formats. 2008-03-26 18:01:09 +01:00