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