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

Issue 1965953003: Android: Add support for cropping textures (Closed)

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

Description

Android: Add support for cropping textures BUG=b/28622232 R=glaznev@webrtc.org, nisse@webrtc.org Committed: https://crrev.com/a3002db8d63aecd2a3ccf630afef9a868e7e1f78 Cr-Commit-Position: refs/heads/master@{#12720}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Only call CropMatrix when necessary. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -17 lines) Patch
M webrtc/api/androidvideocapturer.cc View 1 chunk +4 lines, -6 lines 0 comments Download
M webrtc/api/java/jni/androidmediaencoder_jni.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/api/java/jni/native_handle_impl.h View 1 chunk +5 lines, -2 lines 0 comments Download
M webrtc/api/java/jni/native_handle_impl.cc View 1 3 chunks +45 lines, -6 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
magjed_webrtc
Please take a look.
4 years, 7 months ago (2016-05-11 17:17:48 UTC) #2
nisse-webrtc
LGTM https://codereview.webrtc.org/1965953003/diff/1/webrtc/api/java/jni/native_handle_impl.cc File webrtc/api/java/jni/native_handle_impl.cc (right): https://codereview.webrtc.org/1965953003/diff/1/webrtc/api/java/jni/native_handle_impl.cc#newcode90 webrtc/api/java/jni/native_handle_impl.cc:90: memcpy(a, mul_result, sizeof(mul_result)); It would be prettier if ...
4 years, 7 months ago (2016-05-12 10:32:51 UTC) #4
magjed_webrtc
https://codereview.webrtc.org/1965953003/diff/1/webrtc/api/java/jni/native_handle_impl.cc File webrtc/api/java/jni/native_handle_impl.cc (right): https://codereview.webrtc.org/1965953003/diff/1/webrtc/api/java/jni/native_handle_impl.cc#newcode90 webrtc/api/java/jni/native_handle_impl.cc:90: memcpy(a, mul_result, sizeof(mul_result)); On 2016/05/12 10:32:51, nisse-webrtc wrote: > ...
4 years, 7 months ago (2016-05-12 10:49:51 UTC) #5
AlexG
lgtm https://codereview.webrtc.org/1965953003/diff/1/webrtc/api/java/jni/native_handle_impl.cc File webrtc/api/java/jni/native_handle_impl.cc (right): https://codereview.webrtc.org/1965953003/diff/1/webrtc/api/java/jni/native_handle_impl.cc#newcode200 webrtc/api/java/jni/native_handle_impl.cc:200: CropMatrix(buffer->native_handle_.sampling_matrix, Call this only if (cropped_width != dst_width ...
4 years, 7 months ago (2016-05-12 23:12:44 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1965953003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1965953003/20001
4 years, 7 months ago (2016-05-13 07:59:54 UTC) #9
magjed_webrtc
https://codereview.webrtc.org/1965953003/diff/1/webrtc/api/java/jni/native_handle_impl.cc File webrtc/api/java/jni/native_handle_impl.cc (right): https://codereview.webrtc.org/1965953003/diff/1/webrtc/api/java/jni/native_handle_impl.cc#newcode200 webrtc/api/java/jni/native_handle_impl.cc:200: CropMatrix(buffer->native_handle_.sampling_matrix, On 2016/05/12 23:12:44, AlexG wrote: > Call this ...
4 years, 7 months ago (2016-05-13 07:59:58 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_rel/builds/15069)
4 years, 7 months ago (2016-05-13 08:13:17 UTC) #12
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/a3002db8d63aecd2a3ccf630afef9a868e7e1f78 Cr-Commit-Position: refs/heads/master@{#12720}
4 years, 7 months ago (2016-05-13 10:51:19 UTC) #15
magjed_webrtc
4 years, 7 months ago (2016-05-13 10:51:19 UTC) #16
Committed patchset #2 (id:20001) manually as
a3002db8d63aecd2a3ccf630afef9a868e7e1f78 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698