[Common] max memories in nns-edge
authorJaeyun Jung <jy1210.jung@samsung.com>
Mon, 6 Nov 2023 09:02:25 +0000 (18:02 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Thu, 9 Nov 2023 06:11:00 +0000 (15:11 +0900)
nnstreamer now supports max 256 tensors in the buffer.
Increase max memories in nnstreamer-edge handle.

TODO:
We will fix the util functions in edge elements of nnstreamer, to handle memories in gst-buffer.

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
include/nnstreamer-edge.h

index ba2e56a4c80361b843edcadf764ac9e709a1652f..75bf83edae21e8a2f789a34538822168f2698cfd 100644 (file)
@@ -31,7 +31,7 @@ typedef int64_t nns_ssize_t;
 /**
  * @brief The maximum number of data instances that nnstreamer-edge data may have.
  */
-#define NNS_EDGE_DATA_LIMIT (16)
+#define NNS_EDGE_DATA_LIMIT (256)
 
 /**
  * @brief Enumeration for the error codes of nnstreamer-edge (linux standard error, sync with tizen error code).