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

Unified Diff: webrtc/modules/audio_coding/codecs/ilbc/cb_construct.c

Issue 2293843002: iLBC: Some const annotations (Closed)
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/codecs/ilbc/cb_construct.c
diff --git a/webrtc/modules/audio_coding/codecs/ilbc/cb_construct.c b/webrtc/modules/audio_coding/codecs/ilbc/cb_construct.c
index 4c72a6e72f6ea03e7ee29c6f2e61ca86fbb9a3aa..c19818ee37e288a8d7303ec748be57a7bb49ab50 100644
--- a/webrtc/modules/audio_coding/codecs/ilbc/cb_construct.c
+++ b/webrtc/modules/audio_coding/codecs/ilbc/cb_construct.c
@@ -27,13 +27,12 @@
*---------------------------------------------------------------*/
bool WebRtcIlbcfix_CbConstruct(
- int16_t *decvector, /* (o) Decoded vector */
- int16_t *index, /* (i) Codebook indices */
- int16_t *gain_index, /* (i) Gain quantization indices */
- int16_t *mem, /* (i) Buffer for codevector construction */
- size_t lMem, /* (i) Length of buffer */
- size_t veclen /* (i) Length of vector */
- ){
+ int16_t* decvector, /* (o) Decoded vector */
+ const int16_t* index, /* (i) Codebook indices */
+ const int16_t* gain_index, /* (i) Gain quantization indices */
+ int16_t* mem, /* (i) Buffer for codevector construction */
+ size_t lMem, /* (i) Length of buffer */
+ size_t veclen) { /* (i) Length of vector */
size_t j;
int16_t gain[CB_NSTAGES];
/* Stack based */
« no previous file with comments | « webrtc/modules/audio_coding/codecs/ilbc/cb_construct.h ('k') | webrtc/modules/audio_coding/codecs/ilbc/create_augmented_vec.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698