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

Issue 2486543002: [Mojo Video Capture] Add test ReceiveFramesFromFakeCaptureDevice (Closed)

Created:
4 years, 1 month ago by chfremer
Modified:
4 years, 1 month ago
Reviewers:
emircan, mcasas
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, posciak+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mojo Video Capture] Add test ReceiveFramesFromFakeCaptureDevice * Add test FakeDeviceTest.ReceiveFramesFromFakeCaptureDevice, which tests that a couple of frames from the fake device are received and match the expected format and have increasing timestamps. * Implement mojom::VideoCaptureDeviceFactory::GetSupportedFormats(). This functionality is needed by the FakeDeviceTests in order to obtain a format supported by the fake device. This CL is part of the Mojo Video Capture work. For the bigger picture, see [1] CL1.8.2 BUG=584797 TEST=video_capture_unittests, content_unittests, capture_unittests [1] https://docs.google.com/a/chromium.org/document/d/1Qw7rw1AJy0QHXjha36jZNiEuxsxWslJ_X-zpOhijvI8/edit?usp=sharing Committed: https://crrev.com/fa001ca45e50cb6d7f80b05e6333126641db93ee Cr-Commit-Position: refs/heads/master@{#431278}

Patch Set 1 #

Total comments: 14

Patch Set 2 : mcasas comments #

Total comments: 8

Patch Set 3 : mcasas comments mk2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -4 lines) Patch
M services/video_capture/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M services/video_capture/device_factory_media_to_mojo_adapter.cc View 1 2 1 chunk +17 lines, -1 line 0 comments Download
M services/video_capture/fake_device_test.h View 1 2 chunks +15 lines, -0 lines 0 comments Download
M services/video_capture/fake_device_test.cc View 1 2 chunks +26 lines, -0 lines 0 comments Download
M services/video_capture/fake_device_unittest.cc View 1 2 3 chunks +66 lines, -0 lines 0 comments Download
M services/video_capture/mock_device_descriptor_receiver.h View 1 chunk +3 lines, -2 lines 0 comments Download
M services/video_capture/mock_device_factory.cc View 2 chunks +9 lines, -1 line 0 comments Download
M services/video_capture/public/cpp/video_capture_settings.h View 1 chunk +4 lines, -0 lines 0 comments Download
M services/video_capture/public/interfaces/video_capture_settings_traits.h View 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 27 (19 generated)
chfremer
mcasas@: PTAL emircan@: Optional
4 years, 1 month ago (2016-11-07 22:37:21 UTC) #3
mcasas
https://codereview.chromium.org/2486543002/diff/1/services/video_capture/device_factory_media_to_mojo_adapter.cc File services/video_capture/device_factory_media_to_mojo_adapter.cc (right): https://codereview.chromium.org/2486543002/diff/1/services/video_capture/device_factory_media_to_mojo_adapter.cc#newcode57 services/video_capture/device_factory_media_to_mojo_adapter.cc:57: media_format.pixel_format != media::PIXEL_FORMAT_MJPEG) Y16 was added very recently to ...
4 years, 1 month ago (2016-11-09 23:50:29 UTC) #4
chfremer
mcasas@: PTAL https://codereview.chromium.org/2486543002/diff/1/services/video_capture/device_factory_media_to_mojo_adapter.cc File services/video_capture/device_factory_media_to_mojo_adapter.cc (right): https://codereview.chromium.org/2486543002/diff/1/services/video_capture/device_factory_media_to_mojo_adapter.cc#newcode57 services/video_capture/device_factory_media_to_mojo_adapter.cc:57: media_format.pixel_format != media::PIXEL_FORMAT_MJPEG) On 2016/11/09 23:50:29, mcasas ...
4 years, 1 month ago (2016-11-10 00:28:48 UTC) #6
mcasas
lgtm with some suggestions/comments. https://codereview.chromium.org/2486543002/diff/1/services/video_capture/device_factory_media_to_mojo_adapter.cc File services/video_capture/device_factory_media_to_mojo_adapter.cc (right): https://codereview.chromium.org/2486543002/diff/1/services/video_capture/device_factory_media_to_mojo_adapter.cc#newcode57 services/video_capture/device_factory_media_to_mojo_adapter.cc:57: media_format.pixel_format != media::PIXEL_FORMAT_MJPEG) On 2016/11/10 ...
4 years, 1 month ago (2016-11-10 01:21:25 UTC) #13
chfremer
Addressed comments https://codereview.chromium.org/2486543002/diff/1/services/video_capture/device_factory_media_to_mojo_adapter.cc File services/video_capture/device_factory_media_to_mojo_adapter.cc (right): https://codereview.chromium.org/2486543002/diff/1/services/video_capture/device_factory_media_to_mojo_adapter.cc#newcode57 services/video_capture/device_factory_media_to_mojo_adapter.cc:57: media_format.pixel_format != media::PIXEL_FORMAT_MJPEG) On 2016/11/10 01:21:25, mcasas ...
4 years, 1 month ago (2016-11-10 04:41:35 UTC) #18
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/2486543002/80001
4 years, 1 month ago (2016-11-10 17:00:19 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 1 month ago (2016-11-10 17:07:30 UTC) #25
commit-bot: I haz the power
4 years, 1 month ago (2016-11-10 17:37:32 UTC) #27
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/fa001ca45e50cb6d7f80b05e6333126641db93ee
Cr-Commit-Position: refs/heads/master@{#431278}

Powered by Google App Engine
This is Rietveld 408576698