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

Issue 545053002: Add still image capture interface for VideoCaptureDevice. (Closed)

Created:
6 years, 3 months ago by Owen Lin
Modified:
6 years, 2 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, feature-media-reviews_chromium.org, wjia+watch_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

Add still image capture interface for VideoCaptureDevice. BUG=413086 TEST=Run the media_unittests on peach_pit. Committed: https://crrev.com/fd5bdd2688768683e30b27941f181597a849656d Cr-Commit-Position: refs/heads/master@{#298009}

Patch Set 1 : #

Total comments: 28

Patch Set 2 : #

Total comments: 13

Patch Set 3 : Address reviewer's comments #

Total comments: 9

Patch Set 4 : #

Total comments: 30

Patch Set 5 : #

Patch Set 6 : address review comments #

Total comments: 51

Patch Set 7 : address review comment. #

Total comments: 1

Patch Set 8 : #

Patch Set 9 : rebase #

Patch Set 10 : fix compiling errors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -0 lines) Patch
M media/video/capture/video_capture_device.h View 1 2 3 4 5 6 7 8 9 2 chunks +61 lines, -0 lines 0 comments Download
M media/video/capture/video_capture_device.cc View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -0 lines 0 comments Download
M media/video/capture/video_capture_device_factory.h View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -0 lines 0 comments Download
M media/video/capture/video_capture_types.h View 1 2 3 4 5 6 7 8 1 chunk +17 lines, -0 lines 0 comments Download
M media/video/capture/video_capture_types.cc View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (7 generated)
Owen Lin
PTAL.
6 years, 3 months ago (2014-09-05 08:27:21 UTC) #3
wuchengli
Add BUG number. https://codereview.chromium.org/545053002/diff/20001/media/video/capture/video_capture_device.cc File media/video/capture/video_capture_device.cc (right): https://codereview.chromium.org/545053002/diff/20001/media/video/capture/video_capture_device.cc#newcode82 media/video/capture/video_capture_device.cc:82: client->OnError("Not supported"); The client can know ...
6 years, 3 months ago (2014-09-09 05:53:23 UTC) #5
Owen Lin
Thanks for the comments. Please take another look. Thanks. https://codereview.chromium.org/545053002/diff/20001/media/video/capture/video_capture_device.cc File media/video/capture/video_capture_device.cc (right): https://codereview.chromium.org/545053002/diff/20001/media/video/capture/video_capture_device.cc#newcode82 media/video/capture/video_capture_device.cc:82: ...
6 years, 3 months ago (2014-09-11 06:18:00 UTC) #6
wuchengli
Can this add tests in video_capture_device_unittest.cc? https://codereview.chromium.org/545053002/diff/20001/media/video/capture/video_capture_types.h File media/video/capture/video_capture_types.h (right): https://codereview.chromium.org/545053002/diff/20001/media/video/capture/video_capture_types.h#newcode30 media/video/capture/video_capture_types.h:30: PIXEL_FORMAT_TEXTURE, // Capture ...
6 years, 3 months ago (2014-09-11 08:50:06 UTC) #7
Owen Lin
PTAL. https://codereview.chromium.org/545053002/diff/20001/media/video/capture/video_capture_types.h File media/video/capture/video_capture_types.h (right): https://codereview.chromium.org/545053002/diff/20001/media/video/capture/video_capture_types.h#newcode30 media/video/capture/video_capture_types.h:30: PIXEL_FORMAT_TEXTURE, // Capture format as a GL texture. ...
6 years, 3 months ago (2014-09-12 09:07:56 UTC) #8
wuchengli
Add BUG to the change description. https://codereview.chromium.org/545053002/diff/20001/media/video/capture/video_capture_types.h File media/video/capture/video_capture_types.h (right): https://codereview.chromium.org/545053002/diff/20001/media/video/capture/video_capture_types.h#newcode30 media/video/capture/video_capture_types.h:30: PIXEL_FORMAT_TEXTURE, // Capture ...
6 years, 3 months ago (2014-09-15 06:14:13 UTC) #9
Owen Lin
https://codereview.chromium.org/545053002/diff/60001/media/video/capture/video_capture_device.h File media/video/capture/video_capture_device.h (right): https://codereview.chromium.org/545053002/diff/60001/media/video/capture/video_capture_device.h#newcode242 media/video/capture/video_capture_device.h:242: // Callback function to notify client the failure of ...
6 years, 3 months ago (2014-09-15 09:04:36 UTC) #10
Owen Lin
https://codereview.chromium.org/545053002/diff/60001/media/video/capture/video_capture_device.h File media/video/capture/video_capture_device.h (right): https://codereview.chromium.org/545053002/diff/60001/media/video/capture/video_capture_device.h#newcode245 media/video/capture/video_capture_device.h:245: virtual void OnError(const std::string& reason) = 0; The current ...
6 years, 3 months ago (2014-09-16 02:35:15 UTC) #11
wuchengli
Please add owners to review this CL. https://codereview.chromium.org/545053002/diff/80001/media/video/capture/video_capture_device.h File media/video/capture/video_capture_device.h (right): https://codereview.chromium.org/545053002/diff/80001/media/video/capture/video_capture_device.h#newcode245 media/video/capture/video_capture_device.h:245: virtual void ...
6 years, 3 months ago (2014-09-17 06:54:29 UTC) #12
Owen Lin
https://codereview.chromium.org/545053002/diff/80001/media/video/capture/video_capture_types.h File media/video/capture/video_capture_types.h (right): https://codereview.chromium.org/545053002/diff/80001/media/video/capture/video_capture_types.h#newcode41 media/video/capture/video_capture_types.h:41: // supported still image capture format by a device. ...
6 years, 3 months ago (2014-09-17 07:54:05 UTC) #14
perkj_chrome
lgtm when the nits are fixed. https://codereview.chromium.org/545053002/diff/80001/media/video/capture/video_capture_device.h File media/video/capture/video_capture_device.h (right): https://codereview.chromium.org/545053002/diff/80001/media/video/capture/video_capture_device.h#newcode222 media/video/capture/video_capture_device.h:222: // CaptureImage() has ...
6 years, 3 months ago (2014-09-17 11:25:59 UTC) #15
Pawel Osciak
https://chromiumcodereview.appspot.com/545053002/diff/80001/media/video/capture/video_capture_device.h File media/video/capture/video_capture_device.h (right): https://chromiumcodereview.appspot.com/545053002/diff/80001/media/video/capture/video_capture_device.h#newcode1 media/video/capture/video_capture_device.h:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
6 years, 3 months ago (2014-09-17 11:29:42 UTC) #16
wuchengli
https://chromiumcodereview.appspot.com/545053002/diff/80001/media/video/capture/video_capture_device.h File media/video/capture/video_capture_device.h (right): https://chromiumcodereview.appspot.com/545053002/diff/80001/media/video/capture/video_capture_device.h#newcode231 media/video/capture/video_capture_device.h:231: class MEDIA_EXPORT ImageClient { On 2014/09/17 11:29:42, Pawel Osciak ...
6 years, 3 months ago (2014-09-18 01:26:39 UTC) #17
Owen Lin
https://codereview.chromium.org/545053002/diff/80001/media/video/capture/video_capture_device.h File media/video/capture/video_capture_device.h (right): https://codereview.chromium.org/545053002/diff/80001/media/video/capture/video_capture_device.h#newcode1 media/video/capture/video_capture_device.h:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
6 years, 3 months ago (2014-09-18 06:04:16 UTC) #18
wuchengli
https://codereview.chromium.org/545053002/diff/80001/media/video/capture/video_capture_device.h File media/video/capture/video_capture_device.h (right): https://codereview.chromium.org/545053002/diff/80001/media/video/capture/video_capture_device.h#newcode245 media/video/capture/video_capture_device.h:245: virtual void OnError(const std::string& reason) = 0; On 2014/09/18 ...
6 years, 3 months ago (2014-09-18 08:55:08 UTC) #19
wuchengli
LGTM. Please remember to fix the typo. https://codereview.chromium.org/545053002/diff/120001/media/video/capture/video_capture_device.h File media/video/capture/video_capture_device.h (right): https://codereview.chromium.org/545053002/diff/120001/media/video/capture/video_capture_device.h#newcode238 media/video/capture/video_capture_device.h:238: // to ...
6 years, 3 months ago (2014-09-23 07:09:23 UTC) #20
Pawel Osciak
https://chromiumcodereview.appspot.com/545053002/diff/120001/media/video/capture/video_capture_device.h File media/video/capture/video_capture_device.h (right): https://chromiumcodereview.appspot.com/545053002/diff/120001/media/video/capture/video_capture_device.h#newcode222 media/video/capture/video_capture_device.h:222: // CaptureImage() has called. After the still image captured, ...
6 years, 3 months ago (2014-09-23 08:15:58 UTC) #21
Owen Lin
https://codereview.chromium.org/545053002/diff/120001/media/video/capture/video_capture_device.h File media/video/capture/video_capture_device.h (right): https://codereview.chromium.org/545053002/diff/120001/media/video/capture/video_capture_device.h#newcode222 media/video/capture/video_capture_device.h:222: // CaptureImage() has called. After the still image captured, ...
6 years, 3 months ago (2014-09-24 05:20:03 UTC) #22
Pawel Osciak
https://chromiumcodereview.appspot.com/545053002/diff/120001/media/video/capture/video_capture_device.h File media/video/capture/video_capture_device.h (right): https://chromiumcodereview.appspot.com/545053002/diff/120001/media/video/capture/video_capture_device.h#newcode222 media/video/capture/video_capture_device.h:222: // CaptureImage() has called. After the still image captured, ...
6 years, 2 months ago (2014-09-25 02:16:21 UTC) #23
Owen Lin
https://chromiumcodereview.appspot.com/545053002/diff/120001/media/video/capture/video_capture_device.h File media/video/capture/video_capture_device.h (right): https://chromiumcodereview.appspot.com/545053002/diff/120001/media/video/capture/video_capture_device.h#newcode222 media/video/capture/video_capture_device.h:222: // CaptureImage() has called. After the still image captured, ...
6 years, 2 months ago (2014-09-25 05:53:53 UTC) #24
Pawel Osciak
https://chromiumcodereview.appspot.com/545053002/diff/120001/media/video/capture/video_capture_device.h File media/video/capture/video_capture_device.h (right): https://chromiumcodereview.appspot.com/545053002/diff/120001/media/video/capture/video_capture_device.h#newcode222 media/video/capture/video_capture_device.h:222: // CaptureImage() has called. After the still image captured, ...
6 years, 2 months ago (2014-09-29 00:13:37 UTC) #25
Owen Lin
On 2014/09/29 00:13:37, Pawel Osciak wrote: > https://chromiumcodereview.appspot.com/545053002/diff/120001/media/video/capture/video_capture_device.h > File media/video/capture/video_capture_device.h (right): > > https://chromiumcodereview.appspot.com/545053002/diff/120001/media/video/capture/video_capture_device.h#newcode222 ...
6 years, 2 months ago (2014-10-03 04:22:03 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/545053002/180001
6 years, 2 months ago (2014-10-03 04:23:36 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/21460) mac_chromium_compile_dbg on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg/builds/21459)
6 years, 2 months ago (2014-10-03 04:32:36 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/545053002/200001
6 years, 2 months ago (2014-10-03 06:22:02 UTC) #32
commit-bot: I haz the power
Committed patchset #10 (id:200001) as ae270c7c29c23f5ab52bd081119ffc05dd0491e3
6 years, 2 months ago (2014-10-03 07:17:47 UTC) #33
commit-bot: I haz the power
6 years, 2 months ago (2014-10-03 07:18:30 UTC) #34
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/fd5bdd2688768683e30b27941f181597a849656d
Cr-Commit-Position: refs/heads/master@{#298009}

Powered by Google App Engine
This is Rietveld 408576698