| # 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.jea" |
| PURPOSE = "Verify Jpeg encode accelerator works in USB HALv3." |
| CRITERIA = """ |
| This test will fail if there is a JEA encode 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 JEA function. |
| """ |
| |
| job.run_test('camera_HAL3', cmd_timeout=5, |
| options=['--gtest_filter=*/Camera3SimpleStillCaptureTest.TakePictureTest/0'], |
| capability='hw_enc_jpeg', |
| test_config={'force_jpeg_hw_enc': True}) |