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

Side by Side Diff: webrtc/pc/yuvscaler_unittest.cc

Issue 1937693002: Replace scoped_ptr with unique_ptr everywhere (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@unique5
Patch Set: Created 4 years, 7 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
OLDNEW
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
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)
OLDNEW
« no previous file with comments | « webrtc/p2p/quic/quictransport_unittest.cc ('k') | webrtc/sdk/objc/Framework/Classes/RTCDataChannel.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698