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

Side by Side Diff: webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routins.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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 * - envQ8 : side info vector defining the width of the pdf 67 * - envQ8 : side info vector defining the width of the pdf
68 * in Q8 68 * in Q8
69 * - lenData : data vector length 69 * - lenData : data vector length
70 * 70 *
71 * Input/Output: 71 * Input/Output:
72 * - dataQ7 : input: dither vector, output: data vector, in Q7 72 * - dataQ7 : input: dither vector, output: data vector, in Q7
73 * 73 *
74 * Return value : number of bytes in the stream so far 74 * Return value : number of bytes in the stream so far
75 * <0 if error detected 75 * <0 if error detected
76 */ 76 */
77 int WebRtcIsacfix_DecLogisticMulti2( 77 int16_t WebRtcIsacfix_DecLogisticMulti2(
78 int16_t *data, 78 int16_t *data,
79 Bitstr_dec *streamData, 79 Bitstr_dec *streamData,
80 const int32_t *env, 80 const int32_t *env,
81 const int16_t lenData); 81 const int16_t lenData);
82 82
83 83
84 /**************************************************************************** 84 /****************************************************************************
85 * WebRtcIsacfix_EncHistMulti(...) 85 * WebRtcIsacfix_EncHistMulti(...)
86 * 86 *
87 * Encode the histogram interval 87 * Encode the histogram interval
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 * <0 if error detected 151 * <0 if error detected
152 */ 152 */
153 int16_t WebRtcIsacfix_DecHistOneStepMulti( 153 int16_t WebRtcIsacfix_DecHistOneStepMulti(
154 int16_t *data, 154 int16_t *data,
155 Bitstr_dec *streamData, 155 Bitstr_dec *streamData,
156 const uint16_t **cdf, 156 const uint16_t **cdf,
157 const uint16_t *initIndex, 157 const uint16_t *initIndex,
158 const int16_t lenData); 158 const int16_t lenData);
159 159
160 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_ARITH_ROUTINS_H_ */ 160 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_ARITH_ROUTINS_H_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698