Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(752)

Issue 510723003: Win Video Capture: add support for enumerating DirectShow WDM devices (Closed)

Created:
6 years, 3 months ago by mcasas
Modified:
6 years, 3 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, feature-media-reviews_chromium.org, mcasas+watch_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Win Video Capture: add support for enumerating DirectShow WDM devices DirectShow supports a certain type of Video Capture Cards, in general video digitizers (a.k.a. Analog video capture cards). These cards need extra configuration of the "remote" ports in and out. For this purpose, the Windows Driver Model is used [1], where special DS Filters are added upstream of the capture source. This CL adds support for enumerating these devices, which will show up as another camera in the system list. Other posterior CLs will figure out other parts needed, namely: - which "normal" Filter is associated to the WDM Filter, for the purpose of capabilities enumeration. - if the VideoCaptureDevice::Name passed to VideoCaptureDeviceWin is labelled as being WDM, a slightly different capture graph is needed. For the Hauppage USB-Live 2, this means another camera called "Hauppauge Cx23100 Crossbar", in addition to the normal "Hauppauge USB-Live2" [1] http://msdn.microsoft.com/en-us/library/windows/desktop/dd373405(v=vs.85).aspx BUG=402684 Committed: https://crrev.com/a4b9b88c1e96490c88fc801eedaf7eef513366d9 Cr-Commit-Position: refs/heads/master@{#292627}

Patch Set 1 #

Total comments: 2

Patch Set 2 : magjed@s comment #

Patch Set 3 : Try with a different similarity percentage #

Total comments: 1

Patch Set 4 : using VideoCaptureDevice::Name(s) --> Name(s) #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -68 lines) Patch
M media/video/capture/video_capture_device.h View 1 chunk +1 line, -0 lines 0 comments Download
M media/video/capture/win/video_capture_device_factory_win.cc View 1 2 3 10 chunks +79 lines, -68 lines 1 comment Download

Messages

Total messages: 12 (0 generated)
mcasas
mcasas@chromium.org changed reviewers: + magjed@chromium.org, perkj@chromium.org
6 years, 3 months ago (2014-08-27 12:42:32 UTC) #1
mcasas
magjed@, perkj@: PTAL
6 years, 3 months ago (2014-08-27 12:42:32 UTC) #2
magjed_chromium
https://codereview.chromium.org/510723003/diff/1/media/video/capture/win/video_capture_device_factory_win.cc File media/video/capture/win/video_capture_device_factory_win.cc (right): https://codereview.chromium.org/510723003/diff/1/media/video/capture/win/video_capture_device_factory_win.cc#newcode121 media/video/capture/win/video_capture_device_factory_win.cc:121: return; This return statement looks suspicious now when you ...
6 years, 3 months ago (2014-08-27 13:05:27 UTC) #3
mcasas
magjed@: PTAL https://codereview.chromium.org/510723003/diff/1/media/video/capture/win/video_capture_device_factory_win.cc File media/video/capture/win/video_capture_device_factory_win.cc (right): https://codereview.chromium.org/510723003/diff/1/media/video/capture/win/video_capture_device_factory_win.cc#newcode121 media/video/capture/win/video_capture_device_factory_win.cc:121: return; On 2014/08/27 13:05:27, magjed wrote: > ...
6 years, 3 months ago (2014-08-27 13:29:52 UTC) #4
magjed_chromium
On 2014/08/27 13:29:52, mcasas wrote: > magjed@: PTAL > > https://codereview.chromium.org/510723003/diff/1/media/video/capture/win/video_capture_device_factory_win.cc > File media/video/capture/win/video_capture_device_factory_win.cc (right): ...
6 years, 3 months ago (2014-08-27 13:44:08 UTC) #5
perkj_chrome
lgtm %nit If you dont' have a follow up cl where this type of devices ...
6 years, 3 months ago (2014-08-28 09:47:02 UTC) #6
mcasas
perkj@ PTAL, used using as discussed. https://codereview.chromium.org/510723003/diff/60001/media/video/capture/win/video_capture_device_factory_win.cc File media/video/capture/win/video_capture_device_factory_win.cc (right): https://codereview.chromium.org/510723003/diff/60001/media/video/capture/win/video_capture_device_factory_win.cc#newcode26 media/video/capture/win/video_capture_device_factory_win.cc:26: using Names = ...
6 years, 3 months ago (2014-08-28 11:53:41 UTC) #7
perkj_chrome
On 2014/08/28 11:53:41, mcasas wrote: > perkj@ PTAL, used using as discussed. > > https://codereview.chromium.org/510723003/diff/60001/media/video/capture/win/video_capture_device_factory_win.cc ...
6 years, 3 months ago (2014-08-29 09:43:25 UTC) #8
mcasas
The CQ bit was checked by mcasas@chromium.org
6 years, 3 months ago (2014-08-29 09:45:28 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mcasas@chromium.org/510723003/60001
6 years, 3 months ago (2014-08-29 09:47:19 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 15d4f9f8d071028320a04a386c42600591c9e147
6 years, 3 months ago (2014-08-29 14:16:13 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:08:26 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a4b9b88c1e96490c88fc801eedaf7eef513366d9
Cr-Commit-Position: refs/heads/master@{#292627}

Powered by Google App Engine
This is Rietveld 408576698