[Common] add common function
authorJaeyun <jy1210.jung@samsung.com>
Mon, 11 Feb 2019 09:07:37 +0000 (18:07 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 11 Feb 2019 11:40:58 +0000 (20:40 +0900)
commita07d403354a9340e5392550a969c87233b4afffe
tree260e8fc6b61f0a38d909e26b027205777d9375ab
parent3b00e91b1bfcd29d20f55c84957f5b4e4f2272cb
[Common] add common function

1. add new function _info_free() to free allocated data in tensor-info structure
2. move functions to plugin api header

TODO:
I will add new PR to use common functions to set/get tensor info in tensor_filter tf sub-plugins.

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
gst/nnstreamer/nnstreamer_plugin_api.h
gst/nnstreamer/tensor_common.c
gst/nnstreamer/tensor_common.h