[common] Add extra tensorInfo for 16+th tensors
authorYongjoo Ahn <yongjoo1.ahn@samsung.com>
Tue, 7 Feb 2023 04:57:37 +0000 (13:57 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Mon, 17 Apr 2023 07:15:16 +0000 (16:15 +0900)
- Add a pointer of GstTensorInfo in GstTensorsInfo struct. And name it
  as "extra"

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

index a5fd5d0..f7755bf 100644 (file)
@@ -246,6 +246,7 @@ typedef struct
 {
   unsigned int num_tensors; /**< The number of tensors */
   GstTensorInfo info[NNS_TENSOR_SIZE_LIMIT]; /**< The list of tensor info */
+  GstTensorInfo *extra; /**< The list of tensor info for tensors whose idx is larger than NNS_TENSOR_SIZE_LIMIT */
   tensor_format format; /**< tensor stream type */
 } GstTensorsInfo;