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

Issue 2991633002: Implement AndroidVideoBuffer::ToI420. (Closed)

Created:
3 years, 5 months ago by sakal
Modified:
3 years, 4 months ago
Reviewers:
magjed_webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Implement AndroidVideoBuffer::ToI420. BUG=webrtc:7749, webrtc:7760 Review-Url: https://codereview.webrtc.org/2991633002 Cr-Commit-Position: refs/heads/master@{#19284} Committed: https://chromium.googlesource.com/external/webrtc/+/5ca60cc91cb21d4eded8b7ee401ee0b6cf280a2c

Patch Set 1 #

Patch Set 2 : Rebase on top of remove-matrix. #

Total comments: 2

Patch Set 3 : Address comments. #

Patch Set 4 : Cache values. #

Total comments: 7

Patch Set 5 : Address comments. #

Patch Set 6 : Undo private change. #

Total comments: 2

Patch Set 7 : Rebase #

Patch Set 8 : WrapReference #

Patch Set 9 : Add comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -3 lines) Patch
M webrtc/sdk/android/src/java/org/webrtc/I420BufferImpl.java View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/sdk/android/src/java/org/webrtc/WrappedNativeI420Buffer.java View 1 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/sdk/android/src/jni/native_handle_impl.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M webrtc/sdk/android/src/jni/native_handle_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +142 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (7 generated)
sakal
PTAL
3 years, 5 months ago (2017-07-25 12:04:33 UTC) #3
magjed_webrtc
https://codereview.webrtc.org/2991633002/diff/40001/webrtc/sdk/android/src/jni/native_handle_impl.cc File webrtc/sdk/android/src/jni/native_handle_impl.cc (right): https://codereview.webrtc.org/2991633002/diff/40001/webrtc/sdk/android/src/jni/native_handle_impl.cc#newcode30 webrtc/sdk/android/src/jni/native_handle_impl.cc:30: class AndroidVideoI420Buffer : public AndroidVideoBuffer, Don't inherit from AndroidVideoBuffer, ...
3 years, 4 months ago (2017-07-27 14:45:01 UTC) #5
sakal
I also implemented caching of the values to avoid multiple ScopedLocalRefFrames. https://codereview.webrtc.org/2991633002/diff/40001/webrtc/sdk/android/src/jni/native_handle_impl.cc File webrtc/sdk/android/src/jni/native_handle_impl.cc (right): ...
3 years, 4 months ago (2017-07-28 09:01:11 UTC) #6
magjed_webrtc
https://codereview.webrtc.org/2991633002/diff/80001/webrtc/sdk/android/src/jni/native_handle_impl.cc File webrtc/sdk/android/src/jni/native_handle_impl.cc (left): https://codereview.webrtc.org/2991633002/diff/80001/webrtc/sdk/android/src/jni/native_handle_impl.cc#oldcode200 webrtc/sdk/android/src/jni/native_handle_impl.cc:200: jmethodID j_retain_id, Revert this change in this CL. https://codereview.webrtc.org/2991633002/diff/80001/webrtc/sdk/android/src/jni/native_handle_impl.cc ...
3 years, 4 months ago (2017-07-28 09:45:05 UTC) #7
sakal
https://codereview.webrtc.org/2991633002/diff/80001/webrtc/sdk/android/src/jni/native_handle_impl.cc File webrtc/sdk/android/src/jni/native_handle_impl.cc (left): https://codereview.webrtc.org/2991633002/diff/80001/webrtc/sdk/android/src/jni/native_handle_impl.cc#oldcode200 webrtc/sdk/android/src/jni/native_handle_impl.cc:200: jmethodID j_retain_id, On 2017/07/28 09:45:05, magjed_webrtc wrote: > Revert ...
3 years, 4 months ago (2017-07-28 11:08:48 UTC) #8
sakal
https://codereview.webrtc.org/2991633002/diff/80001/webrtc/sdk/android/src/jni/native_handle_impl.cc File webrtc/sdk/android/src/jni/native_handle_impl.cc (left): https://codereview.webrtc.org/2991633002/diff/80001/webrtc/sdk/android/src/jni/native_handle_impl.cc#oldcode200 webrtc/sdk/android/src/jni/native_handle_impl.cc:200: jmethodID j_retain_id, On 2017/07/28 09:45:05, magjed_webrtc wrote: > Revert ...
3 years, 4 months ago (2017-07-28 11:08:49 UTC) #9
magjed_webrtc
lgtm https://codereview.webrtc.org/2991633002/diff/120001/webrtc/sdk/android/src/jni/native_handle_impl.cc File webrtc/sdk/android/src/jni/native_handle_impl.cc (right): https://codereview.webrtc.org/2991633002/diff/120001/webrtc/sdk/android/src/jni/native_handle_impl.cc#newcode328 webrtc/sdk/android/src/jni/native_handle_impl.cc:328: jni->CallObjectMethod(*j_video_frame_buffer_, j_to_i420_id); I'm still worried about the asymmetry ...
3 years, 4 months ago (2017-08-01 12:31:42 UTC) #10
sakal
https://codereview.webrtc.org/2991633002/diff/120001/webrtc/sdk/android/src/jni/native_handle_impl.cc File webrtc/sdk/android/src/jni/native_handle_impl.cc (right): https://codereview.webrtc.org/2991633002/diff/120001/webrtc/sdk/android/src/jni/native_handle_impl.cc#newcode328 webrtc/sdk/android/src/jni/native_handle_impl.cc:328: jni->CallObjectMethod(*j_video_frame_buffer_, j_to_i420_id); On 2017/08/01 12:31:42, magjed_webrtc wrote: > I'm ...
3 years, 4 months ago (2017-08-09 11:07:29 UTC) #11
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/2991633002/180001
3 years, 4 months ago (2017-08-09 11:08:16 UTC) #14
commit-bot: I haz the power
3 years, 4 months ago (2017-08-09 12:25:59 UTC) #17
Message was sent while issue was closed.
Committed patchset #9 (id:180001) as
https://chromium.googlesource.com/external/webrtc/+/5ca60cc91cb21d4eded8b7ee4...

Powered by Google App Engine
This is Rietveld 408576698