Commit Graph

465 Commits

Author SHA1 Message Date
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 85e559fadb qcap/avimux: Use strmbase pin methods directly.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-06 13:07:09 +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 4c2c989341 qcap: Share source with strmbase.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-05 18:45:54 +02:00
Zebediah Figura af35e10c14 strmbase: Fix implementation of IEnumMediaTypes::Skip().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47291
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 14:41:06 +02:00
Zebediah Figura 85d631cfe1 qcap/tests: Add some tests for IEnumMediaTypes().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-28 09:40:22 +02:00
Zebediah Figura 10fa32a39e qcap/tests: Add some more tests for AVI mux media types.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-27 08:52:48 +02:00
Zebediah Figura bd44602af6 qcap/tests: Add some tests for AVI mux pin interfaces.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-27 08:52:46 +02:00
Zebediah Figura 9a2ba5983c qcap/tests: Add some tests for querying AVI mux pin information.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-27 08:52:44 +02:00
Zebediah Figura fad0db52c2 qcap/tests: Add some tests for IBaseFilter::FindPin() on the AVI mux filter.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-27 08:52:40 +02:00
Zebediah Figura 996830681c qcap/tests: Add some tests for IBaseFilter::EnumPins on the AVI muxer.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-27 08:52:36 +02:00
Zebediah Figura 15b3eba742 qcap/vfwcapture: Don't expose IAMStreamConfig from the filter.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-26 09:34:21 +02:00
Zebediah Figura 16322578c4 qcap/vfwcapture: Store the source pin inline in the VfwCapture structure.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-26 09:34:19 +02:00
Zebediah Figura bd00160c25 qcap: Use strmbase 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:28 +02:00
Zebediah Figura dae86f1e5e qcap/vfwcapture: Share pin and filter reference counts.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-18 08:57:27 +02:00
Zebediah Figura 3c40ce0549 qcap/avimux: Store the source pin and AVI data inline in the AviMux structure.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-17 09:21:02 +02:00
Zebediah Figura 8cc83d7f5d qcap/smartteefilter: Store the preview source pin inline in the SmartTeeFilter structure.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-14 09:16:24 +02:00
Zebediah Figura 2d7b374ed8 qcap/smartteefilter: Store the capture source pin inline in the SmartTeeFilter structure.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-14 09:16:22 +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 81ec19dc4b qcap/avimux: Use strmbase_sink_init() and heap_alloc_zero() in create_input_pin().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-14 09:16:09 +02:00
Zebediah Figura 2481b53da3 qcap/smartteefilter: 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 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 690838a0e0 strmbase: Don't increment the pin reference count in filter_get_pin().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-11 18:21:26 +02:00
Zebediah Figura eab720d35d qcap/avico: Use BaseFilterImpl_QueryVendorInfo().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-06 17:40:51 +02:00
Zebediah Figura ca77a7e0c1 qcap/avico: Use BaseFilterImpl_QueryFilterInfo().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-06 17:40:49 +02:00
Marcus Meissner e4331ce6e5 qcap: Release filter only if allocated.
Fixes test crash when built without v4l2.

Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-05 16:44:17 +02:00
Zebediah Figura 3bce180dbd qcap/vfwcapture: Use strmbase filter aggregation support.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-05 16:44:17 +02:00
Zebediah Figura c52bc25dd8 qcap/smartteefilter: Use strmbase filter aggregation support.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-05 16:44:17 +02:00
Zebediah Figura 320fa4ccfc qcap/audiorecord: Use strmbase filter aggregation support.
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 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 d6a44a9187 qcap/avico: Use BaseFilterImpl_QueryInterface().
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 1df475674f qcap/avimux: Use BaseFilterImpl_QueryInterface().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-31 10:10:14 +02:00
Zebediah Figura 5e1ed74c9f qcap/tests: Add more tests for aggregation.
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 e19235f12b qcap/audiorecord: Fix aggregation support.
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 ffe9fee151 qcap/avimux: Use strmbase filter methods directly.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-29 11:45:37 +02:00
Zebediah Figura e10cb0d298 qcap/avimux: Use BaseFilterImpl_Release().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-29 11:45:37 +02:00
Zebediah Figura 912dd6ffae qcap/avico: Use BaseFilterImpl_Release().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-27 14:37: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 1e0d9935f8 qcap/audiorecord: Use strmbase_filter_cleanup().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-23 08:56:30 +02:00
Zebediah Figura fb08e32e65 qcap/avico: Use strmbase_filter_cleanup().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-23 08:56:26 +02:00
Zebediah Figura 80e61defa1 qcap/smartteefilter: Use strmbase_filter_cleanup().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-23 08:56:19 +02:00
Zebediah Figura f96c2bd64f qcap/avimux: Use BaseFilter_Destroy().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-22 09:28:04 +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 ba8023e925 qcap/tests: Add some tests for IMediaSeeking on the AVI mux filter.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 12:20:21 +02:00
Zebediah Figura 9c2dbb5552 qcap/tests: Clean up test_AviMux_QueryInterface().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 12:20:19 +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 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
Damjan Jovanovic 24ed16e896 qcap/vfwcapture: Implement IPin::CheckMediaType().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 19:34:32 +02:00
Martin Storsjo 2c42d5ee4d qcap: Fix compilation with older videodev2.h.
Older videodev2.h lack the V4L2_CAP_DEVICE_CAPS define and
the device_caps field in the v4l2_capability struct.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00
Damjan Jovanovic 9d75caf4e1 qcap/tests: Fix a COM reference leak in the audiorecord test.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-22 20:27:30 +02:00
Detlef Riekenberg b1a6279675 qcap/tests: Avoid a crash in a test.
VfW is not supported on 64-Bit Windows

