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

Issue 1357923002: wip Move SurfaceTexture.updateTexImage() from video renderers into MediaCodecVideoDecoder (Closed)

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

Description

wip Move SurfaceTexture.updateTexImage() from video renderers into MediaCodecVideoDecoder This CL synchronizes access to the SurfaceTexture and listens for return frame callbacks properly. This CL also starts listening to OnFrameAvailable() from the SurfaceTexture that we have previously ignored.

Patch Set 1 : #

Total comments: 5

Patch Set 2 : #

Total comments: 10

Patch Set 3 : Add texture copy in VideoRendererGui. https://codereview.webrtc.org/1370113005/ #

Patch Set 4 : Manage lifetime of texture frames #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -167 lines) Patch
M talk/app/webrtc/java/android/org/webrtc/SurfaceViewRenderer.java View 1 2 3 1 chunk +1 line, -16 lines 0 comments Download
M talk/app/webrtc/java/android/org/webrtc/VideoRendererGui.java View 1 2 3 4 chunks +29 lines, -23 lines 0 comments Download
M talk/app/webrtc/java/jni/androidmediacodeccommon.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M talk/app/webrtc/java/jni/androidmediadecoder_jni.cc View 1 2 3 13 chunks +25 lines, -39 lines 0 comments Download
M talk/app/webrtc/java/jni/native_handle_impl.h View 1 2 3 1 chunk +6 lines, -23 lines 0 comments Download
M talk/app/webrtc/java/jni/native_handle_impl.cc View 1 2 3 1 chunk +11 lines, -26 lines 0 comments Download
M talk/app/webrtc/java/jni/peerconnection_jni.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M talk/app/webrtc/java/src/org/webrtc/MediaCodecVideoDecoder.java View 1 2 3 9 chunks +78 lines, -31 lines 0 comments Download
M talk/app/webrtc/java/src/org/webrtc/VideoRenderer.java View 1 2 3 4 chunks +16 lines, -4 lines 0 comments Download

Messages

