philipel
7956c0f2f6
Implemented a new sequence number unwrapper in sequence_number_util.h.
...
There is already an Unwrapper in webrtc/modules/include/module_common_types.h,
but we reimplemented it in sequence_number_util.h for a few reasons:
- Such a class belongs in sequence_number_util.h.
- It is a cleaner implementation since we can use the rest of
sequence_number_util.h functionality.
- You can choose at which number the unwrapped sequence should start,
which is used to avoid the edge case when a backward wrap can happen
as the first few numbers are unwrapped.
- This unwrapper can unwrap numbers that does not wrap 8/16/32 bits.
BUG=None
Review-Url: https://codereview.webrtc.org/2977603002
Cr-Commit-Position: refs/heads/master@{#19154}
2017-07-26 14:48:15 +00:00
..
2017-07-20 00:04:02 +00:00
2017-07-06 10:06:50 +00:00
2017-07-06 19:11:40 +00:00
2017-07-06 19:11:40 +00:00
2017-07-19 17:40:47 +00:00
2017-07-06 19:11:40 +00:00
2017-07-05 23:45:57 +00:00
2017-07-06 19:11:40 +00:00
2017-01-10 12:21:35 +00:00
2017-07-06 19:11:40 +00:00
2016-10-06 12:04:59 +00:00
2017-07-10 10:26:36 +00:00
2017-06-19 14:18:55 +00:00
2017-06-19 14:18:55 +00:00
2017-01-12 14:16:24 +00:00
2017-07-06 19:11:40 +00:00
2017-07-24 15:26:53 +00:00
2017-07-24 15:26:53 +00:00
2017-07-06 19:11:40 +00:00
2016-10-06 12:04:59 +00:00
2017-07-06 19:11:40 +00:00
2017-07-06 19:11:40 +00:00
2017-07-15 18:33:35 +00:00
2017-07-06 19:11:40 +00:00
2017-06-19 14:18:55 +00:00
2017-07-11 15:08:12 +00:00
2017-07-06 19:11:40 +00:00
2017-01-02 16:42:32 +00:00
2017-07-06 19:11:40 +00:00
2017-07-06 19:11:40 +00:00
2017-06-21 14:22:40 +00:00
2017-07-06 19:11:40 +00:00
2017-03-17 13:12:33 +00:00
2016-10-01 05:29:53 +00:00
2016-11-28 23:21:51 +00:00
2017-07-06 19:11:40 +00:00
2017-07-06 19:11:40 +00:00
2017-07-06 19:11:40 +00:00
2017-03-24 10:22:49 +00:00
2017-07-06 19:11:40 +00:00
2017-01-12 14:16:24 +00:00
2017-07-06 19:11:40 +00:00
2017-07-06 19:11:40 +00:00
2017-07-06 19:11:40 +00:00
2017-01-10 12:21:35 +00:00
2017-07-06 19:11:40 +00:00
2017-07-06 19:11:40 +00:00
2017-05-11 07:28:18 +00:00
2017-07-06 19:11:40 +00:00
2017-07-06 19:11:40 +00:00
2017-06-19 14:18:55 +00:00
2017-06-19 14:18:55 +00:00
2016-10-01 05:29:53 +00:00
2016-07-11 08:47:36 +00:00
2017-07-06 19:11:40 +00:00
2017-05-24 17:00:16 +00:00
2017-03-08 13:42:26 +00:00
2017-07-06 19:11:40 +00:00
2017-07-06 19:11:40 +00:00
2017-07-06 19:11:40 +00:00
2017-07-14 11:52:01 +00:00
2017-07-14 11:52:01 +00:00
2017-07-06 19:11:40 +00:00
2017-07-26 14:48:15 +00:00
2017-07-26 14:48:15 +00:00
2017-01-10 12:21:35 +00:00
2017-07-06 19:11:40 +00:00
2016-10-06 12:04:59 +00:00
2017-03-30 07:31:15 +00:00
2017-07-06 10:06:50 +00:00
2017-07-06 19:11:40 +00:00
2017-04-05 10:02:20 +00:00
2017-07-06 19:11:40 +00:00
2017-07-06 19:11:40 +00:00
2017-07-06 19:11:40 +00:00
2017-07-06 19:11:40 +00:00
2017-03-14 11:16:20 +00:00
2017-07-06 19:11:40 +00:00
2017-03-17 15:11:11 +00:00
2017-07-06 19:11:40 +00:00