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

Issue 23870002: Video Capture: Use libyuv for color conversion in VideoCaptureController. (Closed)

Created:
7 years, 3 months ago by mcasas
Modified:
7 years, 3 months ago
CC:
Jói, chromium-reviews, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, jam, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Video Capture: Use libyuv for color conversion in VideoCaptureController. Using libyuv for all platforms except Android and iOS. The implementation of OnIncomingCapturedFrame is #ifdef'ed. BUG=282282 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221814

Patch Set 1 #

Patch Set 2 : Special RGB treatment for Windows platforms #

Total comments: 11

Patch Set 3 : wjia comments addressed #

Total comments: 4

Patch Set 4 : Rotation first, flip second #

Patch Set 5 : kRGB24 treated separately for OS_WIN platform #

Patch Set 6 : kRGB24-OS_WIN case treated more cleanly after consultation with the Ancient Masters #

Total comments: 2

Patch Set 7 : Rewritten kRGB24-OS_WIN #

Patch Set 8 : DCHECK for no rotation no flips in kRGB24+OS_WIN #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -21 lines) Patch
M content/browser/renderer_host/media/video_capture_controller.cc View 1 2 3 4 5 6 7 6 chunks +130 lines, -21 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
mcasas
Hi tommi - could you PTAL at this CL? Thanks!
7 years, 3 months ago (2013-09-02 13:27:15 UTC) #1
tommi (sloooow) - chröme
Wei - I think you're better qualified at reviewing this than I :)
7 years, 3 months ago (2013-09-02 16:20:18 UTC) #2
wjia(left Chromium)
https://codereview.chromium.org/23870002/diff/9001/content/browser/renderer_host/media/video_capture_controller.cc File content/browser/renderer_host/media/video_capture_controller.cc (right): https://codereview.chromium.org/23870002/diff/9001/content/browser/renderer_host/media/video_capture_controller.cc#newcode263 content/browser/renderer_host/media/video_capture_controller.cc:263: #if !defined(OS_IOS) && !defined(OS_ANDROID) Is it possible to add ...
7 years, 3 months ago (2013-09-02 17:11:35 UTC) #3
mcasas
Removed DCHECK. Renamed destination_colorspace to origin_colorspace. Added code to consolidate rotation and both flips into ...
7 years, 3 months ago (2013-09-03 08:08:49 UTC) #4
mcasas
Addressed wjia's comments. https://codereview.chromium.org/23870002/diff/9001/content/browser/renderer_host/media/video_capture_controller.cc File content/browser/renderer_host/media/video_capture_controller.cc (right): https://codereview.chromium.org/23870002/diff/9001/content/browser/renderer_host/media/video_capture_controller.cc#newcode263 content/browser/renderer_host/media/video_capture_controller.cc:263: #if !defined(OS_IOS) && !defined(OS_ANDROID) That'll be ...
7 years, 3 months ago (2013-09-03 08:10:41 UTC) #5
wjia(left Chromium)
https://codereview.chromium.org/23870002/diff/15001/content/browser/renderer_host/media/video_capture_controller.cc File content/browser/renderer_host/media/video_capture_controller.cc (right): https://codereview.chromium.org/23870002/diff/15001/content/browser/renderer_host/media/video_capture_controller.cc#newcode293 content/browser/renderer_host/media/video_capture_controller.cc:293: // Assuming flips happen before rotations (as in libyuv), ...
7 years, 3 months ago (2013-09-03 23:23:45 UTC) #6
mcasas
Addressed second round of wjia's comments. Thanks for the quick turnover! https://codereview.chromium.org/23870002/diff/15001/content/browser/renderer_host/media/video_capture_controller.cc File content/browser/renderer_host/media/video_capture_controller.cc (right): ...
7 years, 3 months ago (2013-09-04 08:47:46 UTC) #7
mcasas
Addressed wjia@'s offline comments about kRGB24 color conversion in OS_WIN case. Thanks for your time! ...
7 years, 3 months ago (2013-09-06 08:14:23 UTC) #8
wjia(left Chromium)
With kRGB24 on WIN fixed, we are almost there. One more comment. Please make sure ...
7 years, 3 months ago (2013-09-06 17:27:36 UTC) #9
mcasas
Hi wjia@, I took your suggestion in, thanks. About rotation and flipping, for the platforms ...
7 years, 3 months ago (2013-09-06 17:46:41 UTC) #10
wjia(left Chromium)
lgtm with comment: please add comment for the function indicating that "rotation for rgb24 on ...
7 years, 3 months ago (2013-09-06 17:54:46 UTC) #11
mcasas
Changed comment to: // Rotation and flipping is not supported in kRGB24 and OS_WIN case. ...
7 years, 3 months ago (2013-09-06 18:09:18 UTC) #12
wjia(left Chromium)
lgtm
7 years, 3 months ago (2013-09-06 18:22:52 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mcasas@chromium.org/23870002/53001
7 years, 3 months ago (2013-09-06 18:27:17 UTC) #14
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=74940
7 years, 3 months ago (2013-09-06 22:12:46 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mcasas@chromium.org/23870002/53001
7 years, 3 months ago (2013-09-06 22:19:26 UTC) #16
commit-bot: I haz the power
7 years, 3 months ago (2013-09-06 23:28:29 UTC) #17
Message was sent while issue was closed.
Change committed as 221814

Powered by Google App Engine
This is Rietveld 408576698