blob: 54265ce232286dc7ff5f734ba1fae0401ede6a1e [file] [log] [blame]
niklase@google.com470e71d2011-07-07 08:21:25 +00001/*
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
3 *
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
Henrik Kjellander2557b862015-11-18 22:00:21 +010011#ifndef WEBRTC_MODULES_VIDEO_CODING_NACK_FEC_TABLES_H_
12#define WEBRTC_MODULES_VIDEO_CODING_NACK_FEC_TABLES_H_
niklase@google.com470e71d2011-07-07 08:21:25 +000013
14namespace webrtc
15{
16
mikhal@google.com679450f2011-08-01 22:14:58 +000017// Table for adjusting FEC rate for NACK/FEC protection method
pkasting@chromium.org16825b12015-01-12 21:51:21 +000018// Table values are built as a sigmoid function, ranging from 0 to 100, based on
19// the HybridNackTH values defined in media_opt_util.h.
pbos@webrtc.org7b859cc2013-04-02 15:54:38 +000020const uint16_t VCMNackFecTable[100] = {
mikhal@google.com679450f2011-08-01 22:14:58 +0000210,
220,
230,
240,
250,
260,
270,
280,
290,
300,
310,
321,
331,
341,
351,
361,
372,
382,
392,
403,
413,
424,
435,
446,
457,
469,
4710,
4812,
4915,
5018,
5121,
5224,
niklase@google.com470e71d2011-07-07 08:21:25 +00005328,
mikhal@google.com679450f2011-08-01 22:14:58 +00005432,
5537,
5641,
5746,
5851,
5956,
6061,
niklase@google.com470e71d2011-07-07 08:21:25 +00006166,
6270,
mikhal@google.com679450f2011-08-01 22:14:58 +00006374,
6478,
niklase@google.com470e71d2011-07-07 08:21:25 +00006581,
mikhal@google.com679450f2011-08-01 22:14:58 +00006684,
6786,
niklase@google.com470e71d2011-07-07 08:21:25 +00006889,
mikhal@google.com679450f2011-08-01 22:14:58 +00006990,
7092,
7193,
7295,
7395,
7496,
7597,
7697,
niklase@google.com470e71d2011-07-07 08:21:25 +00007798,
mikhal@google.com679450f2011-08-01 22:14:58 +00007898,
7999,
8099,
8199,
8299,
8399,
8499,
85100,
86100,
87100,
88100,
89100,
90100,
91100,
92100,
93100,
94100,
95100,
96100,
97100,
98100,
99100,
100100,
101100,
102100,
103100,
104100,
105100,
106100,
107100,
108100,
109100,
110100,
111100,
112100,
113100,
114100,
115100,
116100,
117100,
118100,
119100,
120100,
niklase@google.com470e71d2011-07-07 08:21:25 +0000121
122};
123
pbos@webrtc.orgd900e8b2013-07-03 15:12:26 +0000124} // namespace webrtc
niklase@google.com470e71d2011-07-07 08:21:25 +0000125
Henrik Kjellander2557b862015-11-18 22:00:21 +0100126#endif // WEBRTC_MODULES_VIDEO_CODING_NACK_FEC_TABLES_H_