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

Issue 1814753002: Moved sequence number specific operations from mod_ops.h (Closed)

Created:
4 years, 9 months ago by philipel
Modified:
4 years, 9 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhengzhonghou_agora.io, video-team_agora.io, stefan-webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Moved sequence number specific operations from mod_ops.h to sequence_number_util.h Also in this CL: - Implemented a MinDiff function which finds the smallest diff of two wrapping numbers. - Implemented comparators for sequence numbers. BUG= R=mflodman@webrtc.org, tommi@webrtc.org, torbjorng@webrtc.org Committed: https://crrev.com/2cb73413f4d78541b0628603f04aa342d2a6c3ea Cr-Commit-Position: refs/heads/master@{#12083}

Patch Set 1 #

Patch Set 2 : Comment fix. #

Total comments: 6

Patch Set 3 : Feedback fixes. #

Total comments: 2

Patch Set 4 : Feedback fixes and format. #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+353 lines, -99 lines) Patch
M webrtc/base/mod_ops.h View 1 2 3 1 chunk +8 lines, -13 lines 0 comments Download
M webrtc/base/mod_ops_unittest.cc View 1 2 3 2 chunks +20 lines, -82 lines 0 comments Download
M webrtc/modules/modules.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/video_coding/histogram.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/nack_module.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/nack_module.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/nack_module_unittest.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
A webrtc/modules/video_coding/sequence_number_util.h View 1 2 3 1 chunk +110 lines, -0 lines 0 comments Download
A webrtc/modules/video_coding/sequence_number_util_unittest.cc View 1 2 3 1 chunk +212 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (10 generated)
philipel
I have mostly shuffled code around so only a few things are new: - The ...
4 years, 9 months ago (2016-03-17 08:45:00 UTC) #2
torbjorng (webrtc)
Please define the exact semantics of the many AheadOf* functions. I cannot tell if they ...
4 years, 9 months ago (2016-03-17 10:47:27 UTC) #3
philipel
https://codereview.webrtc.org/1814753002/diff/20001/webrtc/modules/video_coding/sequence_number_util.h File webrtc/modules/video_coding/sequence_number_util.h (right): https://codereview.webrtc.org/1814753002/diff/20001/webrtc/modules/video_coding/sequence_number_util.h#newcode21 webrtc/modules/video_coding/sequence_number_util.h:21: // Test if the sequence number a is ahead ...
4 years, 9 months ago (2016-03-17 12:32:40 UTC) #4
torbjorng (webrtc)
Philip and I talked offline; I will need a day or two before I can ...
4 years, 9 months ago (2016-03-17 14:01:17 UTC) #5
torbjorng (webrtc)
lgtm with suggested change. https://codereview.webrtc.org/1814753002/diff/20001/webrtc/modules/video_coding/sequence_number_util.h File webrtc/modules/video_coding/sequence_number_util.h (right): https://codereview.webrtc.org/1814753002/diff/20001/webrtc/modules/video_coding/sequence_number_util.h#newcode30 webrtc/modules/video_coding/sequence_number_util.h:30: if (MinDiff<T, M>(a, b) == ...
4 years, 9 months ago (2016-03-21 12:32:27 UTC) #6
philipel
mflodman@, ptal https://codereview.webrtc.org/1814753002/diff/20001/webrtc/modules/video_coding/sequence_number_util.h File webrtc/modules/video_coding/sequence_number_util.h (right): https://codereview.webrtc.org/1814753002/diff/20001/webrtc/modules/video_coding/sequence_number_util.h#newcode30 webrtc/modules/video_coding/sequence_number_util.h:30: if (MinDiff<T, M>(a, b) == maxDist) On ...
4 years, 9 months ago (2016-03-21 12:56:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814753002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814753002/40001
4 years, 9 months ago (2016-03-21 12:57:18 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/4316)
4 years, 9 months ago (2016-03-21 13:15:26 UTC) #12
philipel
tommi@, ptal
4 years, 9 months ago (2016-03-21 15:43:39 UTC) #14
tommi
rs lgtm with an appropriate fix for the below (assuming I'm not misunderstanding) https://codereview.webrtc.org/1814753002/diff/40001/webrtc/modules/video_coding/sequence_number_util.h File ...
4 years, 9 months ago (2016-03-21 16:13:14 UTC) #15
philipel
https://codereview.webrtc.org/1814753002/diff/40001/webrtc/modules/video_coding/sequence_number_util.h File webrtc/modules/video_coding/sequence_number_util.h (right): https://codereview.webrtc.org/1814753002/diff/40001/webrtc/modules/video_coding/sequence_number_util.h#newcode66 webrtc/modules/video_coding/sequence_number_util.h:66: struct SeqNumComp_; On 2016/03/21 16:13:13, tommi-webrtc wrote: > why ...
4 years, 9 months ago (2016-03-21 16:19:28 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814753002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814753002/60001
4 years, 9 months ago (2016-03-21 16:20:04 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: win_drmemory_light on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_drmemory_light/builds/10668)
4 years, 9 months ago (2016-03-21 19:10:30 UTC) #21
mflodman
rs lgtm
4 years, 9 months ago (2016-03-22 08:06:27 UTC) #22
philipel
Committed patchset #5 (id:80001) manually as 2cb73413f4d78541b0628603f04aa342d2a6c3ea (presubmit successful).
4 years, 9 months ago (2016-03-22 09:04:01 UTC) #24
commit-bot: I haz the power
4 years, 9 months ago (2016-03-22 09:04:04 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/2cb73413f4d78541b0628603f04aa342d2a6c3ea
Cr-Commit-Position: refs/heads/master@{#12083}

Powered by Google App Engine
This is Rietveld 408576698