OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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 | 10 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 * | 55 * |
56 * Return value : 0 if everything went fine, | 56 * Return value : 0 if everything went fine, |
57 * -1 otherwise | 57 * -1 otherwise |
58 */ | 58 */ |
59 | 59 |
60 int32_t WebRtcIsacfix_UpdateUplinkBwImpl(BwEstimatorstr *bwest_str, | 60 int32_t WebRtcIsacfix_UpdateUplinkBwImpl(BwEstimatorstr *bwest_str, |
61 const uint16_t rtp_number, | 61 const uint16_t rtp_number, |
62 const int16_t frameSize, | 62 const int16_t frameSize, |
63 const uint32_t send_ts, | 63 const uint32_t send_ts, |
64 const uint32_t arr_ts, | 64 const uint32_t arr_ts, |
65 const int16_t pksize, | 65 const size_t pksize, |
66 const uint16_t Index); | 66 const uint16_t Index); |
67 | 67 |
68 /* Update receiving estimates. Used when we only receive BWE index, no iSAC data
packet. */ | 68 /* Update receiving estimates. Used when we only receive BWE index, no iSAC data
packet. */ |
69 int16_t WebRtcIsacfix_UpdateUplinkBwRec(BwEstimatorstr *bwest_str, | 69 int16_t WebRtcIsacfix_UpdateUplinkBwRec(BwEstimatorstr *bwest_str, |
70 const int16_t Index); | 70 const int16_t Index); |
71 | 71 |
72 /**************************************************************************** | 72 /**************************************************************************** |
73 * WebRtcIsacfix_GetDownlinkBwIndexImpl(...) | 73 * WebRtcIsacfix_GetDownlinkBwIndexImpl(...) |
74 * | 74 * |
75 * This function calculates and returns the bandwidth/jitter estimation code | 75 * This function calculates and returns the bandwidth/jitter estimation code |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 126 |
127 /* Returns the new framelength value (input argument: bottle_neck) */ | 127 /* Returns the new framelength value (input argument: bottle_neck) */ |
128 int16_t WebRtcIsacfix_GetNewFrameLength(int16_t bottle_neck, int16_t current_fra
melength); | 128 int16_t WebRtcIsacfix_GetNewFrameLength(int16_t bottle_neck, int16_t current_fra
melength); |
129 | 129 |
130 /* Returns the new SNR value (input argument: bottle_neck) */ | 130 /* Returns the new SNR value (input argument: bottle_neck) */ |
131 //returns snr in Q10 | 131 //returns snr in Q10 |
132 int16_t WebRtcIsacfix_GetSnr(int16_t bottle_neck, int16_t framesamples); | 132 int16_t WebRtcIsacfix_GetSnr(int16_t bottle_neck, int16_t framesamples); |
133 | 133 |
134 | 134 |
135 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_BANDWIDTH_ESTIMATO
R_H_ */ | 135 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_BANDWIDTH_ESTIMATO
R_H_ */ |
OLD | NEW |