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

Issue 7229013: This is the VideoCaptureDevice implementation for windows. (Closed)

Created:
9 years, 6 months ago by Per K
Modified:
9 years, 5 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, sjl, ddorwin+watch_chromium.org, fischman+watch_chromium.org, Paweł Hajdan Jr., annacc, ajwong+watch_chromium.org, vrk (LEFT CHROMIUM)
Visibility:
Public.

Description

This is the VideoCaptureDevice implementation for windows. DirectShow is used for controlling cameras and receiving video frames. It implements all COM functions needed to support cameras using DirectShow and don't depend on Microsofts base classes for DirectShow filters. It supersedes the patch http://codereview.chromium.org/6929064/. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91096

Patch Set 1 #

Total comments: 103

Patch Set 2 : '' #

Total comments: 41

Patch Set 3 : Fixed code review issues found by Scherkus and Tommi. #

Total comments: 12

Patch Set 4 : Fixed reference count issue found by Tommi. #

Total comments: 31

Patch Set 5 : '' #

Total comments: 2

Patch Set 6 : Fix crash on some Windows versions when there is no camera available. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1998 lines, -0 lines) Patch
M media/media.gyp View 1 2 3 4 3 chunks +18 lines, -0 lines 0 comments Download
A media/video/capture/video_capture_device_unittest.cc View 1 2 1 chunk +261 lines, -0 lines 0 comments Download
A media/video/capture/win/filter_base_win.h View 1 2 3 4 1 chunk +74 lines, -0 lines 0 comments Download
A media/video/capture/win/filter_base_win.cc View 1 2 3 4 1 chunk +179 lines, -0 lines 0 comments Download
A media/video/capture/win/pin_base_win.h View 1 2 3 4 1 chunk +108 lines, -0 lines 0 comments Download
A media/video/capture/win/pin_base_win.cc View 1 2 3 4 1 chunk +281 lines, -0 lines 0 comments Download
A media/video/capture/win/sink_filter_observer_win.h View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download
A media/video/capture/win/sink_filter_win.h View 1 2 3 1 chunk +54 lines, -0 lines 0 comments Download
A media/video/capture/win/sink_filter_win.cc View 1 2 3 1 chunk +53 lines, -0 lines 0 comments Download
A media/video/capture/win/sink_input_pin_win.h View 1 2 3 4 1 chunk +49 lines, -0 lines 0 comments Download
A media/video/capture/win/sink_input_pin_win.cc View 1 2 3 4 1 chunk +149 lines, -0 lines 0 comments Download
A media/video/capture/win/video_capture_device_win.h View 1 2 3 4 1 chunk +92 lines, -0 lines 0 comments Download
A media/video/capture/win/video_capture_device_win.cc View 1 2 3 4 5 1 chunk +656 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
tommi (sloooow) - chröme
ok, first batch of comments ready :) I know it's a lot but most are ...
9 years, 6 months ago (2011-06-23 14:05:55 UTC) #1
scherkus (not reviewing)
drive-by style-ish nits I'll leave it up to tommi for reviewing the actual functionality + ...
9 years, 6 months ago (2011-06-24 20:15:26 UTC) #2
scherkus (not reviewing)
oh don't forget BUG= and TEST= in your CL description!
9 years, 6 months ago (2011-06-24 20:15:43 UTC) #3
Per K
Fixed review issues. / Per http://codereview.chromium.org/7229013/diff/1/media/media.gyp File media/media.gyp (right): http://codereview.chromium.org/7229013/diff/1/media/media.gyp#newcode259 media/media.gyp:259: 'video/capture/video_capture_device_dummy.cc', On 2011/06/23 14:05:56, ...
9 years, 6 months ago (2011-06-27 11:47:49 UTC) #4
tommi (sloooow) - chröme
Great. Only a couple more minor things. http://codereview.chromium.org/7229013/diff/1/media/media.gyp File media/media.gyp (right): http://codereview.chromium.org/7229013/diff/1/media/media.gyp#newcode259 media/media.gyp:259: 'video/capture/video_capture_device_dummy.cc', On ...
9 years, 6 months ago (2011-06-27 13:20:37 UTC) #5
cpu_(ooo_6.6-7.5)
In general it look great and I don't have the IQ to understand the logic ...
9 years, 6 months ago (2011-06-27 18:10:27 UTC) #6
scherkus (not reviewing)
tiny nits but LGTM will leave up to tommi for final LGTM http://codereview.chromium.org/7229013/diff/7002/media/video/capture/win/video_capture_device_win.cc File media/video/capture/win/video_capture_device_win.cc ...
9 years, 6 months ago (2011-06-27 19:24:01 UTC) #7
tommi (sloooow) - chröme
http://codereview.chromium.org/7229013/diff/17005/media/video/capture/win/filter_base_win.cc File media/video/capture/win/filter_base_win.cc (right): http://codereview.chromium.org/7229013/diff/17005/media/video/capture/win/filter_base_win.cc#newcode36 media/video/capture/win/filter_base_win.cc:36: return 1; On 2011/06/27 18:10:27, cpu wrote: > it ...
9 years, 5 months ago (2011-06-28 08:57:23 UTC) #8
Per K
Updated to head rev. Fixed code review issues found by scherkus and cpu. Cheers Per ...
9 years, 5 months ago (2011-06-28 10:14:07 UTC) #9
scherkus (not reviewing)
http://codereview.chromium.org/7229013/diff/17005/media/video/capture/win/filter_base_win.cc File media/video/capture/win/filter_base_win.cc (right): http://codereview.chromium.org/7229013/diff/17005/media/video/capture/win/filter_base_win.cc#newcode36 media/video/capture/win/filter_base_win.cc:36: return 1; On 2011/06/28 08:57:23, tommi wrote: > On ...
9 years, 5 months ago (2011-06-28 20:38:41 UTC) #10
Per K
On 2011/06/28 20:38:41, scherkus wrote: > http://codereview.chromium.org/7229013/diff/17005/media/video/capture/win/filter_base_win.cc > File media/video/capture/win/filter_base_win.cc (right): > > http://codereview.chromium.org/7229013/diff/17005/media/video/capture/win/filter_base_win.cc#newcode36 > ...
9 years, 5 months ago (2011-06-29 13:33:29 UTC) #11
Per K
http://codereview.chromium.org/7229013/diff/22002/media/media.gyp File media/media.gyp (right): http://codereview.chromium.org/7229013/diff/22002/media/media.gyp#newcode18 media/media.gyp:18: '../build/temp_gyp/googleurl.gyp:googleurl', ????? This is not part of this patch. ...
9 years, 5 months ago (2011-06-29 13:40:49 UTC) #12
scherkus (not reviewing)
On 2011/06/29 13:33:29, Per K wrote: > On 2011/06/28 20:38:41, scherkus wrote: > > > ...
9 years, 5 months ago (2011-06-29 17:04:59 UTC) #13
scherkus (not reviewing)
On 2011/06/29 13:40:49, Per K wrote: > http://codereview.chromium.org/7229013/diff/22002/media/media.gyp > File media/media.gyp (right): > > http://codereview.chromium.org/7229013/diff/22002/media/media.gyp#newcode18 ...
9 years, 5 months ago (2011-06-29 17:05:45 UTC) #14
scherkus (not reviewing)
but yes still LGTM from me -- tommi want to take it from here?
9 years, 5 months ago (2011-06-29 17:06:11 UTC) #15
tommi (sloooow) - chröme
Yes I will take it from here. Thanks Andrew. Regarding the AddRef/Release problem, it is ...
9 years, 5 months ago (2011-06-29 21:52:19 UTC) #16
scherkus (not reviewing)
On Wed, Jun 29, 2011 at 2:52 PM, Tommi <tommi@chromium.org> wrote: > Yes I will ...
9 years, 5 months ago (2011-06-29 21:55:16 UTC) #17
commit-bot: I haz the power
9 years, 5 months ago (2011-06-30 08:29:46 UTC) #18
Change committed as 91096

Powered by Google App Engine
This is Rietveld 408576698