[common] Add utils for extra tensor_info
authorYongjoo Ahn <yongjoo1.ahn@samsung.com>
Wed, 21 Jun 2023 08:22:48 +0000 (17:22 +0900)
committerYongjoo Ahn <yongjoo1.ahn@samsung.com>
Thu, 20 Jul 2023 04:48:06 +0000 (13:48 +0900)
commit8725b06afc73fa733c609c43e879163f4c216cb1
tree67019ac8d7f73462496ab6cb342138c5d16b0d68
parentb0203eba5d972a154a7cefc1b7cc7ea9b1a6ee20
[common] Add utils for extra tensor_info

- Add util functions for extra `ml_tensor_info_s`.
- Replace index based access of tensor_info with newly added util
  `gst_tensors_info_get_nth_info` and `ml_tensors_info_get_nth_info`

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
c/src/ml-api-common.c
c/src/ml-api-inference-internal.c
c/src/ml-api-inference-pipeline.c
c/src/ml-api-inference-single.c
c/src/ml-api-internal.h