Total messages: 36 (20 generated)
magjed_webrtc
Please take a look. https://codereview.webrtc.org/1357923002/diff/20001/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc File talk/app/webrtc/java/jni/androidmediadecoder_jni.cc (right): https://codereview.webrtc.org/1357923002/diff/20001/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc#newcode94 talk/app/webrtc/java/jni/androidmediadecoder_jni.cc:94: void ReturnTextureFrame(); Self review: Make ...
5 years, 3 months ago (2015-09-21 18:29:13 UTC) #3
magjed_webrtc
https://codereview.webrtc.org/1357923002/diff/20001/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc File talk/app/webrtc/java/jni/androidmediadecoder_jni.cc (right): https://codereview.webrtc.org/1357923002/diff/20001/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc#newcode94 talk/app/webrtc/java/jni/androidmediadecoder_jni.cc:94: void ReturnTextureFrame(); On 2015/09/21 18:29:13, magjed_webrtc wrote: > Self ...
5 years, 3 months ago (2015-09-22 09:47:36 UTC) #4
perkj_webrtc
https://codereview.webrtc.org/1357923002/diff/40001/talk/app/webrtc/java/android/org/webrtc/VideoRendererGui.java File talk/app/webrtc/java/android/org/webrtc/VideoRendererGui.java (right): https://codereview.webrtc.org/1357923002/diff/40001/talk/app/webrtc/java/android/org/webrtc/VideoRendererGui.java#newcode104 talk/app/webrtc/java/android/org/webrtc/VideoRendererGui.java:104: // Resources for making a deep copy of incoming ...
5 years, 3 months ago (2015-09-22 12:40:37 UTC) #5
tp54656
Get off my PHONE AND LEAVE MY PRIVATE INFO ALONE ..YOU HAVE DONE ENOUGH. .BROKE ...
5 years, 2 months ago (2015-09-28 07:39:21 UTC) #7
tp54656
lgtm Get off my PHONE AND LEAVE MY PRIVATE INFO ALONE ..YOU HAVE DONE ENOUGH. ...
5 years, 2 months ago (2015-09-28 07:43:53 UTC) #8
tp54656
lgtm lgtm Get off my PHONE AND LEAVE MY PRIVATE INFO ALONE ..YOU HAVE DONE ...
5 years, 2 months ago (2015-09-28 07:43:56 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1357923002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1357923002/40001
5 years, 2 months ago (2015-09-28 07:44:08 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/974)
5 years, 2 months ago (2015-09-28 07:46:21 UTC) #13
AlexG
https://codereview.webrtc.org/1357923002/diff/40001/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc File talk/app/webrtc/java/jni/androidmediadecoder_jni.cc (right): https://codereview.webrtc.org/1357923002/diff/40001/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc#newcode727 talk/app/webrtc/java/jni/androidmediadecoder_jni.cc:727: codec_thread_->Invoke<void>( On 2015/09/22 12:40:37, perkj1 wrote: > CheckOnCodecThread ? ...
5 years, 2 months ago (2015-09-28 20:06:21 UTC) #15
perkj_webrtc
On 2015/09/28 20:06:21, AlexG wrote: > https://codereview.webrtc.org/1357923002/diff/40001/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc > File talk/app/webrtc/java/jni/androidmediadecoder_jni.cc (right): > > https://codereview.webrtc.org/1357923002/diff/40001/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc#newcode727 > ...
5 years, 2 months ago (2015-09-29 07:41:05 UTC) #16
tp54656
On 2015/09/29 07:41:05, perkj1 wrote: > On 2015/09/28 20:06:21, AlexG wrote: > > > https://codereview.webrtc.org/1357923002/diff/40001/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc ...
5 years, 2 months ago (2015-09-29 14:20:42 UTC) #17
tp54656
On 2015/09/29 14:20:42, tp54656 wrote: > On 2015/09/29 07:41:05, perkj1 wrote: > > On 2015/09/28 ...
5 years, 2 months ago (2015-09-29 14:21:35 UTC) #18
juan.perez.CP62
lgtm F
5 years, 2 months ago (2015-10-03 09:49:36 UTC) #26
juan.perez.CP62
lgtm lgtm F
5 years, 2 months ago (2015-10-03 09:49:38 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1357923002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1357923002/220001
5 years, 2 months ago (2015-10-03 09:49:50 UTC) #30
commit-bot: I haz the power
5 years, 2 months ago (2015-10-03 09:50:34 UTC) #32
Try jobs failed on following builders:
  ios32_sim_dbg on tryserver.webrtc (JOB_FAILED,
http://build.chromium.org/p/tryserver.webrtc/builders/ios32_sim_dbg/builds/2422)
  ios64_sim_dbg on tryserver.webrtc (JOB_FAILED,
http://build.chromium.org/p/tryserver.webrtc/builders/ios64_sim_dbg/builds/2422)
  ios_arm64_dbg on tryserver.webrtc (JOB_FAILED,
http://build.chromium.org/p/tryserver.webrtc/builders/ios_arm64_dbg/builds/4723)
  ios_arm64_rel on tryserver.webrtc (JOB_FAILED,
http://build.chromium.org/p/tryserver.webrtc/builders/ios_arm64_rel/builds/4660)
  ios_dbg on tryserver.webrtc (JOB_FAILED,
http://build.chromium.org/p/tryserver.webrtc/builders/ios_dbg/builds/9857)
  ios_rel on tryserver.webrtc (JOB_FAILED,
http://build.chromium.org/p/tryserver.webrtc/builders/ios_rel/builds/8473)
  mac_compile_x64_dbg on tryserver.webrtc (JOB_FAILED,
http://build.chromium.org/p/tryserver.webrtc/builders/mac_compile_x64_dbg/bui...)
  mac_x64_gn_dbg on tryserver.webrtc (JOB_FAILED,
http://build.chromium.org/p/tryserver.webrtc/builders/mac_x64_gn_dbg/builds/4388)
  mac_x64_gn_rel on tryserver.webrtc (JOB_FAILED,
http://build.chromium.org/p/tryserver.webrtc/builders/mac_x64_gn_rel/builds/4318)
  mac_x64_rel on tryserver.webrtc (JOB_FAILED,
http://build.chromium.org/p/tryserver.webrtc/builders/mac_x64_rel/builds/9601)

Powered by Google App Engine
This is Rietveld 408576698