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

Issue 23444072: Use libyuv in Android VideoCaptureController (not for Android WebView) (Closed)

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

Description

Use libyuv in Android VideoCaptureController. Added libyuv support and use in all other builds _except_ Android WebView build (trybot android_aosp, different from Chromium WebView builds). Android WebView does _not_ use video capture at all. Libyuv is not compiled and not used in iOS builds, neither is any video capture related files. BUG=292400 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=226907

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebased -- again :) #

Patch Set 4 : Removed webview-dependent parts of VCC, removed Java media files from webview gyp files #

Patch Set 5 : Added an explicit libyuv exclusion on android_webview build gyp. #

Patch Set 6 : Another try at android_webview special compilation #

Patch Set 7 : Another try at android_webview special compilation #

Patch Set 8 : Another try at android_webview special compilation #

Patch Set 9 : Another try at android_webview special compilation #

Patch Set 10 : iOs still compiling libyuv - reconnected barrier #

Patch Set 11 : Typo. #

Patch Set 12 : Finished libyuv rotation+letterboxing. #

Total comments: 5

Patch Set 13 : Addresed wjia@'s comments #

Patch Set 14 : Reconnected video capture and libyuv compilation in android targets, including webview #

Patch Set 15 : wjia@'s comments addressed #

Patch Set 16 : Reconnected libyuv+video capture compilation for all chromium builds including webview but disabled… #

Patch Set 17 : Corrected silly typo. #

Patch Set 18 : Corrected _another_ silly typo. #

Patch Set 19 : Make explicit no libyuv for iOS builds. #

Total comments: 8

Patch Set 20 : wjia@'s comments addressed #

Patch Set 21 : Another go at gyp files #

Patch Set 22 : Another go at gyp files #

Total comments: 4

Patch Set 23 : Addressed wjia@'s comments. #

Total comments: 4

Patch Set 24 : Polished content_browser.gypi #

Patch Set 25 : Rebase #

