1# Copyright 2018 The Chromium OS 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_VideoDecodeAccelerator.vp8.import"
7PURPOSE = """
8Verify Chromium hardware Video Decode Acceleration works with IMPORT mode
9"""
10CRITERIA = """
11This test will fail if any of the tests in video_decode_accelerator_unittest
12with IMPORT mode fails. Running video_decode_accelerator_unittest is skipped on
13machines that are known not to support video decode.
14"""
15ATTRIBUTES = "suite:bvt-perbuild"
16TIME = "SHORT"
17TEST_CATEGORY = "Functional"
18TEST_CLASS = "video"
19TEST_TYPE = "client"
20JOB_RETRIES = 2
21# Reboot in the lab after the test ends.
22DEPENDENCIES = "arc, cleanup-reboot"
23BUG_TEMPLATE = {
24    'labels': ['OS-Chrome', 'VideoTestFailure'],
25    'cc': ['chromeos-video-test-failures@google.com'],
26}
27
28DOC = """
29This is a wrapper test for Chrome video_decode_accelerator_unittest with IMPORT
30mode.
31"""
32
33# The FPS expectations here are lower than observed in most runs to keep
34# the bots green.
35videos = ['test-25fps.vp8:320:240:250:250:35:150:11']
36
37job.run_test('video_VideoDecodeAccelerator', videos=videos,
38             capability='hw_dec_vp8_1080_30', import_mode=True)
39