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

Issue 1176613003: Fixing formats for Video Capture Device unittest (Closed)

Created:
5 years, 6 months ago by emircan
Modified:
5 years, 6 months ago
Reviewers:
mcasas
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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

This CL fixes some issues that came up Video Capture Device unittest, where it tries to capture format that are not supported by the device and makes size assumptions on it-device being daisy in this case-. - We check the exact size if returned type is equal to the requested type PIXEL_FORMAT_I420. - If it is some other format, excluding PIXEL_FORMAT_MJPEG, we make the assumption that it is at least 12 BPP. BUG=482875 Committed: https://crrev.com/ef4d387401d41721b7a1244417cc507e2e09dc42 Cr-Commit-Position: refs/heads/master@{#333761}

Patch Set 1 : #

Total comments: 3

Patch Set 2 : mcasas@ comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -6 lines) Patch
M media/video/capture/video_capture_device_unittest.cc View 1 3 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
emircan
Please take a look.
5 years, 6 months ago (2015-06-09 21:50:43 UTC) #2
mcasas
https://codereview.chromium.org/1176613003/diff/20001/media/video/capture/video_capture_device_unittest.cc File media/video/capture/video_capture_device_unittest.cc (right): https://codereview.chromium.org/1176613003/diff/20001/media/video/capture/video_capture_device_unittest.cc#newcode325 media/video/capture/video_capture_device_unittest.cc:325: EXPECT_EQ(static_cast<size_t>(width * height * 3 / 2), What about ...
5 years, 6 months ago (2015-06-10 00:48:04 UTC) #4
emircan
https://codereview.chromium.org/1176613003/diff/20001/media/video/capture/video_capture_device_unittest.cc File media/video/capture/video_capture_device_unittest.cc (right): https://codereview.chromium.org/1176613003/diff/20001/media/video/capture/video_capture_device_unittest.cc#newcode325 media/video/capture/video_capture_device_unittest.cc:325: EXPECT_EQ(static_cast<size_t>(width * height * 3 / 2), On 2015/06/10 ...
5 years, 6 months ago (2015-06-10 01:19:59 UTC) #5
mcasas
lgtm
5 years, 6 months ago (2015-06-10 02:33:21 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1176613003/40001
5 years, 6 months ago (2015-06-10 18:06:48 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:40001)
5 years, 6 months ago (2015-06-10 18:14:15 UTC) #9
commit-bot: I haz the power
5 years, 6 months ago (2015-06-10 18:16:11 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ef4d387401d41721b7a1244417cc507e2e09dc42
Cr-Commit-Position: refs/heads/master@{#333761}

Powered by Google App Engine
This is Rietveld 408576698