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

Issue 2071213003: Allow disabling capture to texture on Camera1Enumerator using constructor parameter. (Closed)

Created:
4 years, 6 months ago by sakal
Modified:
4 years, 5 months ago
CC:
tterriberry_mozilla.com, webrtc-reviews_webrtc.org
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Allow disabling capture to texture on Camera1Enumerator using constructor parameter. The plan is that the CameraEnumerationAndroid will in the future have method called getEnumerator that will return an enumerator that can be used to create CameraVideoCapturer objects. It will return Camera2Enumerator if it is supported or else Camera1Enumerator. Some apps want to capture to byte buffers which is no longer supported in the camera2 version of CameraVideoCapturer. Camera1Enumerator constructed with false parameter as captureToTexture will be returned to these apps. BUG=webrtc:5519 R=magjed@webrtc.org Committed: https://crrev.com/b52e81c05466c0d90622b65a4a0427b0329e7331 Cr-Commit-Position: refs/heads/master@{#13294}

Patch Set 1 #

Patch Set 2 : Comment. #

Total comments: 7

Patch Set 3 : Changes according to magjed's comments #1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -1 line) Patch
M webrtc/api/java/android/org/webrtc/Camera1Enumerator.java View 1 2 2 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 24 (11 generated)
sakal
PTAL
4 years, 6 months ago (2016-06-17 13:42:33 UTC) #3
sakal
nisse, PTAL
4 years, 6 months ago (2016-06-20 08:39:10 UTC) #5
nisse-webrtc
https://codereview.webrtc.org/2071213003/diff/20001/webrtc/api/java/android/org/webrtc/Camera1Enumerator.java File webrtc/api/java/android/org/webrtc/Camera1Enumerator.java (right): https://codereview.webrtc.org/2071213003/diff/20001/webrtc/api/java/android/org/webrtc/Camera1Enumerator.java#newcode50 webrtc/api/java/android/org/webrtc/Camera1Enumerator.java:50: return new VideoCapturerAndroid(deviceName, eventsHandler, captureToTexture); This is the only ...
4 years, 6 months ago (2016-06-20 08:53:06 UTC) #6
sakal
https://codereview.webrtc.org/2071213003/diff/20001/webrtc/api/java/android/org/webrtc/Camera1Enumerator.java File webrtc/api/java/android/org/webrtc/Camera1Enumerator.java (right): https://codereview.webrtc.org/2071213003/diff/20001/webrtc/api/java/android/org/webrtc/Camera1Enumerator.java#newcode50 webrtc/api/java/android/org/webrtc/Camera1Enumerator.java:50: return new VideoCapturerAndroid(deviceName, eventsHandler, captureToTexture); On 2016/06/20 08:53:05, nisse-webrtc ...
4 years, 6 months ago (2016-06-20 08:57:30 UTC) #7
nisse-webrtc
https://codereview.webrtc.org/2071213003/diff/20001/webrtc/api/java/android/org/webrtc/Camera1Enumerator.java File webrtc/api/java/android/org/webrtc/Camera1Enumerator.java (right): https://codereview.webrtc.org/2071213003/diff/20001/webrtc/api/java/android/org/webrtc/Camera1Enumerator.java#newcode50 webrtc/api/java/android/org/webrtc/Camera1Enumerator.java:50: return new VideoCapturerAndroid(deviceName, eventsHandler, captureToTexture); On 2016/06/20 08:57:30, sakal ...
4 years, 6 months ago (2016-06-20 09:36:05 UTC) #8
sakal
https://codereview.webrtc.org/2071213003/diff/20001/webrtc/api/java/android/org/webrtc/Camera1Enumerator.java File webrtc/api/java/android/org/webrtc/Camera1Enumerator.java (right): https://codereview.webrtc.org/2071213003/diff/20001/webrtc/api/java/android/org/webrtc/Camera1Enumerator.java#newcode50 webrtc/api/java/android/org/webrtc/Camera1Enumerator.java:50: return new VideoCapturerAndroid(deviceName, eventsHandler, captureToTexture); On 2016/06/20 09:36:05, nisse-webrtc ...
4 years, 6 months ago (2016-06-20 09:56:50 UTC) #9
magjed_webrtc
lgtm https://codereview.webrtc.org/2071213003/diff/20001/webrtc/api/java/android/org/webrtc/Camera1Enumerator.java File webrtc/api/java/android/org/webrtc/Camera1Enumerator.java (right): https://codereview.webrtc.org/2071213003/diff/20001/webrtc/api/java/android/org/webrtc/Camera1Enumerator.java#newcode28 webrtc/api/java/android/org/webrtc/Camera1Enumerator.java:28: private boolean captureToTexture; nit: Make final. https://codereview.webrtc.org/2071213003/diff/20001/webrtc/api/java/android/org/webrtc/Camera1Enumerator.java#newcode50 webrtc/api/java/android/org/webrtc/Camera1Enumerator.java:50: ...
4 years, 5 months ago (2016-06-27 10:41:46 UTC) #11
sakal
https://codereview.webrtc.org/2071213003/diff/20001/webrtc/api/java/android/org/webrtc/Camera1Enumerator.java File webrtc/api/java/android/org/webrtc/Camera1Enumerator.java (right): https://codereview.webrtc.org/2071213003/diff/20001/webrtc/api/java/android/org/webrtc/Camera1Enumerator.java#newcode28 webrtc/api/java/android/org/webrtc/Camera1Enumerator.java:28: private boolean captureToTexture; On 2016/06/27 10:41:46, magjed_webrtc wrote: > ...
4 years, 5 months ago (2016-06-27 12:12:24 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2071213003/40001
4 years, 5 months ago (2016-06-27 12:12:40 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/14484)
4 years, 5 months ago (2016-06-27 12:23:15 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2071213003/40001
4 years, 5 months ago (2016-06-27 12:50:30 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/14489)
4 years, 5 months ago (2016-06-27 12:59:44 UTC) #21
sakal
4 years, 5 months ago (2016-06-27 13:10:31 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
b52e81c05466c0d90622b65a4a0427b0329e7331 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698