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.h264.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" 16DEPENDENCIES='hw_video_acc_enc_h264' 17BUG_TEMPLATE = { 18 'labels': ['OS-Chrome', 'VideoTestFailure'], 19 'cc': ['chromeos-video-test-failures@google.com'], 20} 21 22DOC = """ 23This test utilizes the video_encode_accelerator_unittest to measure the 24performance of the Chromium Video Encode Accelerator. 25""" 26 27# A list of test cases. Each entry consists of the following parts: 28# (path, on_cloud, width, height, requested_bit_rate, profile, requested_frame_rate) 29test_cases = [ 30 ('media/test/data/bear_320x192_40frames.yuv', False, 320, 192, 200000, 1, 30) 31] 32 33job.run_test('video_VEAPerf', test_cases=test_cases, tag='h264') 34