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

Unified Diff: webrtc/modules/audio_coding/codecs/ilbc/nearest_neighbor.h

Issue 1305983003: Convert some more things to size_t. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Support Android's C89 mode 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/codecs/ilbc/nearest_neighbor.h
diff --git a/webrtc/modules/audio_coding/codecs/ilbc/nearest_neighbor.h b/webrtc/modules/audio_coding/codecs/ilbc/nearest_neighbor.h
index 4c7ed3e633d0a52bd19d8ec83fb34bef8e256977..7d7fb6fccc9550bbca6a3e75a1feee93332caebe 100644
--- a/webrtc/modules/audio_coding/codecs/ilbc/nearest_neighbor.h
+++ b/webrtc/modules/audio_coding/codecs/ilbc/nearest_neighbor.h
@@ -24,14 +24,13 @@
/*----------------------------------------------------------------*
* Find index in array such that the array element with said
* index is the element of said array closest to "value"
- * according to the squared-error criterion
*---------------------------------------------------------------*/
void WebRtcIlbcfix_NearestNeighbor(
- int16_t *index, /* (o) index of array element closest to value */
- int16_t *array, /* (i) data array (Q2) */
- int16_t value, /* (i) value (Q2) */
- size_t arlength /* (i) dimension of data array (==8) */
+ size_t* index, /* (o) index of array element closest to value */
+ const size_t* array, /* (i) data array (Q2) */
+ size_t value, /* (i) value (Q2) */
+ size_t arlength /* (i) dimension of data array (==ENH_NBLOCKS_TOT) */
);
#endif
« no previous file with comments | « webrtc/modules/audio_coding/codecs/ilbc/get_sync_seq.c ('k') | webrtc/modules/audio_coding/codecs/ilbc/nearest_neighbor.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698