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

Side by Side Diff: unit_test/color_test.cc

Issue 1403183002: disable color test that hangs on C version for Arm. (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: Created 5 years, 2 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 | « no previous file | 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 2015 The LibYuv Project Authors. All rights reserved. 2 * Copyright 2015 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
(...skipping 19 matching lines...) Expand all
30 #define ERROR_J420 4 30 #define ERROR_J420 4
31 #else 31 #else
32 #define ERROR_R 1 32 #define ERROR_R 1
33 #define ERROR_G 1 33 #define ERROR_G 1
34 #define ERROR_B 3 34 #define ERROR_B 3
35 #define ERROR_FULL 5 35 #define ERROR_FULL 5
36 #define ERROR_J420 3 36 #define ERROR_J420 3
37 #endif 37 #endif
38 38
39 #define TESTCS(TESTNAME, YUVTOARGB, ARGBTOYUV, HS1, HS, HN, DIFF) \ 39 #define TESTCS(TESTNAME, YUVTOARGB, ARGBTOYUV, HS1, HS, HN, DIFF) \
40 TEST_F(LibYUVColorTest, TESTNAME) { \ 40 » TEST_F(LibYUVColorTest, DISABLED_ ## TESTNAME) { \
41 const int kPixels = benchmark_width_ * benchmark_height_; \ 41 const int kPixels = benchmark_width_ * benchmark_height_; \
42 const int kHalfPixels = ((benchmark_width_ + 1) / 2) * \ 42 const int kHalfPixels = ((benchmark_width_ + 1) / 2) * \
43 ((benchmark_height_ + HS1) / HS); \ 43 ((benchmark_height_ + HS1) / HS); \
44 align_buffer_64(orig_y, kPixels); \ 44 align_buffer_64(orig_y, kPixels); \
45 align_buffer_64(orig_u, kHalfPixels); \ 45 align_buffer_64(orig_u, kHalfPixels); \
46 align_buffer_64(orig_v, kHalfPixels); \ 46 align_buffer_64(orig_v, kHalfPixels); \
47 align_buffer_64(orig_pixels, kPixels * 4); \ 47 align_buffer_64(orig_pixels, kPixels * 4); \
48 align_buffer_64(temp_y, kPixels); \ 48 align_buffer_64(temp_y, kPixels); \
49 align_buffer_64(temp_u, kHalfPixels); \ 49 align_buffer_64(temp_u, kHalfPixels); \
50 align_buffer_64(temp_v, kHalfPixels); \ 50 align_buffer_64(temp_v, kHalfPixels); \
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 EXPECT_EQ(r0, r1); 549 EXPECT_EQ(r0, r1);
550 EXPECT_EQ(g0, g1); 550 EXPECT_EQ(g0, g1);
551 EXPECT_EQ(b0, b1); 551 EXPECT_EQ(b0, b1);
552 EXPECT_EQ(r0, r2); 552 EXPECT_EQ(r0, r2);
553 EXPECT_EQ(g0, g2); 553 EXPECT_EQ(g0, g2);
554 EXPECT_EQ(b0, b2); 554 EXPECT_EQ(b0, b2);
555 } 555 }
556 } 556 }
557 557
558 } // namespace libyuv 558 } // namespace libyuv
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698