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

Issue 7002027: VideoCaptureHost (Closed)

Created:
9 years, 7 months ago by Per K
Modified:
9 years, 3 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, ddorwin+watch_chromium.org, fischman+watch_chromium.org, Paweł Hajdan Jr., acolwell GONE FROM CHROMIUM, annacc, ajwong+watch_chromium.org, vrk (LEFT CHROMIUM), mflodman1
Visibility:
Public.

Description

VideoCaptureHost This is the patch containing code necessary for communicating with the VideoCaptureMessageFilter from the browser process and transferring Transport Dibs filled with video frames in I420 color format. It also contain code for color converting video frames to I420. Color conversion has been tested on Linux and Windows by using video_capture_host_unittest and dumping I420 frames to file. See #define DUMP_VIDEO #define TEST_REAL_CAPTURE_DEVICE. patch by perk@google.com BUG=none TEST=try bots

Patch Set 1 #

Total comments: 22

Patch Set 2 : '' #

Total comments: 36

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 110

Patch Set 5 : '' #

Total comments: 2

Patch Set 6 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1150 lines, -0 lines) Patch
M chrome/chrome_tests.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A content/browser/renderer_host/video_capture_controller.h View 1 2 3 4 5 1 chunk +116 lines, -0 lines 0 comments Download
A content/browser/renderer_host/video_capture_controller.cc View 1 2 3 4 5 1 chunk +225 lines, -0 lines 0 comments Download
A content/browser/renderer_host/video_capture_host.h View 1 2 3 1 chunk +127 lines, -0 lines 0 comments Download
A content/browser/renderer_host/video_capture_host.cc View 1 2 3 4 5 1 chunk +186 lines, -0 lines 0 comments Download
A content/browser/renderer_host/video_capture_host_unittest.cc View 1 2 3 4 1 chunk +373 lines, -0 lines 1 comment Download
M content/content_browser.gypi View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M media/base/yuv_convert.h View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
M media/base/yuv_convert.cc View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
M media/base/yuv_convert_c.cc View 1 2 3 4 1 chunk +58 lines, -0 lines 0 comments Download
M media/base/yuv_convert_internal.h View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
wjia(left Chromium)
I didn't look at coding style that much. The main concern is the interface between ...
9 years, 7 months ago (2011-05-11 23:23:31 UTC) #1
Per K
http://codereview.chromium.org/7002027/diff/1/content/browser/renderer_host/video_capture_host.cc File content/browser/renderer_host/video_capture_host.cc (right): http://codereview.chromium.org/7002027/diff/1/content/browser/renderer_host/video_capture_host.cc#newcode114 content/browser/renderer_host/video_capture_host.cc:114: const IPC::Message& msg, int device_id, On 2011/05/11 23:23:31, wjia ...
9 years, 7 months ago (2011-05-16 11:49:39 UTC) #2
wjia(left Chromium)
nice work!
9 years, 7 months ago (2011-05-19 03:28:09 UTC) #3
wjia(left Chromium)
nice work! http://codereview.chromium.org/7002027/diff/13001/content/browser/renderer_host/video_capture_host.cc File content/browser/renderer_host/video_capture_host.cc (right): http://codereview.chromium.org/7002027/diff/13001/content/browser/renderer_host/video_capture_host.cc#newcode17 content/browser/renderer_host/video_capture_host.cc:17: entries_.clear(); the dtor of entries_ will do ...
9 years, 7 months ago (2011-05-19 04:24:36 UTC) #4
Per K
Thanks. Do you think I should change the name of VideoCaptureMemory to VideoCaptureController now since ...
9 years, 7 months ago (2011-05-19 08:55:31 UTC) #5
Per K
Changed name of VideoCaptureMemory to VideoCaptureController to better fit the new behavior. Updated patch to ...
9 years, 7 months ago (2011-05-20 09:05:23 UTC) #6
wjia(left Chromium)
Aaron, Could you help to review this patch? Thanks, Wei
9 years, 7 months ago (2011-05-20 23:34:55 UTC) #7
scherkus (not reviewing)
http://codereview.chromium.org/7002027/diff/29001/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (right): http://codereview.chromium.org/7002027/diff/29001/chrome/chrome_tests.gypi#newcode1926 chrome/chrome_tests.gypi:1926: '../content/browser/media_stream/video_capture_manager_unittest.cc', not seeing this file? http://codereview.chromium.org/7002027/diff/29001/content/browser/renderer_host/video_capture_controller.cc File content/browser/renderer_host/video_capture_controller.cc (right): ...
9 years, 7 months ago (2011-05-23 05:05:09 UTC) #8
Per K
Thanks. Here is the next round. Added unittests for color conversion. Regards Per http://codereview.chromium.org/7002027/diff/29001/chrome/chrome_tests.gypi File ...
9 years, 7 months ago (2011-05-23 12:05:47 UTC) #9
scherkus (not reviewing)
almost there! not seeing the unittests.. did you forget to include them? thanks http://codereview.chromium.org/7002027/diff/29001/content/browser/renderer_host/video_capture_host.cc File ...
9 years, 7 months ago (2011-05-23 21:19:17 UTC) #10
Per K
Updated VideoCaptureHost to work on Windows as well. Sorry about the late change. Unit test ...
9 years, 7 months ago (2011-05-25 08:30:50 UTC) #11
scherkus (not reviewing)
LGTM thanks per!
9 years, 7 months ago (2011-05-26 05:01:15 UTC) #12
scherkus (not reviewing)
+jam for content/browser OWNERS review
9 years, 7 months ago (2011-05-26 05:11:10 UTC) #13
scherkus (not reviewing)
just have a comment about class design + threading... I've found it very helpful to ...
9 years, 7 months ago (2011-05-26 05:27:35 UTC) #14
scherkus (not reviewing)
http://codereview.chromium.org/7002027/diff/44014/content/browser/renderer_host/video_capture_host_unittest.cc File content/browser/renderer_host/video_capture_host_unittest.cc (right): http://codereview.chromium.org/7002027/diff/44014/content/browser/renderer_host/video_capture_host_unittest.cc#newcode94 content/browser/renderer_host/video_capture_host_unittest.cc:94: while (handle != 0) { FYI: during the process ...
9 years, 7 months ago (2011-05-26 06:47:06 UTC) #15
scherkus (not reviewing)
Committed as r86927.
9 years, 7 months ago (2011-05-26 23:43:15 UTC) #16
scherkus (not reviewing)
CRAP I jumped the gun! jam sorry for committing -- let me know if you ...
9 years, 7 months ago (2011-05-26 23:43:50 UTC) #17
jam
9 years, 6 months ago (2011-05-31 16:45:27 UTC) #18
On 2011/05/26 23:43:50, scherkus wrote:
> CRAP I jumped the gun!
> 
> jam sorry for committing -- let me know if you spot any issues and Per & I
will
> fix it up

lgtm (only glanced at content files).  sorry for delay, i missed this (but
please don't --force a change again, as that negates the whole point of OWNERS
file).  note that there are a bunch of other owners for content\browser now as
well :)

Powered by Google App Engine
This is Rietveld 408576698