| # Copyright 2018 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| AUTHOR = "Chrome OS Team, chromeos-video@google.com" |
| NAME = "camera_HAL3.jda" |
| PURPOSE = "Verify Jpeg decode accelerator works in USB HALv3." |
| CRITERIA = """ |
| This test will fail if there is a JDA decode error. |
| """ |
| ATTRIBUTES = "suite:bvt-perbuild" |
| TIME = "SHORT" |
| TEST_CATEGORY = "Functional" |
| TEST_CLASS = "video" |
| TEST_TYPE = "client" |
| BUG_TEMPLATE = { |
| 'labels': ['OS-Chrome', 'VideoTestFailure'], |
| 'cc': ['chromeos-video-test-failures@google.com'], |
| } |
| |
| DOC = """ |
| This test runs camera3 test to verify JDA function. |
| """ |
| |
| job.run_test('camera_HAL3', cmd_timeout=5, |
| camera_hals=['usb.so'], |
| options=['--gtest_filter=*/Camera3SingleFrameTest.GetFrame/0'], |
| capability='hw_dec_jpeg', |
| test_config={'force_jpeg_hw_dec': True}) |