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

Side by Side Diff: media/gpu/video_encode_accelerator_unittest.cc

Issue 2758203002: VEA unittest: remove quality test on chromeos temporarily (Closed)
Patch Set: Created 3 years, 9 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 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <inttypes.h> 5 #include <inttypes.h>
6 #include <stddef.h> 6 #include <stddef.h>
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <memory> 10 #include <memory>
(...skipping 2125 matching lines...) Expand 10 before | Expand all | Expand 10 after
2136 const int test_type = GetParam(); 2136 const int test_type = GetParam();
2137 ASSERT_LT(test_type, 2) << "Invalid test type=" << test_type; 2137 ASSERT_LT(test_type, 2) << "Invalid test type=" << test_type;
2138 2138
2139 if (test_type == 0) 2139 if (test_type == 0)
2140 SimpleTestFunc<VEANoInputClient>(); 2140 SimpleTestFunc<VEANoInputClient>();
2141 else if (test_type == 1) 2141 else if (test_type == 1)
2142 SimpleTestFunc<VEACacheLineUnalignedInputClient>(); 2142 SimpleTestFunc<VEACacheLineUnalignedInputClient>();
2143 } 2143 }
2144 2144
2145 #if defined(OS_CHROMEOS) 2145 #if defined(OS_CHROMEOS)
2146 // TODO(kcwu): add back test of verify_output=true after crbug.com/694131 fixed.
Owen Lin 2017/03/20 03:14:57 How about file a new bug for adding this back?
kcwu 2017/03/20 03:33:29 My plan is keeping 694131 open, so unnecessary to
Owen Lin 2017/03/20 06:53:02 It just makes things clear. Maybe we will assign t
kcwu 2017/03/20 07:11:45 I filed a bug to add it back. https://bugs.chromiu
2146 INSTANTIATE_TEST_CASE_P( 2147 INSTANTIATE_TEST_CASE_P(
2147 SimpleEncode, 2148 SimpleEncode,
2148 VideoEncodeAcceleratorTest, 2149 VideoEncodeAcceleratorTest,
2149 ::testing::Values( 2150 ::testing::Values(
2150 std::make_tuple(1, true, 0, false, false, false, false, false, false), 2151 std::make_tuple(1, true, 0, false, false, false, false, false, false)));
Owen Lin 2017/03/20 03:14:57 Why not filter out the test in autotest? My point
kcwu 2017/03/20 03:33:29 I am also considering filter out in autotest. My r
Owen Lin 2017/03/20 06:53:02 Acknowledged. I think (1) is a good reason. But ab
2151 std::make_tuple(1, true, 0, false, false, false, false, true, false)));
2152 2152
2153 INSTANTIATE_TEST_CASE_P( 2153 INSTANTIATE_TEST_CASE_P(
2154 EncoderPerf, 2154 EncoderPerf,
2155 VideoEncodeAcceleratorTest, 2155 VideoEncodeAcceleratorTest,
2156 ::testing::Values( 2156 ::testing::Values(
2157 std::make_tuple(1, false, 0, false, true, false, false, false, false))); 2157 std::make_tuple(1, false, 0, false, true, false, false, false, false)));
2158 2158
2159 INSTANTIATE_TEST_CASE_P(ForceKeyframes, 2159 INSTANTIATE_TEST_CASE_P(ForceKeyframes,
2160 VideoEncodeAcceleratorTest, 2160 VideoEncodeAcceleratorTest,
2161 ::testing::Values(std::make_tuple(1, 2161 ::testing::Values(std::make_tuple(1,
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
2331 2331
2332 media::g_env = 2332 media::g_env =
2333 reinterpret_cast<media::VideoEncodeAcceleratorTestEnvironment*>( 2333 reinterpret_cast<media::VideoEncodeAcceleratorTestEnvironment*>(
2334 testing::AddGlobalTestEnvironment( 2334 testing::AddGlobalTestEnvironment(
2335 new media::VideoEncodeAcceleratorTestEnvironment( 2335 new media::VideoEncodeAcceleratorTestEnvironment(
2336 std::move(test_stream_data), log_path, run_at_fps, 2336 std::move(test_stream_data), log_path, run_at_fps,
2337 needs_encode_latency, verify_all_output))); 2337 needs_encode_latency, verify_all_output)));
2338 2338
2339 return RUN_ALL_TESTS(); 2339 return RUN_ALL_TESTS();
2340 } 2340 }
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