Patch Set 26 : Changed content_browser gyp define. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -153 lines) Patch
M content/browser/renderer_host/media/video_capture_controller.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 8 chunks +36 lines, -153 lines 0 comments Download
M content/content_browser.gypi 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 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
mcasas
Hi wjia@, could you PTAL at video_capture_controller.cc changes? Thanks!
7 years, 3 months ago (2013-09-23 15:26:45 UTC) #1
wjia(left Chromium)
https://codereview.chromium.org/23444072/diff/13001/content/browser/renderer_host/media/video_capture_controller.cc File content/browser/renderer_host/media/video_capture_controller.cc (right): https://codereview.chromium.org/23444072/diff/13001/content/browser/renderer_host/media/video_capture_controller.cc#newcode354 content/browser/renderer_host/media/video_capture_controller.cc:354: vplane += letterbox_width/2; This handles only landscape case. What ...
7 years, 3 months ago (2013-09-23 18:43:49 UTC) #2
mcasas
Addressed wjia@'s comments, thanks for the quick reply! https://codereview.chromium.org/23444072/diff/13001/content/browser/renderer_host/media/video_capture_controller.cc File content/browser/renderer_host/media/video_capture_controller.cc (right): https://codereview.chromium.org/23444072/diff/13001/content/browser/renderer_host/media/video_capture_controller.cc#newcode354 content/browser/renderer_host/media/video_capture_controller.cc:354: vplane ...
7 years, 3 months ago (2013-09-24 07:17:06 UTC) #3
wjia(left Chromium)
https://codereview.chromium.org/23444072/diff/13001/content/browser/renderer_host/media/video_capture_controller.cc File content/browser/renderer_host/media/video_capture_controller.cc (right): https://codereview.chromium.org/23444072/diff/13001/content/browser/renderer_host/media/video_capture_controller.cc#newcode354 content/browser/renderer_host/media/video_capture_controller.cc:354: vplane += letterbox_width/2; On 2013/09/24 07:17:06, miguelao wrote: > ...
7 years, 3 months ago (2013-09-25 00:38:19 UTC) #4
mcasas
Hi wjia@, PTAL I added some minor changes to support the situation you described. PTAL. ...
7 years, 2 months ago (2013-09-25 12:10:20 UTC) #5
wjia(left Chromium)
https://codereview.chromium.org/23444072/diff/76001/content/browser/renderer_host/media/video_capture_controller.cc File content/browser/renderer_host/media/video_capture_controller.cc (right): https://codereview.chromium.org/23444072/diff/76001/content/browser/renderer_host/media/video_capture_controller.cc#newcode260 content/browser/renderer_host/media/video_capture_controller.cc:260: #if !defined(AVOID_LIBYUV_FOR_ANDROID_WEBVIEW) The exclusion here will create video frames ...
7 years, 2 months ago (2013-09-25 18:50:24 UTC) #6
mcasas
Hi wjia@, I replied to two of your comments, and I'll address the nit and ...
7 years, 2 months ago (2013-09-25 19:14:38 UTC) #7
mcasas
Hi wjia@'s I addressed your other two comments. Could you PTAL? Thanks! https://codereview.chromium.org/23444072/diff/76001/content/browser/renderer_host/media/video_capture_controller.cc File content/browser/renderer_host/media/video_capture_controller.cc ...
7 years, 2 months ago (2013-09-26 11:28:56 UTC) #8
wjia(left Chromium)
https://codereview.chromium.org/23444072/diff/96001/content/browser/renderer_host/media/video_capture_controller.cc File content/browser/renderer_host/media/video_capture_controller.cc (right): https://codereview.chromium.org/23444072/diff/96001/content/browser/renderer_host/media/video_capture_controller.cc#newcode260 content/browser/renderer_host/media/video_capture_controller.cc:260: #if !defined(AVOID_LIBYUV_FOR_ANDROID_WEBVIEW) Please add #else branch and assert if ...
7 years, 2 months ago (2013-09-26 20:31:34 UTC) #9
mcasas
Hi wjia@: thanks for the review, please review next iteration, thanks!. Hi jam@: could you ...
7 years, 2 months ago (2013-09-27 08:32:35 UTC) #10
jam
https://codereview.chromium.org/23444072/diff/104001/content/content_browser.gypi File content/content_browser.gypi (right): https://codereview.chromium.org/23444072/diff/104001/content/content_browser.gypi#newcode1299 content/content_browser.gypi:1299: }, { # android_webview_build!=0 why not just android_webview_build==1?
7 years, 2 months ago (2013-09-27 17:55:43 UTC) #11
mcasas
Hi jam@ thanks for your time, could you please take another look? https://codereview.chromium.org/23444072/diff/104001/content/content_browser.gypi File content/content_browser.gypi ...
7 years, 2 months ago (2013-09-30 17:57:46 UTC) #12
wjia(left Chromium)
lgtm on video_capture_controller.cc. https://codereview.chromium.org/23444072/diff/104001/content/content_browser.gypi File content/content_browser.gypi (right): https://codereview.chromium.org/23444072/diff/104001/content/content_browser.gypi#newcode1299 content/content_browser.gypi:1299: }, { # android_webview_build!=0 On 2013/09/30 ...
7 years, 2 months ago (2013-09-30 18:14:25 UTC) #13
mcasas
Cleaned up content_browser.gypi according to jam@ and wjia@'s comments. PTAL!
7 years, 2 months ago (2013-10-01 11:32:28 UTC) #14
jam
https://codereview.chromium.org/23444072/diff/104001/content/content_browser.gypi File content/content_browser.gypi (right): https://codereview.chromium.org/23444072/diff/104001/content/content_browser.gypi#newcode1299 content/content_browser.gypi:1299: }, { # android_webview_build!=0 On 2013/09/30 17:57:46, miguelao wrote: ...
7 years, 2 months ago (2013-10-02 21:13:56 UTC) #15
mcasas
On 2013/10/02 21:13:56, jam wrote: > https://codereview.chromium.org/23444072/diff/104001/content/content_browser.gypi > File content/content_browser.gypi (right): > > https://codereview.chromium.org/23444072/diff/104001/content/content_browser.gypi#newcode1299 > ...
7 years, 2 months ago (2013-10-02 21:20:04 UTC) #16
mcasas
On 2013/10/02 21:13:56, jam wrote: > https://codereview.chromium.org/23444072/diff/104001/content/content_browser.gypi > File content/content_browser.gypi (right): > > https://codereview.chromium.org/23444072/diff/104001/content/content_browser.gypi#newcode1299 > ...
7 years, 2 months ago (2013-10-02 21:20:06 UTC) #17
jam
> > i don't understand what you mean. why would it be -1? > > ...
7 years, 2 months ago (2013-10-03 00:36:06 UTC) #18
mcasas
Hi jam@, I changed it to direct comparisons and it works fine. I think I ...
7 years, 2 months ago (2013-10-03 11:38:29 UTC) #19
jam
lgtm
7 years, 2 months ago (2013-10-03 21:26:47 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mcasas@chromium.org/23444072/126001
7 years, 2 months ago (2013-10-03 21:44:48 UTC) #21
commit-bot: I haz the power
7 years, 2 months ago (2013-10-04 00:19:26 UTC) #22
Message was sent while issue was closed.
Change committed as 226907

Powered by Google App Engine
This is Rietveld 408576698