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

Issue 2684223002: Use std::unique_ptr in VideoProcessor. (Closed)

Created:
3 years, 10 months ago by åsapersson
Modified:
3 years, 10 months ago
Reviewers:
brandtr, sprang_webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhengzhonghou_agora.io, video-team_agora.io, stefan-webrtc, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Use std::unique_ptr in VideoProcessor. Add RTC_CHECKs for failures in VideoProcessor::Init. BUG=webrtc:6634 Review-Url: https://codereview.webrtc.org/2684223002 Cr-Commit-Position: refs/heads/master@{#16526} Committed: https://chromium.googlesource.com/external/webrtc/+/654d54c07385cf46f17693906aacb7716a2a3e14

Patch Set 1 #

Patch Set 2 #

Total comments: 6

Patch Set 3 : address comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -68 lines) Patch
M webrtc/modules/video_coding/codecs/test/videoprocessor.h View 1 2 3 chunks +10 lines, -10 lines 2 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor.cc View 1 2 9 chunks +33 lines, -58 lines 0 comments Download

Messages

Total messages: 23 (15 generated)
åsapersson
3 years, 10 months ago (2017-02-09 11:11:53 UTC) #7
brandtr
lgtm with nits. Nice with some cleanups! I had actually written my own TODO that ...
3 years, 10 months ago (2017-02-09 13:41:00 UTC) #8
åsapersson
+sprang https://codereview.webrtc.org/2684223002/diff/20001/webrtc/modules/video_coding/codecs/test/videoprocessor.h File webrtc/modules/video_coding/codecs/test/videoprocessor.h (right): https://codereview.webrtc.org/2684223002/diff/20001/webrtc/modules/video_coding/codecs/test/videoprocessor.h#newcode206 webrtc/modules/video_coding/codecs/test/videoprocessor.h:206: uint8_t* last_successful_frame_buffer_; On 2017/02/09 13:40:59, brandtr wrote: > ...
3 years, 10 months ago (2017-02-09 14:27:30 UTC) #12
sprang_webrtc
lgtm, but please consider switching to a Buffer object. https://codereview.webrtc.org/2684223002/diff/40001/webrtc/modules/video_coding/codecs/test/videoprocessor.h File webrtc/modules/video_coding/codecs/test/videoprocessor.h (right): https://codereview.webrtc.org/2684223002/diff/40001/webrtc/modules/video_coding/codecs/test/videoprocessor.h#newcode206 webrtc/modules/video_coding/codecs/test/videoprocessor.h:206: ...
3 years, 10 months ago (2017-02-09 15:21:19 UTC) #13
sprang_webrtc
lgtm, but please consider switching to a Buffer object. https://codereview.webrtc.org/2684223002/diff/40001/webrtc/modules/video_coding/codecs/test/videoprocessor.h File webrtc/modules/video_coding/codecs/test/videoprocessor.h (right): https://codereview.webrtc.org/2684223002/diff/40001/webrtc/modules/video_coding/codecs/test/videoprocessor.h#newcode206 webrtc/modules/video_coding/codecs/test/videoprocessor.h:206: ...
3 years, 10 months ago (2017-02-09 15:21:19 UTC) #14
åsapersson
https://codereview.webrtc.org/2684223002/diff/40001/webrtc/modules/video_coding/codecs/test/videoprocessor.h File webrtc/modules/video_coding/codecs/test/videoprocessor.h (right): https://codereview.webrtc.org/2684223002/diff/40001/webrtc/modules/video_coding/codecs/test/videoprocessor.h#newcode206 webrtc/modules/video_coding/codecs/test/videoprocessor.h:206: std::unique_ptr<uint8_t[]> last_successful_frame_buffer_; On 2017/02/09 15:21:19, språng wrote: > ..or ...
3 years, 10 months ago (2017-02-10 08:13:33 UTC) #17
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/2684223002/40001
3 years, 10 months ago (2017-02-10 08:13:52 UTC) #20
commit-bot: I haz the power
3 years, 10 months ago (2017-02-10 08:16:12 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/external/webrtc/+/654d54c07385cf46f17693906...

Powered by Google App Engine
This is Rietveld 408576698