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

Side by Side Diff: webrtc/modules/audio_coding/codecs/isac/fix/source/entropy_coding.h

Issue 1227163003: Update audio code to use size_t more correctly, (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Review comments Created 5 years, 4 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 IsacSaveEncoderData* encData); 85 IsacSaveEncoderData* encData);
86 86
87 int WebRtcIsacfix_DecodePitchGain(Bitstr_dec *streamdata, 87 int WebRtcIsacfix_DecodePitchGain(Bitstr_dec *streamdata,
88 int16_t *PitchGain_Q12); 88 int16_t *PitchGain_Q12);
89 89
90 int WebRtcIsacfix_DecodePitchLag(Bitstr_dec *streamdata, 90 int WebRtcIsacfix_DecodePitchLag(Bitstr_dec *streamdata,
91 int16_t *PitchGain_Q12, 91 int16_t *PitchGain_Q12,
92 int16_t *PitchLagQ7); 92 int16_t *PitchLagQ7);
93 93
94 int WebRtcIsacfix_DecodeFrameLen(Bitstr_dec *streamdata, 94 int WebRtcIsacfix_DecodeFrameLen(Bitstr_dec *streamdata,
95 int16_t *framelength); 95 size_t *framelength);
96 96
97 97
98 int WebRtcIsacfix_EncodeFrameLen(int16_t framelength, 98 int WebRtcIsacfix_EncodeFrameLen(int16_t framelength,
99 Bitstr_enc *streamdata); 99 Bitstr_enc *streamdata);
100 100
101 int WebRtcIsacfix_DecodeSendBandwidth(Bitstr_dec *streamdata, 101 int WebRtcIsacfix_DecodeSendBandwidth(Bitstr_dec *streamdata,
102 int16_t *BWno); 102 int16_t *BWno);
103 103
104 104
105 int WebRtcIsacfix_EncodeReceiveBandwidth(int16_t *BWno, 105 int WebRtcIsacfix_EncodeReceiveBandwidth(int16_t *BWno,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 const int shift); 180 const int shift);
181 181
182 void WebRtcIsacfix_MatrixProduct2MIPS(const int16_t matrix0[], 182 void WebRtcIsacfix_MatrixProduct2MIPS(const int16_t matrix0[],
183 const int32_t matrix1[], 183 const int32_t matrix1[],
184 int32_t matrix_product[], 184 int32_t matrix_product[],
185 const int matrix0_index_factor, 185 const int matrix0_index_factor,
186 const int matrix0_index_step); 186 const int matrix0_index_step);
187 #endif 187 #endif
188 188
189 #endif // WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_ENTROPY_CODING_H_ 189 #endif // WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_SOURCE_ENTROPY_CODING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698