Rasmus Brandt
ae4f7674e4
Style updates for ForwardErrorCorrection and related classes.
...
This CL mainly updates the FEC code to use more C++11 features and
to be more in line with the style guide. These changes should
have no impact on the functionality provided by the FEC.
Summary of style fixes:
- Use range-based for loops, where applicable.
- Use auto type deduction for iterator type names.
- Use RTC_DCHECK instead of assert.
- Rename FEC to Fec, where applicable.
- Update test_fec.cc to use variable_names rather than variableNames.
- Avoid redefining the PacketList types outside ForwardErrorCorrection.
Another minor change is that storage for the packet masks, as these
are generated, now is provided by a member variable, rather than
being dynamically allocated on every call to GenerateFec.
BUG=webrtc:5654
R=danilchap@webrtc.org , stefan@webrtc.org
Review URL: https://codereview.webrtc.org/2080553003 .
Cr-Commit-Position: refs/heads/master@{#13403}
2016-07-07 07:41:03 +00:00
..
2016-01-13 00:26:55 +00:00
2016-07-05 10:01:08 +00:00
2016-04-14 10:05:37 +00:00
2016-04-14 10:05:37 +00:00
2016-02-26 13:13:51 +00:00
2016-01-25 07:47:59 +00:00
2015-12-28 18:18:52 +00:00
2016-04-14 10:05:37 +00:00
2016-04-14 10:05:37 +00:00
2015-12-10 20:39:16 +00:00
2015-12-10 20:39:16 +00:00
2016-07-07 07:41:03 +00:00
2016-04-14 10:05:37 +00:00
2016-07-07 07:41:03 +00:00
2016-02-19 15:02:24 +00:00
2016-02-19 15:02:24 +00:00
2015-12-10 20:39:16 +00:00
2016-07-07 07:41:03 +00:00
2016-07-07 07:41:03 +00:00
2016-07-07 07:41:03 +00:00
2016-06-14 10:53:09 +00:00
2014-04-14 20:08:03 +00:00
2015-07-11 01:10:08 +00:00
2015-09-17 07:24:51 +00:00
2015-07-11 01:10:08 +00:00
2016-06-08 07:24:30 +00:00
2016-06-14 17:55:46 +00:00
2016-06-14 17:55:46 +00:00
2016-07-07 07:41:03 +00:00
2016-07-07 07:41:03 +00:00
2016-07-07 07:41:03 +00:00
2016-05-15 02:44:18 +00:00
2016-04-14 10:05:37 +00:00
2016-04-29 13:09:23 +00:00
2015-11-04 07:32:04 +00:00
2016-03-15 08:00:54 +00:00
2016-04-27 08:20:08 +00:00
2016-04-26 11:44:02 +00:00
2016-03-14 15:19:31 +00:00
2016-03-14 15:19:31 +00:00
2016-04-18 17:54:13 +00:00
2016-05-15 02:44:18 +00:00
2016-04-27 08:20:08 +00:00
2016-06-08 07:24:30 +00:00
2016-05-24 20:25:35 +00:00
2016-05-09 17:59:55 +00:00
2016-05-24 20:25:35 +00:00
2016-05-24 20:25:35 +00:00
2015-09-14 19:50:49 +00:00
2016-04-19 10:15:21 +00:00
2016-05-15 02:44:18 +00:00
2016-07-07 07:41:03 +00:00
2016-06-07 16:01:38 +00:00
2016-06-07 16:01:38 +00:00
2016-06-02 09:43:38 +00:00
2015-11-04 07:32:04 +00:00
2016-04-26 15:14:48 +00:00
2014-11-20 22:28:14 +00:00
2015-11-04 07:32:04 +00:00
2016-04-27 08:20:08 +00:00
2015-10-28 15:39:43 +00:00
2015-11-04 07:32:04 +00:00
2016-04-27 08:20:08 +00:00
2015-11-10 15:17:26 +00:00
2015-11-04 07:32:04 +00:00
2015-07-28 11:02:58 +00:00
2016-06-02 09:43:38 +00:00
2016-04-26 11:44:02 +00:00
2016-04-20 12:25:19 +00:00
2016-06-08 07:24:30 +00:00
2016-04-20 12:25:19 +00:00
2016-04-20 12:25:19 +00:00
2016-04-14 10:05:37 +00:00
2016-04-26 11:44:02 +00:00
2016-04-14 10:05:37 +00:00
2016-04-14 10:05:37 +00:00
2016-04-20 12:25:19 +00:00
2016-04-20 12:25:19 +00:00
2016-06-17 11:18:58 +00:00
2016-06-17 11:18:58 +00:00
2016-04-26 15:14:48 +00:00
2016-04-27 08:20:08 +00:00
2016-04-29 13:09:23 +00:00
2016-04-14 10:05:37 +00:00
2016-04-29 13:09:23 +00:00
2016-05-11 11:05:13 +00:00
2016-05-15 02:44:18 +00:00
2016-04-14 10:05:37 +00:00
2016-04-14 10:05:37 +00:00
2016-06-08 07:24:30 +00:00
2016-04-29 13:09:23 +00:00
2015-12-10 10:39:45 +00:00
2016-06-08 07:24:30 +00:00
2016-06-08 07:24:30 +00:00
2016-06-08 07:24:30 +00:00
2016-05-10 14:31:58 +00:00
2016-04-14 10:05:37 +00:00
2016-06-08 07:24:30 +00:00
2016-06-08 07:24:30 +00:00
2016-04-14 10:05:37 +00:00
2016-06-23 10:50:43 +00:00
2016-06-08 07:24:30 +00:00
2016-06-16 13:57:26 +00:00
2016-04-29 10:01:33 +00:00
2016-05-10 14:31:58 +00:00
2016-02-02 16:34:16 +00:00
2016-03-09 14:14:45 +00:00
2016-03-09 14:14:45 +00:00
2016-03-09 14:14:45 +00:00
2016-05-24 20:25:35 +00:00
2016-05-24 20:25:35 +00:00
2015-12-10 10:39:45 +00:00
2015-12-10 20:39:16 +00:00
2015-12-10 20:39:16 +00:00
2015-12-10 20:39:16 +00:00