FeedRawData
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Inputs raw data to a graph.
Prototype
1 2 3 4 | struct RawData { const void *addr; size_t len; }; |
1 | Status FeedRawData(uint32_t graph_id, const std::vector<RawData> &raw_data_list, const uint32_t index, const DataFlowInfo &info, int32_t timeout); |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
graph_id |
Input |
ID of the graph to be executed. |
raw_data_list |
Input |
Array composed of input data pointers and their lengths. One or more entries can be provided. If multiple entries are provided, the framework automatically merges the corresponding data segments into a single block and passes it to the DataFlow graph. |
index |
Input |
Index of the input of the corresponding DataFlow graph. |
info |
Input |
Input data flow flag. For details, see DataFlowInfo Data Types. |
timeout |
Input |
Data input timeout, in milliseconds. The value -1 means no timeout limit. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
Status |
|
Constraints
None