From: Jaeyun Date: Mon, 22 Apr 2019 10:09:13 +0000 (+0900) Subject: [Orc] remove unnecessary code X-Git-Tag: accepted/tizen/unified/20190425.014439~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b1552493a43438f6c3f9287520ebe75a8b078d37;p=platform%2Fupstream%2Fnnstreamer.git [Orc] remove unnecessary code We don't need to init orc functions. It will be called when creating new orc program. Signed-off-by: Jaeyun Jung --- diff --git a/gst/nnstreamer/nnstreamer.c b/gst/nnstreamer/nnstreamer.c index 2157d55..c10cc45 100644 --- a/gst/nnstreamer/nnstreamer.c +++ b/gst/nnstreamer/nnstreamer.c @@ -48,10 +48,6 @@ #include #include -#ifdef HAVE_ORC -#include -#endif - #define NNSTREAMER_PLUGIN(name) \ extern gboolean G_PASTE(nnstreamer_export_, name) (GstPlugin *plugin) @@ -81,11 +77,6 @@ NNSTREAMER_PLUGIN (tensor_reposrc); static gboolean gst_nnstreamer_init (GstPlugin * plugin) { -#ifdef HAVE_ORC - GST_INFO ("[NNStreamer] Initialize the Orc library"); - orc_init (); -#endif - NNSTREAMER_INIT (tensor_converter, plugin); NNSTREAMER_INIT (tensor_aggregator, plugin); NNSTREAMER_INIT (tensor_decoder, plugin); diff --git a/gst/nnstreamer/tensor_common.h b/gst/nnstreamer/tensor_common.h index 4a6782e..21baae7 100644 --- a/gst/nnstreamer/tensor_common.h +++ b/gst/nnstreamer/tensor_common.h @@ -38,7 +38,7 @@ #include "nnstreamer_plugin_api.h" #ifdef HAVE_ORC -#include +#include #define nns_memcpy(d,s,n) do { \ if ((n) > 100) orc_memcpy ((d), (s), (n)); \