1/* 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 11#ifndef WEBRTC_MODULES_VIDEO_CODING_SOURCE_NACK_FEC_TABLES_H_ 12#define WEBRTC_MODULES_VIDEO_CODING_SOURCE_NACK_FEC_TABLES_H_ 13 14namespace webrtc 15{ 16 17// Table for adjusting FEC rate for NACK/FEC protection method 18// Table values are built as a sigmoid function, ranging from 0 to 19// kHighRttNackMs (100), based on the HybridNackTH values defined in 20// media_opt_util.h. 21const uint16_t VCMNackFecTable[100] = { 220, 230, 240, 250, 260, 270, 280, 290, 300, 310, 320, 331, 341, 351, 361, 371, 382, 392, 402, 413, 423, 434, 445, 456, 467, 479, 4810, 4912, 5015, 5118, 5221, 5324, 5428, 5532, 5637, 5741, 5846, 5951, 6056, 6161, 6266, 6370, 6474, 6578, 6681, 6784, 6886, 6989, 7090, 7192, 7293, 7395, 7495, 7596, 7697, 7797, 7898, 7998, 8099, 8199, 8299, 8399, 8499, 8599, 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, 121100, 122 123}; 124 125} // namespace webrtc 126 127#endif // WEBRTC_MODULES_VIDEO_CODING_SOURCE_NACK_FEC_TABLES_H_ 128