blob: 8a152176f730b1990c0b4ceaec3f00764c8de814 [file] [log] [blame]
// Copyright 2023 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
{
include: [
"//sdk/lib/driver/compat/compat.shard.cml",
"inspect/client.shard.cml",
"syslog/client.shard.cml",
],
program: {
runner: "driver",
bind: "meta/bind/amlogic_video_bind.bindbc",
colocate: "false",
compat: "driver/amlogic_video_decoder.so",
default_dispatcher_opts: [ "allow_sync_calls" ],
allowed_scheduler_roles: [
"fuchsia.media.drivers.amlogic-decoder.fidl",
"fuchsia.media.drivers.amlogic-decoder.parser-irq",
"fuchsia.media.drivers.amlogic-decoder.vdec-irq",
"fuchsia.media.drivers.amlogic-decoder.h264-core",
"fuchsia.media.drivers.amlogic-decoder.h264-stream-control",
"fuchsia.media.drivers.amlogic-decoder.vp9-input-processing",
"fuchsia.media.drivers.amlogic-decoder.vp9-stream-control",
],
fallback: "false",
},
use: [
{ protocol: "fuchsia.scheduler.RoleManager" },
{ protocol: "fuchsia.sysmem2.Allocator" },
{ service: "fuchsia.hardware.amlogiccanvas.Service" },
{ service: "fuchsia.hardware.platform.device.Service" },
{ service: "fuchsia.hardware.tee.Service" },
{ service: "fuchsia.hardware.clock.Service" },
],
}