| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2010 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2010 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 <memory> |
| 11 #include <sstream> | 12 #include <sstream> |
| 12 | 13 |
| 13 #include "libyuv/cpu_id.h" | 14 #include "libyuv/cpu_id.h" |
| 14 #include "libyuv/scale.h" | 15 #include "libyuv/scale.h" |
| 15 #include "webrtc/base/basictypes.h" | 16 #include "webrtc/base/basictypes.h" |
| 16 #include "webrtc/base/flags.h" | 17 #include "webrtc/base/flags.h" |
| 17 #include "webrtc/base/gunit.h" | 18 #include "webrtc/base/gunit.h" |
| 18 #include "webrtc/media/base/testutils.h" | 19 #include "webrtc/media/base/testutils.h" |
| 19 | 20 |
| 20 #if defined(_MSC_VER) | 21 #if defined(_MSC_VER) |
| (...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 592 TEST_H(TestScaleDown8xHDOptInt, 1280, 720, 1280 / 8, 720 / 8, true, ALLFLAGS, | 593 TEST_H(TestScaleDown8xHDOptInt, 1280, 720, 1280 / 8, 720 / 8, true, ALLFLAGS, |
| 593 true, 1) | 594 true, 1) |
| 594 | 595 |
| 595 // Tests interpolated 1/8x scale down, using optimized algorithm. | 596 // Tests interpolated 1/8x scale down, using optimized algorithm. |
| 596 TEST_H(TestScaleDown9xHDOptInt, 1280, 720, 1280 / 9, 720 / 9, true, ALLFLAGS, | 597 TEST_H(TestScaleDown9xHDOptInt, 1280, 720, 1280 / 9, 720 / 9, true, ALLFLAGS, |
| 597 true, 1) | 598 true, 1) |
| 598 | 599 |
| 599 // Tests interpolated 1/8x scale down, using optimized algorithm. | 600 // Tests interpolated 1/8x scale down, using optimized algorithm. |
| 600 TEST_H(TestScaleDown10xHDOptInt, 1280, 720, 1280 / 10, 720 / 10, true, ALLFLAGS, | 601 TEST_H(TestScaleDown10xHDOptInt, 1280, 720, 1280 / 10, 720 / 10, true, ALLFLAGS, |
| 601 true, 1) | 602 true, 1) |
| OLD | NEW |