OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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 "webrtc/common_video/libyuv/include/webrtc_libyuv.h" | 11 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |
12 #include "webrtc/modules/video_processing/main/interface/video_processing.h" | 12 #include "webrtc/modules/video_processing/include/video_processing.h" |
13 #include "webrtc/modules/video_processing/main/source/content_analysis.h" | 13 #include "webrtc/modules/video_processing/content_analysis.h" |
14 #include "webrtc/modules/video_processing/main/test/unit_test/video_processing_u
nittest.h" | 14 #include "webrtc/modules/video_processing/test/video_processing_unittest.h" |
15 #include "webrtc/test/testsupport/gtest_disable.h" | 15 #include "webrtc/test/testsupport/gtest_disable.h" |
16 | 16 |
17 namespace webrtc { | 17 namespace webrtc { |
18 | 18 |
19 TEST_F(VideoProcessingModuleTest, DISABLED_ON_IOS(ContentAnalysis)) { | 19 TEST_F(VideoProcessingModuleTest, DISABLED_ON_IOS(ContentAnalysis)) { |
20 VPMContentAnalysis ca__c(false); | 20 VPMContentAnalysis ca__c(false); |
21 VPMContentAnalysis ca__sse(true); | 21 VPMContentAnalysis ca__sse(true); |
22 VideoContentMetrics *_cM_c, *_cM_SSE; | 22 VideoContentMetrics *_cM_c, *_cM_SSE; |
23 | 23 |
24 ca__c.Initialize(width_,height_); | 24 ca__c.Initialize(width_,height_); |
(...skipping 10 matching lines...) Expand all Loading... |
35 | 35 |
36 ASSERT_EQ(_cM_c->spatial_pred_err, _cM_SSE->spatial_pred_err); | 36 ASSERT_EQ(_cM_c->spatial_pred_err, _cM_SSE->spatial_pred_err); |
37 ASSERT_EQ(_cM_c->spatial_pred_err_v, _cM_SSE->spatial_pred_err_v); | 37 ASSERT_EQ(_cM_c->spatial_pred_err_v, _cM_SSE->spatial_pred_err_v); |
38 ASSERT_EQ(_cM_c->spatial_pred_err_h, _cM_SSE->spatial_pred_err_h); | 38 ASSERT_EQ(_cM_c->spatial_pred_err_h, _cM_SSE->spatial_pred_err_h); |
39 ASSERT_EQ(_cM_c->motion_magnitude, _cM_SSE->motion_magnitude); | 39 ASSERT_EQ(_cM_c->motion_magnitude, _cM_SSE->motion_magnitude); |
40 } | 40 } |
41 ASSERT_NE(0, feof(source_file_)) << "Error reading source file"; | 41 ASSERT_NE(0, feof(source_file_)) << "Error reading source file"; |
42 } | 42 } |
43 | 43 |
44 } // namespace webrtc | 44 } // namespace webrtc |
OLD | NEW |