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

Issue 2304723004: Added ClearTo(seq_num) to RtpFrameReferenceFinder. (Closed)

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

Description

Added ClearTo(seq_num) to RtpFrameReferenceFinder. In order to be able to clear out any potentially stashed old frames from the RtpFrameReferenceFinder we can now clear frames that contain packets older than |seq_num|. BUG=webrtc:5514 Committed: https://crrev.com/463d3011ceeb6d361411a42fa974b92d9dbc53e1 Cr-Commit-Position: refs/heads/master@{#14156}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Added comments. #

Total comments: 6

Patch Set 3 : Updated comment. #

Patch Set 4 : std::queue --> std::deque for stashed_frames_" #

Total comments: 1

Patch Set 5 : Nit fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -10 lines) Patch
M webrtc/modules/video_coding/rtp_frame_reference_finder.h View 1 2 3 4 chunks +20 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/rtp_frame_reference_finder.cc View 1 2 3 4 9 chunks +32 lines, -8 lines 0 comments Download
M webrtc/modules/video_coding/rtp_frame_reference_finder_unittest.cc View 1 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
philipel
4 years, 3 months ago (2016-09-02 13:21:06 UTC) #2
brandtr
lgtm, with some nits. https://codereview.webrtc.org/2304723004/diff/1/webrtc/modules/video_coding/rtp_frame_reference_finder.h File webrtc/modules/video_coding/rtp_frame_reference_finder.h (right): https://codereview.webrtc.org/2304723004/diff/1/webrtc/modules/video_coding/rtp_frame_reference_finder.h#newcode42 webrtc/modules/video_coding/rtp_frame_reference_finder.h:42: explicit RtpFrameReferenceFinder(OnCompleteFrameCallback* frame_callback); Perhaps it ...
4 years, 3 months ago (2016-09-05 11:20:33 UTC) #3
philipel
https://codereview.webrtc.org/2304723004/diff/1/webrtc/modules/video_coding/rtp_frame_reference_finder.h File webrtc/modules/video_coding/rtp_frame_reference_finder.h (right): https://codereview.webrtc.org/2304723004/diff/1/webrtc/modules/video_coding/rtp_frame_reference_finder.h#newcode42 webrtc/modules/video_coding/rtp_frame_reference_finder.h:42: explicit RtpFrameReferenceFinder(OnCompleteFrameCallback* frame_callback); On 2016/09/05 11:20:32, brandtr wrote: > ...
4 years, 3 months ago (2016-09-05 12:11:01 UTC) #4
philipel
ping
4 years, 3 months ago (2016-09-07 08:39:33 UTC) #9
stefan-webrtc
https://codereview.webrtc.org/2304723004/diff/20001/webrtc/modules/video_coding/rtp_frame_reference_finder.cc File webrtc/modules/video_coding/rtp_frame_reference_finder.cc (right): https://codereview.webrtc.org/2304723004/diff/20001/webrtc/modules/video_coding/rtp_frame_reference_finder.cc#newcode77 webrtc/modules/video_coding/rtp_frame_reference_finder.cc:77: for (size_t i = 0; i < num_stashed_frames; ++i) ...
4 years, 3 months ago (2016-09-07 13:29:57 UTC) #10
philipel
https://codereview.webrtc.org/2304723004/diff/20001/webrtc/modules/video_coding/rtp_frame_reference_finder.cc File webrtc/modules/video_coding/rtp_frame_reference_finder.cc (right): https://codereview.webrtc.org/2304723004/diff/20001/webrtc/modules/video_coding/rtp_frame_reference_finder.cc#newcode77 webrtc/modules/video_coding/rtp_frame_reference_finder.cc:77: for (size_t i = 0; i < num_stashed_frames; ++i) ...
4 years, 3 months ago (2016-09-08 11:27:20 UTC) #11
stefan-webrtc
https://codereview.webrtc.org/2304723004/diff/20001/webrtc/modules/video_coding/rtp_frame_reference_finder.cc File webrtc/modules/video_coding/rtp_frame_reference_finder.cc (right): https://codereview.webrtc.org/2304723004/diff/20001/webrtc/modules/video_coding/rtp_frame_reference_finder.cc#newcode77 webrtc/modules/video_coding/rtp_frame_reference_finder.cc:77: for (size_t i = 0; i < num_stashed_frames; ++i) ...
4 years, 3 months ago (2016-09-08 11:51:31 UTC) #12
philipel
Last patchset was suppose to say: "std::queue --> std::deque for stashed_frames_" https://codereview.webrtc.org/2304723004/diff/20001/webrtc/modules/video_coding/rtp_frame_reference_finder.cc File webrtc/modules/video_coding/rtp_frame_reference_finder.cc (right): ...
4 years, 3 months ago (2016-09-08 12:16:03 UTC) #13
stefan-webrtc
lgtm % nit https://codereview.webrtc.org/2304723004/diff/60001/webrtc/modules/video_coding/rtp_frame_reference_finder.cc File webrtc/modules/video_coding/rtp_frame_reference_finder.cc (right): https://codereview.webrtc.org/2304723004/diff/60001/webrtc/modules/video_coding/rtp_frame_reference_finder.cc#newcode78 webrtc/modules/video_coding/rtp_frame_reference_finder.cc:78: if (AheadOf<uint16_t>(cleared_to_seq_num_, (*it)->first_seq_num())) {} since it's ...
4 years, 3 months ago (2016-09-08 12:18:28 UTC) #14
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/2304723004/80001
4 years, 3 months ago (2016-09-08 12:26:27 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_x64_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_compile_x64_dbg/builds/6841)
4 years, 3 months ago (2016-09-08 12:31:18 UTC) #19
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/2304723004/80001
4 years, 3 months ago (2016-09-09 09:08:23 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 3 months ago (2016-09-09 10:32:47 UTC) #22
commit-bot: I haz the power
4 years, 3 months ago (2016-09-09 10:32:55 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/463d3011ceeb6d361411a42fa974b92d9dbc53e1
Cr-Commit-Position: refs/heads/master@{#14156}

Powered by Google App Engine
This is Rietveld 408576698