blob: 825102a2126ada26d74d137ba097a9f79d3a2f0c [file] [log] [blame]
// Copyright 2019 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package camera
import (
func init() {
Func: HAL3JDA,
Desc: "Verifies JPEG decode accelerator works in USB HALv3",
Contacts: []string{"", "", ""},
Attr: []string{"group:mainline", "informational", "group:camera-postsubmit", "group:camera-libcamera"},
SoftwareDeps: []string{"arc", "arc_camera3", "chrome", caps.HWDecodeJPEG, caps.BuiltinUSBCamera},
Pre: chrome.LoggedIn(),
func HAL3JDA(ctx context.Context, s *testing.State) {
if err := hal3.RunTest(ctx, hal3.JDATestConfig()); err != nil {
s.Error("Test failed: ", err)