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 5 AUTHOR = "Chrome OS Team, chromeos-video (a] google.com" 6 NAME = "video_VDAPerf" 7 PURPOSE = "Monitor the performance of the Chromium hardware VDA." 8 CRITERIA = """ 9 The test fails if the video_decode_accelerator_unittest fails or crashes. 10 """ 11 ATTRIBUTES = "suite:crosbolt_perf_nightly" 12 SUITE = "crosbolt_perf_nightly" 13 TIME = "SHORT" 14 TEST_CATEGORY = "Performance" 15 TEST_CLASS = "video" 16 TEST_TYPE = "client" 17 # Reboot in the lab after the test ends. 18 DEPENDENCIES='cleanup-reboot, hw_video_acc_h264, 4k_video' 19 20 DOC = """ 21 This test utilizes the video_decode_accelerator_unittest to measure the 22 performance of the Chromium hardware Video Decode Accelerator. 23 """ 24 25 # A list of test cases. Each entry consists of the following parts: 26 # [download_path, width, height, frame_num, fragment_num, profile, fps] 27 test_cases = [ 28 ['crowd/crowd2160-e63c73bc1d3d149cf35a994241441439.h264', 3840, 2160, 500, 506, 1, 50], 29 ] 30 31 job.run_test('video_VDAPerf', test_cases=test_cases) 32