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

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

Issue 2764823003: VEA unittest: remove bitrate 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 2206 matching lines...) Expand 10 before | Expand all | Expand 10 after
2217 VideoEncodeAcceleratorTest, 2217 VideoEncodeAcceleratorTest,
2218 ::testing::Values( 2218 ::testing::Values(
2219 std::make_tuple(1, false, 0, true, false, false, false, false, false))); 2219 std::make_tuple(1, false, 0, true, false, false, false, false, false)));
2220 2220
2221 INSTANTIATE_TEST_CASE_P( 2221 INSTANTIATE_TEST_CASE_P(
2222 MidStreamParamSwitchBitrate, 2222 MidStreamParamSwitchBitrate,
2223 VideoEncodeAcceleratorTest, 2223 VideoEncodeAcceleratorTest,
2224 ::testing::Values( 2224 ::testing::Values(
2225 std::make_tuple(1, false, 0, true, false, true, false, false, false))); 2225 std::make_tuple(1, false, 0, true, false, true, false, false, false)));
2226 2226
2227 // TODO(kcwu): add back bitrate test after crbug.com/693336 fixed.
2227 INSTANTIATE_TEST_CASE_P( 2228 INSTANTIATE_TEST_CASE_P(
2228 MidStreamParamSwitchFPS, 2229 DISABLED_MidStreamParamSwitchFPS,
2229 VideoEncodeAcceleratorTest, 2230 VideoEncodeAcceleratorTest,
2230 ::testing::Values( 2231 ::testing::Values(
2231 std::make_tuple(1, false, 0, true, false, false, true, false, false))); 2232 std::make_tuple(1, false, 0, true, false, false, true, false, false)));
2232 2233
2233 INSTANTIATE_TEST_CASE_P( 2234 INSTANTIATE_TEST_CASE_P(
2234 MultipleEncoders, 2235 MultipleEncoders,
2235 VideoEncodeAcceleratorTest, 2236 VideoEncodeAcceleratorTest,
2236 ::testing::Values( 2237 ::testing::Values(
2237 std::make_tuple(3, false, 0, false, false, false, false, false, false), 2238 std::make_tuple(3, false, 0, false, false, false, false, false, false),
2238 std::make_tuple(3, false, 0, true, false, false, true, false, false),
2239 std::make_tuple(3, false, 0, true, false, true, false, false, false))); 2239 std::make_tuple(3, false, 0, true, false, true, false, false, false)));
2240 2240
2241 INSTANTIATE_TEST_CASE_P( 2241 INSTANTIATE_TEST_CASE_P(
2242 VerifyTimestamp, 2242 VerifyTimestamp,
2243 VideoEncodeAcceleratorTest, 2243 VideoEncodeAcceleratorTest,
2244 ::testing::Values( 2244 ::testing::Values(
2245 std::make_tuple(1, false, 0, false, false, false, false, false, true))); 2245 std::make_tuple(1, false, 0, false, false, false, false, false, true)));
2246 2246
2247 INSTANTIATE_TEST_CASE_P(NoInputTest, 2247 INSTANTIATE_TEST_CASE_P(NoInputTest,
2248 VideoEncodeAcceleratorSimpleTest, 2248 VideoEncodeAcceleratorSimpleTest,
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
2375 2375
2376 media::g_env = 2376 media::g_env =
2377 reinterpret_cast<media::VideoEncodeAcceleratorTestEnvironment*>( 2377 reinterpret_cast<media::VideoEncodeAcceleratorTestEnvironment*>(
2378 testing::AddGlobalTestEnvironment( 2378 testing::AddGlobalTestEnvironment(
2379 new media::VideoEncodeAcceleratorTestEnvironment( 2379 new media::VideoEncodeAcceleratorTestEnvironment(
2380 std::move(test_stream_data), log_path, run_at_fps, 2380 std::move(test_stream_data), log_path, run_at_fps,
2381 needs_encode_latency, verify_all_output))); 2381 needs_encode_latency, verify_all_output)));
2382 2382
2383 return RUN_ALL_TESTS(); 2383 return RUN_ALL_TESTS();
2384 } 2384 }
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