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

Issue 2837273004: media: add video capture device for ARC++ camera HAL v3 (Closed)

Created:
3 years, 8 months ago by jcliang
Modified:
3 years, 6 months ago
CC:
Aaron Boodman, abarth-chromium, chfremer+watch_chromium.org, chromium-reviews, darin (slow to review), emircan, feature-media-reviews_chromium.org, mcasas, miu+watch_chromium.org, oshima+watch_chromium.org, posciak+watch_chromium.org, Pawel Osciak, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, xjz+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

media: add video capture device for ARC++ camera HAL v3 This CL adds VideoCaptureDevice and VideoCaptureDeviceFactory for the ARC++ camera HAL v3. The VCD and VCD factory talk to the HAL adapter process on Chrome OS throgh Mojo IPC to access the camera service. BUG=b:32690003 TEST=Make sure camera preview works in hangout. TEST=unit tests Review-Url: https://codereview.chromium.org/2837273004 Cr-Commit-Position: refs/heads/master@{#479662} Committed: https://chromium.googlesource.com/chromium/src/+/b2b84801bfe858bfe7e568354cb3ca3f2578e78e

Patch Set 1 #

Total comments: 6

Patch Set 2 : WIP: media: add video capture device for ARC++ camera HAL v3 #

Total comments: 16

Patch Set 3 : address chfremer@'s review comments #

Total comments: 18

Patch Set 4 : address wuchengli@'s comments #

Patch Set 5 : revise some code comments #

Total comments: 36

Patch Set 6 : address kenrb@'s review comments #

Patch Set 7 : remove external camera handling in camera_hal_delegate.* #

Total comments: 27

Patch Set 8 : handle error_msg in Notify #

Total comments: 5

Patch Set 9 : address wuchengli@'s comments #

Total comments: 34

Patch Set 10 : address wuchengli@'s comments #

Patch Set 11 : update include_rules in DEPS #

Patch Set 12 : WIP: media: Add ArcCamera3Service Mojo proxy #

Patch Set 13 : restore overridden patch set #

Patch Set 14 : update ConfigureStreams mojo interface #

Total comments: 44

Patch Set 15 : address wuchengli@'s comments #

Total comments: 30

Patch Set 16 : address wuchengli@'s comments #

Total comments: 91

Patch Set 17 : address wuchengli's and chfremer's comments #

Total comments: 47

Patch Set 18 : extract ScreenObserverDelegate to display_rotation_observer.h/.cc #

Patch Set 19 : address chfremer's comments #

Total comments: 28

Patch Set 20 : address chfremer's comments #

Patch Set 21 : add more device delegate test cases #

Total comments: 6

Patch Set 22 : address chfremer's comments #

Total comments: 11

Patch Set 23 : add unit tests for stream_buffer_manager #

Patch Set 24 : refactor StreamCaptureInterface and fix up comments #

Patch Set 25 : rebase on latest patch set of issue 2837273004 #

Patch Set 26 : restore patch set 24 #

Total comments: 20

Patch Set 27 : address chfremer's comments #

Total comments: 20

Patch Set 28 : rebase on ToT and address wuchengli's comments #

Patch Set 29 : patch BUILD.gn and sync.c in third_party/libsync #

Patch Set 30 : fix chromium style checker errors #

Patch Set 31 : extract libsync changes to another CL #

Patch Set 32 : set CL dependency #

Total comments: 68

Patch Set 33 : address posciak's comments #

Patch Set 34 : rebase on ToT #

Patch Set 35 : fix style checker errors #

Total comments: 10

Patch Set 36 : address posciak's comments #

Total comments: 2

