[MachineLearning.Inference] Pipeline class to execute neural network stream (#1404)
* [MachineLearning.Inference] sync to C-API change
1. Add enum for NNFWType and HWType with C-API update.
2. Add enum for newly added in C-API (out-of-mem and permission-denied)
3. Code clean, remove duplicated code and typo correction.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
* [MachineLearning.Inference] Pipeline class to execute neural network stream
This patch newly provides interfaces to create and execute stream pipeline with neural network.
Pipeline and its related classes support the following functionalities:
- Create a stream pipeline with NNStreamer plugins and GStreamer plugins.
- Interfaces to start/stop/destroy the pipeline.
- Interfaces to get the state of the pipeline and register callback method.
- Interfaces to push data to the pipeline from the application.
- Interfaces to pull data from the pipeline to the application.
- Interfaces to control the stream of the pipeline using switches and valves.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>