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

Side by Side Diff: unit_test/scale_argb_test.cc

Issue 2006943002: remove includes for duplicate functions (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: tried removing row.h but its needed for alloc 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
« no previous file with comments | « source/convert_jpeg.cc ('k') | no next file » | 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 2011 The LibYuv Project Authors. All rights reserved. 2 * Copyright 2011 The LibYuv 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 <stdlib.h> 11 #include <stdlib.h>
12 #include <time.h> 12 #include <time.h>
13 13
14 #include "libyuv/convert.h" 14 #include "libyuv/convert_argb.h"
15 #include "libyuv/cpu_id.h" 15 #include "libyuv/cpu_id.h"
16 #include "libyuv/row.h" 16 #include "libyuv/row.h" // For align_buffer_64
17 #include "libyuv/scale_argb.h" 17 #include "libyuv/scale_argb.h"
18 #include "libyuv/video_common.h" 18 #include "libyuv/video_common.h"
19 #include "../unit_test/unit_test.h" 19 #include "../unit_test/unit_test.h"
20 20
21 namespace libyuv { 21 namespace libyuv {
22 22
23 #define STRINGIZE(line) #line 23 #define STRINGIZE(line) #line
24 #define FILELINESTR(file, line) file ":" STRINGIZE(line) 24 #define FILELINESTR(file, line) file ":" STRINGIZE(line)
25 25
26 // Test scaling with C vs Opt and return maximum pixel difference. 0 = exact. 26 // Test scaling with C vs Opt and return maximum pixel difference. 0 = exact.
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 benchmark_height_ * 3 / 2, 455 benchmark_height_ * 3 / 2,
456 benchmark_width_, benchmark_height_, 456 benchmark_width_, benchmark_height_,
457 libyuv::kFilterBilinear, 457 libyuv::kFilterBilinear,
458 benchmark_iterations_, 458 benchmark_iterations_,
459 disable_cpu_flags_, benchmark_cpu_info_); 459 disable_cpu_flags_, benchmark_cpu_info_);
460 EXPECT_LE(diff, 10); 460 EXPECT_LE(diff, 10);
461 } 461 }
462 462
463 463
464 } // namespace libyuv 464 } // namespace libyuv
OLDNEW
« no previous file with comments | « source/convert_jpeg.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698