git-svn-id: http://webrtc.googlecode.com/svn/trunk@4 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
226
modules/video_coding/main/source/nack_fec_tables.h
Normal file
226
modules/video_coding/main/source/nack_fec_tables.h
Normal file
@@ -0,0 +1,226 @@
|
||||
/*
|
||||
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by a BSD-style license
|
||||
* that can be found in the LICENSE file in the root of the source
|
||||
* tree. An additional intellectual property rights grant can be found
|
||||
* in the file PATENTS. All contributing project authors may
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
#ifndef WEBRTC_MODULES_VIDEO_CODING_SOURCE_NACK_FEC_TABLES_H_
|
||||
#define WEBRTC_MODULES_VIDEO_CODING_SOURCE_NACK_FEC_TABLES_H_
|
||||
|
||||
namespace webrtc
|
||||
{
|
||||
|
||||
// Table for softening FEC rate for NACK/FEC protection method
|
||||
const WebRtc_UWord16 VCMNackFecTable[200] = {
|
||||
|
||||
27,
|
||||
28,
|
||||
30,
|
||||
31,
|
||||
33,
|
||||
35,
|
||||
36,
|
||||
38,
|
||||
40,
|
||||
42,
|
||||
45,
|
||||
47,
|
||||
49,
|
||||
52,
|
||||
54,
|
||||
57,
|
||||
60,
|
||||
63,
|
||||
66,
|
||||
70,
|
||||
73,
|
||||
77,
|
||||
81,
|
||||
85,
|
||||
89,
|
||||
94,
|
||||
98,
|
||||
103,
|
||||
108,
|
||||
114,
|
||||
120,
|
||||
126,
|
||||
132,
|
||||
138,
|
||||
145,
|
||||
152,
|
||||
160,
|
||||
168,
|
||||
176,
|
||||
185,
|
||||
194,
|
||||
203,
|
||||
213,
|
||||
223,
|
||||
234,
|
||||
246,
|
||||
257,
|
||||
270,
|
||||
283,
|
||||
296,
|
||||
310,
|
||||
325,
|
||||
340,
|
||||
356,
|
||||
373,
|
||||
390,
|
||||
408,
|
||||
427,
|
||||
446,
|
||||
467,
|
||||
488,
|
||||
510,
|
||||
532,
|
||||
556,
|
||||
581,
|
||||
606,
|
||||
632,
|
||||
659,
|
||||
688,
|
||||
717,
|
||||
747,
|
||||
778,
|
||||
810,
|
||||
843,
|
||||
877,
|
||||
912,
|
||||
948,
|
||||
985,
|
||||
1022,
|
||||
1061,
|
||||
1101,
|
||||
1142,
|
||||
1183,
|
||||
1226,
|
||||
1269,
|
||||
1314,
|
||||
1359,
|
||||
1404,
|
||||
1451,
|
||||
1498,
|
||||
1546,
|
||||
1594,
|
||||
1643,
|
||||
1693,
|
||||
1743,
|
||||
1793,
|
||||
1843,
|
||||
1894,
|
||||
1945,
|
||||
1996,
|
||||
2048,
|
||||
2099,
|
||||
2150,
|
||||
2201,
|
||||
2252,
|
||||
2302,
|
||||
2352,
|
||||
2402,
|
||||
2452,
|
||||
2501,
|
||||
2549,
|
||||
2597,
|
||||
2644,
|
||||
2691,
|
||||
2736,
|
||||
2781,
|
||||
2826,
|
||||
2869,
|
||||
2912,
|
||||
2953,
|
||||
2994,
|
||||
3034,
|
||||
3073,
|
||||
3110,
|
||||
3147,
|
||||
3183,
|
||||
3218,
|
||||
3252,
|
||||
3285,
|
||||
3317,
|
||||
3348,
|
||||
3378,
|
||||
3407,
|
||||
3436,
|
||||
3463,
|
||||
3489,
|
||||
3514,
|
||||
3539,
|
||||
3563,
|
||||
3585,
|
||||
3607,
|
||||
3628,
|
||||
3649,
|
||||
3668,
|
||||
3687,
|
||||
3705,
|
||||
3722,
|
||||
3739,
|
||||
3755,
|
||||
3770,
|
||||
3785,
|
||||
3799,
|
||||
3812,
|
||||
3825,
|
||||
3838,
|
||||
3849,
|
||||
3861,
|
||||
3872,
|
||||
3882,
|
||||
3892,
|
||||
3901,
|
||||
3910,
|
||||
3919,
|
||||
3927,
|
||||
3935,
|
||||
3943,
|
||||
3950,
|
||||
3957,
|
||||
3963,
|
||||
3969,
|
||||
3975,
|
||||
3981,
|
||||
3987,
|
||||
3992,
|
||||
3997,
|
||||
4001,
|
||||
4006,
|
||||
4010,
|
||||
4014,
|
||||
4018,
|
||||
4022,
|
||||
4025,
|
||||
4029,
|
||||
4032,
|
||||
4035,
|
||||
4038,
|
||||
4041,
|
||||
4043,
|
||||
4046,
|
||||
4048,
|
||||
4050,
|
||||
4053,
|
||||
4055,
|
||||
4057,
|
||||
4059,
|
||||
4060,
|
||||
4062,
|
||||
4064,
|
||||
4065,
|
||||
4067,
|
||||
|
||||
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // WEBRTC_MODULES_VIDEO_CODING_SOURCE_NACK_FEC_TABLES_H_
|
Reference in New Issue
Block a user