• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2016 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_vp9'
18BUG_TEMPLATE = {
19    'labels': ['OS-Chrome', 'VideoTestFailure'],
20    'cc': ['chromeos-video-test-failures@google.com'],
21}
22
23DOC = """
24This test utilizes the video_decode_accelerator_unittest to measure the
25performance of the Chromium hardware Video Decode Accelerator.
26"""
27
28# A list of test cases. Each entry consists of the following parts:
29#   [download_path, width, height, frame_num, fragment_num, profile, fps]
30test_cases = [
31    ['crowd/crowd1080-fa0fcc36d28e514c8f0a4fdace3443ce.vp9', 1920, 1080, 500, 500, 12, 50]
32]
33
34constraints = [
35    'crowd1080_vp9_frame_drop_rate == 0']
36
37job.run_test('video_VDAPerf', test_cases=test_cases, constraints=constraints,
38             tag='vp9')
39