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

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

Issue 2719733002: Replace NULL with nullptr or null in webrtc/audio/ and common_audio/. (Closed)
Patch Set: Fixing test. Created 3 years, 10 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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 // Input: 336 // Input:
337 // - in_vector1 : Input vector 1 337 // - in_vector1 : Input vector 1
338 // - in_vector1_scale : Gain to be used for vector 1 338 // - in_vector1_scale : Gain to be used for vector 1
339 // - in_vector2 : Input vector 2 339 // - in_vector2 : Input vector 2
340 // - in_vector2_scale : Gain to be used for vector 2 340 // - in_vector2_scale : Gain to be used for vector 2
341 // - right_shifts : Number of right bit shifts to be applied 341 // - right_shifts : Number of right bit shifts to be applied
342 // - length : Number of elements in the input vectors 342 // - length : Number of elements in the input vectors
343 // 343 //
344 // Output: 344 // Output:
345 // - out_vector : Output vector 345 // - out_vector : Output vector
346 // Return value : 0 if OK, -1 if (in_vector1 == NULL 346 // Return value : 0 if OK, -1 if (in_vector1 == null
347 // || in_vector2 == NULL || out_vector == NULL 347 // || in_vector2 == null || out_vector == null
348 // || length <= 0 || right_shift < 0). 348 // || length <= 0 || right_shift < 0).
349 typedef int (*ScaleAndAddVectorsWithRound)(const int16_t* in_vector1, 349 typedef int (*ScaleAndAddVectorsWithRound)(const int16_t* in_vector1,
350 int16_t in_vector1_scale, 350 int16_t in_vector1_scale,
351 const int16_t* in_vector2, 351 const int16_t* in_vector2,
352 int16_t in_vector2_scale, 352 int16_t in_vector2_scale,
353 int right_shifts, 353 int right_shifts,
354 int16_t* out_vector, 354 int16_t* out_vector,
355 size_t length); 355 size_t length);
356 extern ScaleAndAddVectorsWithRound WebRtcSpl_ScaleAndAddVectorsWithRound; 356 extern ScaleAndAddVectorsWithRound WebRtcSpl_ScaleAndAddVectorsWithRound;
357 int WebRtcSpl_ScaleAndAddVectorsWithRoundC(const int16_t* in_vector1, 357 int WebRtcSpl_ScaleAndAddVectorsWithRoundC(const int16_t* in_vector1,
(...skipping 1275 matching lines...) Expand 10 before | Expand all | Expand 10 after
1633 // This function multiply a 16-bit word by a 16-bit word, and accumulate this 1633 // This function multiply a 16-bit word by a 16-bit word, and accumulate this
1634 // value to a 32-bit integer. 1634 // value to a 32-bit integer.
1635 // 1635 //
1636 // Input: 1636 // Input:
1637 // - a : The value of the first 16-bit word. 1637 // - a : The value of the first 16-bit word.
1638 // - b : The value of the second 16-bit word. 1638 // - b : The value of the second 16-bit word.
1639 // - c : The value of an 32-bit integer. 1639 // - c : The value of an 32-bit integer.
1640 // 1640 //
1641 // Return Value: The value of a * b + c. 1641 // Return Value: The value of a * b + c.
1642 // 1642 //
OLDNEW
« no previous file with comments | « webrtc/common_audio/signal_processing/include/real_fft.h ('k') | webrtc/common_audio/signal_processing/real_fft_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698