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

Issue 1493913007: VideoCapturerAndroid, handle cvo correctly (Closed)

Created:
5 years ago by perkj_webrtc
Modified:
5 years ago
CC:
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

This cl change VideoCaptureAndroid to handle CVO the same way when capturing to texture as when using ordinary byte buffers. Ie, rotation is applied in C++ in the VideoFrameFactory is apply_rotation_ is set. If not, rotation is sent in RTP. BUG=webrtc:4993 R=nisse@chromium.org Committed: https://crrev.com/71f5a9a37750d6ccea110028e3154ee90334ba6d Cr-Commit-Position: refs/heads/master@{#10986}

Patch Set 1 #

Patch Set 2 : Working #

Patch Set 3 : fixed tests. Cleaned up #

Total comments: 14

Patch Set 4 : Addressed comments. #

Total comments: 2

Patch Set 5 : Added comment suggested by nisse. #

Patch Set 6 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -40 lines) Patch
M talk/app/webrtc/androidtests/src/org/webrtc/VideoCapturerAndroidTestFixtures.java View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M talk/app/webrtc/androidvideocapturer.cc View 1 2 3 1 chunk +8 lines, -3 lines 0 comments Download
M talk/app/webrtc/java/android/org/webrtc/VideoCapturerAndroid.java View 1 2 3 4 5 4 chunks +9 lines, -10 lines 0 comments Download
M talk/app/webrtc/java/jni/androidmediaencoder_jni.cc View 1 2 3 1 chunk +3 lines, -4 lines 0 comments Download
M talk/app/webrtc/java/jni/androidvideocapturer_jni.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M talk/app/webrtc/java/jni/androidvideocapturer_jni.cc View 1 2 3 4 5 3 chunks +4 lines, -3 lines 0 comments Download
M talk/app/webrtc/java/jni/native_handle_impl.h View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M talk/app/webrtc/java/jni/native_handle_impl.cc View 1 2 3 4 5 2 chunks +59 lines, -14 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
perkj_webrtc
Can you please review?
5 years ago (2015-12-07 21:34:10 UTC) #3
nisse-chromium (ooo August 14)
https://codereview.chromium.org/1493913007/diff/40001/talk/app/webrtc/java/jni/androidvideocapturer_jni.h File talk/app/webrtc/java/jni/androidvideocapturer_jni.h (right): https://codereview.chromium.org/1493913007/diff/40001/talk/app/webrtc/java/jni/androidvideocapturer_jni.h#newcode63 talk/app/webrtc/java/jni/androidvideocapturer_jni.h:63: void OnTextureFrame(int width, int height, int rotation, int64_t timestamp_ns, ...
5 years ago (2015-12-08 08:46:35 UTC) #4
perkj_chrome
PTAL https://codereview.chromium.org/1493913007/diff/40001/talk/app/webrtc/java/jni/androidvideocapturer_jni.h File talk/app/webrtc/java/jni/androidvideocapturer_jni.h (right): https://codereview.chromium.org/1493913007/diff/40001/talk/app/webrtc/java/jni/androidvideocapturer_jni.h#newcode63 talk/app/webrtc/java/jni/androidvideocapturer_jni.h:63: void OnTextureFrame(int width, int height, int rotation, int64_t ...
5 years ago (2015-12-09 21:00:40 UTC) #6
nisse-chromium (ooo August 14)
lgtm https://codereview.chromium.org/1493913007/diff/40001/talk/app/webrtc/java/jni/androidvideocapturer_jni.h File talk/app/webrtc/java/jni/androidvideocapturer_jni.h (right): https://codereview.chromium.org/1493913007/diff/40001/talk/app/webrtc/java/jni/androidvideocapturer_jni.h#newcode63 talk/app/webrtc/java/jni/androidvideocapturer_jni.h:63: void OnTextureFrame(int width, int height, int rotation, int64_t ...
5 years ago (2015-12-10 09:04:57 UTC) #7
perkj_chrome
https://codereview.chromium.org/1493913007/diff/60001/talk/app/webrtc/java/jni/native_handle_impl.cc File talk/app/webrtc/java/jni/native_handle_impl.cc (right): https://codereview.chromium.org/1493913007/diff/60001/talk/app/webrtc/java/jni/native_handle_impl.cc#newcode63 talk/app/webrtc/java/jni/native_handle_impl.cc:63: { -a[4], -a[5], -a[6], -a[7], On 2015/12/10 09:04:57, nisse-chromium ...
5 years ago (2015-12-10 13:22:07 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1493913007/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1493913007/80001
5 years ago (2015-12-10 13:22:54 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) linux_baremetal on ...
5 years ago (2015-12-10 15:23:27 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1493913007/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1493913007/100001
5 years ago (2015-12-10 17:25:02 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
5 years ago (2015-12-10 19:25:20 UTC) #18
perkj_webrtc
Committed patchset #6 (id:100001) manually as 71f5a9a37750d6ccea110028e3154ee90334ba6d (presubmit successful).
5 years ago (2015-12-11 08:32:58 UTC) #20
commit-bot: I haz the power
5 years ago (2015-12-11 08:33:01 UTC) #22
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/71f5a9a37750d6ccea110028e3154ee90334ba6d
Cr-Commit-Position: refs/heads/master@{#10986}

Powered by Google App Engine
This is Rietveld 408576698