1# Copyright (c) 2014 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_VideoEncodeAccelerator.h264.bvt" 7PURPOSE = "Verify Chromium hardware Video Encode Acceleration works." 8CRITERIA = """ 9This test will fail if any of the tests in video_encode_accelerator_unittest 10fails. Running video_encode_accelerator_unittest is skipped on machines that are 11known not to support video encode. 12""" 13ATTRIBUTES = "suite:bvt-perbuild" 14TIME = "SHORT" 15TEST_CATEGORY = "Functional" 16TEST_CLASS = "video" 17TEST_TYPE = "client" 18DEPENDENCIES = 'hw_video_acc_enc_h264' 19BUG_TEMPLATE = { 20 'labels': ['OS-Chrome', 'VideoTestFailure'], 21 'cc': ['chromeos-video-test-failures@google.com'], 22} 23 24DOC = """ 25This is a wrapper test for Chrome video_encode_accelerator_unittest. 26""" 27 28# Format of each stream: (path, width, height, request_bit_rate) 29streams = [('media/test/data/bear_320x192_40frames.yuv', 320, 192, 200000)] 30 31args_dict = utils.args_to_dict(args) 32job.run_test('video_VideoEncodeAccelerator', in_cloud=False, streams=streams, 33 profile=1, tag='h264', **args_dict) 34