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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 * in samples. | 220 * in samples. |
221 * - arr_ts : the arrival time of the packet (from NetEq) | 221 * - arr_ts : the arrival time of the packet (from NetEq) |
222 * in samples. | 222 * in samples. |
223 * | 223 * |
224 * Return value : 0 - Ok | 224 * Return value : 0 - Ok |
225 * -1 - Error | 225 * -1 - Error |
226 */ | 226 */ |
227 | 227 |
228 int16_t WebRtcIsacfix_UpdateBwEstimate(ISACFIX_MainStruct *ISAC_main_inst, | 228 int16_t WebRtcIsacfix_UpdateBwEstimate(ISACFIX_MainStruct *ISAC_main_inst, |
229 const uint8_t* encoded, | 229 const uint8_t* encoded, |
230 int32_t packet_size, | 230 int32_t packet_size, |
231 uint16_t rtp_seq_number, | 231 uint16_t rtp_seq_number, |
232 uint32_t send_ts, | 232 uint32_t send_ts, |
233 uint32_t arr_ts); | 233 uint32_t arr_ts); |
234 | 234 |
235 /**************************************************************************** | 235 /**************************************************************************** |
236 * WebRtcIsacfix_Decode(...) | 236 * WebRtcIsacfix_Decode(...) |
237 * | 237 * |
238 * This function decodes an ISAC frame. Output speech length | 238 * This function decodes an ISAC frame. Output speech length |
239 * will be a multiple of 480 samples: 480 or 960 samples, | 239 * will be a multiple of 480 samples: 480 or 960 samples, |
240 * depending on the framesize (30 or 60 ms). | 240 * depending on the framesize (30 or 60 ms). |
241 * | 241 * |
242 * Input: | 242 * Input: |
243 * - ISAC_main_inst : ISAC instance. | 243 * - ISAC_main_inst : ISAC instance. |
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
627 int16_t WebRtcIsacfix_GetNewFrameLen(ISACFIX_MainStruct *ISAC_main_inst); | 627 int16_t WebRtcIsacfix_GetNewFrameLen(ISACFIX_MainStruct *ISAC_main_inst); |
628 | 628 |
629 | 629 |
630 #if defined(__cplusplus) | 630 #if defined(__cplusplus) |
631 } | 631 } |
632 #endif | 632 #endif |
633 | 633 |
634 | 634 |
635 | 635 |
636 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_INTERFACE_ISACFIX_H_ */ | 636 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_INTERFACE_ISACFIX_H_ */ |
OLD | NEW |