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

Issue 907113002: Reland:Refactored pixel format resize operations in media/video/capture into a function called Vide… (Closed)

Created:
5 years, 10 months ago by emircan
Modified:
5 years, 10 months ago
Reviewers:
perkj_chrome, mcasas
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+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

Reland:Refactored pixel format resize operations in media/video/capture into a function called VideoCaptureFormat::GetSizeForVideoPixelFormat(). Relanding Issue https://codereview.chromium.org/897483002. Refactored pixel format resize operations in media/video/capture into a function called VideoCaptureFormat::GetSizeForVideoPixelFormat(). TEST=VideoCaptureDeviceTest.* in media_unittests pass. Committed: https://crrev.com/79288ba0b63021e8731e0401b8a4a9055d33fa10 Cr-Commit-Position: refs/heads/master@{#315175} Committed: https://crrev.com/73c490dfcc4acd88d10f252b3029a89cd8fa5767 Cr-Commit-Position: refs/heads/master@{#317373}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Made the check WIN specific. #

Total comments: 1

Patch Set 3 : Moved DCHECK earlier to detect 0 length. #

Patch Set 4 : Changed handling of length equals 0. #

Patch Set 5 : Fixed size for VCC unittest. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -10 lines) Patch
M content/browser/renderer_host/media/video_capture_controller.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_controller_unittest.cc View 1 2 3 4 1 chunk +6 lines, -5 lines 0 comments Download
M media/video/capture/file_video_capture_device.h View 1 chunk +1 line, -1 line 0 comments Download
M media/video/capture/file_video_capture_device.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M media/video/capture/video_capture_device_unittest.cc View 1 2 4 chunks +10 lines, -0 lines 0 comments Download
M media/video/capture/video_capture_types.h View 1 chunk +4 lines, -0 lines 0 comments Download
M media/video/capture/video_capture_types.cc View 1 chunk +30 lines, -0 lines 0 comments Download
M media/video/capture/win/sink_input_pin_win.cc View 1 2 3 2 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (11 generated)
emircan
PTAL. Earlier commit fails showed that, on Windows platforms with real webcams, the input |length| ...
5 years, 10 months ago (2015-02-10 02:18:49 UTC) #2
mcasas
lgtm, my parts didn't change, only perkj@'s
5 years, 10 months ago (2015-02-10 03:37:52 UTC) #5
perkj_chrome
Please also cleanup the cl description. If this does notfix an issue also remove BUG= ...
5 years, 10 months ago (2015-02-10 08:01:00 UTC) #6
perkj_chrome
On 2015/02/10 08:01:00, perkj wrote: > Please also cleanup the cl description. > If this ...
5 years, 10 months ago (2015-02-10 08:05:45 UTC) #7
emircan
On 2015/02/10 08:01:00, perkj wrote: > https://codereview.chromium.org/907113002/diff/1/media/video/capture/win/sink_input_pin_win.cc#newcode152 > media/video/capture/win/sink_input_pin_win.cc:152: const int length = > sample->GetActualDataLength(); ...
5 years, 10 months ago (2015-02-10 17:15:34 UTC) #8
perkj_chrome
On 2015/02/10 17:15:34, emircan wrote: > On 2015/02/10 08:01:00, perkj wrote: > > > > ...
5 years, 10 months ago (2015-02-12 15:24:58 UTC) #9
emircan
On 2015/02/12 15:24:58, perkj wrote: > I meant that if the length is zero in ...
5 years, 10 months ago (2015-02-19 00:16:47 UTC) #14
perkj_chrome
On 2015/02/19 00:16:47, emircan wrote: > On 2015/02/12 15:24:58, perkj wrote: > > I meant ...
5 years, 10 months ago (2015-02-19 07:05:05 UTC) #15
emircan
On 2015/02/19 07:05:05, perkj wrote: > lgtm if you consider - > didn't you say ...
5 years, 10 months ago (2015-02-20 01:21:09 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/907113002/130001
5 years, 10 months ago (2015-02-20 08:48:32 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/34889)
5 years, 10 months ago (2015-02-20 12:39:56 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/907113002/150001
5 years, 10 months ago (2015-02-20 18:40:57 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:150001)
5 years, 10 months ago (2015-02-20 19:34:43 UTC) #24
commit-bot: I haz the power
5 years, 10 months ago (2015-02-20 19:35:26 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/73c490dfcc4acd88d10f252b3029a89cd8fa5767
Cr-Commit-Position: refs/heads/master@{#317373}

Powered by Google App Engine
This is Rietveld 408576698