From: Jaeyun Date: Tue, 6 Aug 2019 07:53:18 +0000 (+0900) Subject: [Api] common headers in nnstreamer X-Git-Tag: accepted/tizen/unified/20190812.235554~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=570094aea5c4b4ef3756259eeb9a602181f3afdf;p=platform%2Fupstream%2Fnnstreamer.git [Api] common headers in nnstreamer change nnstreamer headers include to prepare gradle build. Signed-off-by: Jaeyun Jung --- diff --git a/api/capi/include/nnstreamer-capi-private.h b/api/capi/include/nnstreamer-capi-private.h index 7036371..52428fd 100644 --- a/api/capi/include/nnstreamer-capi-private.h +++ b/api/capi/include/nnstreamer-capi-private.h @@ -27,9 +27,8 @@ #include #include -#include - #include "nnstreamer.h" +#include "tensor_typedef.h" #define TAG_NAME "nnstreamer-capi" diff --git a/api/capi/src/nnstreamer-capi-pipeline.c b/api/capi/src/nnstreamer-capi-pipeline.c index c6ac6cf..2d2320f 100644 --- a/api/capi/src/nnstreamer-capi-pipeline.c +++ b/api/capi/src/nnstreamer-capi-pipeline.c @@ -26,13 +26,12 @@ #include /* Get GType from GObject Instances */ #include -#include -#include - #include #include /* To push data to pipeline */ #include "nnstreamer-capi-private.h" +#include "tensor_typedef.h" +#include "nnstreamer_plugin_api.h" #define handle_init(type, name, h) \ ml_pipeline_##type *name= (h); \ diff --git a/api/capi/src/nnstreamer-capi-single.c b/api/capi/src/nnstreamer-capi-single.c index 9a22af3..dc9d3dd 100644 --- a/api/capi/src/nnstreamer-capi-single.c +++ b/api/capi/src/nnstreamer-capi-single.c @@ -26,11 +26,10 @@ #include #include -#include - #include "nnstreamer.h" /* Uses NNStreamer/Pipeline C-API */ #include "nnstreamer-single.h" #include "nnstreamer-capi-private.h" +#include "nnstreamer_plugin_api.h" typedef struct { diff --git a/api/capi/src/nnstreamer-capi-util.c b/api/capi/src/nnstreamer-capi-util.c index 2d86d2c..868bdf5 100644 --- a/api/capi/src/nnstreamer-capi-util.c +++ b/api/capi/src/nnstreamer-capi-util.c @@ -21,11 +21,11 @@ */ #include -#include -#include #include "nnstreamer.h" #include "nnstreamer-capi-private.h" +#include "nnstreamer_plugin_api.h" +#include "nnstreamer_plugin_api_filter.h" #if defined(__TIZEN__) #include