#include <processing_module_interface.h>
|
| virtual State | GetState (void)=0 |
| virtual uint64_t | GetIdlePeriod (void)=0 |
| virtual void | OnStreamState (uint64_t counter, uint32_t stream_index, State state)=0 |
| virtual ErrorCode::Type | Init (void)=0 |
| | Additional method called after module initialization.
|
| virtual ErrorCode::Type | Delete (void)=0 |
| | Destructor that may contain logic executed on module destruction.
|
| virtual uint32_t | Process (InputStreamBuffer *input_stream_buffers, OutputStreamBuffer *output_stream_buffers)=0 |
| | Processes the stream buffers extracted from the input pins and produces the resulting signal in stream buffer of the output pins.
|
| virtual void | Reset (void)=0 |
| | Upon call to this method the ADSP system requires the module to reset its internal state into a well-known initial value.
|
| virtual void | SetProcessingMode (ProcessingMode mode)=0 |
| | Sets the processing mode for the module.
|
| virtual ProcessingMode | GetProcessingMode (void)=0 |
| | Gets the processing mode for the module.
|
| virtual ErrorCode::Type | SetConfiguration (uint32_t config_id, ConfigurationFragmentPosition fragment_position, uint32_t data_offset_size, const uint8_t *fragment_buffer, size_t fragment_size, uint8_t *response, size_t &response_size)=0 |
| | Applies the upcoming configuration message for the given configuration ID.
|
| virtual ErrorCode::Type | GetConfiguration (uint32_t config_id, ConfigurationFragmentPosition fragment_position, uint32_t &data_offset_size, uint8_t *fragment_buffer, size_t &fragment_size)=0 |
| | Retrieves the configuration message for the given configuration ID.
|
◆ State
Object processing state
| Enumerator |
|---|
| PROCESSING | Data are processed
|
| IDLE | No data are processed
|
◆ GetIdlePeriod()
| virtual uint64_t intel_adsp::DetectorModuleInterface::GetIdlePeriod |
( |
void | | ) |
|
|
pure virtual |
Get idle period that the module processing are not required
◆ GetState()
| virtual State intel_adsp::DetectorModuleInterface::GetState |
( |
void | | ) |
|
|
pure virtual |
Get processing state of module.
◆ OnStreamState()
| virtual void intel_adsp::DetectorModuleInterface::OnStreamState |
( |
uint64_t | counter, |
|
|
uint32_t | stream_index, |
|
|
State | state ) |
|
pure virtual |
Method for handle stream processing
The documentation for this class was generated from the following file: