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

Side by Side Diff: webrtc/common_audio/signal_processing/include/signal_processing_library.h

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: google::int32 Created 5 years, 3 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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 247
248 // Returns the vector index to the largest absolute value of a 16-bit vector. 248 // Returns the vector index to the largest absolute value of a 16-bit vector.
249 // 249 //
250 // Input: 250 // Input:
251 // - vector : 16-bit input vector. 251 // - vector : 16-bit input vector.
252 // - length : Number of samples in vector. 252 // - length : Number of samples in vector.
253 // 253 //
254 // Return value : Index to the maximum absolute value in vector. 254 // Return value : Index to the maximum absolute value in vector.
255 // If there are multiple equal maxima, return the index of the 255 // If there are multiple equal maxima, return the index of the
256 // first. -32768 will always have precedence over 32767 (despite 256 // first. -32768 will always have precedence over 32767 (despite
257 // -32768 presenting an int16 absolute value of 32767). 257 // -32768 presenting an int16_t absolute value of 32767).
258 size_t WebRtcSpl_MaxAbsIndexW16(const int16_t* vector, size_t length); 258 size_t WebRtcSpl_MaxAbsIndexW16(const int16_t* vector, size_t length);
259 259
260 // Returns the vector index to the maximum sample value of a 16-bit vector. 260 // Returns the vector index to the maximum sample value of a 16-bit vector.
261 // 261 //
262 // Input: 262 // Input:
263 // - vector : 16-bit input vector. 263 // - vector : 16-bit input vector.
264 // - length : Number of samples in vector. 264 // - length : Number of samples in vector.
265 // 265 //
266 // Return value : Index to the maximum value in vector (if multiple 266 // Return value : Index to the maximum value in vector (if multiple
267 // indexes have the maximum, return the first). 267 // indexes have the maximum, return the first).
(...skipping 1368 matching lines...) Expand 10 before | Expand all | Expand 10 after
1636 // This function multiply a 16-bit word by a 16-bit word, and accumulate this 1636 // This function multiply a 16-bit word by a 16-bit word, and accumulate this
1637 // value to a 32-bit integer. 1637 // value to a 32-bit integer.
1638 // 1638 //
1639 // Input: 1639 // Input:
1640 // - a : The value of the first 16-bit word. 1640 // - a : The value of the first 16-bit word.
1641 // - b : The value of the second 16-bit word. 1641 // - b : The value of the second 16-bit word.
1642 // - c : The value of an 32-bit integer. 1642 // - c : The value of an 32-bit integer.
1643 // 1643 //
1644 // Return Value: The value of a * b + c. 1644 // Return Value: The value of a * b + c.
1645 // 1645 //
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698