Remove more top-level const from parameters in function declarations
This CL removes even more top-level const from parameters in function declarations. This change is safe because top-level const in function declarations (not function definitions) are ignored by the compiler and so change is just a no-op cleanup. Bug: webrtc:13610 Change-Id: Icf6868c27b1fdb9d9915b3a7020eb34bdcf07a09 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/249989 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Ali Tofigh <alito@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35866}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
b6653d9967
commit
1e157a9596
@ -24,9 +24,9 @@ int WebRtcIsac_EncLogisticMulti2(
|
||||
Bitstr* streamdata, /* in-/output struct containing bitstream */
|
||||
int16_t* dataQ7, /* input: data vector */
|
||||
const uint16_t*
|
||||
env, /* input: side info vector defining the width of the pdf */
|
||||
const int N, /* input: data vector length */
|
||||
const int16_t isSWB12kHz); /* if the codec is working in 12kHz bandwidth */
|
||||
env, /* input: side info vector defining the width of the pdf */
|
||||
int N, /* input: data vector length */
|
||||
int16_t isSWB12kHz); /* if the codec is working in 12kHz bandwidth */
|
||||
|
||||
/* returns the number of bytes in the stream */
|
||||
int WebRtcIsac_EncTerminate(
|
||||
@ -38,15 +38,15 @@ int WebRtcIsac_DecLogisticMulti2(
|
||||
Bitstr* streamdata, /* in-/output struct containing bitstream */
|
||||
const uint16_t*
|
||||
env, /* input: side info vector defining the width of the pdf */
|
||||
const int16_t* dither, /* input: dither vector */
|
||||
const int N, /* input: data vector length */
|
||||
const int16_t isSWB12kHz); /* if the codec is working in 12kHz bandwidth */
|
||||
const int16_t* dither, /* input: dither vector */
|
||||
int N, /* input: data vector length */
|
||||
int16_t isSWB12kHz); /* if the codec is working in 12kHz bandwidth */
|
||||
|
||||
void WebRtcIsac_EncHistMulti(
|
||||
Bitstr* streamdata, /* in-/output struct containing bitstream */
|
||||
const int* data, /* input: data vector */
|
||||
const uint16_t* const* cdf, /* input: array of cdf arrays */
|
||||
const int N); /* input: data vector length */
|
||||
int N); /* input: data vector length */
|
||||
|
||||
int WebRtcIsac_DecHistBisectMulti(
|
||||
int* data, /* output: data vector */
|
||||
@ -54,7 +54,7 @@ int WebRtcIsac_DecHistBisectMulti(
|
||||
const uint16_t* const* cdf, /* input: array of cdf arrays */
|
||||
const uint16_t*
|
||||
cdf_size, /* input: array of cdf table sizes+1 (power of two: 2^k) */
|
||||
const int N); /* input: data vector length */
|
||||
int N); /* input: data vector length */
|
||||
|
||||
int WebRtcIsac_DecHistOneStepMulti(
|
||||
int* data, /* output: data vector */
|
||||
@ -62,6 +62,6 @@ int WebRtcIsac_DecHistOneStepMulti(
|
||||
const uint16_t* const* cdf, /* input: array of cdf arrays */
|
||||
const uint16_t*
|
||||
init_index, /* input: vector of initial cdf table search entries */
|
||||
const int N); /* input: data vector length */
|
||||
int N); /* input: data vector length */
|
||||
|
||||
#endif /* MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_ARITH_ROUTINES_H_ */
|
||||
|
||||
Reference in New Issue
Block a user