Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(426)

Side by Side Diff: webrtc/modules/audio_coding/codecs/g722/include/g722_interface.h

Issue 1179953003: Revert "Upconvert various types to int." (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 * WebRtcG722_FreeEncoder(...) 66 * WebRtcG722_FreeEncoder(...)
67 * 67 *
68 * Free the memory used for G722 encoder 68 * Free the memory used for G722 encoder
69 * 69 *
70 * Input: 70 * Input:
71 * - G722enc_inst : G722 instance for encoder 71 * - G722enc_inst : G722 instance for encoder
72 * 72 *
73 * Return value : 0 - Ok 73 * Return value : 0 - Ok
74 * -1 - Error 74 * -1 - Error
75 */ 75 */
76 int WebRtcG722_FreeEncoder(G722EncInst *G722enc_inst); 76 int16_t WebRtcG722_FreeEncoder(G722EncInst *G722enc_inst);
77 77
78 78
79 79
80 /**************************************************************************** 80 /****************************************************************************
81 * WebRtcG722_Encode(...) 81 * WebRtcG722_Encode(...)
82 * 82 *
83 * This function encodes G722 encoded data. 83 * This function encodes G722 encoded data.
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
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 * 135 *
136 * Free the memory used for G722 decoder 136 * Free the memory used for G722 decoder
137 * 137 *
138 * Input: 138 * Input:
139 * - G722dec_inst : G722 instance for decoder 139 * - G722dec_inst : G722 instance for decoder
140 * 140 *
141 * Return value : 0 - Ok 141 * Return value : 0 - Ok
142 * -1 - Error 142 * -1 - Error
143 */ 143 */
144 144
145 int WebRtcG722_FreeDecoder(G722DecInst *G722dec_inst); 145 int16_t WebRtcG722_FreeDecoder(G722DecInst *G722dec_inst);
146 146
147 147
148 /**************************************************************************** 148 /****************************************************************************
149 * WebRtcG722_Decode(...) 149 * WebRtcG722_Decode(...)
150 * 150 *
151 * This function decodes a packet with G729 frame(s). Output speech length 151 * This function decodes a packet with G729 frame(s). Output speech length
152 * will be a multiple of 80 samples (80*frames/packet). 152 * will be a multiple of 80 samples (80*frames/packet).
153 * 153 *
154 * Input: 154 * Input:
155 * - G722dec_inst : G722 instance, i.e. the user that should decode 155 * - G722dec_inst : G722 instance, i.e. the user that should decode
(...skipping 24 matching lines...) Expand all
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_ */
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/codecs/g722/g722_interface.c ('k') | webrtc/modules/audio_coding/codecs/ilbc/augmented_cb_corr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698