1# Copyright (c) 2013 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5AUTHOR = "Chrome OS Team, chromeos-video@google.com"
6NAME = "video_VDAPerf"
7PURPOSE = "Monitor the performance of the Chromium hardware VDA."
8CRITERIA = """
9The test fails if the video_decode_accelerator_unittest fails or crashes.
10"""
11ATTRIBUTES = "suite:crosbolt_perf_nightly"
12TIME = "SHORT"
13TEST_CATEGORY = "Performance"
14TEST_CLASS = "video"
15TEST_TYPE = "client"
16# Reboot in the lab after the test ends.
17DEPENDENCIES='cleanup-reboot, hw_video_acc_vp8, 4k_video'
18
19DOC = """
20This test utilizes the video_decode_accelerator_unittest to measure the
21performance of the Chromium hardware Video Decode Accelerator.
22"""
23
24# A list of test cases. Each entry consists of the following parts:
25#   [download_path, width, height, frame_num, fragment_num, profile, fps]
26test_cases = [
27    ['crowd/crowd2160-4271c26c5a9215b310e834b42165ad96.vp8', 3840, 2160, 500, 533, 11, 50],
28]
29
30job.run_test('video_VDAPerf', test_cases=test_cases, tag='vp8')
31