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

Side by Side Diff: webrtc/modules/video_processing/main/test/unit_test/deflickering_test.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
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 <stdio.h> 11 #include <stdio.h>
12 #include <stdlib.h> 12 #include <stdlib.h>
13 13
14 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" 14 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h"
15 #include "webrtc/modules/video_processing/main/interface/video_processing.h" 15 #include "webrtc/modules/video_processing/main/interface/video_processing.h"
16 #include "webrtc/modules/video_processing/main/test/unit_test/video_processing_u nittest.h" 16 #include "webrtc/modules/video_processing/main/test/unit_test/video_processing_u nittest.h"
17 #include "webrtc/system_wrappers/interface/tick_util.h" 17 #include "webrtc/system_wrappers/include/tick_util.h"
18 #include "webrtc/test/testsupport/fileutils.h" 18 #include "webrtc/test/testsupport/fileutils.h"
19 #include "webrtc/test/testsupport/gtest_disable.h" 19 #include "webrtc/test/testsupport/gtest_disable.h"
20 20
21 namespace webrtc { 21 namespace webrtc {
22 22
23 TEST_F(VideoProcessingModuleTest, DISABLED_ON_IOS(Deflickering)) 23 TEST_F(VideoProcessingModuleTest, DISABLED_ON_IOS(Deflickering))
24 { 24 {
25 enum { NumRuns = 30 }; 25 enum { NumRuns = 30 };
26 uint32_t frameNum = 0; 26 uint32_t frameNum = 0;
27 const uint32_t frame_rate = 15; 27 const uint32_t frame_rate = 15;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 ASSERT_EQ(0, fclose(deflickerFile)); 91 ASSERT_EQ(0, fclose(deflickerFile));
92 // TODO(kjellander): Add verification of deflicker output file. 92 // TODO(kjellander): Add verification of deflicker output file.
93 93
94 printf("\nAverage run time = %d us / frame\n", 94 printf("\nAverage run time = %d us / frame\n",
95 static_cast<int>(avg_runtime / frameNum / NumRuns)); 95 static_cast<int>(avg_runtime / frameNum / NumRuns));
96 printf("Min run time = %d us / frame\n\n", 96 printf("Min run time = %d us / frame\n\n",
97 static_cast<int>(min_runtime / frameNum)); 97 static_cast<int>(min_runtime / frameNum));
98 } 98 }
99 99
100 } // namespace webrtc 100 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698