| # Copyright (c) 2013 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 = "audiovideo_VDAPerf" |
| PURPOSE = "Monitor the performance of the Chromium hardware VDA." |
| CRITERIA = """ |
| The test fails if the video_decode_accelerator_unittest fails or crashes. |
| """ |
| SUITE = "video" |
| TIME = "SHORT" |
| TEST_CATEGORY = "Performance" |
| TEST_CLASS = "audiovideo" |
| TEST_TYPE = "client" |
| DEPENDENCIES = "hw_video_acc_h264" |
| |
| 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 = [ |
| ['crowd/crowd1080-8a06b8d0da05bb62166c199be855d617.h264', 1920, 1080, 500, 506, 1, 50], |
| ['crowd/crowd360-08d3e8eb857d7cba25402cd90d30d798.h264', 640, 360, 500, 506, 1, 50], |
| ['tulip2/tulip2-79c74bcb4c95cae22292c99b03acd466.h264', 1280, 720, 500, 506, 1, 29.97] |
| ] |
| |
| job.run_test('audiovideo_VDAPerf', test_cases=test_cases) |