sp500_buffer Struct Reference#
|
Mobilint REGULUS v4.1
SP500 DSP API
|
sp500_buffer Struct Reference
A tensor handed to or received from the DSP. More...
#include <sp500/dsp.h>
Data Fields | |
| void * | data |
| uint32_t | size |
| uint32_t | flags |
Detailed Description
A tensor handed to or received from the DSP.
The buffer itself records where its memory lives, so one function signature serves both the zero-copy and the staged path.
- sp500_buffer_alloc() - shared memory, zero copy, you own it and free it.
- sp500_buffer_wrap() - your own memory, staged through shared memory.
- sp500_buffer_none() - "not used", for optional tensors.
Field Documentation
◆ data
| void* sp500_buffer::data |
◆ size
◆ flags
| uint32_t sp500_buffer::flags |
a combination of SP500_BUFFER_SHARED
The documentation for this struct was generated from the following file:
- sp500/dsp.h
Generated by