Patch Set 37 : RELAND: media: add video capture device for ARC++ camera HAL v3 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5503 lines, -81 lines) Patch
M media/capture/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 2 chunks +34 lines, -0 lines 0 comments Download
M media/capture/video/DEPS View 1 2 3 4 5 6 7 8 9 10 11 13 14 15 25 1 chunk +4 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/DEPS View 1 2 3 4 5 6 7 8 9 10 12 25 1 chunk +4 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/OWNERS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 25 1 chunk +3 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/camera_device_context.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +135 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/camera_device_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +58 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/camera_device_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +173 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/camera_device_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +414 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/camera_device_delegate_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +500 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/camera_hal_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +147 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/camera_hal_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +367 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/camera_hal_delegate_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 25 1 chunk +158 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/camera_metadata_utils.h View 12 25 1 chunk +16 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/camera_metadata_utils.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 25 1 chunk +55 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/display_rotation_observer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 25 1 chunk +64 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/display_rotation_observer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 25 1 chunk +86 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/mock_camera_module.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +66 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/mock_camera_module.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +78 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/mock_video_capture_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +73 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/mock_video_capture_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +97 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/mojo/BUILD.gn View 12 25 1 chunk +13 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/mojo/OWNERS View 12 25 1 chunk +2 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/mojo/arc_camera3.mojom View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 25 1 chunk +310 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/mojo/arc_camera3_metadata.mojom View 1 2 3 4 5 12 25 1 chunk +40 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/mojo/camera_metadata_tags.mojom View 12 25 1 chunk +894 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/pixel_format_utils.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 25 1 chunk +23 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/pixel_format_utils.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +65 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/stream_buffer_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +180 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/stream_buffer_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +494 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/stream_buffer_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +457 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/video_capture_device_arc_chromeos.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +90 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/video_capture_device_arc_chromeos.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +186 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/video_capture_device_factory_chromeos.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +61 lines, -0 lines 0 comments Download
A media/capture/video/chromeos/video_capture_device_factory_chromeos.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +95 lines, -0 lines 0 comments Download
M media/capture/video/linux/video_capture_device_chromeos.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 25 3 chunks +5 lines, -4 lines 0 comments Download
M media/capture/video/linux/video_capture_device_chromeos.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 25 1 chunk +0 lines, -77 lines 0 comments Download
M media/capture/video/linux/video_capture_device_factory_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 25 1 chunk +2 lines, -0 lines 0 comments Download
M media/capture/video/video_capture_device_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 4 chunks +54 lines, -0 lines 0 comments Download

Messages

