1# Copyright (c) 2013 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 = 'The Chromium OS Authors,chromeos-video@google.com'
6NAME = 'hardware_VideoDecodeCapable.vaapi'
7PURPOSE = 'Probe for the video decoding capability'
8CRITERIA = """
9This test fails when the video decoding capabilities are different from expected.
10
11This control file is for platforms supporting VAAPI. We expect the following
12Profiles are supported: H264_BASELINE, H264_MAIN, and H264_HIGH
13
14For each of the profiles, we expect it has the VLD entrypoint and supports
15YUV420 for the RT format.
16"""
17ATTRIBUTES = "suite:video"
18SUITE = 'video'
19TIME='FAST'
20TEST_CATEGORY = 'Functional'
21TEST_CLASS = 'hardware'
22TEST_TYPE = 'client'
23DEPENDENCIES = 'vaapi'
24RETRIES = 1
25
26DOC = """
27VAAPI capabilities probing is done in C. It is built as an extension module
28(vaapi.so) during setup.
29"""
30
31job.run_test('hardware_VideoDecodeCapable', type='vaapi')
32