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

Issue 2477233004: Update VideoFrameBuffer-related methods to not use references to scoped_refptr. (Closed)

Created:
4 years, 1 month ago by nisse-webrtc
Modified:
4 years, 1 month ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, mflodman
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Update VideoFrameBuffer-related methods to not use references to scoped_refptr. Chrome coding standard now discourages use of references to smart pointers. This cl updates some recent methods to the new conventions. BUG=webrtc:6672 Committed: https://crrev.com/e3fe4a7c2d4abd2dfde575b8e42c635f98703b9e Cr-Commit-Position: refs/heads/master@{#15028}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix memory leak. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -53 lines) Patch
M webrtc/common_video/i420_video_frame_unittest.cc View 1 8 chunks +16 lines, -13 lines 1 comment Download
M webrtc/common_video/include/video_frame_buffer.h View 2 chunks +25 lines, -6 lines 0 comments Download
M webrtc/common_video/video_frame.cc View 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/common_video/video_frame_buffer.cc View 4 chunks +25 lines, -24 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/utility/quality_scaler.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_processing/spatial_resampler.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/video_frame.h View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
nisse-webrtc
This allows callers of these methods to stop using scoped_refptr arguments too. In particular, I'd ...
4 years, 1 month ago (2016-11-07 15:33:06 UTC) #2
magjed_webrtc
lgtm https://codereview.webrtc.org/2477233004/diff/1/webrtc/common_video/include/video_frame_buffer.h File webrtc/common_video/include/video_frame_buffer.h (right): https://codereview.webrtc.org/2477233004/diff/1/webrtc/common_video/include/video_frame_buffer.h#newcode139 webrtc/common_video/include/video_frame_buffer.h:139: static rtc::scoped_refptr<VideoFrameBuffer> Rotate( I think we check rotation ...
4 years, 1 month ago (2016-11-09 09:54:45 UTC) #3
stefan-webrtc
lgtm, but check the try failures
4 years, 1 month ago (2016-11-09 17:54:55 UTC) #4
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/2477233004/1
4 years, 1 month ago (2016-11-10 14:10:26 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: mac_baremetal on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_baremetal/builds/16053)
4 years, 1 month ago (2016-11-10 14:18:34 UTC) #8
nisse-webrtc
https://codereview.webrtc.org/2477233004/diff/20001/webrtc/common_video/i420_video_frame_unittest.cc File webrtc/common_video/i420_video_frame_unittest.cc (right): https://codereview.webrtc.org/2477233004/diff/20001/webrtc/common_video/i420_video_frame_unittest.cc#newcode157 webrtc/common_video/i420_video_frame_unittest.cc:157: I420Buffer::Copy(*rtc::scoped_refptr<VideoFrameBuffer>( This was a bit subtle. Just creating a ...
4 years, 1 month ago (2016-11-10 15:19:54 UTC) #9
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/2477233004/20001
4 years, 1 month ago (2016-11-10 16:02:21 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-10 16:44:46 UTC) #13
commit-bot: I haz the power
4 years, 1 month ago (2016-11-10 16:44:56 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e3fe4a7c2d4abd2dfde575b8e42c635f98703b9e
Cr-Commit-Position: refs/heads/master@{#15028}

Powered by Google App Engine
This is Rietveld 408576698