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

Side by Side Diff: webrtc/common_video/libyuv/scaler_unittest.cc

Issue 1413333002: system_wrappers: rename interface -> include (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased again! Created 5 years, 1 month 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 | « webrtc/common_video/libyuv/libyuv_unittest.cc ('k') | webrtc/common_video/plane.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 /* 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
11 #include <math.h> 11 #include <math.h>
12 #include <string.h> 12 #include <string.h>
13 13
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 #include "webrtc/common_video/libyuv/include/scaler.h" 15 #include "webrtc/common_video/libyuv/include/scaler.h"
16 #include "webrtc/system_wrappers/interface/tick_util.h" 16 #include "webrtc/system_wrappers/include/tick_util.h"
17 #include "webrtc/test/testsupport/fileutils.h" 17 #include "webrtc/test/testsupport/fileutils.h"
18 #include "webrtc/test/testsupport/gtest_disable.h" 18 #include "webrtc/test/testsupport/gtest_disable.h"
19 19
20 namespace webrtc { 20 namespace webrtc {
21 21
22 class TestScaler : public ::testing::Test { 22 class TestScaler : public ::testing::Test {
23 protected: 23 protected:
24 TestScaler(); 24 TestScaler();
25 virtual void SetUp(); 25 virtual void SetUp();
26 virtual void TearDown(); 26 virtual void TearDown();
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 if (frame_count) { 372 if (frame_count) {
373 printf("Scaling[%d %d] => [%d %d]: ", 373 printf("Scaling[%d %d] => [%d %d]: ",
374 src_width, src_height, dst_width, dst_height); 374 src_width, src_height, dst_width, dst_height);
375 printf("Average time per frame[ms]: %.2lf\n", 375 printf("Average time per frame[ms]: %.2lf\n",
376 (static_cast<double>(total_clock) / frame_count)); 376 (static_cast<double>(total_clock) / frame_count));
377 } 377 }
378 ASSERT_EQ(0, fclose(output_file)); 378 ASSERT_EQ(0, fclose(output_file));
379 } 379 }
380 380
381 } // namespace webrtc 381 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/common_video/libyuv/libyuv_unittest.cc ('k') | webrtc/common_video/plane.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698