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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 * | 84 * |
85 * Input: | 85 * Input: |
86 * - G722enc_inst : G722 instance, i.e. the user that should encode | 86 * - G722enc_inst : G722 instance, i.e. the user that should encode |
87 * a packet | 87 * a packet |
88 * - speechIn : Input speech vector | 88 * - speechIn : Input speech vector |
89 * - len : Samples in speechIn | 89 * - len : Samples in speechIn |
90 * | 90 * |
91 * Output: | 91 * Output: |
92 * - encoded : The encoded data vector | 92 * - encoded : The encoded data vector |
93 * | 93 * |
94 * Return value : Length (in bytes) of coded data | 94 * Return value : Length (in bytes) of coded data |
95 */ | 95 */ |
96 | 96 |
97 int16_t WebRtcG722_Encode(G722EncInst* G722enc_inst, | 97 int16_t WebRtcG722_Encode(G722EncInst* G722enc_inst, |
98 const int16_t* speechIn, | 98 const int16_t* speechIn, |
99 int16_t len, | 99 int16_t len, |
100 uint8_t* encoded); | 100 uint8_t* encoded); |
101 | 101 |
102 | 102 |
103 /**************************************************************************** | 103 /**************************************************************************** |
104 * WebRtcG722_CreateDecoder(...) | 104 * WebRtcG722_CreateDecoder(...) |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 | 180 |
181 int16_t WebRtcG722_Version(char *versionStr, short len); | 181 int16_t WebRtcG722_Version(char *versionStr, short len); |
182 | 182 |
183 | 183 |
184 #ifdef __cplusplus | 184 #ifdef __cplusplus |
185 } | 185 } |
186 #endif | 186 #endif |
187 | 187 |
188 | 188 |
189 #endif /* MODULES_AUDIO_CODING_CODECS_G722_MAIN_INTERFACE_G722_INTERFACE_H_ */ | 189 #endif /* MODULES_AUDIO_CODING_CODECS_G722_MAIN_INTERFACE_G722_INTERFACE_H_ */ |
OLD | NEW |