Sound Open Firmware
Loading...
Searching...
No Matches
processing_module_factory_interface.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 *
3 * Copyright(c) 2022 Intel Corporation. All rights reserved.
4 */
6
7#ifndef _PROCESSING_MODULE_FACTORY_INTERFACE_H_
8#define _PROCESSING_MODULE_FACTORY_INTERFACE_H_
9
14
15namespace intel_adsp
16{
23 typedef void *PinEndpoint;
24 typedef struct { void *prt[2]; } FwdEvent;
25
68
74 {
75 public:
110
119 ) = 0;
141 ModulePlaceholder * module_placeholder,
142 ModuleInitialSettings initial_settings,
143 IoPinsInfo & pins_info
144 ) = 0;
145 }; /* class ProcessingModuleFactoryInterface */
146
147} /* namespace intel_adsp */
148
149#endif /* #ifndef _PROCESSING_MODULE_FACTORY_INTERFACE_H_ */
The set of settings item given for initialization of a Module instance.
Definition module_initial_settings.h:74
The ProcessingModuleFactoryInterface class defines requirements for creating a processing module cont...
Definition processing_module_factory_interface.h:74
virtual ErrorCode::Type Create(SystemAgentInterface &system_agent, ModulePlaceholder *module_placeholder, ModuleInitialSettings initial_settings, IoPinsInfo &pins_info)=0
Creates a ProcessingModuleInstance instance in the given placeholder.
virtual void GetPrerequisites(ProcessingModulePrerequisites &module_prereqs)=0
Indicates the prerequisites for module instance creation.
The SystemAgentInterface is a mediator to allow loadable module to interact with the ADSP System.
Definition system_agent_interface.h:43
Definition fixed_array.h:13
void * PinEndpoint
defines type of the pin endpoint.
Definition processing_module_factory_interface.h:23
Scoped enumeration of common error code values which can be reported to ADSP System.
Definition system_error.h:18
static Enum const MaxValue
Indicates the maximal value in the enumeration list.
Definition system_error.h:33
int Type
type of the error code value
Definition system_error.h:20
Definition processing_module_factory_interface.h:24
void * prt[2]
Definition processing_module_factory_interface.h:24
holds information about pins of a module.
Definition processing_module_factory_interface.h:39
PinEndpoint * sinks
pointer on a PinEndpoint array with "sinks_count" elements
Definition processing_module_factory_interface.h:53
uint8_t * pins_mem_pool
description of buffer reserved for DP queue objects and buffers used for all additional input and out...
Definition processing_module_factory_interface.h:65
size_t pins_mem_pool_size
Definition processing_module_factory_interface.h:66
FwdEvent * events
pointer on a FwdEvents array with "events_count" elements
Definition processing_module_factory_interface.h:60
PinEndpoint * sources
pointer on a PinEndpoint array with "sources_count" elements
Definition processing_module_factory_interface.h:46
static Enum const MaxValue
Indicates the maximal value of the enumeration.
Definition processing_module_factory_interface.h:101
ErrorCode(Type value)
Initializes a new instance of ErrorCode given a value.
Definition processing_module_factory_interface.h:106
Enum
list of named error codes specific to the ProcessingModuleFactoryInterface
Definition processing_module_factory_interface.h:84
@ INVALID_IBS
Definition processing_module_factory_interface.h:86
@ INVALID_SETTINGS
Definition processing_module_factory_interface.h:96
@ INVALID_CPC
Definition processing_module_factory_interface.h:92
@ INVALID_OBS
Definition processing_module_factory_interface.h:88
static Enum const MinValue
Indicates the minimal value of the enumeration.
Definition processing_module_factory_interface.h:99
Descriptor on prerequisites for ProcessingModuleInterface instance creation.
Definition processing_module_prerequisites.h:107
char value[]
Definition tlv.h:2