[num_tensors] Add APIs for GstTensorExtraInfo
authorYongjoo Ahn <yongjoo1.ahn@samsung.com>
Mon, 30 Jan 2023 11:52:42 +0000 (20:52 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Fri, 10 Feb 2023 10:54:40 +0000 (19:54 +0900)
commite09781ea99d0c2efcdaa51fa2dbc74295a8b4fec
tree2387a70a03a60ae8f5ef012323f1b0a3f985fb70
parent78df3ba482e3f5a7c1e7e7eefae64307c61a8512
[num_tensors] Add APIs for GstTensorExtraInfo

- Add an init API `gst_tensors_extra_init`
- Add an API `gst_tensors_get_nth_memory` which returns GstMemory from given GstBuffer with index larger than 16.

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
gst/nnstreamer/include/nnstreamer_plugin_api.h
gst/nnstreamer/nnstreamer_plugin_api_impl.c