Total messages: 122 (51 generated)
jcliang
This is the WIP version of the camera HAL v3 video capture device. I'm uploading ...
3 years, 8 months ago (2017-04-26 17:43:52 UTC) #3
chfremer
Just a quick few first comments. I haven't been able to go through the complete ...
3 years, 8 months ago (2017-04-26 21:13:05 UTC) #5
jcliang
https://codereview.chromium.org/2837273004/diff/1/media/capture/video/chromeos/video_capture_device_arc_chromeos.cc File media/capture/video/chromeos/video_capture_device_arc_chromeos.cc (right): https://codereview.chromium.org/2837273004/diff/1/media/capture/video/chromeos/video_capture_device_arc_chromeos.cc#newcode19 media/capture/video/chromeos/video_capture_device_arc_chromeos.cc:19: class VideoCaptureDeviceArcChromeOS::ScreenObserverDelegate On 2017/04/26 21:13:05, chfremer wrote: > Please ...
3 years, 7 months ago (2017-04-27 07:07:57 UTC) #6
chfremer
A couple more questions/comments after a first pass of reading. https://codereview.chromium.org/2837273004/diff/20001/media/capture/video/chromeos/camera_device_delegate.h File media/capture/video/chromeos/camera_device_delegate.h (right): https://codereview.chromium.org/2837273004/diff/20001/media/capture/video/chromeos/camera_device_delegate.h#newcode22 ...
3 years, 7 months ago (2017-04-27 22:41:41 UTC) #8
jcliang
https://codereview.chromium.org/2837273004/diff/20001/media/capture/video/chromeos/camera_device_delegate.h File media/capture/video/chromeos/camera_device_delegate.h (right): https://codereview.chromium.org/2837273004/diff/20001/media/capture/video/chromeos/camera_device_delegate.h#newcode22 media/capture/video/chromeos/camera_device_delegate.h:22: using namespace arc::mojom; On 2017/04/27 22:41:41, chfremer wrote: > ...
3 years, 7 months ago (2017-04-28 04:47:58 UTC) #9
wuchengli
https://codereview.chromium.org/2837273004/diff/40001/media/capture/video/chromeos/OWNERS File media/capture/video/chromeos/OWNERS (right): https://codereview.chromium.org/2837273004/diff/40001/media/capture/video/chromeos/OWNERS#newcode1 media/capture/video/chromeos/OWNERS:1: jcliang@chromium.org wuchengli@chromium.org add me in case you are OOO. ...
3 years, 7 months ago (2017-04-28 06:29:29 UTC) #10
jcliang
https://codereview.chromium.org/2837273004/diff/40001/media/capture/video/chromeos/OWNERS File media/capture/video/chromeos/OWNERS (right): https://codereview.chromium.org/2837273004/diff/40001/media/capture/video/chromeos/OWNERS#newcode1 media/capture/video/chromeos/OWNERS:1: jcliang@chromium.org On 2017/04/28 06:29:28, wuchengli wrote: > mailto:wuchengli@chromium.org > ...
3 years, 7 months ago (2017-04-28 08:27:50 UTC) #11
chfremer
https://codereview.chromium.org/2837273004/diff/40001/media/capture/video/chromeos/video_capture_device_factory_chromeos.h File media/capture/video/chromeos/video_capture_device_factory_chromeos.h (right): https://codereview.chromium.org/2837273004/diff/40001/media/capture/video/chromeos/video_capture_device_factory_chromeos.h#newcode34 media/capture/video/chromeos/video_capture_device_factory_chromeos.h:34: // succeeds. This method is called on the browser ...
3 years, 7 months ago (2017-04-28 16:57:18 UTC) #12
jcliang
https://codereview.chromium.org/2837273004/diff/40001/media/capture/video/chromeos/video_capture_device_factory_chromeos.h File media/capture/video/chromeos/video_capture_device_factory_chromeos.h (right): https://codereview.chromium.org/2837273004/diff/40001/media/capture/video/chromeos/video_capture_device_factory_chromeos.h#newcode34 media/capture/video/chromeos/video_capture_device_factory_chromeos.h:34: // succeeds. This method is called on the browser ...
3 years, 7 months ago (2017-04-29 06:55:38 UTC) #13
kenrb
For IPC review, this looks okay modulo one comment which is probably a nit. If ...
3 years, 7 months ago (2017-05-01 23:08:34 UTC) #14
jcliang
https://codereview.chromium.org/2837273004/diff/80001/media/capture/video/chromeos/camera_device_delegate.cc File media/capture/video/chromeos/camera_device_delegate.cc (right): https://codereview.chromium.org/2837273004/diff/80001/media/capture/video/chromeos/camera_device_delegate.cc#newcode482 media/capture/video/chromeos/camera_device_delegate.cc:482: for (size_t i = 0; i < result->num_output_buffers; ++i) ...
3 years, 7 months ago (2017-05-02 12:57:20 UTC) #15
wuchengli
I'm still reviewing camera_hal_delegate.cc. https://codereview.chromium.org/2837273004/diff/80001/media/capture/video/chromeos/camera_hal_delegate.cc File media/capture/video/chromeos/camera_hal_delegate.cc (right): https://codereview.chromium.org/2837273004/diff/80001/media/capture/video/chromeos/camera_hal_delegate.cc#newcode41 media/capture/video/chromeos/camera_hal_delegate.cc:41: camera_module_callbacks_(this) { note to myself: ...
3 years, 7 months ago (2017-05-02 16:11:42 UTC) #16
jcliang
https://codereview.chromium.org/2837273004/diff/80001/media/capture/video/chromeos/camera_hal_delegate.cc File media/capture/video/chromeos/camera_hal_delegate.cc (right): https://codereview.chromium.org/2837273004/diff/80001/media/capture/video/chromeos/camera_hal_delegate.cc#newcode64 media/capture/video/chromeos/camera_hal_delegate.cc:64: LOG(ERROR) << "fcntl(F_GETFL) failed"; On 2017/05/02 16:11:42, wuchengli wrote: ...
3 years, 7 months ago (2017-05-03 04:44:56 UTC) #17
wuchengli
Finished camera_hal_delegate.cc. https://codereview.chromium.org/2837273004/diff/120001/media/capture/video/chromeos/camera_hal_delegate.cc File media/capture/video/chromeos/camera_hal_delegate.cc (right): https://codereview.chromium.org/2837273004/diff/120001/media/capture/video/chromeos/camera_hal_delegate.cc#newcode42 media/capture/video/chromeos/camera_hal_delegate.cc:42: thread_checker_.DetachFromThread(); Document we need to detach because ...
3 years, 7 months ago (2017-05-03 06:34:00 UTC) #18
wuchengli
Finished the review of video_capture_device_arc_chromeos.h/.cc. https://codereview.chromium.org/2837273004/diff/140001/media/capture/video/chromeos/video_capture_device_arc_chromeos.cc File media/capture/video/chromeos/video_capture_device_arc_chromeos.cc (right): https://codereview.chromium.org/2837273004/diff/140001/media/capture/video/chromeos/video_capture_device_arc_chromeos.cc#newcode29 media/capture/video/chromeos/video_capture_device_arc_chromeos.cc:29: ui_task_runner_(ui_task_runner), use std::move to ...
3 years, 7 months ago (2017-05-05 08:10:55 UTC) #19
jcliang
https://codereview.chromium.org/2837273004/diff/120001/media/capture/video/chromeos/camera_hal_delegate.cc File media/capture/video/chromeos/camera_hal_delegate.cc (right): https://codereview.chromium.org/2837273004/diff/120001/media/capture/video/chromeos/camera_hal_delegate.cc#newcode42 media/capture/video/chromeos/camera_hal_delegate.cc:42: thread_checker_.DetachFromThread(); On 2017/05/03 06:34:00, wuchengli wrote: > Document we ...
3 years, 7 months ago (2017-05-08 01:48:59 UTC) #20
wuchengli
Finished the review of camera_device_delegate.h. camera_device_delegate.cc is reviewed until Initialize(). https://codereview.chromium.org/2837273004/diff/160001/media/capture/video/chromeos/camera_device_delegate.cc File media/capture/video/chromeos/camera_device_delegate.cc (right): https://codereview.chromium.org/2837273004/diff/160001/media/capture/video/chromeos/camera_device_delegate.cc#newcode22 ...
3 years, 7 months ago (2017-05-08 04:22:03 UTC) #21
jcliang
https://codereview.chromium.org/2837273004/diff/160001/media/capture/video/chromeos/camera_device_delegate.cc File media/capture/video/chromeos/camera_device_delegate.cc (right): https://codereview.chromium.org/2837273004/diff/160001/media/capture/video/chromeos/camera_device_delegate.cc#newcode22 media/capture/video/chromeos/camera_device_delegate.cc:22: } const kSupportedFormats[] = { On 2017/05/08 04:22:02, wuchengli ...
3 years, 7 months ago (2017-05-13 08:53:16 UTC) #22
wuchengli
Finished camera_device_delegate.cc. https://codereview.chromium.org/2837273004/diff/260001/media/capture/video/chromeos/camera_device_delegate.cc File media/capture/video/chromeos/camera_device_delegate.cc (right): https://codereview.chromium.org/2837273004/diff/260001/media/capture/video/chromeos/camera_device_delegate.cc#newcode220 media/capture/video/chromeos/camera_device_delegate.cc:220: } Clear stream_context_ here. Document why we ...
3 years, 7 months ago (2017-05-17 03:40:14 UTC) #23
jcliang
https://codereview.chromium.org/2837273004/diff/260001/media/capture/video/chromeos/camera_device_delegate.cc File media/capture/video/chromeos/camera_device_delegate.cc (right): https://codereview.chromium.org/2837273004/diff/260001/media/capture/video/chromeos/camera_device_delegate.cc#newcode220 media/capture/video/chromeos/camera_device_delegate.cc:220: } On 2017/05/17 03:40:12, wuchengli wrote: > Clear stream_context_ ...
3 years, 7 months ago (2017-05-17 07:32:11 UTC) #24
wuchengli
Does this patch pass VideoCaptureDeviceUnittest? Add that in TEST= after passing the test. We can ...
3 years, 7 months ago (2017-05-18 02:34:40 UTC) #25
wuchengli
Finished camera_metadata_utils.h/.cc. https://codereview.chromium.org/2837273004/diff/280001/media/capture/video/chromeos/camera_metadata_utils.cc File media/capture/video/chromeos/camera_metadata_utils.cc (right): https://codereview.chromium.org/2837273004/diff/280001/media/capture/video/chromeos/camera_metadata_utils.cc#newcode26 media/capture/video/chromeos/camera_metadata_utils.cc:26: arc::mojom::CameraMetadataPtr result = arc::mojom::CameraMetadata::New(); remove. unused https://codereview.chromium.org/2837273004/diff/280001/media/capture/video/chromeos/camera_metadata_utils.cc#newcode32 ...
3 years, 7 months ago (2017-05-18 02:43:05 UTC) #26
wuchengli
Finished another round review of .gn, DEPS, and OWNERS. https://codereview.chromium.org/2837273004/diff/280001/media/capture/video/chromeos/OWNERS File media/capture/video/chromeos/OWNERS (right): https://codereview.chromium.org/2837273004/diff/280001/media/capture/video/chromeos/OWNERS#newcode2 media/capture/video/chromeos/OWNERS:2: ...
3 years, 7 months ago (2017-05-18 02:52:40 UTC) #27
wuchengli
Finished another round of review for *.mojom. https://codereview.chromium.org/2837273004/diff/280001/media/capture/video/chromeos/mojo/arc_camera3.mojom File media/capture/video/chromeos/mojo/arc_camera3.mojom (right): https://codereview.chromium.org/2837273004/diff/280001/media/capture/video/chromeos/mojo/arc_camera3.mojom#newcode9 media/capture/video/chromeos/mojo/arc_camera3.mojom:9: [Extensible] Discussed ...
3 years, 7 months ago (2017-05-18 03:23:42 UTC) #28
wuchengli
Finished another round of video_capture_device_factory_chromeos.h/.cc. Reviewing video_capture_device_arc_chromeos.cc. We were still discussing the threading and lifecycle. ...
3 years, 7 months ago (2017-05-18 04:26:14 UTC) #29
wuchengli
Emircan, Miguel, and Christian. I've finished a round of review and should finish the second ...
3 years, 7 months ago (2017-05-18 06:25:10 UTC) #30
kenrb
mojom lgtm
3 years, 7 months ago (2017-05-19 21:08:14 UTC) #31
chfremer
On 2017/05/18 06:25:10, wuchengli wrote: > Emircan, Miguel, and Christian. I've finished a round of ...
3 years, 7 months ago (2017-05-19 22:41:37 UTC) #32
jcliang
https://codereview.chromium.org/2837273004/diff/280001/media/capture/video/chromeos/OWNERS File media/capture/video/chromeos/OWNERS (right): https://codereview.chromium.org/2837273004/diff/280001/media/capture/video/chromeos/OWNERS#newcode2 media/capture/video/chromeos/OWNERS:2: wuchengli@chromium.org On 2017/05/18 02:52:40, wuchengli wrote: > Add mailto:posciak@chromium.org ...
3 years, 7 months ago (2017-05-22 13:54:14 UTC) #33
wuchengli
Reviewed another round of video_capture_device_arc_chromeos.h/cc. https://codereview.chromium.org/2837273004/diff/300001/media/capture/video/chromeos/video_capture_device_arc_chromeos.cc File media/capture/video/chromeos/video_capture_device_arc_chromeos.cc (right): https://codereview.chromium.org/2837273004/diff/300001/media/capture/video/chromeos/video_capture_device_arc_chromeos.cc#newcode155 media/capture/video/chromeos/video_capture_device_arc_chromeos.cc:155: if (!camera_device_delegate_) return; In ...
3 years, 7 months ago (2017-05-23 02:56:02 UTC) #36
wuchengli
Doing another round for CameraDeviceDelegate. Just finished review ConfigureStreams. https://codereview.chromium.org/2837273004/diff/300001/media/capture/video/chromeos/camera_device_delegate.cc File media/capture/video/chromeos/camera_device_delegate.cc (right): https://codereview.chromium.org/2837273004/diff/300001/media/capture/video/chromeos/camera_device_delegate.cc#newcode40 media/capture/video/chromeos/camera_device_delegate.cc:40: ...
3 years, 7 months ago (2017-05-23 04:29:08 UTC) #37
chfremer
Some comments and questions from a pass of reading the *video_capture_device* files. https://codereview.chromium.org/2837273004/diff/300001/media/capture/video/chromeos/video_capture_device_arc_chromeos.cc File media/capture/video/chromeos/video_capture_device_arc_chromeos.cc ...
3 years, 7 months ago (2017-05-24 23:36:43 UTC) #38
wuchengli
Finished another round of camera_device_delegate.cc. https://codereview.chromium.org/2837273004/diff/300001/media/capture/video/chromeos/camera_device_delegate.cc File media/capture/video/chromeos/camera_device_delegate.cc (right): https://codereview.chromium.org/2837273004/diff/300001/media/capture/video/chromeos/camera_device_delegate.cc#newcode370 media/capture/video/chromeos/camera_device_delegate.cc:370: stream_context_->stream->max_buffers = updated_stream->max_buffers; Let's ...
3 years, 7 months ago (2017-05-25 07:59:06 UTC) #39
wuchengli
Finished another round of camera_device_delegate.cc. https://codereview.chromium.org/2837273004/diff/300001/media/capture/video/chromeos/camera_device_delegate.cc File media/capture/video/chromeos/camera_device_delegate.cc (right): https://codereview.chromium.org/2837273004/diff/300001/media/capture/video/chromeos/camera_device_delegate.cc#newcode370 media/capture/video/chromeos/camera_device_delegate.cc:370: stream_context_->stream->max_buffers = updated_stream->max_buffers; Let's ...
3 years, 7 months ago (2017-05-25 07:59:06 UTC) #40
wuchengli
Note to myself: The files I haven't reviewed in the second round: - camera_hal_delegate.h/.cc - ...
3 years, 7 months ago (2017-05-25 08:02:50 UTC) #41
wuchengli
Finished the second round of review for camera_hal_delegate.h/.cc. https://codereview.chromium.org/2837273004/diff/300001/media/capture/video/chromeos/camera_hal_delegate.cc File media/capture/video/chromeos/camera_hal_delegate.cc (right): https://codereview.chromium.org/2837273004/diff/300001/media/capture/video/chromeos/camera_hal_delegate.cc#newcode143 media/capture/video/chromeos/camera_hal_delegate.cc:143: VLOG(1) ...
3 years, 7 months ago (2017-05-25 08:24:12 UTC) #42
wuchengli
https://codereview.chromium.org/2837273004/diff/300001/media/capture/video/chromeos/camera_hal_delegate.cc File media/capture/video/chromeos/camera_hal_delegate.cc (right): https://codereview.chromium.org/2837273004/diff/300001/media/capture/video/chromeos/camera_hal_delegate.cc#newcode229 media/capture/video/chromeos/camera_hal_delegate.cc:229: } Let's sort and put the front camera first. ...
3 years, 7 months ago (2017-05-25 09:06:42 UTC) #43
jcliang
https://codereview.chromium.org/2837273004/diff/300001/media/capture/video/chromeos/camera_device_delegate.cc File media/capture/video/chromeos/camera_device_delegate.cc (right): https://codereview.chromium.org/2837273004/diff/300001/media/capture/video/chromeos/camera_device_delegate.cc#newcode40 media/capture/video/chromeos/camera_device_delegate.cc:40: // TODO(jcliang): Change NV12 to I420 after the camera ...
3 years, 7 months ago (2017-05-25 14:23:48 UTC) #44
chfremer
Some replies. No new code reviewed. https://codereview.chromium.org/2837273004/diff/300001/media/capture/video/chromeos/video_capture_device_arc_chromeos.cc File media/capture/video/chromeos/video_capture_device_arc_chromeos.cc (right): https://codereview.chromium.org/2837273004/diff/300001/media/capture/video/chromeos/video_capture_device_arc_chromeos.cc#newcode17 media/capture/video/chromeos/video_capture_device_arc_chromeos.cc:17: // thread to ...
3 years, 7 months ago (2017-05-25 17:13:07 UTC) #45
jcliang
https://codereview.chromium.org/2837273004/diff/300001/media/capture/video/chromeos/video_capture_device_arc_chromeos.cc File media/capture/video/chromeos/video_capture_device_arc_chromeos.cc (right): https://codereview.chromium.org/2837273004/diff/300001/media/capture/video/chromeos/video_capture_device_arc_chromeos.cc#newcode17 media/capture/video/chromeos/video_capture_device_arc_chromeos.cc:17: // thread to the media thread. On 2017/05/25 17:13:07, ...
3 years, 7 months ago (2017-05-26 04:33:33 UTC) #46
chfremer
Comments and questions from a pass of looking at the camera_hal_delegate* files. https://codereview.chromium.org/2837273004/diff/320001/media/capture/video/chromeos/camera_hal_delegate.cc File media/capture/video/chromeos/camera_hal_delegate.cc ...
3 years, 7 months ago (2017-05-26 17:40:58 UTC) #47
chfremer
On 2017/05/26 04:33:33, jcliang wrote: > https://codereview.chromium.org/2837273004/diff/300001/media/capture/video/chromeos/video_capture_device_arc_chromeos.cc > File media/capture/video/chromeos/video_capture_device_arc_chromeos.cc (right): > > https://codereview.chromium.org/2837273004/diff/300001/media/capture/video/chromeos/video_capture_device_arc_chromeos.cc#newcode17 > ...
3 years, 7 months ago (2017-05-26 17:45:46 UTC) #48
jcliang
https://codereview.chromium.org/2837273004/diff/320001/media/capture/video/chromeos/camera_hal_delegate.cc File media/capture/video/chromeos/camera_hal_delegate.cc (right): https://codereview.chromium.org/2837273004/diff/320001/media/capture/video/chromeos/camera_hal_delegate.cc#newcode44 media/capture/video/chromeos/camera_hal_delegate.cc:44: module_task_runner_(module_task_runner), On 2017/05/26 17:40:57, chfremer wrote: > For passing ...
3 years, 6 months ago (2017-05-31 14:58:07 UTC) #49
chfremer
Some replies and questions https://codereview.chromium.org/2837273004/diff/320001/media/capture/video/chromeos/camera_hal_delegate.h File media/capture/video/chromeos/camera_hal_delegate.h (right): https://codereview.chromium.org/2837273004/diff/320001/media/capture/video/chromeos/camera_hal_delegate.h#newcode45 media/capture/video/chromeos/camera_hal_delegate.h:45: // on. On 2017/05/31 14:58:06, ...
3 years, 6 months ago (2017-05-31 18:30:41 UTC) #50
chfremer
A couple more comments/questions/requests, while I'm about to dive into CameraDeviceDelegate. https://codereview.chromium.org/2837273004/diff/320001/media/capture/video/chromeos/camera_hal_delegate_unittest.cc File media/capture/video/chromeos/camera_hal_delegate_unittest.cc (right): ...
3 years, 6 months ago (2017-06-01 00:16:27 UTC) #51
jcliang
https://codereview.chromium.org/2837273004/diff/320001/media/capture/video/chromeos/camera_hal_delegate.h File media/capture/video/chromeos/camera_hal_delegate.h (right): https://codereview.chromium.org/2837273004/diff/320001/media/capture/video/chromeos/camera_hal_delegate.h#newcode74 media/capture/video/chromeos/camera_hal_delegate.h:74: void StartForTesting(arc::mojom::CameraModulePtrInfo info); On 2017/05/31 18:30:41, chfremer wrote: > ...
3 years, 6 months ago (2017-06-01 17:11:17 UTC) #52
chfremer
Overall, things look sound. The main thing I feel we need to do before we ...
3 years, 6 months ago (2017-06-01 17:16:49 UTC) #53
yzshen1
https://codereview.chromium.org/2837273004/diff/320001/media/capture/video/chromeos/camera_hal_delegate.cc File media/capture/video/chromeos/camera_hal_delegate.cc (right): https://codereview.chromium.org/2837273004/diff/320001/media/capture/video/chromeos/camera_hal_delegate.cc#newcode113 media/capture/video/chromeos/camera_hal_delegate.cc:113: } On 2017/05/26 17:40:57, chfremer wrote: > The contents ...
3 years, 6 months ago (2017-06-02 15:15:22 UTC) #55
Ken Rockot(use gerrit already)
lgtm
3 years, 6 months ago (2017-06-02 15:30:46 UTC) #56
jcliang
Uploading a new patch set first to address chfremer's comments and add some more test ...
3 years, 6 months ago (2017-06-06 16:04:29 UTC) #57
jcliang
https://codereview.chromium.org/2837273004/diff/360001/media/capture/video/chromeos/camera_device_delegate.h File media/capture/video/chromeos/camera_device_delegate.h (right): https://codereview.chromium.org/2837273004/diff/360001/media/capture/video/chromeos/camera_device_delegate.h#newcode57 media/capture/video/chromeos/camera_device_delegate.h:57: // to process capture requests. On 2017/06/06 16:04:29, jcliang ...
3 years, 6 months ago (2017-06-06 16:09:23 UTC) #58
chfremer
A few more suggestions. As a next step, I am planning to read through CameraDeviceDelegate ...
3 years, 6 months ago (2017-06-06 17:09:25 UTC) #59
jcliang
https://codereview.chromium.org/2837273004/diff/360001/media/capture/video/chromeos/camera_device_delegate.h File media/capture/video/chromeos/camera_device_delegate.h (right): https://codereview.chromium.org/2837273004/diff/360001/media/capture/video/chromeos/camera_device_delegate.h#newcode57 media/capture/video/chromeos/camera_device_delegate.h:57: // to process capture requests. On 2017/06/06 17:09:25, chfremer ...
3 years, 6 months ago (2017-06-07 08:18:40 UTC) #60
chfremer
Alright, so after finishing a read-through of StreamBufferManager and its tests, I think it makes ...
3 years, 6 months ago (2017-06-08 21:58:38 UTC) #61
jcliang
Thank you so much for spending time reviewing this gigantic CL, Christian! https://codereview.chromium.org/2837273004/diff/420001/media/capture/video/chromeos/camera_device_delegate.cc File media/capture/video/chromeos/camera_device_delegate.cc ...
3 years, 6 months ago (2017-06-09 05:16:01 UTC) #62
wuchengli
lgtm Congrats! https://codereview.chromium.org/2837273004/diff/520001/media/capture/video/chromeos/camera_device_delegate.cc File media/capture/video/chromeos/camera_device_delegate.cc (right): https://codereview.chromium.org/2837273004/diff/520001/media/capture/video/chromeos/camera_device_delegate.cc#newcode128 media/capture/video/chromeos/camera_device_delegate.cc:128: // channel before we do, in which ...
3 years, 6 months ago (2017-06-09 07:43:54 UTC) #67
jcliang
https://codereview.chromium.org/2837273004/diff/520001/media/capture/video/chromeos/camera_device_delegate.cc File media/capture/video/chromeos/camera_device_delegate.cc (right): https://codereview.chromium.org/2837273004/diff/520001/media/capture/video/chromeos/camera_device_delegate.cc#newcode128 media/capture/video/chromeos/camera_device_delegate.cc:128: // channel before we do, in which case the ...
3 years, 6 months ago (2017-06-09 08:34:37 UTC) #68
jcliang
David - Can you take a look at the modifications to third_party/libsync?
3 years, 6 months ago (2017-06-09 15:16:35 UTC) #74
chfremer
Following up on some of the discussion points. These are just ideas for future work ...
3 years, 6 months ago (2017-06-09 17:53:18 UTC) #81
jcliang
https://codereview.chromium.org/2837273004/diff/500001/media/capture/video/chromeos/stream_buffer_manager.cc File media/capture/video/chromeos/stream_buffer_manager.cc (right): https://codereview.chromium.org/2837273004/diff/500001/media/capture/video/chromeos/stream_buffer_manager.cc#newcode456 media/capture/video/chromeos/stream_buffer_manager.cc:456: if (!sync_wait(fence.get().handle, kSyncWaitTimeoutMs)) { On 2017/06/09 17:53:17, chfremer wrote: ...
3 years, 6 months ago (2017-06-12 08:52:39 UTC) #84
Pawel Osciak
https://codereview.chromium.org/2837273004/diff/620001/media/capture/BUILD.gn File media/capture/BUILD.gn (right): https://codereview.chromium.org/2837273004/diff/620001/media/capture/BUILD.gn#newcode52 media/capture/BUILD.gn:52: "video/chromeos/camera_device_context.cc", Could any of these also be under if ...
3 years, 6 months ago (2017-06-13 08:40:17 UTC) #90
jcliang
https://codereview.chromium.org/2837273004/diff/620001/media/capture/BUILD.gn File media/capture/BUILD.gn (right): https://codereview.chromium.org/2837273004/diff/620001/media/capture/BUILD.gn#newcode52 media/capture/BUILD.gn:52: "video/chromeos/camera_device_context.cc", On 2017/06/13 08:40:15, Pawel Osciak wrote: > Could ...
3 years, 6 months ago (2017-06-14 04:46:08 UTC) #92
jcliang
3 years, 6 months ago (2017-06-14 05:31:05 UTC) #100
Pawel Osciak
Thanks! Just some small comments in addition to the offline chat discussion about wait cycle ...
3 years, 6 months ago (2017-06-14 09:07:45 UTC) #107
reveman
media/capture/video/chromeos/DEPS lgtm
3 years, 6 months ago (2017-06-14 13:28:35 UTC) #108
jcliang
https://codereview.chromium.org/2837273004/diff/680001/media/capture/BUILD.gn File media/capture/BUILD.gn (right): https://codereview.chromium.org/2837273004/diff/680001/media/capture/BUILD.gn#newcode52 media/capture/BUILD.gn:52: "video/chromeos/display_rotation_observer.cc", On 2017/06/14 09:07:43, Pawel Osciak wrote: > Per ...
3 years, 6 months ago (2017-06-14 13:38:46 UTC) #109
Pawel Osciak
thanks! lgtm % nit (note: I did not review unittests) https://codereview.chromium.org/2837273004/diff/700001/media/capture/video/chromeos/camera_device_delegate.h File media/capture/video/chromeos/camera_device_delegate.h (right): https://codereview.chromium.org/2837273004/diff/700001/media/capture/video/chromeos/camera_device_delegate.h#newcode79 ...
3 years, 6 months ago (2017-06-15 09:27:07 UTC) #114
jcliang
https://codereview.chromium.org/2837273004/diff/700001/media/capture/video/chromeos/camera_device_delegate.h File media/capture/video/chromeos/camera_device_delegate.h (right): https://codereview.chromium.org/2837273004/diff/700001/media/capture/video/chromeos/camera_device_delegate.h#newcode79 media/capture/video/chromeos/camera_device_delegate.h:79: base::WeakPtr<CameraDeviceDelegate> GetWeakPtr(); On 2017/06/15 09:27:07, Pawel Osciak wrote: > ...
3 years, 6 months ago (2017-06-15 10:23:41 UTC) #115
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2837273004/700001
3 years, 6 months ago (2017-06-15 10:24:29 UTC) #118
commit-bot: I haz the power
Committed patchset #36 (id:700001) as https://chromium.googlesource.com/chromium/src/+/b2b84801bfe858bfe7e568354cb3ca3f2578e78e
3 years, 6 months ago (2017-06-15 10:28:55 UTC) #121
findit-for-me
3 years, 6 months ago (2017-06-15 11:15:06 UTC) #122
Message was sent while issue was closed.
A revert of this CL (patchset #36 id:700001) has been created in
https://codereview.chromium.org/2936373002/ by
findit-for-me@appspot.gserviceaccount.com.

The reason for reverting is: 
Findit (https://goo.gl/kROfz5) identified CL at revision 479662 as the
culprit for failures in the build cycles as shown on:
https://findit-for-me.appspot.com/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3Itb....

Powered by Google App Engine
This is Rietveld 408576698