Signed-off-by: Detlef Riekenberg <wine.dev@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-22 19:48:28 +02:00
Zebediah Figura a16a190f63 qcap: Use the v4l2 device_caps field if supported.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-22 11:18:57 +02:00
Zebediah Figura 7ca60b90ef qcap/tests: Add more tests for smart tee pin interfaces.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-12 15:35:28 +02:00
Zebediah Figura a770ebe3ad qcap/tests: Add more tests for querying smart tee pin information.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-12 15:35:23 +02:00
Zebediah Figura 4862f8404b qcap/tests: Add some tests for IBaseFilter::FindPin() on the smart tee filter.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-12 15:35:18 +02:00
Zebediah Figura ea1c56cb66 qcap/tests: Add some more tests for IBaseFilter::EnumPins() on the smart tee filter.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-12 15:35:13 +02:00
Zebediah Figura c6f95af31d qcap/tests: Add some tests for smart tee filter interfaces.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-12 15:35:06 +02:00
Zebediah Figura 5f71a3f125 qcap/tests: Remove some unnecessary workarounds.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-12 15:35:00 +02:00
Zebediah Figura 7aa9a04f26 qcap: Make the image buffer a local variable.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-11 09:15:23 +02:00
Zebediah Figura 2011518d30 qcap: Get rid of an unnecessary allocation and copy.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-11 09:15:21 +02:00
Zebediah Figura e32dead363 qcap: Get rid of V4l_GetFrame().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-11 09:15:19 +02:00
Zebediah Figura bc42cc4279 qcap: Get rid of V4l_Prepare().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-11 09:15:16 +02:00
Zebediah Figura b42f79129d qcap: Get rid of V4l_Unprepare().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-11 09:15:14 +02:00
Zebediah Figura 7ac1306714 qcap: Get rid of no longer used YUV to RGB conversion routines.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-10 18:43:15 +02:00
Zebediah Figura 0423d5e65a qcap: Require libv4l2 to perform pixel format translation.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-10 18:43:15 +02:00
Zebediah Figura 34ef3c89ad qcap: Port to libv4l2.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-10 18:43:15 +02:00
Zebediah Figura dc16a6cd0e qcap/tests: Add some tests for AVI compressor media types.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-09 15:46:03 +02:00
Zebediah Figura 28bdddcc2b qcap/tests: Get rid of test_AviCo().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-09 15:46:03 +02:00
Zebediah Figura 9e6e2ee8d9 qcap/avico: Initialize variant type to VT_BSTR in AVICompressorPropertyBag_Load().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-09 15:46:03 +02:00
Zebediah Figura 5f32efcf19 qcap/tests: Add some tests for IPersistPropertyBag on the AVI compressor.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-09 15:46:03 +02:00
Zebediah Figura 71239f31ad qcap/tests: Add some tests for AVI compressor pin interfaces.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-09 15:46:03 +02:00
Zebediah Figura 181e02259d qcap/tests: Add some tests for querying AVI compressor pin information.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-08 09:55:23 +02:00
Zebediah Figura a604e7d6cc qcap/tests: Add some tests for IBaseFilter::FindPin() on the AVI compressor.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-08 09:55:23 +02:00
Zebediah Figura f41d11b18a qcap/avico: Fix pin IDs.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-08 09:55:23 +02:00
Zebediah Figura 9e6ca7cdb6 qcap/tests: Add some tests for IBaseFilter::EnumPins() on the AVI compressor.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-08 09:55:23 +02:00
Zebediah Figura 096cdd4ee7 qcap/tests: Add some tests for AVI compressor filter interfaces.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-08 09:55:23 +02:00
Zebediah Figura 92cd2158e6 qcap/tests: Add some tests for IPersistPropertyBag on the audio capture filter.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-08 09:55:23 +02:00
Zebediah Figura 08f2c022e5 qcap/tests: Add some tests for audio capture filter interfaces.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-08 09:55:23 +02:00
Alex Henrie 6a1a2e8288 qcap: Make constants 'msg' and 'VFWIndex' static.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-04 16:13:10 +01:00
André Hentschel 217d3d6d7f qcap/tests: AVICo might be unavaiable on newer Win10.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-17 18:33:54 +02:00
Michael Stefaniuc f26168e494 qcap: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:01 +02:00
Zebediah Figura ec290906a0 qcap: 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 10ff8f3082 strmbase: Implement QueryAccept() on top of CheckMediaType() for output pins too.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-04 11:01:40 +02:00
Michael Stefaniuc 1a9c63fe9f qcap: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-03 12:02:03 +01:00
Nikolay Sivov 87d1de6c62 qcap: Remove redundant filter state check.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-11 18:43:56 +02:00
Nikolay Sivov ffc2c70936 qcap: Use wine_dbgstr_longlong() to trace REFERENCE_TIME arguments.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-20 09:30:26 +09:00
Alexandre Julliard bcc36abd88 qcap: Fix build when O_CLOEXEC isn't defined.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-10 13:35:22 -05:00
Nikolay Sivov 985acda3ee qcap/tests: Return cloned enumeration objects (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-10 21:51:39 +02:00
Wei Xie dfd22fb294 qcap: Add O_CLOEXEC flag to prevent child process from inheriting handles.
Signed-off-by: Wei Xie <xiewei@linuxdeepin.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-13 21:45:21 +01:00
Jactry Zeng 6530824ab3 qcap: Avoid call LeaveCriticalSection() repeatedly.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-09 19:38:14 +01:00
Jactry Zeng ca4227bdf4 qcap: Release IBaseFilter.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 16:14:24 +01:00
Francois Gouget fdbfd0f0b3 qcap/tests: A spelling fix in an ok() message.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-09 20:49:11 +01:00
Andrew Eikum d6afd45e71 qcap: Use HRESULT correctly.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-02 11:34:20 +09:00
Michael Stefaniuc 5287add1c4 qcap/tests: Remove a redundant NULL check before CoTaskMemFree().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 20:12:57 +09:00
Andrew Eikum 0025649714 strmbase: Improve QualityControl tracing.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 10:37:08 +09:00
Andrew Eikum af05ff4b15 qcap: Search the whole graph for an unconnected pin.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-16 22:59:23 +09:00
Andrey Gusev 5cdcd4493f Assorted spelling and typos fixes. 2015-08-18 15:00:13 +09:00
Francois Gouget afd186e646 qcap/tests: Add a trailing '\n' to an ok() call. 2015-08-07 23:50:19 +09:00
Michael Stefaniuc 487472b3f6 qcap: COM cleanup for the IKsPropertySet iface. 2015-08-04 09:45:23 +02:00
Michael Stefaniuc 2284835973 qcap: Basic COM cleanup for IPin iface of VfwCapture. 2015-08-04 09:45:20 +02:00
Michael Stefaniuc a6bf7bb01f qcap: Just use the driver_info pointer from the parent. 2015-08-03 10:58:12 +02:00
Huw Davies 876d1d9eb8 qcap/tests: Fix test failures on Win64. 2015-07-29 20:56:51 +02:00
Michael Stefaniuc 7b1332d3f5 qcap/tests: Add COM tests for VfwCapture. 2015-07-28 13:41:44 +02:00
Michael Stefaniuc 67ced3c372 qcap: Support COM aggregation in VfwCapture. 2015-07-28 13:41:44 +02:00
Michael Stefaniuc d3ceabf433 qcap: There can be only ONE QueryInterface in VfwCapture!. 2015-07-28 09:55:11 +02:00
Michael Stefaniuc 6984db834a qcap: Remove initialization code from QI of VfwCapture. 2015-07-28 09:55:07 +02:00
Sebastian Lackner cf234d66b1 qcap: Distinguish interface pointer and implementation pointer for base filter. 2015-06-26 20:35:04 +09:00
Damjan Jovanovic bd5e184bfb qcap: The VfwCapture filter's GetNumberOfCapabilities() should set the capability count to zero. 2015-06-02 14:08:12 +09:00
Damjan Jovanovic 9c922b6ab5 qcap: Add initial audio capture filter. 2015-06-02 14:08:01 +09:00
Damjan Jovanovic 916dfb12b6 qcap: If we have a single VfwCapture pin, its category should be PIN_CATEGORY_CAPTURE. 2015-06-02 14:07:38 +09:00
Damjan Jovanovic 3f3e719551 qcap: Load the default renderer when it's not specified. 2015-06-02 14:07:34 +09:00
Damjan Jovanovic 982be1dea2 qcap: Add the SmartTee filter automatically as necessary, and test this. 2015-06-02 14:07:27 +09:00
Damjan Jovanovic 419be23964 qcap: Get the SmartTee filter to a minimally functional level. 2015-06-02 14:06:37 +09:00
Damjan Jovanovic 95c2b22c56 qcap: Implement the SmartTee allocator functions. 2015-06-02 14:05:52 +09:00
Damjan Jovanovic 9bf73a043a qcap: Implement the SmartTee media type functions. 2015-05-29 15:09:06 +09:00
Damjan Jovanovic cdd4060469 qcap: Implement a stubbed SmartTee filter. 2015-05-29 15:09:02 +09:00
Damjan Jovanovic e6307f1a4b qcap/tests: Test SmartTee filter aggregation. 2015-05-29 15:06:59 +09:00
Damjan Jovanovic d126fd53f7 qcap/tests: Add media tests for the SmartTee filter. 2015-05-29 15:06:59 +09:00
Damjan Jovanovic 5405c0feeb qcap/tests: Add many more SmartTee filter tests. 2015-05-29 15:06:56 +09:00
Damjan Jovanovic 6bc6b0bf71 qcap/tests: Fix SmartTeeFilter reference leaks from the pins in its test. 2015-05-29 15:06:03 +09:00
Michael Stefaniuc f7a21ee1d7 qcap: Print the debug string instead of the pointer value. 2015-03-24 18:16:12 +09:00
Francois Gouget 77f29bcdc0 qcap: Remove unneeded NONAMELESSXXX directives. 2015-03-18 19:38:58 +09:00
Francois Gouget 0dd5cb1cef Assorted spelling fixes. 2014-09-29 10:36:36 +02:00
Thomas Faber f0200b6d25 qcap: Destroy BaseOutputPin in VfwPin_Release. 2014-07-28 17:23:14 -05:00
Thomas Faber 33e0e6867f qcap: Reference module only on successful object creation. 2014-07-28 17:22:56 -05:00
Thomas Faber 5cbc081a1f qcap: Destroy BaseFilter after VfwCapture child class. 2014-07-22 12:07:19 +02:00
Jacek Caban 531a6ceb5d qcap: Store max frame size separately from video format bitmap info and restore it before each ICCompress call. 2014-04-08 19:23:26 +02:00
Nikolay Sivov ddbcd24178 qcap/tests: Check method return values (Coverity). 2014-03-31 11:45:57 +02:00
Piotr Caban 085891b8f6 qcap/tests: Fix AviMux test failures on Win2k. 2014-03-26 19:20:28 +01:00
Frédéric Delanoy 7715684ff7 qcap: Use BOOL type where appropriate. 2014-03-21 11:18:02 +01:00
Jacek Caban 955ce003ae qcap: Added AVICompressorIn_Disconnect implementation. 2014-03-03 17:02:56 +01:00
Piotr Caban 99298f85e4 qcap/tests: Add option to save generated avi file. 2014-02-26 09:10:25 -06:00
Piotr Caban f6986991be qcap/tests: Add more Avi Mux tests. 2014-02-26 09:10:22 -06:00
Piotr Caban ad7eb42246 qcap: Fix uninitialized variable access in Avi Mux. 2014-02-26 09:09:13 -06:00
Piotr Caban 98d0ab3a9f qcap: Fix some memory leaks in Avi Mux. 2014-02-26 09:09:05 -06:00
Piotr Caban f4e201ad46 qcap: Fix strf chunk size in AviMuxIn_ReceiveConnection. 2014-02-26 09:08:58 -06:00
Piotr Caban dddc278b4d qcap: Add Avi Mux IBaseFilter::Stop implementation. 2014-02-26 09:08:51 -06:00
Piotr Caban f4d7a9ab53 qcap: Add Avi Mux IMemInputPin::Receive implementation. 2014-02-25 14:25:57 -06:00
Piotr Caban 0c73ce54cd qcap: Add Avi Mux Receive helper implementation. 2014-02-25 14:25:51 -06:00
Piotr Caban 053b1f6f60 qcap: Add partial Avi Mux IBaseFilter::Run implementation. 2014-02-25 14:25:40 -06:00
Piotr Caban b43dcc4515 qcap: Add support for FORMAT_VideoInfo pins in AviMuxIn::ReceiveConnection. 2014-02-25 14:25:30 -06:00
Piotr Caban e32a9afe65 qcap: Add Avi Mux IConfigInterleaving::put_Interleaving implementation. 2014-02-25 14:25:09 -06:00
Piotr Caban cde81264e5 qcap: Fix Avi Mux IConfigInterleaving::put_Mode implementation. 2014-02-25 14:25:02 -06:00
Piotr Caban 90dfe084c6 qcap: Add Avi Mux input pin IMemInputPin::ReceiveCanBlock implementation. 2014-02-24 09:16:25 -06:00
Piotr Caban 6017d55d07 qcap: Add Avi Mux IConfigInterleaving::put_Mode implementation. 2014-02-24 09:16:18 -06:00
Piotr Caban 43bef66e8b qcap: Add Avi Mux input pin IMemInputPin::NotifyAllocator. 2014-02-24 09:16:11 -06:00
Piotr Caban 151a3eec9a qcap: Add Avi Mux input pin IMemInputPin::GetAllocator. 2014-02-24 09:16:04 -06:00
Piotr Caban 0ea378e101 qcap: Don't define IMemInputPin_iface in AviMuxIn structure. 2014-02-24 09:14:46 -06:00
Piotr Caban d9f6a377be qcap: Add Avi Mux input pin IMemInputPin::GetAllocatorRequirements implementation. 2014-02-24 09:14:39 -06:00
Frédéric Delanoy 2769763c64 qcap/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-30 12:42:55 +01:00
Jacek Caban 289bdc4f45 strmbase: Store BasePinFuncTable inside Base*PinFuncTable structs. 2014-01-06 20:47:02 +01:00
Jacek Caban 9372274533 qcap: Added AVICompressorIn_Receive implementation. 2014-01-02 15:50:11 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Jacek Caban 47cc78c454 qcap: Added AVI compressor Start and Stop implementations. 2013-12-31 12:23:00 +01:00
Jacek Caban 0414557ef7 qcap: Added AVICompressorOut_DecideBufferSize implementation. 2013-12-31 12:22:57 +01:00
Jacek Caban 6b30b6fb4e qcap: Added AVICompressorOut_GetMediaType implementation. 2013-12-31 12:22:54 +01:00
Jacek Caban 56fa8f1cc5 qcap: Added AVICompressorIn_ReceiveConnection implementation. 2013-12-31 12:22:51 +01:00
Jacek Caban 1a2c6b9570 qcap: Added AVICompressorIn_CheckMediaType implementation. 2013-12-31 12:22:40 +01:00
Jacek Caban d45241dd91 qcap: Added IPersistPropertyBag::Load implementation. 2013-12-31 12:22:17 +01:00
Jacek Caban 71687bef17 qcap: Added AVI compressor output pin stub implementation. 2013-12-30 19:43:57 +01:00
Jacek Caban 792c53ad25 qcap: Added AVI compressor input pin stub implementation. 2013-12-30 19:43:51 +01:00
Jacek Caban cd90d8fdd8 qcap: Added IPersistPropertyBag stub implementation to AVI compressor. 2013-12-30 19:43:45 +01:00
Jacek Caban 99c96b0f01 qcap: Added CLSID_AVICo stub implementation. 2013-12-19 17:30:31 +01:00
Piotr Caban 6dce36357a qcap: Fix Avi Mux output pin Connect implementation. 2013-11-26 14:40:15 +01:00
Piotr Caban 4a3b8d2e3c qcap: Add helper to initalize test_filter structure. 2013-11-26 14:40:12 +01:00
Piotr Caban be36954605 qcap: Constify vtables in Avi Mux tests. 2013-11-26 14:40:09 +01:00
Piotr Caban 56062fb9d5 qcap: Add Avi Mux input pin ReceiveConnection test. 2013-11-26 14:40:06 +01:00
Piotr Caban 6348029c61 qcap: Add Avi Mux filter EnumMediaTypes tests. 2013-11-26 14:40:01 +01:00
Piotr Caban 85730046ef qcap: Add AVI Mux input pin stub. 2013-11-25 16:28:17 +01:00
Piotr Caban 2c945b01e0 qcap: Add AVI Mux output pin stub. 2013-11-25 16:23:29 +01:00
Piotr Caban 5a69b888f7 qcap: Fix ICaptureGraphBuilder2::RenderStream test failures. 2013-11-22 13:59:40 +01:00
Piotr Caban 6702f44500 qcap: Add AVI Mux QueryInterface tests. 2013-11-22 13:59:38 +01:00
Piotr Caban ed858386e5 qcap: Add AVI Mux filter stub. 2013-11-21 13:32:45 +01:00
Piotr Caban cdbf03df83 qcap: Add ICaptureGraphBuilder2::RenderStream test with intermediate filter. 2013-11-20 16:54:39 +01:00
Piotr Caban 2b1befb9a0 qcap: Add initial ICaptureGraphBuilder2::RenderStream tests. 2013-11-20 16:54:38 +01:00
Piotr Caban f810d14149 qcap: Warn if additional filters should be used in ICaptureGraphBuilder2::RenderStream. 2013-11-20 16:54:36 +01:00
Piotr Caban 4adcca84f0 qcap: Don't ignore type and category parameters in ICaptureGraphBuilder2::FindPin. 2013-11-20 13:35:19 +01:00
Piotr Caban badc77d522 qcap: Support compression filter in ICaptureGraphBuilder2::RenderStream. 2013-11-20 13:35:14 +01:00
Damjan Jovanovic 94c7806481 qcap/tests: Add a smart tee filter test. 2013-07-10 16:50:15 +02:00
Francois Gouget e920d1a661 qcap: Fix compilation on systems that have v4l1 but not VIDIOCMCAPTURE & co. 2013-03-06 17:40:58 +01:00
Damjan Jovanovic 632d82f4ac qcap: Use the BaseOutputPin's IMemAllocator. 2013-01-15 12:18:17 +01:00
Dmitry Timoshkov 98166a5980 qcap: Fix compilation on older systems. 2013-01-15 12:10:56 +01:00
Damjan Jovanovic 8d4f636d54 qcap: Use libv4l1.h when available, instead of linux/videodev.h which is deprecated/obsolete. 2013-01-14 11:18:04 +01:00
Christian Costa c503af8516 qcap: Remove useless FIXME. 2012-10-15 15:25:26 +02:00
Nikolay Sivov 1bd91a4fd2 qcap: Call interface methods properly. 2012-08-20 10:59:29 +02:00
Marcus Meissner 985d2ba18e qcap: Fixed another use-after free (Coverity). 2012-08-20 10:55:34 +02:00
Marcus Meissner 524ff6fe27 qcap: Fixed a use after free in error path (Coverity). 2012-08-20 10:55:28 +02:00
Christian Costa e3c781376e qcap: Enable registration of all non yet implemented filters. 2012-03-29 20:49:33 +02:00
Aric Stewart 29d3c75442 strmbase: COM cleanup for BaseFilter. 2012-03-26 18:15:48 +02:00
André Hentschel b5ba054ce8 Assorted header comment cleanup. 2012-01-04 19:35:13 +01:00
Francois Gouget c7cb3e6cb2 configure: Use errno.h instead of the non-standard sys/errno.h header. 2011-12-15 17:46:38 +01:00
Alexandre Julliard b870cd1a16 qcap: Include system headers before Windows headers. 2011-09-06 13:25:50 +02:00