OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
| 10 #ifndef WEBRTC_MODULES_RTP_RTCP_TEST_TESTFEC_AVERAGE_RESIDUAL_LOSS_XOR_CODES_H_ |
| 11 #define WEBRTC_MODULES_RTP_RTCP_TEST_TESTFEC_AVERAGE_RESIDUAL_LOSS_XOR_CODES_H_ |
10 | 12 |
11 namespace { | 13 namespace { |
12 | 14 |
13 // Maximum number of media packets allowed in this test. The burst mask types | 15 // Maximum number of media packets allowed in this test. The burst mask types |
14 // are currently defined up to (kMaxMediaPacketsTest, kMaxMediaPacketsTest). | 16 // are currently defined up to (kMaxMediaPacketsTest, kMaxMediaPacketsTest). |
15 const int kMaxMediaPacketsTest = 12; | 17 const int kMaxMediaPacketsTest = 12; |
16 | 18 |
17 // Maximum number of FEC codes considered in this test. | 19 // Maximum number of FEC codes considered in this test. |
18 const int kNumberCodes = kMaxMediaPacketsTest * (kMaxMediaPacketsTest + 1) / 2; | 20 const int kNumberCodes = kMaxMediaPacketsTest * (kMaxMediaPacketsTest + 1) / 2; |
19 | 21 |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 0.028599f, | 181 0.028599f, |
180 0.023693f, | 182 0.023693f, |
181 0.019966f, | 183 0.019966f, |
182 0.016603f, | 184 0.016603f, |
183 0.013690f, | 185 0.013690f, |
184 0.011359f, | 186 0.011359f, |
185 0.009657f | 187 0.009657f |
186 }; | 188 }; |
187 | 189 |
188 } // namespace | 190 } // namespace |
| 191 #endif // WEBRTC_MODULES_RTP_RTCP_TEST_TESTFEC_AVERAGE_RESIDUAL_LOSS_XOR_CODES_
H_ |
OLD | NEW |