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

Issue 2176623002: iOS render: Handle frame rotation in OpenGL (Closed)

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

Description

iOS render: Handle frame rotation in OpenGL This CL handles frame rotation by updating the OpenGL vertex data in RTCOpenGLVideoRenderer, instead of calling the expensive libyuv::I420Rotate that will rotate the actual memory. Also, we can handle rotated native frames instead of falling back to NativeToI420Buffer. Committed: https://crrev.com/fb372f0074a0cb21fa36976316c0b5fe3b4ae7bc Cr-Commit-Position: refs/heads/master@{#13715}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Remove unused vertex buffer argument to RTCSetVertexData #

Total comments: 6

Patch Set 4 : Use webrtc::VideoRotation instead of int #

Total comments: 4

Patch Set 5 : Keep RTCVideoFrame.h pure ObjC #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -64 lines) Patch
M webrtc/sdk/DEPS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
D webrtc/sdk/objc/Framework/Classes/RTCEAGLVideoView.m View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/sdk/objc/Framework/Classes/RTCI420Shader.mm View 1 2 3 4 3 chunks +11 lines, -0 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/RTCNativeNV12Shader.mm View 1 2 3 4 3 chunks +10 lines, -0 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/RTCShader.mm View 1 2 3 4 5 chunks +54 lines, -22 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/RTCShader+Private.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/RTCVideoFrame.mm View 1 2 3 4 2 chunks +24 lines, -18 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/RTCVideoFrame+Private.h View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M webrtc/sdk/objc/Framework/Classes/RTCVideoRendererAdapter.mm View 1 1 chunk +8 lines, -21 lines 0 comments Download
M webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoFrame.h View 4 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 21 (10 generated)
magjed_webrtc
tkchin - please take a look.
4 years, 5 months ago (2016-07-22 13:25:01 UTC) #2
magjed_webrtc
PTAL
4 years, 4 months ago (2016-08-08 13:53:31 UTC) #5
tkchin_webrtc
lgtm I think we may need this elsewhere in the future. Right now when orientation ...
4 years, 4 months ago (2016-08-08 22:58:46 UTC) #6
magjed_webrtc
PTAL https://codereview.webrtc.org/2176623002/diff/60001/webrtc/sdk/objc/Framework/Classes/RTCI420Shader.mm File webrtc/sdk/objc/Framework/Classes/RTCI420Shader.mm (right): https://codereview.webrtc.org/2176623002/diff/60001/webrtc/sdk/objc/Framework/Classes/RTCI420Shader.mm#newcode64 webrtc/sdk/objc/Framework/Classes/RTCI420Shader.mm:64: rtc::Optional<int> _current_rotation; On 2016/08/08 22:58:45, tkchin_webrtc wrote: > ...
4 years, 4 months ago (2016-08-09 13:54:28 UTC) #7
tkchin_webrtc
https://codereview.webrtc.org/2176623002/diff/80001/webrtc/sdk/objc/Framework/Classes/RTCEAGLVideoView.mm File webrtc/sdk/objc/Framework/Classes/RTCEAGLVideoView.mm (right): https://codereview.webrtc.org/2176623002/diff/80001/webrtc/sdk/objc/Framework/Classes/RTCEAGLVideoView.mm#newcode16 webrtc/sdk/objc/Framework/Classes/RTCEAGLVideoView.mm:16: #import "WebRTC//RTCVideoFrame.h" Mind fixing this typo? // https://codereview.webrtc.org/2176623002/diff/80001/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoFrame.h File ...
4 years, 4 months ago (2016-08-09 17:42:20 UTC) #8
magjed_webrtc
https://codereview.webrtc.org/2176623002/diff/80001/webrtc/sdk/objc/Framework/Classes/RTCEAGLVideoView.mm File webrtc/sdk/objc/Framework/Classes/RTCEAGLVideoView.mm (right): https://codereview.webrtc.org/2176623002/diff/80001/webrtc/sdk/objc/Framework/Classes/RTCEAGLVideoView.mm#newcode16 webrtc/sdk/objc/Framework/Classes/RTCEAGLVideoView.mm:16: #import "WebRTC//RTCVideoFrame.h" On 2016/08/09 17:42:20, tkchin_webrtc wrote: > Mind ...
4 years, 4 months ago (2016-08-10 10:26:07 UTC) #10
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/2176623002/120001
4 years, 4 months ago (2016-08-10 10:26:20 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_libfuzzer_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_libfuzzer_rel/builds/4429)
4 years, 4 months ago (2016-08-10 10:33:29 UTC) #15
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/2176623002/120001
4 years, 4 months ago (2016-08-10 14:52:34 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 4 months ago (2016-08-10 14:58:34 UTC) #19
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 14:58:39 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/fb372f0074a0cb21fa36976316c0b5fe3b4ae7bc
Cr-Commit-Position: refs/heads/master@{#13715}

Powered by Google App Engine
This is Rietveld 408576698