1# Copyright 2015 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_VEAPerf.vp8.bvt" 7PURPOSE = "Monitor the performance of the Chromium VEA." 8CRITERIA = """ 9The test fails if the video_encode_accelerator_unittest fails or crashes. 10""" 11ATTRIBUTES = "suite:bvt-perbuild" 12TIME = "SHORT" 13TEST_CATEGORY = "Performance" 14TEST_CLASS = "video" 15TEST_TYPE = "client" 16BUG_TEMPLATE = { 17 'labels': ['OS-Chrome', 'VideoTestFailure'], 18 'cc': ['chromeos-video-test-failures@google.com'], 19} 20 21DOC = """ 22This test utilizes the video_encode_accelerator_unittest to measure the 23performance of the Chromium Video Encode Accelerator. 24""" 25 26# A list of test cases. Each entry consists of the following parts: 27# (path, on_cloud, width, height, requested_bit_rate, profile, requested_frame_rate) 28test_cases = [ 29 ('media/test/data/bear_320x192_40frames.yuv', False, 320, 192, 200000, 11, 30) 30] 31 32job.run_test('video_VEAPerf', test_cases=test_cases, 33 required_cap='hw_enc_vp8_1080_30', tag='vp8') 34