From ab1f34a1d628ae4df062e3d91ca7c257a2ec5e4f Mon Sep 17 00:00:00 2001 From: "fbarchard@google.com" Date: Thu, 11 Oct 2012 23:37:24 +0000 Subject: [PATCH] Disable C vs ASM comparion BUG=91 TEST=I420ToV210 Review URL: https://webrtc-codereview.appspot.com/857015 git-svn-id: http://libyuv.googlecode.com/svn/trunk@409 16f28f9a-4ce2-e073-06de-1de4eb20be90 --- unit_test/convert_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unit_test/convert_test.cc b/unit_test/convert_test.cc index b3746f18e..f97d85d2f 100644 --- a/unit_test/convert_test.cc +++ b/unit_test/convert_test.cc @@ -133,6 +133,8 @@ TESTPLANARTOP(I420, 2, 2, I422, 2, 1) TESTPLANARTOP(I420, 2, 2, I444, 1, 1) TESTPLANARTOP(I420, 2, 2, I411, 4, 1) +// TODO(fbarchard): Enable C code for comparison: MaskCpuFlags(0); \ + #define TESTPLANARTOBI(FMT_PLANAR, SUBSAMP_X, SUBSAMP_Y, FMT_B, BPP_B, ALIGN, \ W1280, N, NEG) \ TEST_F(libyuvTest, FMT_PLANAR##To##FMT_B##N) { \ @@ -159,13 +161,11 @@ TEST_F(libyuvTest, FMT_PLANAR##To##FMT_B##N) { \ src_v[(i * kWidth / SUBSAMP_X) + j] = (random() & 0xff); \ } \ } \ - MaskCpuFlags(0); \ FMT_PLANAR##To##FMT_B(src_y, kWidth, \ src_u, kWidth / SUBSAMP_X, \ src_v, kWidth / SUBSAMP_X, \ dst_argb_c, kStrideB, \ kWidth, NEG kHeight); \ - MaskCpuFlags(-1); \ for (int i = 0; i < benchmark_iterations_; ++i) { \ FMT_PLANAR##To##FMT_B(src_y, kWidth, \ src_u, kWidth / SUBSAMP_X, \