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

Side by Side Diff: media/base/sinc_resampler_unittest.cc

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 4 years, 12 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
« no previous file with comments | « media/base/sinc_resampler_perftest.cc ('k') | media/base/stream_parser.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // MSVC++ requires this to be set before any other includes to get M_PI. 5 // MSVC++ requires this to be set before any other includes to get M_PI.
6 #define _USE_MATH_DEFINES 6 #define _USE_MATH_DEFINES
7 7
8 #include <cmath> 8 #include <cmath>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/macros.h"
12 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
13 #include "base/time/time.h" 14 #include "base/time/time.h"
14 #include "build/build_config.h" 15 #include "build/build_config.h"
15 #include "media/base/sinc_resampler.h" 16 #include "media/base/sinc_resampler.h"
16 #include "testing/gmock/include/gmock/gmock.h" 17 #include "testing/gmock/include/gmock/gmock.h"
17 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
18 19
19 using testing::_; 20 using testing::_;
20 21
21 namespace media { 22 namespace media {
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 std::tr1::make_tuple(11025, 192000, kResamplingRMSError, -62.61), 401 std::tr1::make_tuple(11025, 192000, kResamplingRMSError, -62.61),
401 std::tr1::make_tuple(16000, 192000, kResamplingRMSError, -63.14), 402 std::tr1::make_tuple(16000, 192000, kResamplingRMSError, -63.14),
402 std::tr1::make_tuple(22050, 192000, kResamplingRMSError, -62.42), 403 std::tr1::make_tuple(22050, 192000, kResamplingRMSError, -62.42),
403 std::tr1::make_tuple(32000, 192000, kResamplingRMSError, -63.38), 404 std::tr1::make_tuple(32000, 192000, kResamplingRMSError, -63.38),
404 std::tr1::make_tuple(44100, 192000, kResamplingRMSError, -62.63), 405 std::tr1::make_tuple(44100, 192000, kResamplingRMSError, -62.63),
405 std::tr1::make_tuple(48000, 192000, kResamplingRMSError, -73.44), 406 std::tr1::make_tuple(48000, 192000, kResamplingRMSError, -73.44),
406 std::tr1::make_tuple(96000, 192000, kResamplingRMSError, -73.52), 407 std::tr1::make_tuple(96000, 192000, kResamplingRMSError, -73.52),
407 std::tr1::make_tuple(192000, 192000, kResamplingRMSError, -73.52))); 408 std::tr1::make_tuple(192000, 192000, kResamplingRMSError, -73.52)));
408 409
409 } // namespace media 410 } // namespace media
OLDNEW
« no previous file with comments | « media/base/sinc_resampler_perftest.cc ('k') | media/base/stream_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698