Chromium Code Reviews

Issue 1383413002: Add support to Capture to a texture in VideoCapturerAndroid (Closed)

Created:
5 years, 2 months ago by perkj_webrtc
Modified:
5 years, 2 months ago
Reviewers:
magjed_webrtc
CC:
webrtc-reviews_webrtc.org, yujie_mao (webrtc), Andrew MacDonald, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add support to Capture to a texture instead of memory. This adds support for capturing to a texture in the Java part of VideoCapturerAndroid. After this cl, the C++ also needs modification. https://codereview.webrtc.org/1375953002/ contains the idea and have a working version where textures can be rendered in local preview. BUG=webrtc:4993 R=magjed@webrtc.org Committed: https://crrev.com/3d06eca5e3310ea068625a9c95d492a16854f421 Cr-Commit-Position: refs/heads/master@{#10213}

Patch Set 1 #

Total comments: 20

Patch Set 2 : Addressed magjeds comments. #

Patch Set 3 : Removed @Supress since its not supported by bots. #

Unified diffs Side-by-side diffs Stats (+378 lines, -550 lines)
M talk/app/webrtc/androidtests/AndroidManifest.xml View 1 chunk +1 line, -1 line 0 comments
M talk/app/webrtc/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java View 4 chunks +95 lines, -306 lines 0 comments
A + talk/app/webrtc/androidtests/src/org/webrtc/VideoCapturerAndroidTestFixtures.java View 13 chunks +80 lines, -143 lines 0 comments
M talk/app/webrtc/java/android/org/webrtc/RendererCommon.java View 1 chunk +9 lines, -0 lines 0 comments
M talk/app/webrtc/java/android/org/webrtc/VideoCapturerAndroid.java View 25 chunks +191 lines, -99 lines 0 comments
M talk/app/webrtc/java/jni/androidvideocapturer_jni.cc View 1 chunk +2 lines, -1 line 0 comments

Messages

Total messages: 7 (1 generated)
perkj_webrtc
Can you please review? I will land the C++ part independently once this and your ...
5 years, 2 months ago (2015-10-06 06:35:57 UTC) #2
magjed_webrtc
The CL looks good in general. https://codereview.webrtc.org/1383413002/diff/1/talk/app/webrtc/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java File talk/app/webrtc/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java (right): https://codereview.webrtc.org/1383413002/diff/1/talk/app/webrtc/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java#newcode80 talk/app/webrtc/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java:80: public void testCreateAndRelease() ...
5 years, 2 months ago (2015-10-06 07:43:46 UTC) #3
perkj_webrtc
PTAL https://codereview.webrtc.org/1383413002/diff/1/talk/app/webrtc/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java File talk/app/webrtc/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java (right): https://codereview.webrtc.org/1383413002/diff/1/talk/app/webrtc/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java#newcode80 talk/app/webrtc/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java:80: public void testCreateAndRelease() throws Exception { On 2015/10/06 ...
5 years, 2 months ago (2015-10-06 09:25:36 UTC) #4
magjed_webrtc
lgtm
5 years, 2 months ago (2015-10-06 14:04:55 UTC) #5
perkj_webrtc
Committed patchset #3 (id:40001) manually as 3d06eca5e3310ea068625a9c95d492a16854f421 (presubmit successful).
5 years, 2 months ago (2015-10-08 10:53:52 UTC) #6
commit-bot: I haz the power
5 years, 2 months ago (2015-10-08 10:53:53 UTC) #7
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3d06eca5e3310ea068625a9c95d492a16854f421
Cr-Commit-Position: refs/heads/master@{#10213}

Powered by Google App Engine