| # Copyright 2017 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| AUTHOR = "Chrome OS Team, chromeos-video@google.com" |
| NAME = "video_VDAPerf.vp9.4k" |
| PURPOSE = "Monitor the performance of the Chromium hardware VDA." |
| CRITERIA = """ |
| The test fails if the video_decode_accelerator_unittest fails or crashes. |
| """ |
| ATTRIBUTES = "suite:crosbolt_perf_perbuild" |
| TIME = "SHORT" |
| TEST_CATEGORY = "Performance" |
| TEST_CLASS = "video" |
| TEST_TYPE = "client" |
| # Reboot in the lab after the test ends. |
| DEPENDENCIES='cleanup-reboot, hw_video_acc_vp9, 4k_video_vp9' |
| |
| DOC = """ |
| This test utilizes the video_decode_accelerator_unittest to measure the |
| performance of the Chromium hardware Video Decode Accelerator. |
| """ |
| |
| # A list of test cases. Each entry consists of the following parts: |
| # [download_path, width, height, frame_num, fragment_num, profile, fps] |
| test_cases = [ |
| ['Shaka-Dash/2160_60_10s_600frames-9997299a4e2c853ab2543fc2f813294a.vp9', 3840, 2160, 600, 600, 12, 60] |
| ] |
| |
| job.run_test('video_VDAPerf', test_cases=test_cases, tag='vp9') |