• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2018 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 = "brokk-team@google.com, brandstrom@google.com"
6NAME = "video_VDAPerf.cfm"
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:hotrod"
12TIME = "MEDIUM"
13TEST_CATEGORY = "Performance"
14TEST_CLASS = "video"
15TEST_TYPE = "client"
16
17DOC = """
18This test measures the performance of the Chromium hardware VP8 Video Decode
19Accelerator for VP8 in CFM use cases.
20"""
21
22# A list of test cases. Each entry consists of the following parts:
23#   [download_path, width, height, frame_num, fragment_num, profile, fps, required_cap]
24test_cases = [
25    ['crowd/crowd1080-1edaaca36b67e549c51e5fea4ed545c3.vp8', 1920, 1080, 500, 539, 11, 50, 'hw_dec_vp8_1080_60'],
26    ['crowd/crowd720-41e9a3e6a6b1644ebdb3f5723fce96e5.vp8', 1280, 720, 500, 534, 11, 50, 'hw_dec_vp8_1080_30'],
27    ['crowd/crowd360-20dab55f01a63b8a0d12272c01bd6a97.vp8', 640, 360, 500, 532, 11, 50, 'hw_dec_vp8_1080_30'],
28    ['crowd/crowd180-bde69ca71393033d9187a2833720c9f8.vp8', 320, 180, 500, 500, 11, 50, 'hw_dec_vp8_1080_30'],
29
30]
31
32job.run_test('video_VDAPerf', test_cases=test_cases, tag='cfm')
33