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

Issue 2285693002: New static I420Buffer::Rotate method, to replace GetCopyWithRotationApplied. (Closed)

Created:
4 years, 3 months ago by nisse-webrtc
Modified:
4 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

New static I420Buffer::Rotate method, to replace GetCopyWithRotationApplied. GetCopyWithRotationApplied is not yet deleted; downstream projects must be updated first. BUG=webrtc:5682 Committed: https://crrev.com/d50747269e6a3de5c05288184c5f58a11eb6d268 Cr-Commit-Position: refs/heads/master@{#13973}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address magjed's comments. And add missing include. #

Total comments: 4

Patch Set 3 : windows: Update include line. #

Patch Set 4 : Address comments. #

Patch Set 5 : Change back to static method, now in I420Buffer. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -50 lines) Patch
M webrtc/common_video/include/video_frame_buffer.h View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download
M webrtc/common_video/video_frame_buffer.cc View 1 2 3 4 2 chunks +36 lines, -0 lines 0 comments Download
M webrtc/examples/peerconnection/client/linux/main_wnd.cc View 1 2 3 4 2 chunks +10 lines, -6 lines 0 comments Download
M webrtc/examples/peerconnection/client/main_wnd.cc View 1 2 3 4 2 chunks +11 lines, -8 lines 0 comments Download
M webrtc/media/base/videoframe.h View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/media/devices/carbonvideorenderer.cc View 1 2 3 4 1 chunk +10 lines, -7 lines 0 comments Download
M webrtc/media/devices/gdivideorenderer.cc View 1 2 3 4 2 chunks +7 lines, -4 lines 0 comments Download
M webrtc/media/devices/gtkvideorenderer.cc View 1 2 3 4 3 chunks +14 lines, -11 lines 0 comments Download
M webrtc/media/engine/webrtcvideoframe_unittest.cc View 1 2 3 4 1 chunk +15 lines, -11 lines 0 comments Download

Messages

Total messages: 47 (25 generated)
nisse-webrtc
PTAL. Need to land this first, then update downstream projects (at least one use in ...
4 years, 3 months ago (2016-08-26 11:34:10 UTC) #4
magjed_webrtc
https://codereview.webrtc.org/2285693002/diff/1/webrtc/common_video/video_frame_buffer.cc File webrtc/common_video/video_frame_buffer.cc (right): https://codereview.webrtc.org/2285693002/diff/1/webrtc/common_video/video_frame_buffer.cc#newcode57 webrtc/common_video/video_frame_buffer.cc:57: int current_width = src->width(); I would prefer if you ...
4 years, 3 months ago (2016-08-26 12:04:15 UTC) #5
nisse-webrtc
https://codereview.webrtc.org/2285693002/diff/1/webrtc/common_video/video_frame_buffer.cc File webrtc/common_video/video_frame_buffer.cc (right): https://codereview.webrtc.org/2285693002/diff/1/webrtc/common_video/video_frame_buffer.cc#newcode57 webrtc/common_video/video_frame_buffer.cc:57: int current_width = src->width(); On 2016/08/26 12:04:15, magjed_webrtc wrote: ...
4 years, 3 months ago (2016-08-26 12:31:40 UTC) #8
magjed_webrtc
lgtm
4 years, 3 months ago (2016-08-26 13:20:15 UTC) #9
perkj_webrtc
https://codereview.webrtc.org/2285693002/diff/20001/webrtc/common_video/include/video_frame_buffer.h File webrtc/common_video/include/video_frame_buffer.h (right): https://codereview.webrtc.org/2285693002/diff/20001/webrtc/common_video/include/video_frame_buffer.h#newcode67 webrtc/common_video/include/video_frame_buffer.h:67: static rtc::scoped_refptr<VideoFrameBuffer> Rotate( I think I would prefer this ...
4 years, 3 months ago (2016-08-26 15:22:17 UTC) #10
nisse-webrtc
Made Rotate a real virtual method. Is the name ok, or does it sound like ...
4 years, 3 months ago (2016-08-29 09:16:50 UTC) #11
perkj_webrtc
lgtm
4 years, 3 months ago (2016-08-29 09:46:23 UTC) #16
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/2285693002/60001
4 years, 3 months ago (2016-08-29 09:48:10 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/7796)
4 years, 3 months ago (2016-08-29 10:24:08 UTC) #21
nisse-webrtc
mflodman: PTAL, OWNER's approval needed. Should we adjust the common_video/OWNERS, adding perkj and/or myself? Current ...
4 years, 3 months ago (2016-08-29 10:48:06 UTC) #23
magjed_webrtc
not lgtm, please remove Rotate from the interface. https://codereview.webrtc.org/2285693002/diff/20001/webrtc/common_video/include/video_frame_buffer.h File webrtc/common_video/include/video_frame_buffer.h (right): https://codereview.webrtc.org/2285693002/diff/20001/webrtc/common_video/include/video_frame_buffer.h#newcode67 webrtc/common_video/include/video_frame_buffer.h:67: static ...
4 years, 3 months ago (2016-08-30 08:11:33 UTC) #24
nisse-webrtc
Changed back to a static method, as discussed offline.
4 years, 3 months ago (2016-08-30 08:42:04 UTC) #28
perkj_webrtc
On 2016/08/30 08:42:04, nisse-webrtc wrote: > Changed back to a static method, as discussed offline. ...
4 years, 3 months ago (2016-08-30 09:46:29 UTC) #31
magjed_webrtc
On 2016/08/30 08:42:04, nisse-webrtc wrote: > Changed back to a static method, as discussed offline. ...
4 years, 3 months ago (2016-08-30 10:52:39 UTC) #32
mflodman
lgtm for common_video
4 years, 3 months ago (2016-08-30 11:41:03 UTC) #33
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/2285693002/80001
4 years, 3 months ago (2016-08-30 11:42:13 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: android_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_rel/builds/15984)
4 years, 3 months ago (2016-08-30 11:57:41 UTC) #37
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/2285693002/80001
4 years, 3 months ago (2016-08-30 12:37:13 UTC) #39
commit-bot: I haz the power
Exceeded global retry quota
4 years, 3 months ago (2016-08-30 13:42:48 UTC) #41
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/2285693002/80001
4 years, 3 months ago (2016-08-30 13:51:39 UTC) #43
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 3 months ago (2016-08-30 15:45:50 UTC) #45
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 15:45:56 UTC) #47
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/d50747269e6a3de5c05288184c5f58a11eb6d268
Cr-Commit-Position: refs/heads/master@{#13973}

Powered by Google App Engine
This is Rietveld 408576698