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

Side by Side Diff: webrtc/modules/audio_coding/codecs/isac/main/source/arith_routines.h

Issue 2986163002: Audit of kConstants missing the const qualifier (Closed)
Patch Set: rebase + constexpr Created 3 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 25 matching lines...) Expand all
36 int16_t *data, /* output: data vector */ 36 int16_t *data, /* output: data vector */
37 Bitstr *streamdata, /* in-/output struct containing bitstream * / 37 Bitstr *streamdata, /* in-/output struct containing bitstream * /
38 const uint16_t *env, /* input: side info vector defining the width of the pdf */ 38 const uint16_t *env, /* input: side info vector defining the width of the pdf */
39 const int16_t *dither, /* input: dither vector */ 39 const int16_t *dither, /* input: dither vector */
40 const int N, /* input: data vector length */ 40 const int N, /* input: data vector length */
41 const int16_t isSWB12kHz); /* if the codec is working in 12kHz bandwidth */ 41 const int16_t isSWB12kHz); /* if the codec is working in 12kHz bandwidth */
42 42
43 void WebRtcIsac_EncHistMulti( 43 void WebRtcIsac_EncHistMulti(
44 Bitstr *streamdata, /* in-/output struct containing bitstream */ 44 Bitstr *streamdata, /* in-/output struct containing bitstream */
45 const int *data, /* input: data vector */ 45 const int *data, /* input: data vector */
46 const uint16_t **cdf, /* input: array of cdf arrays */ 46 const uint16_t *const *cdf, /* input: array of cdf arrays */
47 const int N); /* input: data vector length */ 47 const int N); /* input: data vector length */
48 48
49 int WebRtcIsac_DecHistBisectMulti( 49 int WebRtcIsac_DecHistBisectMulti(
50 int *data, /* output: data vector */ 50 int *data, /* output: data vector */
51 Bitstr *streamdata, /* in-/output struct containing bitstream */ 51 Bitstr *streamdata, /* in-/output struct containing bitstream */
52 const uint16_t **cdf, /* input: array of cdf arrays */ 52 const uint16_t *const *cdf, /* input: array of cdf arrays */
53 const uint16_t *cdf_size, /* input: array of cdf table sizes+1 (power of two : 2^k) */ 53 const uint16_t *cdf_size, /* input: array of cdf table sizes+1 (power of two : 2^k) */
54 const int N); /* input: data vector length */ 54 const int N); /* input: data vector length */
55 55
56 int WebRtcIsac_DecHistOneStepMulti( 56 int WebRtcIsac_DecHistOneStepMulti(
57 int *data, /* output: data vector */ 57 int *data, /* output: data vector */
58 Bitstr *streamdata, /* in-/output struct containing bitstream * / 58 Bitstr *streamdata, /* in-/output struct containing bitstream * /
59 const uint16_t **cdf, /* input: array of cdf arrays */ 59 const uint16_t *const *cdf, /* input: array of cdf arrays */
60 const uint16_t *init_index,/* input: vector of initial cdf table search entr ies */ 60 const uint16_t *init_index,/* input: vector of initial cdf table search entr ies */
61 const int N); /* input: data vector length */ 61 const int N); /* input: data vector length */
62 62
63 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_ARITH_ROUTINES_H_ */ 63 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_ARITH_ROUTINES_H_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698