diff --git a/testresult/cmd_line b/testresult/cmd_line index 8f91e6720..9f796ec34 100644 --- a/testresult/cmd_line +++ b/testresult/cmd_line @@ -1 +1 @@ -genhtml -o result unittest-filtered.info -t 'nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900' --ignore-errors source -p /home/abuild/rpmbuild/BUILD +genhtml -o result unittest-filtered.info -t 'nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1' --ignore-errors source -p /home/abuild/rpmbuild/BUILD diff --git a/testresult/coverage_badge.svg b/testresult/coverage_badge.svg index 5b09ec7b9..cad805f63 100644 --- a/testresult/coverage_badge.svg +++ b/testresult/coverage_badge.svg @@ -1 +1 @@ -coveragecoverage81.78%81.78% \ No newline at end of file +coveragecoverage81.77%81.77% \ No newline at end of file diff --git a/testresult/index-sort-f.html b/testresult/index-sort-f.html index 37f339fb5..c7ba20f54 100644 --- a/testresult/index-sort-f.html +++ b/testresult/index-sort-f.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 @@ -28,16 +28,16 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 81.8 % 24187 - 19780 + 19778 Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 93.7 % @@ -142,11 +142,11 @@ nnstreamer-2.4.2/gst/nnstreamer/elements -
82.9%82.9%
+
82.8%82.8%
- 82.9 % + 82.8 % 8134 - 6740 + 6737 92.4 % 450 416 @@ -206,7 +206,7 @@ 83.1 % 1847 - 1534 + 1535 94.8 % 153 145 diff --git a/testresult/index-sort-l.html b/testresult/index-sort-l.html index 3ed471d42..de1ef5be2 100644 --- a/testresult/index-sort-l.html +++ b/testresult/index-sort-l.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 @@ -28,16 +28,16 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 81.8 % 24187 - 19780 + 19778 Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 93.7 % @@ -190,11 +190,11 @@ nnstreamer-2.4.2/gst/nnstreamer/elements -
82.9%82.9%
+
82.8%82.8%
- 82.9 % + 82.8 % 8134 - 6740 + 6737 92.4 % 450 416 @@ -206,7 +206,7 @@ 83.1 % 1847 - 1534 + 1535 94.8 % 153 145 diff --git a/testresult/index.html b/testresult/index.html index 235389dca..7b6653926 100644 --- a/testresult/index.html +++ b/testresult/index.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 @@ -28,16 +28,16 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 81.8 % 24187 - 19780 + 19778 Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 93.7 % @@ -122,7 +122,7 @@ 83.1 % 1847 - 1534 + 1535 94.8 % 153 145 @@ -238,11 +238,11 @@ nnstreamer-2.4.2/gst/nnstreamer/elements -
82.9%82.9%
+
82.8%82.8%
- 82.9 % + 82.8 % 8134 - 6740 + 6737 92.4 % 450 416 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/index-sort-f.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/index-sort-f.html index bf0a08f9c..ce41ac633 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/index-sort-f.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/index-sort-f.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 78.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 94.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/index-sort-l.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/index-sort-l.html index a5879e443..1c29ece34 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/index-sort-l.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/index-sort-l.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 78.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 94.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/index.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/index.html index f2640da68..06d42b5f1 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/index.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/index.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 78.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 94.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.cc.func-c.html index ce3cf0fb5..aac7cab7a 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 80.1 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 95.2 % @@ -65,14 +65,14 @@ _ZN4grpc13NNStreamerRPC13_start_serverEv - 11 + 12 _ZN4grpc13NNStreamerRPCD0Ev - 11 + 12 @@ -86,26 +86,26 @@ _ZN4grpc13NNStreamerRPCD2Ev - 11 + 12 - grpc_destroy + _check_hostname - 11 + 12 - grpc_get_listening_port + grpc_destroy - 11 + 12 - _check_hostname + grpc_get_listening_port 12 @@ -128,91 +128,91 @@ _ZN4grpc13NNStreamerRPC14createInstanceEPK11grpc_config - 27 + 28 _ZN4grpc13NNStreamerRPC5startEv - 27 + 28 _ZN4grpc13NNStreamerRPCC2EPK11grpc_config - 27 + 28 grpc_new - 27 + 28 grpc_start - 27 + 28 _ZN4grpc13NNStreamerRPC4stopEv - 38 + 40 grpc_stop - 38 + 40 grpc_get_idl - 62 + 64 _ZN4grpc13NNStreamerRPC21_data_queue_item_freeEP17_GstDataQueueItem - 80 + 90 _ZN4grpc13NNStreamerRPC25_data_queue_check_full_cbEP13_GstDataQueuejjmPv - 80 + 90 _ZN4grpc13NNStreamerRPC4sendEP10_GstBuffer - 80 + 90 grpc_send - 80 + 90 grpc_common_set_property - 137 + 142 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.cc.func.html index ec8664524..119796430 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 80.1 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 95.2 % @@ -72,63 +72,63 @@ _ZN4grpc13NNStreamerRPC13_start_serverEv - 11 + 12 _ZN4grpc13NNStreamerRPC14createInstanceEPK11grpc_config - 27 + 28 _ZN4grpc13NNStreamerRPC21_data_queue_item_freeEP17_GstDataQueueItem - 80 + 90 _ZN4grpc13NNStreamerRPC25_data_queue_check_full_cbEP13_GstDataQueuejjmPv - 80 + 90 _ZN4grpc13NNStreamerRPC4sendEP10_GstBuffer - 80 + 90 _ZN4grpc13NNStreamerRPC4stopEv - 38 + 40 _ZN4grpc13NNStreamerRPC5startEv - 27 + 28 _ZN4grpc13NNStreamerRPCC2EPK11grpc_config - 27 + 28 _ZN4grpc13NNStreamerRPCD0Ev - 11 + 12 @@ -142,7 +142,7 @@ _ZN4grpc13NNStreamerRPCD2Ev - 11 + 12 @@ -163,56 +163,56 @@ grpc_common_set_property - 137 + 142 grpc_destroy - 11 + 12 grpc_get_idl - 62 + 64 grpc_get_listening_port - 11 + 12 grpc_new - 27 + 28 grpc_send - 80 + 90 grpc_start - 27 + 28 grpc_stop - 38 + 40 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.cc.gcov.html index 3a0039f8b..11ce797fa 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 80.1 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 95.2 % @@ -92,22 +92,22 @@ 30 : 31 : /** @brief create new instance of NNStreamerRPC */ 32 : NNStreamerRPC * - 33 27 : NNStreamerRPC::createInstance (const grpc_config *config) + 33 28 : NNStreamerRPC::createInstance (const grpc_config *config) 34 : { - 35 27 : gchar *name = NULL; + 35 28 : gchar *name = NULL; 36 : - 37 27 : if (config->idl == GRPC_IDL_PROTOBUF) - 38 13 : name = g_strdup_printf ("%s%s", NNS_GRPC_PROTOBUF_NAME, NNSTREAMER_SO_FILE_EXTENSION); + 37 28 : if (config->idl == GRPC_IDL_PROTOBUF) + 38 14 : name = g_strdup_printf ("%s%s", NNS_GRPC_PROTOBUF_NAME, NNSTREAMER_SO_FILE_EXTENSION); 39 14 : else if (config->idl == GRPC_IDL_FLATBUF) 40 14 : name = g_strdup_printf ("%s%s", NNS_GRPC_FLATBUF_NAME, NNSTREAMER_SO_FILE_EXTENSION); 41 : - 42 27 : if (name == NULL) { + 42 28 : if (name == NULL) { 43 0 : ml_loge ("Unsupported IDL detected: %d\n", config->idl); 44 0 : return NULL; 45 : } 46 : - 47 27 : GModule *module = g_module_open (name, G_MODULE_BIND_LAZY); - 48 27 : if (!module) { + 47 28 : GModule *module = g_module_open (name, G_MODULE_BIND_LAZY); + 48 28 : if (!module) { 49 0 : ml_loge ("Error opening %s\n", name); 50 0 : g_free (name); 51 0 : return NULL; @@ -116,119 +116,119 @@ 54 : using function_ptr = void *(*) (const grpc_config *config); 55 : function_ptr create_instance; 56 : - 57 27 : if (!g_module_symbol (module, NNS_GRPC_CREATE_INSTANCE, (gpointer *) &create_instance)) { + 57 28 : if (!g_module_symbol (module, NNS_GRPC_CREATE_INSTANCE, (gpointer *) &create_instance)) { 58 0 : ml_loge ("Error loading create_instance: %s\n", g_module_error ()); 59 0 : g_free (name); 60 0 : g_module_close (module); 61 0 : return NULL; 62 : } 63 : - 64 27 : NNStreamerRPC *instance = (NNStreamerRPC *) create_instance (config); - 65 27 : if (!instance) { + 64 28 : NNStreamerRPC *instance = (NNStreamerRPC *) create_instance (config); + 65 28 : if (!instance) { 66 0 : ml_loge ("Error creating an instance\n"); 67 0 : g_free (name); 68 0 : g_module_close (module); 69 0 : return NULL; 70 : } 71 : - 72 27 : g_free (name); - 73 27 : instance->setModuleHandle (module); - 74 27 : return instance; + 72 28 : g_free (name); + 73 28 : instance->setModuleHandle (module); + 74 28 : return instance; 75 : } 76 : 77 : /** @brief constructor of NNStreamerRPC */ - 78 27 : NNStreamerRPC::NNStreamerRPC (const grpc_config *config) - 79 27 : : host_ (config->host), port_ (config->port), is_server_ (config->is_server), - 80 27 : is_blocking_ (config->is_blocking), direction_ (config->dir), - 81 27 : cb_ (config->cb), cb_data_ (config->cb_data), config_ (config->config), - 82 27 : server_instance_ (nullptr), handle_ (nullptr), stop_ (false) + 78 28 : NNStreamerRPC::NNStreamerRPC (const grpc_config *config) + 79 28 : : host_ (config->host), port_ (config->port), is_server_ (config->is_server), + 80 28 : is_blocking_ (config->is_blocking), direction_ (config->dir), + 81 28 : cb_ (config->cb), cb_data_ (config->cb_data), config_ (config->config), + 82 28 : server_instance_ (nullptr), handle_ (nullptr), stop_ (false) 83 : { - 84 27 : queue_ = gst_data_queue_new (_data_queue_check_full_cb, NULL, NULL, NULL); - 85 27 : } + 84 28 : queue_ = gst_data_queue_new (_data_queue_check_full_cb, NULL, NULL, NULL); + 85 28 : } 86 : 87 : /** @brief destructor of NNStreamerRPC */ - 88 11 : NNStreamerRPC::~NNStreamerRPC () + 88 12 : NNStreamerRPC::~NNStreamerRPC () 89 : { - 90 11 : g_clear_pointer (&queue_, gst_object_unref); - 91 11 : } + 90 12 : g_clear_pointer (&queue_, gst_object_unref); + 91 12 : } 92 : 93 : /** @brief start gRPC server */ 94 : gboolean - 95 27 : NNStreamerRPC::start () + 95 28 : NNStreamerRPC::start () 96 : { - 97 27 : if (direction_ == GRPC_DIRECTION_NONE) + 97 28 : if (direction_ == GRPC_DIRECTION_NONE) 98 0 : return FALSE; 99 : - 100 27 : if (is_server_) - 101 11 : return _start_server (); + 100 28 : if (is_server_) + 101 12 : return _start_server (); 102 : else 103 16 : return _start_client (); 104 : } 105 : 106 : /** @brief stop the thread */ 107 : void - 108 38 : NNStreamerRPC::stop () + 108 40 : NNStreamerRPC::stop () 109 : { - 110 38 : if (stop_) - 111 11 : return; + 110 40 : if (stop_) + 111 12 : return; 112 : 113 : /* notify to the worker */ - 114 27 : stop_ = true; + 114 28 : stop_ = true; 115 : - 116 27 : if (queue_) { + 116 28 : if (queue_) { 117 : /* wait until the queue's flushed */ - 118 27 : while (!gst_data_queue_is_empty (queue_)) + 118 28 : while (!gst_data_queue_is_empty (queue_)) 119 0 : g_usleep (G_USEC_PER_SEC / 100); 120 : - 121 27 : gst_data_queue_set_flushing (queue_, TRUE); + 121 28 : gst_data_queue_set_flushing (queue_, TRUE); 122 : } 123 : - 124 27 : if (is_server_) { - 125 11 : if (server_instance_.get ()) - 126 11 : server_instance_->Shutdown (); + 124 28 : if (is_server_) { + 125 12 : if (server_instance_.get ()) + 126 12 : server_instance_->Shutdown (); 127 : - 128 11 : if (completion_queue_.get ()) + 128 12 : if (completion_queue_.get ()) 129 4 : completion_queue_->Shutdown (); 130 : } 131 : - 132 27 : if (worker_.joinable ()) + 132 28 : if (worker_.joinable ()) 133 20 : worker_.join (); 134 : } 135 : 136 : /** @brief send buffer holding tensors */ 137 : gboolean - 138 80 : NNStreamerRPC::send (GstBuffer *buffer) + 138 90 : NNStreamerRPC::send (GstBuffer *buffer) 139 : { 140 : GstDataQueueItem *item; 141 : - 142 80 : buffer = gst_buffer_ref (buffer); + 142 90 : buffer = gst_buffer_ref (buffer); 143 : - 144 80 : item = g_new0 (GstDataQueueItem, 1); - 145 80 : item->object = GST_MINI_OBJECT (buffer); - 146 80 : item->size = gst_buffer_get_size (buffer); - 147 80 : item->visible = TRUE; - 148 80 : item->destroy = (GDestroyNotify) _data_queue_item_free; + 144 90 : item = g_new0 (GstDataQueueItem, 1); + 145 90 : item->object = GST_MINI_OBJECT (buffer); + 146 90 : item->size = gst_buffer_get_size (buffer); + 147 90 : item->visible = TRUE; + 148 90 : item->destroy = (GDestroyNotify) _data_queue_item_free; 149 : - 150 80 : if (!gst_data_queue_push (queue_, item)) { + 150 90 : if (!gst_data_queue_push (queue_, item)) { 151 0 : item->destroy (item); 152 0 : return FALSE; 153 : } 154 : - 155 80 : return TRUE; + 155 90 : return TRUE; 156 : } 157 : 158 : /** @brief start server service */ 159 : gboolean - 160 11 : NNStreamerRPC::_start_server () + 160 12 : NNStreamerRPC::_start_server () 161 : { - 162 11 : std::string address (host_); + 162 12 : std::string address (host_); 163 : - 164 11 : address += ":" + std::to_string (port_); + 164 12 : address += ":" + std::to_string (port_); 165 : - 166 11 : grpc::EnableDefaultHealthCheckService (true); + 166 12 : grpc::EnableDefaultHealthCheckService (true); 167 : - 168 22 : return start_server (address); - 169 11 : } + 168 24 : return start_server (address); + 169 12 : } 170 : 171 : /** @brief start client service */ 172 : gboolean @@ -243,30 +243,30 @@ 181 : 182 : /** @brief private method to check full */ 183 : gboolean - 184 80 : NNStreamerRPC::_data_queue_check_full_cb (GstDataQueue *queue, guint visible, + 184 90 : NNStreamerRPC::_data_queue_check_full_cb (GstDataQueue *queue, guint visible, 185 : guint bytes, guint64 time, gpointer checkdata) 186 : { 187 : /* no full */ - 188 80 : return FALSE; + 188 90 : return FALSE; 189 : } 190 : 191 : /** @brief private method to free a data item */ 192 : void - 193 80 : NNStreamerRPC::_data_queue_item_free (GstDataQueueItem *item) + 193 90 : NNStreamerRPC::_data_queue_item_free (GstDataQueueItem *item) 194 : { - 195 80 : if (item->object) - 196 80 : gst_buffer_unref (GST_BUFFER (item->object)); - 197 80 : g_free (item); - 198 80 : } + 195 90 : if (item->object) + 196 90 : gst_buffer_unref (GST_BUFFER (item->object)); + 197 90 : g_free (item); + 198 90 : } 199 : 200 : /** 201 : * @brief get gRPC IDL enum from a given string 202 : */ 203 : grpc_idl - 204 62 : grpc_get_idl (const gchar *idl_str) + 204 64 : grpc_get_idl (const gchar *idl_str) 205 : { - 206 62 : if (g_ascii_strcasecmp (idl_str, "protobuf") == 0) - 207 48 : return GRPC_IDL_PROTOBUF; + 206 64 : if (g_ascii_strcasecmp (idl_str, "protobuf") == 0) + 207 50 : return GRPC_IDL_PROTOBUF; 208 14 : else if (g_ascii_strcasecmp (idl_str, "flatbuf") == 0) 209 14 : return GRPC_IDL_FLATBUF; 210 : else @@ -277,82 +277,82 @@ 215 : * @brief gRPC C++ wrapper to create the class instance 216 : */ 217 : void * - 218 27 : grpc_new (const grpc_config *config) + 218 28 : grpc_new (const grpc_config *config) 219 : { - 220 27 : g_return_val_if_fail (config != NULL, NULL); + 220 28 : g_return_val_if_fail (config != NULL, NULL); 221 : - 222 27 : NNStreamerRPC *self = NNStreamerRPC::createInstance (config); + 222 28 : NNStreamerRPC *self = NNStreamerRPC::createInstance (config); 223 : - 224 27 : return static_cast<void *> (self); + 224 28 : return static_cast<void *> (self); 225 : } 226 : 227 : /** 228 : * @brief gRPC C++ wrapper to destroy the class instance 229 : */ 230 : void - 231 11 : grpc_destroy (void *instance) + 231 12 : grpc_destroy (void *instance) 232 : { - 233 11 : g_return_if_fail (instance != NULL); + 233 12 : g_return_if_fail (instance != NULL); 234 : - 235 11 : NNStreamerRPC *self = static_cast<NNStreamerRPC *> (instance); - 236 11 : void *handle = self->getModuleHandle (); + 235 12 : NNStreamerRPC *self = static_cast<NNStreamerRPC *> (instance); + 236 12 : void *handle = self->getModuleHandle (); 237 : - 238 11 : delete self; + 238 12 : delete self; 239 : - 240 11 : if (handle) - 241 11 : g_module_close ((GModule *) handle); + 240 12 : if (handle) + 241 12 : g_module_close ((GModule *) handle); 242 : } 243 : 244 : /** 245 : * @brief gRPC C++ wrapper to start gRPC service 246 : */ 247 : gboolean - 248 27 : grpc_start (void *instance) + 248 28 : grpc_start (void *instance) 249 : { - 250 27 : g_return_val_if_fail (instance != NULL, FALSE); + 250 28 : g_return_val_if_fail (instance != NULL, FALSE); 251 : - 252 27 : NNStreamerRPC *self = static_cast<NNStreamerRPC *> (instance); + 252 28 : NNStreamerRPC *self = static_cast<NNStreamerRPC *> (instance); 253 : - 254 27 : return self->start (); + 254 28 : return self->start (); 255 : } 256 : 257 : /** 258 : * @brief gRPC C++ wrapper to stop service 259 : */ 260 : void - 261 38 : grpc_stop (void *instance) + 261 40 : grpc_stop (void *instance) 262 : { - 263 38 : g_return_if_fail (instance != NULL); + 263 40 : g_return_if_fail (instance != NULL); 264 : - 265 38 : grpc::NNStreamerRPC *self = static_cast<grpc::NNStreamerRPC *> (instance); + 265 40 : grpc::NNStreamerRPC *self = static_cast<grpc::NNStreamerRPC *> (instance); 266 : - 267 38 : self->stop (); + 267 40 : self->stop (); 268 : } 269 : 270 : /** 271 : * @brief gRPC C++ wrapper to send messages 272 : */ 273 : gboolean - 274 80 : grpc_send (void *instance, GstBuffer *buffer) + 274 90 : grpc_send (void *instance, GstBuffer *buffer) 275 : { - 276 80 : g_return_val_if_fail (instance != NULL, FALSE); + 276 90 : g_return_val_if_fail (instance != NULL, FALSE); 277 : - 278 80 : grpc::NNStreamerRPC *self = static_cast<grpc::NNStreamerRPC *> (instance); + 278 90 : grpc::NNStreamerRPC *self = static_cast<grpc::NNStreamerRPC *> (instance); 279 : - 280 80 : return self->send (buffer); + 280 90 : return self->send (buffer); 281 : } 282 : 283 : /** 284 : * @brief get gRPC listening port of the server instance 285 : */ 286 : int - 287 11 : grpc_get_listening_port (void *instance) + 287 12 : grpc_get_listening_port (void *instance) 288 : { - 289 11 : g_return_val_if_fail (instance != NULL, -EINVAL); + 289 12 : g_return_val_if_fail (instance != NULL, -EINVAL); 290 : - 291 11 : NNStreamerRPC *self = static_cast<NNStreamerRPC *> (instance); + 291 12 : NNStreamerRPC *self = static_cast<NNStreamerRPC *> (instance); 292 : - 293 11 : return self->getListeningPort (); + 293 12 : return self->getListeningPort (); 294 : } 295 : 296 : #define silent_debug(...) \ @@ -378,36 +378,36 @@ 316 : * @brief set-prop common for both grpc elements 317 : */ 318 : void - 319 137 : grpc_common_set_property (GObject *self, gboolean *silent, grpc_private *grpc, + 319 142 : grpc_common_set_property (GObject *self, gboolean *silent, grpc_private *grpc, 320 : guint prop_id, const GValue *value, GParamSpec *pspec) 321 : { - 322 137 : switch (prop_id) { + 322 142 : switch (prop_id) { 323 2 : case PROP_SILENT: 324 2 : *silent = g_value_get_boolean (value); 325 2 : silent_debug ("Set silent = %d", *silent); 326 2 : break; - 327 21 : case PROP_SERVER: - 328 21 : grpc->config.is_server = g_value_get_boolean (value); - 329 21 : silent_debug ("Set server = %d", grpc->config.is_server); - 330 21 : break; - 331 27 : case PROP_BLOCKING: - 332 27 : grpc->config.is_blocking = g_value_get_boolean (value); - 333 27 : silent_debug ("Set blocking = %d", grpc->config.is_blocking); - 334 27 : break; - 335 27 : case PROP_IDL: + 327 22 : case PROP_SERVER: + 328 22 : grpc->config.is_server = g_value_get_boolean (value); + 329 22 : silent_debug ("Set server = %d", grpc->config.is_server); + 330 22 : break; + 331 28 : case PROP_BLOCKING: + 332 28 : grpc->config.is_blocking = g_value_get_boolean (value); + 333 28 : silent_debug ("Set blocking = %d", grpc->config.is_blocking); + 334 28 : break; + 335 28 : case PROP_IDL: 336 : { - 337 27 : const gchar *idl_str = g_value_get_string (value); + 337 28 : const gchar *idl_str = g_value_get_string (value); 338 : - 339 27 : if (idl_str) { - 340 27 : grpc_idl idl = grpc_get_idl (idl_str); - 341 27 : if (idl != GRPC_IDL_NONE) { - 342 27 : grpc->config.idl = idl; - 343 27 : silent_debug ("Set idl = %s", idl_str); + 339 28 : if (idl_str) { + 340 28 : grpc_idl idl = grpc_get_idl (idl_str); + 341 28 : if (idl != GRPC_IDL_NONE) { + 342 28 : grpc->config.idl = idl; + 343 28 : silent_debug ("Set idl = %s", idl_str); 344 : } else { 345 0 : ml_loge ("Invalid IDL string provided: %s", idl_str); 346 : } 347 : } - 348 27 : break; + 348 28 : break; 349 : } 350 12 : case PROP_HOST: 351 : { @@ -426,15 +426,15 @@ 364 : } 365 12 : break; 366 : } - 367 48 : case PROP_PORT: - 368 48 : grpc->config.port = g_value_get_int (value); - 369 48 : silent_debug ("Set port = %d", grpc->config.port); - 370 48 : break; + 367 50 : case PROP_PORT: + 368 50 : grpc->config.port = g_value_get_int (value); + 369 50 : silent_debug ("Set port = %d", grpc->config.port); + 370 50 : break; 371 0 : default: 372 0 : G_OBJECT_WARN_INVALID_PROPERTY_ID (self, prop_id, pspec); 373 0 : break; 374 : } - 375 137 : } + 375 142 : } 376 : 377 : /** 378 : * @brief get-prop common for both grpc elements diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.h.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.h.func-c.html index 323f2461d..a989cefcd 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.h.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.h.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.h - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.h - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 78.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 66.7 % @@ -79,14 +79,14 @@ _ZN4grpc13NNStreamerRPC15getModuleHandleEv - 11 + 12 _ZN4grpc13NNStreamerRPC16getListeningPortEv - 11 + 12 @@ -100,7 +100,7 @@ _ZN4grpc13NNStreamerRPC15setModuleHandleEPv - 27 + 28 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.h.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.h.func.html index ba92041fb..c898a8eb8 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.h.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.h.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.h - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.h - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 78.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 66.7 % @@ -86,21 +86,21 @@ _ZN4grpc13NNStreamerRPC15getModuleHandleEv - 11 + 12 _ZN4grpc13NNStreamerRPC15setModuleHandleEPv - 27 + 28 _ZN4grpc13NNStreamerRPC16getListeningPortEv - 11 + 12 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.h.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.h.gcov.html index 126f31eb5..4a2f200b0 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.h.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.h.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.h + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_common.h @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 78.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 66.7 % @@ -103,22 +103,22 @@ 41 : gboolean send (GstBuffer *buffer); 42 : 43 : /** @brief get gRPC listening port (server only) */ - 44 11 : int getListeningPort () { - 45 11 : if (is_server_) - 46 11 : return port_; + 44 12 : int getListeningPort () { + 45 12 : if (is_server_) + 46 12 : return port_; 47 : else 48 0 : return -EINVAL; 49 : } 50 : 51 : /** @brief set library module handle */ - 52 27 : void setModuleHandle (void * handle) { - 53 27 : if (handle_ == NULL) - 54 27 : handle_ = handle; - 55 27 : } + 52 28 : void setModuleHandle (void * handle) { + 53 28 : if (handle_ == NULL) + 54 28 : handle_ = handle; + 55 28 : } 56 : 57 : /** @brief get library module handle */ - 58 11 : void *getModuleHandle () { - 59 11 : return handle_; + 58 12 : void *getModuleHandle () { + 59 12 : return handle_; 60 : } 61 : 62 : /** @brief get the grpc direction */ diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.cc.func-c.html index 0871f1b04..8b03d92f1 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 84.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.cc.func.html index cc9af418b..e38036cee 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 84.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.cc.gcov.html index e085c0a74..16d7a048b 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 84.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -594,22 +594,22 @@ 532 4 : new AsyncCallDataClient (this, client_stub_.get (), &cq); 533 : 534 : /* until the stop is called */ - 535 161 : while (!stop_) { + 535 160 : while (!stop_) { 536 : void *tag; 537 : bool ok; 538 : 539 : /* 10 msec deadline to wait the next event */ - 540 157 : gpr_timespec deadline = gpr_time_add ( + 540 156 : gpr_timespec deadline = gpr_time_add ( 541 : gpr_now (GPR_CLOCK_MONOTONIC), gpr_time_from_millis (10, GPR_TIMESPAN)); 542 : - 543 157 : switch (cq.AsyncNext (&tag, &ok, deadline)) { + 543 156 : switch (cq.AsyncNext (&tag, &ok, deadline)) { 544 34 : case CompletionQueue::GOT_EVENT: 545 34 : static_cast<AsyncCallDataClient *> (tag)->RunState (ok); 546 34 : if (ok == false) 547 0 : return; 548 34 : break; - 549 123 : default: - 550 123 : break; + 549 122 : default: + 550 122 : break; 551 : } 552 : } 553 4 : } diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.h.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.h.func-c.html index cd31d4a3c..63a3b5c4a 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.h.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.h.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.h - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.h - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 83.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 60.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.h.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.h.func.html index 924841e91..fb6e3cac2 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.h.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.h.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.h - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.h - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 83.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 60.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.h.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.h.gcov.html index e435eafef..e9e348b7e 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.h.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.h.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.h + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_flatbuf.h @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 83.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 60.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.cc.func-c.html index 1386b357f..70ea42605 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 82.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -65,7 +65,7 @@ _ZN4grpc23SyncServiceImplProtobuf11RecvTensorsEPNS_13ServerContextEPKN6google8protobuf5EmptyEPNS_12ServerWriterIN10nnstreamer8protobuf7TensorsEEE - 1 + 2 @@ -98,70 +98,70 @@ - _ZN4grpc19ServiceImplProtobuf14_write_tensorsIPNS_12ClientWriterIN10nnstreamer8protobuf7TensorsEEEEENS_6StatusET_ + _ZN19AsyncCallDataClientC2EPN4grpc24AsyncServiceImplProtobufEPN10nnstreamer8protobuf13TensorService4StubEPNS0_15CompletionQueueE - 3 + 4 - _ZN4grpc19ServiceImplProtobuf14_write_tensorsIPNS_12ServerWriterIN10nnstreamer8protobuf7TensorsEEEEENS_6StatusET_ + _ZN19AsyncCallDataServerC2EPN4grpc24AsyncServiceImplProtobufEPNS0_21ServerCompletionQueueE - 1 + 4 - _ZN4grpc19ServiceImplProtobuf14_write_tensorsIPNS_12ClientWriterIN10nnstreamer8protobuf7TensorsEEEEENS_6StatusET_ + _ZN4grpc19ServiceImplProtobuf13_read_tensorsIPNS_12ClientReaderIN10nnstreamer8protobuf7TensorsEEEEENS_6StatusET_ - 2 + 4 - _ZN4grpc23SyncServiceImplProtobuf12start_serverENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE + _ZN4grpc19ServiceImplProtobuf13_read_tensorsIPNS_12ClientReaderIN10nnstreamer8protobuf7TensorsEEEEENS_6StatusET_ - 3 + 2 - _ZN19AsyncCallDataClientC2EPN4grpc24AsyncServiceImplProtobufEPN10nnstreamer8protobuf13TensorService4StubEPNS0_15CompletionQueueE + _ZN4grpc19ServiceImplProtobuf13_read_tensorsIPNS_12ServerReaderIN10nnstreamer8protobuf7TensorsEEEEENS_6StatusET_ - 4 + 2 - _ZN19AsyncCallDataServerC2EPN4grpc24AsyncServiceImplProtobufEPNS0_21ServerCompletionQueueE + _ZN4grpc19ServiceImplProtobuf14_write_tensorsIPNS_12ClientWriterIN10nnstreamer8protobuf7TensorsEEEEENS_6StatusET_ 4 - _ZN4grpc19ServiceImplProtobuf13_read_tensorsIPNS_12ClientReaderIN10nnstreamer8protobuf7TensorsEEEEENS_6StatusET_ + _ZN4grpc19ServiceImplProtobuf14_write_tensorsIPNS_12ClientWriterIN10nnstreamer8protobuf7TensorsEEEEENS_6StatusET_ - 4 + 2 - _ZN4grpc19ServiceImplProtobuf13_read_tensorsIPNS_12ClientReaderIN10nnstreamer8protobuf7TensorsEEEEENS_6StatusET_ + _ZN4grpc19ServiceImplProtobuf14_write_tensorsIPNS_12ServerWriterIN10nnstreamer8protobuf7TensorsEEEEENS_6StatusET_ 2 - _ZN4grpc19ServiceImplProtobuf13_read_tensorsIPNS_12ServerReaderIN10nnstreamer8protobuf7TensorsEEEEENS_6StatusET_ + _ZN4grpc23SyncServiceImplProtobuf12start_clientENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE - 2 + 4 - _ZN4grpc23SyncServiceImplProtobuf12start_clientENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE + _ZN4grpc23SyncServiceImplProtobuf12start_serverENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 4 @@ -233,21 +233,21 @@ _ZN4grpc23SyncServiceImplProtobufC2EPK11grpc_config - 7 + 8 _ZN4grpc19ServiceImplProtobufC2EPK11grpc_config - 13 + 14 create_instance - 13 + 14 @@ -259,23 +259,23 @@ - _ZN4grpc19ServiceImplProtobuf24_get_tensors_from_bufferEP10_GstBufferRN10nnstreamer8protobuf7TensorsE + _ZN19AsyncCallDataClient8RunStateEb - 35 + 38 - _ZN19AsyncCallDataClient8RunStateEb + _ZN4grpc19ServiceImplProtobuf24_get_tensors_from_bufferEP10_GstBufferRN10nnstreamer8protobuf7TensorsE - 38 + 45 _ZN4grpc19ServiceImplProtobuf12fill_tensorsERN10nnstreamer8protobuf7TensorsE - 40 + 51 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.cc.func.html index 76e734c2b..4405f9b0c 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 82.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -93,7 +93,7 @@ _ZN4grpc19ServiceImplProtobuf12fill_tensorsERN10nnstreamer8protobuf7TensorsE - 40 + 51 @@ -128,7 +128,7 @@ _ZN4grpc19ServiceImplProtobuf14_write_tensorsIPNS_12ClientWriterIN10nnstreamer8protobuf7TensorsEEEEENS_6StatusET_ - 3 + 4 @@ -142,7 +142,7 @@ _ZN4grpc19ServiceImplProtobuf14_write_tensorsIPNS_12ServerWriterIN10nnstreamer8protobuf7TensorsEEEEENS_6StatusET_ - 1 + 2 @@ -156,21 +156,21 @@ _ZN4grpc19ServiceImplProtobuf24_get_tensors_from_bufferEP10_GstBufferRN10nnstreamer8protobuf7TensorsE - 35 + 45 _ZN4grpc19ServiceImplProtobufC2EPK11grpc_config - 13 + 14 _ZN4grpc23SyncServiceImplProtobuf11RecvTensorsEPNS_13ServerContextEPKN6google8protobuf5EmptyEPNS_12ServerWriterIN10nnstreamer8protobuf7TensorsEEE - 1 + 2 @@ -191,7 +191,7 @@ _ZN4grpc23SyncServiceImplProtobuf12start_serverENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE - 3 + 4 @@ -205,7 +205,7 @@ _ZN4grpc23SyncServiceImplProtobufC2EPK11grpc_config - 7 + 8 @@ -289,7 +289,7 @@ create_instance - 13 + 14 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.cc.gcov.html index 827b550b6..47042de99 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 82.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -93,10 +93,10 @@ 31 : using namespace grpc; 32 : 33 : /** @brief constructor */ - 34 13 : ServiceImplProtobuf::ServiceImplProtobuf (const grpc_config *config) - 35 13 : : NNStreamerRPC (config), client_stub_ (nullptr) + 34 14 : ServiceImplProtobuf::ServiceImplProtobuf (const grpc_config *config) + 35 14 : : NNStreamerRPC (config), client_stub_ (nullptr) 36 : { - 37 13 : } + 37 14 : } 38 : 39 : /** @brief parse tensors and deliver the buffer via callback */ 40 : void @@ -114,19 +114,19 @@ 52 : 53 : /** @brief fill tensors from the buffer */ 54 : gboolean - 55 40 : ServiceImplProtobuf::fill_tensors (Tensors &tensors) + 55 51 : ServiceImplProtobuf::fill_tensors (Tensors &tensors) 56 : { 57 : GstDataQueueItem *item; 58 : - 59 40 : if (!gst_data_queue_pop (queue_, &item)) - 60 5 : return FALSE; + 59 51 : if (!gst_data_queue_pop (queue_, &item)) + 60 6 : return FALSE; 61 : - 62 35 : _get_tensors_from_buffer (GST_BUFFER (item->object), tensors); + 62 45 : _get_tensors_from_buffer (GST_BUFFER (item->object), tensors); 63 : - 64 35 : GDestroyNotify destroy = (item->destroy) ? item->destroy : g_free; - 65 35 : destroy (item); + 64 45 : GDestroyNotify destroy = (item->destroy) ? item->destroy : g_free; + 65 45 : destroy (item); 66 : - 67 35 : return TRUE; + 67 45 : return TRUE; 68 : } 69 : 70 : /** @brief read tensors and invoke the registered callback */ @@ -149,19 +149,19 @@ 87 : /** @brief obtain tensors from data queue and send them over gRPC */ 88 : template <typename T> 89 : Status - 90 3 : ServiceImplProtobuf::_write_tensors (T writer) + 90 4 : ServiceImplProtobuf::_write_tensors (T writer) 91 : { - 92 20 : while (1) { - 93 23 : Tensors tensors; + 92 30 : while (1) { + 93 34 : Tensors tensors; 94 : 95 : /* until flushing */ - 96 23 : if (!fill_tensors (tensors)) - 97 3 : break; + 96 34 : if (!fill_tensors (tensors)) + 97 4 : break; 98 : - 99 20 : writer->Write (tensors); + 99 30 : writer->Write (tensors); 100 : } 101 : - 102 3 : return Status::OK; + 102 4 : return Status::OK; 103 : } 104 : 105 : /** @brief convert tensors to buffer */ @@ -190,46 +190,46 @@ 128 : 129 : /** @brief convert buffer to tensors */ 130 : void - 131 35 : ServiceImplProtobuf::_get_tensors_from_buffer (GstBuffer *buffer, Tensors &tensors) + 131 45 : ServiceImplProtobuf::_get_tensors_from_buffer (GstBuffer *buffer, Tensors &tensors) 132 : { 133 : Tensors::frame_rate *fr; 134 : GstTensorInfo *_info; 135 : GstMemory *mem; 136 : GstMapInfo map; 137 : - 138 35 : tensors.set_num_tensor (config_->info.num_tensors); + 138 45 : tensors.set_num_tensor (config_->info.num_tensors); 139 : - 140 35 : fr = tensors.mutable_fr (); - 141 35 : fr->set_rate_n (config_->rate_n); - 142 35 : fr->set_rate_d (config_->rate_d); + 140 45 : fr = tensors.mutable_fr (); + 141 45 : fr->set_rate_n (config_->rate_n); + 142 45 : fr->set_rate_d (config_->rate_d); 143 : - 144 70 : for (guint i = 0; i < config_->info.num_tensors; i++) { - 145 35 : nnstreamer::protobuf::Tensor *tensor = tensors.add_tensor (); + 144 90 : for (guint i = 0; i < config_->info.num_tensors; i++) { + 145 45 : nnstreamer::protobuf::Tensor *tensor = tensors.add_tensor (); 146 : - 147 35 : _info = gst_tensors_info_get_nth_info (&config_->info, i); + 147 45 : _info = gst_tensors_info_get_nth_info (&config_->info, i); 148 : - 149 35 : mem = gst_tensor_buffer_get_nth_memory (buffer, i); - 150 35 : g_assert (gst_memory_map (mem, &map, GST_MAP_READ)); + 149 45 : mem = gst_tensor_buffer_get_nth_memory (buffer, i); + 150 45 : g_assert (gst_memory_map (mem, &map, GST_MAP_READ)); 151 : 152 : /* set tensor info */ 153 : tensor->set_name ("Anonymous"); - 154 35 : tensor->set_type ((Tensor::Tensor_type) _info->type); + 154 45 : tensor->set_type ((Tensor::Tensor_type) _info->type); 155 : - 156 595 : for (guint j = 0; j < NNS_TENSOR_RANK_LIMIT; j++) - 157 560 : tensor->add_dimension (_info->dimension[j]); + 156 765 : for (guint j = 0; j < NNS_TENSOR_RANK_LIMIT; j++) + 157 720 : tensor->add_dimension (_info->dimension[j]); 158 : - 159 35 : tensor->set_data (map.data, map.size); + 159 45 : tensor->set_data (map.data, map.size); 160 : - 161 35 : gst_memory_unmap (mem, &map); - 162 35 : gst_memory_unref (mem); + 161 45 : gst_memory_unmap (mem, &map); + 162 45 : gst_memory_unref (mem); 163 : } - 164 35 : } + 164 45 : } 165 : 166 : /** @brief Constructor of SyncServiceImplProtobuf */ - 167 7 : SyncServiceImplProtobuf::SyncServiceImplProtobuf (const grpc_config *config) - 168 7 : : ServiceImplProtobuf (config) + 167 8 : SyncServiceImplProtobuf::SyncServiceImplProtobuf (const grpc_config *config) + 168 8 : : ServiceImplProtobuf (config) 169 : { - 170 7 : } + 170 8 : } 171 : 172 : /** @brief client-to-server streaming: a client sends tensors */ 173 : Status @@ -241,28 +241,28 @@ 179 : 180 : /** @brief server-to-client streaming: a client receives tensors */ 181 : Status - 182 1 : SyncServiceImplProtobuf::RecvTensors ( + 182 2 : SyncServiceImplProtobuf::RecvTensors ( 183 : ServerContext *context, const Empty *request, ServerWriter<Tensors> *writer) 184 : { - 185 1 : return _write_tensors (writer); + 185 2 : return _write_tensors (writer); 186 : } 187 : 188 : /** @brief start gRPC server handling protobuf */ 189 : gboolean - 190 3 : SyncServiceImplProtobuf::start_server (std::string address) + 190 4 : SyncServiceImplProtobuf::start_server (std::string address) 191 : { 192 : /* listen on the given address without any authentication mechanism */ - 193 3 : ServerBuilder builder; - 194 3 : builder.AddListeningPort (address, grpc::InsecureServerCredentials (), &port_); - 195 3 : builder.RegisterService (this); + 193 4 : ServerBuilder builder; + 194 4 : builder.AddListeningPort (address, grpc::InsecureServerCredentials (), &port_); + 195 4 : builder.RegisterService (this); 196 : 197 : /* start the server */ - 198 3 : server_instance_ = builder.BuildAndStart (); - 199 3 : if (server_instance_.get () == nullptr) + 198 4 : server_instance_ = builder.BuildAndStart (); + 199 4 : if (server_instance_.get () == nullptr) 200 0 : return FALSE; 201 : - 202 3 : return TRUE; - 203 3 : } + 202 4 : return TRUE; + 203 4 : } 204 : 205 : /** @brief start gRPC client handling protobuf */ 206 : gboolean @@ -579,10 +579,10 @@ 517 : 518 : /** @brief create gRPC/Protobuf instance */ 519 : extern "C" void * - 520 13 : create_instance (const grpc_config *config) + 520 14 : create_instance (const grpc_config *config) 521 : { - 522 13 : if (config->is_blocking) - 523 7 : return new SyncServiceImplProtobuf (config); + 522 14 : if (config->is_blocking) + 523 8 : return new SyncServiceImplProtobuf (config); 524 : else 525 6 : return new AsyncServiceImplProtobuf (config); 526 : } diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.h.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.h.func-c.html index 33b192228..19104f25c 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.h.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.h.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.h - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.h - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 83.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 60.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.h.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.h.func.html index 536ec43e6..650fea06b 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.h.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.h.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.h - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.h - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 83.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 60.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.h.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.h.gcov.html index cfa2aebcb..16aab3f35 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.h.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.h.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.h + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_grpc_protobuf.h @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 83.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 60.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_protobuf.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_protobuf.cc.func-c.html index 4086b7736..e237c90a9 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_protobuf.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_protobuf.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_protobuf.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_protobuf.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 83.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_protobuf.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_protobuf.cc.func.html index 6b8e6e0fb..95731a605 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_protobuf.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_protobuf.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_protobuf.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_protobuf.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 83.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_protobuf.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_protobuf.cc.gcov.html index c818f9df2..b2f449bce 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_protobuf.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_protobuf.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_protobuf.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_protobuf.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 83.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_python3_helper.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_python3_helper.cc.func-c.html index 740a275e9..724823d83 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_python3_helper.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_python3_helper.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_python3_helper.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_python3_helper.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 66.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -163,28 +163,28 @@ nnstreamer_python_fini_refcnt - 506 + 507 nnstreamer_python_init_refcnt - 506 + 507 nnstreamer_python_status_check - 506 + 507 _ZNKL15TensorShapeTypeMUlvE_clEv - 541 + 542 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_python3_helper.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_python3_helper.cc.func.html index 851232ff3..f12229464 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_python3_helper.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_python3_helper.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_python3_helper.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_python3_helper.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 66.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -121,7 +121,7 @@ _ZNKL15TensorShapeTypeMUlvE_clEv - 541 + 542 @@ -156,21 +156,21 @@ nnstreamer_python_fini_refcnt - 506 + 507 nnstreamer_python_init_refcnt - 506 + 507 nnstreamer_python_status_check - 506 + 507 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_python3_helper.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_python3_helper.cc.gcov.html index 10d88c15c..be65a6d23 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_python3_helper.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_python3_helper.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_python3_helper.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/extra/nnstreamer_python3_helper.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 66.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -243,22 +243,22 @@ 181 : { NULL, NULL, 0, NULL } }; 182 : 183 : /** @brief Structure for custom type object */ - 184 541 : static PyTypeObject TensorShapeType = [] { + 184 542 : static PyTypeObject TensorShapeType = [] { 185 : #pragma GCC diagnostic push 186 : #pragma GCC diagnostic ignored "-Wmissing-field-initializers" - 187 541 : PyTypeObject ret = { PyVarObject_HEAD_INIT (NULL, 0) }; + 187 542 : PyTypeObject ret = { PyVarObject_HEAD_INIT (NULL, 0) }; 188 : #pragma GCC diagnostic pop - 189 541 : ret.tp_name = "nnstreamer_python.TensorShape"; - 190 541 : ret.tp_basicsize = sizeof (TensorShapeObject); - 191 541 : ret.tp_itemsize = 0; - 192 541 : ret.tp_dealloc = (destructor) TensorShape_dealloc; - 193 541 : ret.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE; - 194 541 : ret.tp_doc = "TensorShape type"; - 195 541 : ret.tp_methods = TensorShape_methods; - 196 541 : ret.tp_members = TensorShape_members; - 197 541 : ret.tp_init = (initproc) TensorShape_init; - 198 541 : ret.tp_new = TensorShape_new; - 199 541 : return ret; + 189 542 : ret.tp_name = "nnstreamer_python.TensorShape"; + 190 542 : ret.tp_basicsize = sizeof (TensorShapeObject); + 191 542 : ret.tp_itemsize = 0; + 192 542 : ret.tp_dealloc = (destructor) TensorShape_dealloc; + 193 542 : ret.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE; + 194 542 : ret.tp_doc = "TensorShape type"; + 195 542 : ret.tp_methods = TensorShape_methods; + 196 542 : ret.tp_members = TensorShape_members; + 197 542 : ret.tp_init = (initproc) TensorShape_init; + 198 542 : ret.tp_new = TensorShape_new; + 199 542 : return ret; 200 : }(); 201 : 202 : #pragma GCC diagnostic push @@ -603,15 +603,15 @@ 541 : * python interpreter by sharing the reference counter. 542 : */ 543 : void - 544 506 : nnstreamer_python_init_refcnt () + 544 507 : nnstreamer_python_init_refcnt () 545 : { - 546 506 : if (!Py_IsInitialized ()) { - 547 438 : Py_Initialize (); + 546 507 : if (!Py_IsInitialized ()) { + 547 439 : Py_Initialize (); 548 : PyEval_InitThreads_IfGood (); - 549 438 : st = PyEval_SaveThread (); + 549 439 : st = PyEval_SaveThread (); 550 : } - 551 506 : python_init_counter++; - 552 506 : } + 551 507 : python_init_counter++; + 552 507 : } 553 : 554 : /** 555 : * @brief Py_Finalize common wrapper for Python subplugins @@ -619,10 +619,10 @@ 557 : * python interpreter by sharing the reference counter. 558 : */ 559 : void - 560 506 : nnstreamer_python_fini_refcnt () + 560 507 : nnstreamer_python_fini_refcnt () 561 : { - 562 506 : python_init_counter--; - 563 506 : if (python_init_counter == 0) { + 562 507 : python_init_counter--; + 563 507 : if (python_init_counter == 0) { 564 : /** 565 : * @todo Python Finalize() is buggy and leaky. 566 : * Do not call it until Python is fixed. (not fixed as in 2023-12) @@ -632,25 +632,25 @@ 570 : Py_Finalize (); 571 : */ 572 : } - 573 506 : } + 573 507 : } 574 : 575 : /** 576 : * @brief Check Py_Init status for python eval functions. 577 : * @return 0 if it's ready. negative error value if it's not ready. 578 : */ 579 : int - 580 506 : nnstreamer_python_status_check () + 580 507 : nnstreamer_python_status_check () 581 : { - 582 506 : if (python_init_counter == 0) { + 582 507 : if (python_init_counter == 0) { 583 0 : fprintf (stderr, "nnstreamer_python_init_refcnt() is not called or it's already closed."); 584 0 : return -EINVAL; 585 : } 586 : - 587 506 : if (!Py_IsInitialized ()) { + 587 507 : if (!Py_IsInitialized ()) { 588 0 : fprintf (stderr, "Py_IsInitialized () is FALSE. If nnstreamer is called by python context, please ignore this error."); 589 0 : return -EINVAL; 590 : } - 591 506 : return 0; + 591 507 : return 0; 592 : } 593 : 594 : #ifdef __cplusplus diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/grpc.c.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/grpc.c.func-c.html index f4e679f9d..c891888a9 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/grpc.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/grpc.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/registerer/grpc.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/registerer/grpc.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 66.7 % @@ -65,14 +65,14 @@ gst_nnstreamer_grpc_init - 46 + 47 gst_plugin_nnstreamer_grpc_get_desc - 46 + 47 @@ -86,7 +86,7 @@ gst_plugin_nnstreamer_grpc_get_desc - 46 + 47 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/grpc.c.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/grpc.c.func.html index c6d3cd605..56b5d5e60 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/grpc.c.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/grpc.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/registerer/grpc.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/registerer/grpc.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 66.7 % @@ -65,21 +65,21 @@ gst_nnstreamer_grpc_init - 46 + 47 gst_plugin_nnstreamer_grpc_get_desc - 46 + 47 gst_plugin_nnstreamer_grpc_get_desc - 46 + 47 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/grpc.c.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/grpc.c.gcov.html index 88e06c4bd..095dc418a 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/grpc.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/grpc.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/registerer/grpc.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/registerer/grpc.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 66.7 % @@ -96,18 +96,18 @@ 34 : * @brief Function to initialize all nnstreamer elements 35 : */ 36 : static gboolean - 37 46 : gst_nnstreamer_grpc_init (GstPlugin * plugin) + 37 47 : gst_nnstreamer_grpc_init (GstPlugin * plugin) 38 : { - 39 46 : NNSTREAMER_GRPC_INIT (plugin, src_grpc, SRC_GRPC); - 40 46 : NNSTREAMER_GRPC_INIT (plugin, sink_grpc, SINK_GRPC); - 41 46 : return TRUE; + 39 47 : NNSTREAMER_GRPC_INIT (plugin, src_grpc, SRC_GRPC); + 40 47 : NNSTREAMER_GRPC_INIT (plugin, sink_grpc, SINK_GRPC); + 41 47 : return TRUE; 42 : } 43 : 44 : #ifndef PACKAGE 45 : #define PACKAGE "nnstreamer_grpc" 46 : #endif 47 : - 48 46 : GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, + 48 47 : GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, 49 : GST_VERSION_MINOR, 50 : nnstreamer_grpc, 51 : "nnstreamer gRPC framework extension", diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/index-sort-f.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/index-sort-f.html index 3e5d490d0..716e086d9 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/index-sort-f.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/index-sort-f.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/registerer + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/registerer @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 66.7 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/index-sort-l.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/index-sort-l.html index 75895f4de..5e6709f78 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/index-sort-l.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/index-sort-l.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/registerer + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/registerer @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 66.7 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/index.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/index.html index 3e575823f..ce1a14157 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/index.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/index.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/registerer + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/registerer @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 66.7 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/tizensensor.c.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/tizensensor.c.func-c.html index d7d074353..d0e18f49b 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/tizensensor.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/tizensensor.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/registerer/tizensensor.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/registerer/tizensensor.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 66.7 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/tizensensor.c.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/tizensensor.c.func.html index c936a5073..6126ca114 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/tizensensor.c.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/tizensensor.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/registerer/tizensensor.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/registerer/tizensensor.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 66.7 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/tizensensor.c.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/tizensensor.c.gcov.html index 4f64411b0..938f6da1e 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/tizensensor.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/registerer/tizensensor.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/registerer/tizensensor.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/registerer/tizensensor.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 66.7 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/index-sort-f.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/index-sort-f.html index 0f3cab75b..69865376b 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/index-sort-f.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/index-sort-f.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 87.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/index-sort-l.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/index-sort-l.html index bafcd5fc0..60a7a174f 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/index-sort-l.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/index-sort-l.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 87.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/index.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/index.html index 6a83dd5e0..f0b86f453 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/index.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/index.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 87.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flatbuf.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flatbuf.cc.func-c.html index 34338d996..3c8951c6d 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flatbuf.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flatbuf.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flatbuf.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flatbuf.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 89.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -72,21 +72,21 @@ fini_fbc - 437 + 438 init_fbc - 437 + 438 _ZN10nnstreamer7flatbufL14fbc_query_capsEPK16GstTensorsConfig - 512 + 513 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flatbuf.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flatbuf.cc.func.html index 91ad39424..67cff52ef 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flatbuf.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flatbuf.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flatbuf.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flatbuf.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 89.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -72,21 +72,21 @@ _ZN10nnstreamer7flatbufL14fbc_query_capsEPK16GstTensorsConfig - 512 + 513 fini_fbc - 437 + 438 init_fbc - 437 + 438 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flatbuf.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flatbuf.cc.gcov.html index 65b4f404f..b86a3e482 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flatbuf.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flatbuf.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flatbuf.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flatbuf.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 89.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -115,10 +115,10 @@ 53 : 54 : /** @brief tensor converter plugin's NNStreamerExternalConverter callback */ 55 : static GstCaps * - 56 512 : fbc_query_caps (const GstTensorsConfig *config) + 56 513 : fbc_query_caps (const GstTensorsConfig *config) 57 : { 58 : UNUSED (config); - 59 512 : return gst_caps_from_string (GST_FLATBUF_TENSOR_CAP_DEFAULT); + 59 513 : return gst_caps_from_string (GST_FLATBUF_TENSOR_CAP_DEFAULT); 60 : } 61 : 62 : /** @brief tensor converter plugin's NNStreamerExternalConverter callback @@ -217,17 +217,17 @@ 155 : #endif /* __cplusplus */ 156 : /** @brief Initialize this object for tensor converter sub-plugin */ 157 : void - 158 437 : init_fbc (void) + 158 438 : init_fbc (void) 159 : { - 160 437 : registerExternalConverter (&flatBuf); - 161 437 : } + 160 438 : registerExternalConverter (&flatBuf); + 161 438 : } 162 : 163 : /** @brief Destruct this object for tensor converter sub-plugin */ 164 : void - 165 437 : fini_fbc (void) + 165 438 : fini_fbc (void) 166 : { - 167 437 : unregisterExternalConverter (flatBuf.name); - 168 437 : } + 167 438 : unregisterExternalConverter (flatBuf.name); + 168 438 : } 169 : #ifdef __cplusplus 170 : } 171 : #endif /* __cplusplus */ diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flexbuf.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flexbuf.cc.func-c.html index fea2c52ca..e8147b4f4 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flexbuf.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flexbuf.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flexbuf.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flexbuf.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 90.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -72,21 +72,21 @@ fini_flxc - 437 + 438 init_flxc - 437 + 438 _ZL15flxc_query_capsPK16GstTensorsConfig - 475 + 476 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flexbuf.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flexbuf.cc.func.html index 2d1124e38..a5bd4ff89 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flexbuf.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flexbuf.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flexbuf.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flexbuf.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 90.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -72,21 +72,21 @@ _ZL15flxc_query_capsPK16GstTensorsConfig - 475 + 476 fini_flxc - 437 + 438 init_flxc - 437 + 438 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flexbuf.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flexbuf.cc.gcov.html index de25736d2..f966c4908 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flexbuf.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flexbuf.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flexbuf.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_flexbuf.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 90.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -138,10 +138,10 @@ 76 : 77 : /** @brief tensor converter plugin's NNStreamerExternalConverter callback */ 78 : static GstCaps * - 79 475 : flxc_query_caps (const GstTensorsConfig *config) + 79 476 : flxc_query_caps (const GstTensorsConfig *config) 80 : { 81 : UNUSED (config); - 82 475 : return gst_caps_from_string (GST_FLEXBUF_CAP_DEFAULT); + 82 476 : return gst_caps_from_string (GST_FLEXBUF_CAP_DEFAULT); 83 : } 84 : 85 : /** @brief tensor converter plugin's NNStreamerExternalConverter callback @@ -239,17 +239,17 @@ 177 : #endif /* __cplusplus */ 178 : /** @brief Initialize this object for tensor converter sub-plugin */ 179 : void - 180 437 : init_flxc (void) + 180 438 : init_flxc (void) 181 : { - 182 437 : registerExternalConverter (&flexBuf); - 183 437 : } + 182 438 : registerExternalConverter (&flexBuf); + 183 438 : } 184 : 185 : /** @brief Destruct this object for tensor converter sub-plugin */ 186 : void - 187 437 : fini_flxc (void) + 187 438 : fini_flxc (void) 188 : { - 189 437 : unregisterExternalConverter (flexBuf.name); - 190 437 : } + 189 438 : unregisterExternalConverter (flexBuf.name); + 190 438 : } 191 : #ifdef __cplusplus 192 : } 193 : #endif /* __cplusplus */ diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_protobuf.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_protobuf.cc.func-c.html index 7043da1d7..b15d8117d 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_protobuf.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_protobuf.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_protobuf.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_protobuf.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -72,21 +72,21 @@ fini_pbc - 437 + 438 init_pbc - 437 + 438 _ZL14pbc_query_capsPK16GstTensorsConfig - 456 + 457 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_protobuf.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_protobuf.cc.func.html index 058c7d8c1..cd4f9a415 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_protobuf.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_protobuf.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_protobuf.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_protobuf.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -72,21 +72,21 @@ _ZL14pbc_query_capsPK16GstTensorsConfig - 456 + 457 fini_pbc - 437 + 438 init_pbc - 437 + 438 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_protobuf.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_protobuf.cc.gcov.html index ff5a72d75..7ad2c14bc 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_protobuf.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_protobuf.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_protobuf.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_protobuf.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -110,10 +110,10 @@ 48 : #endif /* __cplusplus */ 49 : /** @brief tensor converter plugin's NNStreamerExternalConverter callback */ 50 : static GstCaps * - 51 456 : pbc_query_caps (const GstTensorsConfig *config) + 51 457 : pbc_query_caps (const GstTensorsConfig *config) 52 : { 53 : UNUSED (config); - 54 456 : return gst_caps_from_string (GST_PROTOBUF_TENSOR_CAP_DEFAULT); + 54 457 : return gst_caps_from_string (GST_PROTOBUF_TENSOR_CAP_DEFAULT); 55 : } 56 : 57 : /** @brief tensor converter plugin's NNStreamerExternalConverter callback */ @@ -136,17 +136,17 @@ 74 : 75 : /** @brief Initialize this object for tensor converter sub-plugin */ 76 : void - 77 437 : init_pbc (void) + 77 438 : init_pbc (void) 78 : { - 79 437 : registerExternalConverter (&protobuf); - 80 437 : } + 79 438 : registerExternalConverter (&protobuf); + 80 438 : } 81 : 82 : /** @brief Destruct this object for tensor converter sub-plugin */ 83 : void - 84 437 : fini_pbc (void) + 84 438 : fini_pbc (void) 85 : { - 86 437 : unregisterExternalConverter (protobuf.name); - 87 437 : } + 86 438 : unregisterExternalConverter (protobuf.name); + 87 438 : } diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_python3.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_python3.cc.func-c.html index 03e499e6a..584008b2a 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_python3.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_python3.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_python3.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_python3.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 86.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -142,21 +142,21 @@ fini_converter_py - 437 + 438 init_converter_py - 437 + 438 _ZL17python_query_capsPK16GstTensorsConfig - 475 + 476 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_python3.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_python3.cc.func.html index 02fb6663b..245f4f734 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_python3.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_python3.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_python3.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_python3.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 86.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -72,7 +72,7 @@ _ZL17python_query_capsPK16GstTensorsConfig - 475 + 476 @@ -149,14 +149,14 @@ fini_converter_py - 437 + 438 init_converter_py - 437 + 438 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_python3.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_python3.cc.gcov.html index 073a68bc2..a1f30021a 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_python3.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_python3.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_python3.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_python3.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 86.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -372,10 +372,10 @@ 310 : 311 : /** @brief tensor converter plugin's NNStreamerExternalConverter callback */ 312 : static GstCaps * - 313 475 : python_query_caps (const GstTensorsConfig *config) + 313 476 : python_query_caps (const GstTensorsConfig *config) 314 : { 315 : UNUSED (config); - 316 475 : return gst_caps_from_string ("application/octet-stream"); + 316 476 : return gst_caps_from_string ("application/octet-stream"); 317 : } 318 : 319 : /** @@ -445,20 +445,20 @@ 383 : #endif /* __cplusplus */ 384 : /** @brief Initialize this object for tensor converter sub-plugin */ 385 : void - 386 437 : init_converter_py (void) + 386 438 : init_converter_py (void) 387 : { 388 : /** Python should be initialized and finalized only once */ - 389 437 : nnstreamer_python_init_refcnt (); - 390 437 : registerExternalConverter (&Python); - 391 437 : } + 389 438 : nnstreamer_python_init_refcnt (); + 390 438 : registerExternalConverter (&Python); + 391 438 : } 392 : 393 : /** @brief Destruct this object for tensor converter sub-plugin */ 394 : void - 395 437 : fini_converter_py (void) + 395 438 : fini_converter_py (void) 396 : { - 397 437 : nnstreamer_python_status_check (); - 398 437 : nnstreamer_python_fini_refcnt (); - 399 437 : unregisterExternalConverter (Python.name); + 397 438 : nnstreamer_python_status_check (); + 398 438 : nnstreamer_python_fini_refcnt (); + 399 438 : unregisterExternalConverter (Python.name); 400 : /** 401 : * @todo Remove below lines after this issue is addressed. 402 : * Tizen issues: After python version has been upgraded from 3.9.1 to 3.9.10, @@ -470,7 +470,7 @@ 408 : if (Py_IsInitialized()) 409 : Py_Finalize (); 410 : #endif - 411 437 : } + 411 438 : } 412 : #ifdef __cplusplus 413 : } 414 : #endif /* __cplusplus */ diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_util.c.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_util.c.func-c.html index bca45ccc6..9f2e6a023 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_util.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_util.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_util.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_util.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 77.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_util.c.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_util.c.func.html index cbc0efa31..e0aec8568 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_util.c.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_util.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_util.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_util.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 77.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_util.c.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_util.c.gcov.html index a04541d28..50b088886 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_util.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_util.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_util.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_converter/tensor_converter_util.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 77.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/index-sort-f.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/index-sort-f.html index e34b32c24..87e072820 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/index-sort-f.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/index-sort-f.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 79.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 93.4 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/index-sort-l.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/index-sort-l.html index 396b91db1..5857345dd 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/index-sort-l.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/index-sort-l.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 79.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 93.4 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/index.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/index.html index c54ddf333..58937caa7 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/index.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/index.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 79.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 93.4 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssd.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssd.cc.func-c.html index af90d1ba4..98ac45ace 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssd.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssd.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssd.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssd.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 72.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssd.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssd.cc.func.html index d9ebd6edd..0e2064c4b 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssd.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssd.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssd.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssd.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 72.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssd.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssd.cc.gcov.html index 6597bfae1..d42f70500 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssd.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssd.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssd.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssd.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 72.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssdpp.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssdpp.cc.func-c.html index 866258131..588260c90 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssdpp.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssdpp.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssdpp.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssdpp.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 72.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 88.9 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssdpp.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssdpp.cc.func.html index ca92e9bf6..1d7e5b36c 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssdpp.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssdpp.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssdpp.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssdpp.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 72.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 88.9 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssdpp.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssdpp.cc.gcov.html index 3769da4b1..6c1029af2 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssdpp.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssdpp.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssdpp.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mobilenetssdpp.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 72.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 88.9 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mppalmdetection.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mppalmdetection.cc.func-c.html index 45b8b4044..0b687bf7d 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mppalmdetection.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mppalmdetection.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mppalmdetection.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mppalmdetection.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 87.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mppalmdetection.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mppalmdetection.cc.func.html index dec3b56f7..151099ff3 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mppalmdetection.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mppalmdetection.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mppalmdetection.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mppalmdetection.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 87.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mppalmdetection.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mppalmdetection.cc.gcov.html index 606c1711d..5ca0bf7ef 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mppalmdetection.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mppalmdetection.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mppalmdetection.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/mppalmdetection.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 87.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/ovdetection.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/ovdetection.cc.func-c.html index 8992dd12b..8c6e1e506 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/ovdetection.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/ovdetection.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/ovdetection.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/ovdetection.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 27.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 62.5 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/ovdetection.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/ovdetection.cc.func.html index 523098fa1..62f6ef073 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/ovdetection.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/ovdetection.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/ovdetection.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/ovdetection.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 27.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 62.5 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/ovdetection.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/ovdetection.cc.gcov.html index 20e6cbfab..4506fbee4 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/ovdetection.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/ovdetection.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/ovdetection.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/ovdetection.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 27.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 62.5 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/yolo.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/yolo.cc.func-c.html index 8102688f9..ee5282a9d 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/yolo.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/yolo.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/yolo.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/yolo.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 92.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/yolo.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/yolo.cc.func.html index 534b826b2..ec59f8aaf 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/yolo.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/yolo.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/yolo.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/yolo.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 92.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/yolo.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/yolo.cc.gcov.html index 150fc833f..d0a2f189d 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/yolo.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/yolo.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/yolo.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/box_properties/yolo.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 92.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/index-sort-f.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/index-sort-f.html index 527899c01..ed66b34a3 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/index-sort-f.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/index-sort-f.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder @@ -28,16 +28,16 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 83.1 % 1847 - 1534 + 1535 Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 94.8 % @@ -202,11 +202,11 @@ tensordec-pose.c -
83.7%83.7%
+
84.1%84.1%
- 83.7 % + 84.1 % 295 - 247 + 248 100.0 % 16 16 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/index-sort-l.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/index-sort-l.html index 85c7414c0..8c189c607 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/index-sort-l.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/index-sort-l.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder @@ -28,16 +28,16 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 83.1 % 1847 - 1534 + 1535 Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 94.8 % @@ -130,11 +130,11 @@ tensordec-pose.c -
83.7%83.7%
+
84.1%84.1%
- 83.7 % + 84.1 % 295 - 247 + 248 100.0 % 16 16 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/index.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/index.html index 66e4679c1..fc5dec34d 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/index.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/index.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder @@ -28,16 +28,16 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 83.1 % 1847 - 1534 + 1535 Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 94.8 % @@ -178,11 +178,11 @@ tensordec-pose.c -
83.7%83.7%
+
84.1%84.1%
- 83.7 % + 84.1 % 295 - 247 + 248 100.0 % 16 16 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.cc.func-c.html index a2af5f236..d5ef912b3 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 85.1 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.cc.func.html index a9d9d69af..5b063c385 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 85.1 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.cc.gcov.html index 76e129d3e..ee50a4f05 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 85.1 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.h.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.h.func-c.html index 8156a14cc..c77d78534 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.h.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.h.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.h - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.h - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 85.7 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.h.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.h.func.html index 8748e7d44..a54669032 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.h.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.h.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.h - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.h - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 85.7 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.h.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.h.gcov.html index 4246b41b7..a05e534ee 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.h.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.h.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.h + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-boundingbox.h @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 85.7 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-directvideo.c.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-directvideo.c.func-c.html index 17c77d9d0..8ef4c1e44 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-directvideo.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-directvideo.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-directvideo.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-directvideo.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.1 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-directvideo.c.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-directvideo.c.func.html index f1138a664..27f59aea1 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-directvideo.c.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-directvideo.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-directvideo.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-directvideo.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.1 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-directvideo.c.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-directvideo.c.gcov.html index 3ef38c5fb..6fd5d53ca 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-directvideo.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-directvideo.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-directvideo.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-directvideo.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.1 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flatbuf.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flatbuf.cc.func-c.html index 311939fc4..53fa7b186 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flatbuf.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flatbuf.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flatbuf.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flatbuf.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 86.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 85.7 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flatbuf.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flatbuf.cc.func.html index c66c3dfbb..ab1df3515 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flatbuf.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flatbuf.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flatbuf.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flatbuf.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 86.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 85.7 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flatbuf.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flatbuf.cc.gcov.html index 48d76200f..5dec36677 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flatbuf.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flatbuf.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flatbuf.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flatbuf.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 86.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 85.7 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flexbuf.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flexbuf.cc.func-c.html index 1067000e5..9b6c18c0d 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flexbuf.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flexbuf.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flexbuf.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flexbuf.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 86.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 88.9 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flexbuf.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flexbuf.cc.func.html index f8a9ba938..c3c800659 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flexbuf.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flexbuf.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flexbuf.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flexbuf.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 86.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 88.9 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flexbuf.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flexbuf.cc.gcov.html index 464a5dfc7..7a0c47753 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flexbuf.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flexbuf.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flexbuf.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-flexbuf.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 86.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 88.9 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagelabel.c.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagelabel.c.func-c.html index ff3022863..28b9063e5 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagelabel.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagelabel.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagelabel.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagelabel.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 81.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagelabel.c.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagelabel.c.func.html index 2d45d5c93..e6e0aca7b 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagelabel.c.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagelabel.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagelabel.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagelabel.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 81.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagelabel.c.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagelabel.c.gcov.html index 98cb0785f..0715eba28 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagelabel.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagelabel.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagelabel.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagelabel.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 81.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagesegment.c.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagesegment.c.func-c.html index 73ecce53d..2b755260e 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagesegment.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagesegment.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagesegment.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagesegment.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 78.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 88.2 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagesegment.c.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagesegment.c.func.html index 828a565be..e10c14dd2 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagesegment.c.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagesegment.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagesegment.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagesegment.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 78.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 88.2 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagesegment.c.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagesegment.c.gcov.html index a25fac8df..fa59f5d1c 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagesegment.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagesegment.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagesegment.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-imagesegment.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 78.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 88.2 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-octetstream.c.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-octetstream.c.func-c.html index 684ff2632..8d23c54a7 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-octetstream.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-octetstream.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-octetstream.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-octetstream.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 85.7 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-octetstream.c.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-octetstream.c.func.html index ee6066974..997e3ae76 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-octetstream.c.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-octetstream.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-octetstream.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-octetstream.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 85.7 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-octetstream.c.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-octetstream.c.gcov.html index adcd61303..6adfc8233 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-octetstream.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-octetstream.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-octetstream.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-octetstream.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 85.7 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-pose.c.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-pose.c.func-c.html index 4067645db..1fee6ecd1 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-pose.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-pose.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-pose.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-pose.c - functions @@ -28,16 +28,16 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: - 83.7 % + 84.1 % 295 - 247 + 248 Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -149,28 +149,28 @@ draw_line_with_dot - 658 + 640 pose_get_metadata_by_id - 1288 + 1264 setpixel - 4992 + 4560 is_value_within - 9984 + 9120 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-pose.c.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-pose.c.func.html index 1dcf7bbde..0774902dc 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-pose.c.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-pose.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-pose.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-pose.c - functions @@ -28,16 +28,16 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: - 83.7 % + 84.1 % 295 - 247 + 248 Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -86,7 +86,7 @@ draw_line_with_dot - 658 + 640 @@ -107,7 +107,7 @@ is_value_within - 9984 + 9120 @@ -142,7 +142,7 @@ pose_get_metadata_by_id - 1288 + 1264 @@ -170,7 +170,7 @@ setpixel - 4992 + 4560 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-pose.c.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-pose.c.gcov.html index 6785774ce..b7f245d4b 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-pose.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-pose.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-pose.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-pose.c @@ -28,16 +28,16 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: - 83.7 % + 84.1 % 295 - 247 + 248 Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -367,14 +367,14 @@ 305 : 306 : /** @brief Return pose metadata by id */ 307 : static inline pose_metadata_t * - 308 1288 : pose_get_metadata_by_id (pose_data * data, guint id) + 308 1264 : pose_get_metadata_by_id (pose_data * data, guint id) 309 : { - 310 1288 : pose_metadata_t *md = data->metadata; + 310 1264 : pose_metadata_t *md = data->metadata; 311 : - 312 1288 : if (id > data->total_labels) + 312 1264 : if (id > data->total_labels) 313 0 : return NULL; 314 : - 315 1288 : return &md[id]; + 315 1264 : return &md[id]; 316 : } 317 : 318 : /** @brief tensordec-plugin's TensorDecDef callback */ @@ -589,14 +589,14 @@ 527 : * @return TRUE if the value is within the bounds, otherwise FALSE 528 : */ 529 : static gboolean - 530 9984 : is_value_within(int value, int lower_b, int upper_b) + 530 9120 : is_value_within(int value, int lower_b, int upper_b) 531 : { - 532 9984 : if (value < lower_b) { + 532 9120 : if (value < lower_b) { 533 0 : return FALSE; - 534 9984 : } else if (value >= upper_b) { + 534 9120 : } else if (value >= upper_b) { 535 0 : return FALSE; 536 : } else { - 537 9984 : return TRUE; + 537 9120 : return TRUE; 538 : } 539 : } 540 : @@ -607,22 +607,22 @@ 545 : * @param[in] coordinate of pixel 546 : */ 547 : static void - 548 4992 : setpixel (uint32_t * frame, pose_data * data, int x, int y) + 548 4560 : setpixel (uint32_t * frame, pose_data * data, int x, int y) 549 : { - 550 4992 : if (is_value_within(x, 0, data->width) && is_value_within(y, 0, data->height)) { - 551 4992 : uint32_t *pos = &frame[y * data->width + x]; - 552 4992 : *pos = PIXEL_VALUE; + 550 4560 : if (is_value_within(x, 0, data->width) && is_value_within(y, 0, data->height)) { + 551 4560 : uint32_t *pos = &frame[y * data->width + x]; + 552 4560 : *pos = PIXEL_VALUE; 553 : - 554 4992 : if (x + 1 < (int) data->width) { - 555 4992 : pos = &frame[y * data->width + x + 1]; - 556 4992 : *pos = PIXEL_VALUE; + 554 4560 : if (x + 1 < (int) data->width) { + 555 4560 : pos = &frame[y * data->width + x + 1]; + 556 4560 : *pos = PIXEL_VALUE; 557 : } - 558 4992 : if (y + 1 < (int) data->height) { - 559 4992 : pos = &frame[(y + 1) * data->width + x]; - 560 4992 : *pos = PIXEL_VALUE; + 558 4560 : if (y + 1 < (int) data->height) { + 559 4560 : pos = &frame[(y + 1) * data->width + x]; + 560 4560 : *pos = PIXEL_VALUE; 561 : } 562 : } - 563 4992 : } + 563 4560 : } 564 : 565 : /** 566 : * @brief Draw line with dot at the end of line @@ -631,67 +631,67 @@ 569 : * @param[in] coordinate of two end point of line 570 : */ 571 : static void - 572 658 : draw_line_with_dot (uint32_t * frame, pose_data * data, int x1, int y1, int x2, + 572 640 : draw_line_with_dot (uint32_t * frame, pose_data * data, int x1, int y1, int x2, 573 : int y2) 574 : { 575 : int i, dx, sx, dy, sy, err; 576 : uint32_t *pos; - 577 658 : int xx[40] = + 577 640 : int xx[40] = 578 : { -4, 0, 4, 0, -3, -3, -3, -2, -2, -2, -2, -2, -1, -1, -1, -1, -1, -1, -1, 579 : 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3 580 : }; - 581 658 : int yy[40] = + 581 640 : int yy[40] = 582 : { 0, -4, 0, 4, -1, 0, 1, -2, -1, 0, 1, 2, -3, -2, -1, 0, 1, 2, 3, -3, -2, 583 : -1, 1, 2, 3, -3, -2, -1, 0, 1, 2, 3, -2, -1, 0, 1, 2, -1, 0, 1 584 : }; 585 : 586 : int xs, ys, xe, ye; 587 : - 588 658 : if (x1 > x2) { - 589 88 : xs = x2; - 590 88 : ys = y2; - 591 88 : xe = x1; - 592 88 : ye = y1; + 588 640 : if (x1 > x2) { + 589 80 : xs = x2; + 590 80 : ys = y2; + 591 80 : xe = x1; + 592 80 : ye = y1; 593 : } else { - 594 570 : xs = x1; - 595 570 : ys = y1; - 596 570 : xe = x2; - 597 570 : ye = y2; + 594 560 : xs = x1; + 595 560 : ys = y1; + 596 560 : xe = x2; + 597 560 : ye = y2; 598 : } 599 : 600 : - 601 26978 : for (i = 0; i < 40; i++) { - 602 26320 : if ((ys + yy[i] >= 0) && (ys + yy[i] < (int) data->height) && - 603 15792 : (xs + xx[i] >= 0) && (xs + xx[i] < (int) data->width)) { - 604 9392 : pos = &frame[(ys + yy[i]) * data->width + xs + xx[i]]; - 605 9392 : *pos = PIXEL_VALUE; + 601 26240 : for (i = 0; i < 40; i++) { + 602 25600 : if ((ys + yy[i] >= 0) && (ys + yy[i] < (int) data->height) && + 603 15360 : (xs + xx[i] >= 0) && (xs + xx[i] < (int) data->width)) { + 604 8960 : pos = &frame[(ys + yy[i]) * data->width + xs + xx[i]]; + 605 8960 : *pos = PIXEL_VALUE; 606 : } - 607 26320 : if ((ye + yy[i] >= 0) && (ye + yy[i] < (int) data->height) && - 608 15792 : (xe + xx[i] >= 0) && (xe + xx[i] < (int) data->width)) { - 609 11392 : pos = &frame[(ye + yy[i]) * data->width + xe + xx[i]]; - 610 11392 : *pos = PIXEL_VALUE; + 607 25600 : if ((ye + yy[i] >= 0) && (ye + yy[i] < (int) data->height) && + 608 15360 : (xe + xx[i] >= 0) && (xe + xx[i] < (int) data->width)) { + 609 10960 : pos = &frame[(ye + yy[i]) * data->width + xe + xx[i]]; + 610 10960 : *pos = PIXEL_VALUE; 611 : } 612 : } 613 : 614 : - 615 658 : dx = abs (xe - xs); - 616 658 : sx = xs < xe ? 1 : -1; - 617 658 : dy = abs (ye - ys); - 618 658 : sy = ys < ye ? 1 : -1; - 619 658 : err = (dx > dy ? dx : -dy) / 2; + 615 640 : dx = abs (xe - xs); + 616 640 : sx = xs < xe ? 1 : -1; + 617 640 : dy = abs (ye - ys); + 618 640 : sy = ys < ye ? 1 : -1; + 619 640 : err = (dx > dy ? dx : -dy) / 2; 620 : - 621 4992 : while (setpixel (frame, data, xs, ys), xs != xe || ys != ye) { - 622 4334 : int e2 = err; - 623 4334 : if (e2 > -dx) { - 624 4334 : err -= dy; - 625 4334 : xs += sx; + 621 4560 : while (setpixel (frame, data, xs, ys), xs != xe || ys != ye) { + 622 3920 : int e2 = err; + 623 3920 : if (e2 > -dx) { + 624 3920 : err -= dy; + 625 3920 : xs += sx; 626 : } - 627 4334 : if (e2 < dy) { + 627 3920 : if (e2 < dy) { 628 0 : err += dx; 629 0 : ys += sy; 630 : } 631 : } - 632 658 : } + 632 640 : } 633 : 634 : /** 635 : * @brief Draw label with the given results (pose) to the output buffer @@ -710,30 +710,30 @@ 648 : char *label; 649 720 : for (i = 0; i < pose_size; i++) { 650 676 : if (xydata[i].valid) { - 651 644 : pose_metadata_t *md = pose_get_metadata_by_id (data, i); + 651 632 : pose_metadata_t *md = pose_get_metadata_by_id (data, i); 652 : gsize j, label_len; 653 : - 654 644 : x1 = xydata[i].x; - 655 644 : y1 = xydata[i].y; - 656 644 : if (md == NULL) + 654 632 : x1 = xydata[i].x; + 655 632 : y1 = xydata[i].y; + 656 632 : if (md == NULL) 657 0 : continue; - 658 644 : label = md->label; - 659 644 : label_len = label ? strlen (label) : 0; - 660 644 : y1 = MAX (0, (y1 - 14)); - 661 644 : pos1 = &frame[y1 * data->width + x1]; - 662 5578 : for (j = 0; j < label_len; j++) { - 663 4934 : unsigned int char_index = label[j]; - 664 4934 : if ((x1 + 8) > (int) data->width) - 665 0 : break; - 666 4934 : pos2 = pos1; - 667 69076 : for (y2 = 0; y2 < 13; y2++) { - 668 577278 : for (x2 = 0; x2 < 8; x2++) { - 669 513136 : *(pos2 + x2) = singleLineSprite[char_index][y2][x2]; + 658 632 : label = md->label; + 659 632 : label_len = label ? strlen (label) : 0; + 660 632 : y1 = MAX (0, (y1 - 14)); + 661 632 : pos1 = &frame[y1 * data->width + x1]; + 662 5488 : for (j = 0; j < label_len; j++) { + 663 4858 : unsigned int char_index = label[j]; + 664 4858 : if ((x1 + 8) > (int) data->width) + 665 2 : break; + 666 4856 : pos2 = pos1; + 667 67984 : for (y2 = 0; y2 < 13; y2++) { + 668 568152 : for (x2 = 0; x2 < 8; x2++) { + 669 505024 : *(pos2 + x2) = singleLineSprite[char_index][y2][x2]; 670 : } - 671 64142 : pos2 += data->width; + 671 63128 : pos2 += data->width; 672 : } - 673 4934 : x1 += 9; - 674 4934 : pos1 += 9; + 673 4856 : x1 += 9; + 674 4856 : pos1 += 9; 675 : } 676 : } 677 : } @@ -762,27 +762,27 @@ 700 720 : for (i = 0; i < pose_size; i++) { 701 676 : XYdata[i] = &g_array_index (results, pose, i); 702 676 : if (XYdata[i]->prob < 0.5) { - 703 32 : XYdata[i]->valid = FALSE; + 703 44 : XYdata[i]->valid = FALSE; 704 : } 705 : } 706 : 707 720 : for (i = 0; i < pose_size; i++) { 708 : pose_metadata_t *smd; 709 676 : if (XYdata[i]->valid == FALSE) - 710 32 : continue; - 711 644 : smd = pose_get_metadata_by_id (data, i); - 712 644 : if (smd == NULL) + 710 44 : continue; + 711 632 : smd = pose_get_metadata_by_id (data, i); + 712 632 : if (smd == NULL) 713 0 : continue; - 714 1968 : for (j = 0; j < smd->num_connections; j++) { - 715 1324 : guint k = smd->connections[j]; + 714 1928 : for (j = 0; j < smd->num_connections; j++) { + 715 1296 : guint k = smd->connections[j]; 716 : /* Have we already drawn the connection ? */ - 717 1324 : if ((k > data->total_labels) || (k < i)) - 718 662 : continue; + 717 1296 : if ((k > data->total_labels) || (k < i)) + 718 650 : continue; 719 : /* Is the body point valid ? */ - 720 662 : if (XYdata[k]->valid == FALSE) - 721 4 : continue; - 722 658 : draw_line_with_dot (frame, data, - 723 658 : XYdata[i]->x, XYdata[i]->y, XYdata[k]->x, XYdata[k]->y); + 720 646 : if (XYdata[k]->valid == FALSE) + 721 6 : continue; + 722 640 : draw_line_with_dot (frame, data, + 723 640 : XYdata[i]->x, XYdata[i]->y, XYdata[k]->x, XYdata[k]->y); 724 : } 725 : } 726 : @@ -845,9 +845,9 @@ 783 0 : cen = _sigmoid (cen); 784 : } 785 10484 : if (cen > max) { - 786 805 : max = cen; - 787 805 : maxX = i; - 788 805 : maxY = j; + 786 798 : max = cen; + 787 798 : maxX = i; + 788 798 : maxY = j; 789 : } 790 : } 791 : } diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-protobuf.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-protobuf.cc.func-c.html index 38232be74..92afc5236 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-protobuf.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-protobuf.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-protobuf.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-protobuf.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 89.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 85.7 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-protobuf.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-protobuf.cc.func.html index b61d10b06..da774d4ca 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-protobuf.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-protobuf.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-protobuf.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-protobuf.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 89.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 85.7 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-protobuf.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-protobuf.cc.gcov.html index ee061bc86..9c71a9f96 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-protobuf.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-protobuf.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-protobuf.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-protobuf.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 89.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 85.7 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-python3.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-python3.cc.func-c.html index 6b7830168..70c974be0 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-python3.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-python3.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-python3.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-python3.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 78.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 93.3 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-python3.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-python3.cc.func.html index 29039d5bc..0f406c25a 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-python3.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-python3.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-python3.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-python3.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 78.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 93.3 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-python3.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-python3.cc.gcov.html index f748e281e..682f3950b 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-python3.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-python3.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-python3.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-python3.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 78.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 93.3 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-tensor_region.c.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-tensor_region.c.func-c.html index e4f24412f..d687514f6 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-tensor_region.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-tensor_region.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-tensor_region.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-tensor_region.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 76.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-tensor_region.c.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-tensor_region.c.func.html index 7c8289ac3..a84edd6af 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-tensor_region.c.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-tensor_region.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-tensor_region.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-tensor_region.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 76.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-tensor_region.c.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-tensor_region.c.gcov.html index 562e00d47..c49e3ad65 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-tensor_region.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-tensor_region.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-tensor_region.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordec-tensor_region.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 76.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordecutil.c.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordecutil.c.func-c.html index 790a1a03c..838509159 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordecutil.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordecutil.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordecutil.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordecutil.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordecutil.c.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordecutil.c.func.html index 1125b755c..1e93f54d2 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordecutil.c.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordecutil.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordecutil.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordecutil.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordecutil.c.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordecutil.c.gcov.html index 71432767b..29c9f8939 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordecutil.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordecutil.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordecutil.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_decoder/tensordecutil.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/index-sort-f.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/index-sort-f.html index 17409360e..7a2ff4b60 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/index-sort-f.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/index-sort-f.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 72.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 90.3 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/index-sort-l.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/index-sort-l.html index e870d9ff7..866768fb7 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/index-sort-l.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/index-sort-l.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 72.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 90.3 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/index.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/index.html index 70a96e066..ec1cdb46d 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/index.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/index.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 72.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 90.3 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.cc.func-c.html index 2a7ce76cc..35d7c0842 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 84.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 87.5 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.cc.func.html index 9c81ab487..33319ffb0 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 84.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 87.5 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.cc.gcov.html index 13dea7381..95151683b 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 84.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 87.5 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.hh.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.hh.func-c.html index 5ea40f297..dc1ce1d3b 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.hh.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.hh.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.hh - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.hh - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.hh.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.hh.func.html index 7edc420ab..27071b3a9 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.hh.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.hh.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.hh - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.hh - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.hh.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.hh.gcov.html index 990cc7735..ba4de6309 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.hh.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.hh.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.hh + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_cpp.hh @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_lua.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_lua.cc.func-c.html index 442bfe090..608417606 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_lua.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_lua.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_lua.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_lua.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 88.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 95.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_lua.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_lua.cc.func.html index c165ceba1..63c40c51b 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_lua.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_lua.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_lua.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_lua.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 88.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 95.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_lua.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_lua.cc.gcov.html index 5f1182f1b..f05899e71 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_lua.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_lua.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_lua.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_lua.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 88.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 95.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_nnfw.c.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_nnfw.c.func-c.html index 9d37399c5..5c4888248 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_nnfw.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_nnfw.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_nnfw.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_nnfw.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 68.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_nnfw.c.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_nnfw.c.func.html index 397774108..4de34c60e 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_nnfw.c.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_nnfw.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_nnfw.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_nnfw.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 68.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_nnfw.c.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_nnfw.c.gcov.html index bd43437f8..35bd75d67 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_nnfw.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_nnfw.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_nnfw.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_nnfw.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 68.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_onnxruntime.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_onnxruntime.cc.func-c.html index 5bdb38300..1fd7674e3 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_onnxruntime.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_onnxruntime.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_onnxruntime.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_onnxruntime.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 73.1 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 94.4 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_onnxruntime.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_onnxruntime.cc.func.html index 17fc34343..925dbe4e4 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_onnxruntime.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_onnxruntime.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_onnxruntime.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_onnxruntime.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 73.1 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 94.4 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_onnxruntime.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_onnxruntime.cc.gcov.html index c9b728f92..15bee4cd2 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_onnxruntime.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_onnxruntime.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_onnxruntime.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_onnxruntime.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 73.1 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 94.4 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_python3.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_python3.cc.func-c.html index 7a8e0868e..3e6ee8529 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_python3.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_python3.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_python3.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_python3.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 77.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 96.4 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_python3.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_python3.cc.func.html index 15f467204..7e97e2007 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_python3.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_python3.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_python3.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_python3.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 77.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 96.4 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_python3.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_python3.cc.gcov.html index 64f12d489..3bba27eb1 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_python3.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_python3.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_python3.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_python3.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 77.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 96.4 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.cc.func-c.html index 1274e584a..595ec893f 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 76.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 94.8 % @@ -436,35 +436,35 @@ _ZN10TFLiteCore6invokeEPK15GstTensorMemoryPS0_ - 1207 + 1234 _ZN17TFLiteInterpreter6invokeEPK15GstTensorMemoryPS0_ - 1207 + 1234 _ZL13tflite_invokePK26_GstTensorFilterPropertiesPPvPK15GstTensorMemoryPS4_ - 1217 + 1244 _ZN17TFLiteInterpreter4lockEv - 2723 + 2750 _ZN17TFLiteInterpreter6unlockEv - 2723 + 2750 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.cc.func.html index bfb324765..9c02472b9 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 76.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 94.8 % @@ -93,7 +93,7 @@ _ZL13tflite_invokePK26_GstTensorFilterPropertiesPPvPK15GstTensorMemoryPS4_ - 1217 + 1244 @@ -247,7 +247,7 @@ _ZN10TFLiteCore6invokeEPK15GstTensorMemoryPS0_ - 1207 + 1234 @@ -380,21 +380,21 @@ _ZN17TFLiteInterpreter4lockEv - 2723 + 2750 _ZN17TFLiteInterpreter6invokeEPK15GstTensorMemoryPS0_ - 1207 + 1234 _ZN17TFLiteInterpreter6unlockEv - 2723 + 2750 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.cc.gcov.html index f8020b46b..0fb36f794 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 76.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 94.8 % @@ -277,15 +277,15 @@ 215 : } 216 : 217 : /** @brief lock this interpreter */ - 218 2723 : void lock () + 218 2750 : void lock () 219 : { - 220 2723 : g_mutex_lock (&mutex); - 221 2723 : } + 220 2750 : g_mutex_lock (&mutex); + 221 2750 : } 222 : /** @brief unlock this interpreter */ - 223 2723 : void unlock () + 223 2750 : void unlock () 224 : { - 225 2723 : g_mutex_unlock (&mutex); - 226 2723 : } + 225 2750 : g_mutex_unlock (&mutex); + 226 2750 : } 227 : /** @brief cache input and output tensor ptr before invoke */ 228 : int cacheInOutTensorPtr (); 229 : @@ -415,60 +415,60 @@ 353 : * @brief Internal implementation of TFLiteCore's invoke() 354 : */ 355 : int - 356 1207 : TFLiteInterpreter::invoke (const GstTensorMemory *input, GstTensorMemory *output) + 356 1234 : TFLiteInterpreter::invoke (const GstTensorMemory *input, GstTensorMemory *output) 357 : { 358 : int64_t start_time, stop_time; 359 : TfLiteTensor *tensor_ptr; 360 : TfLiteStatus status; 361 : - 362 1207 : start_time = g_get_monotonic_time (); + 362 1234 : start_time = g_get_monotonic_time (); 363 : 364 : /** 365 : * XNNPACK Delegate uses fixed buffer address for input/output tensors. 366 : * Therefore tensor data is to be manually copied from/to input/output 367 : * GStreamer buffers memory whose address changes at every round. 368 : */ - 369 1207 : if (is_xnnpack_delegated) { - 370 1772 : for (unsigned int i = 0; i < inputTensorMeta.num_tensors; ++i) { - 371 886 : tensor_ptr = inputTensorPtr[i]; - 372 886 : g_assert (tensor_ptr->bytes == input[i].size); - 373 886 : memcpy (tensor_ptr->data.raw, input[i].data, input[i].size); + 369 1234 : if (is_xnnpack_delegated) { + 370 1822 : for (unsigned int i = 0; i < inputTensorMeta.num_tensors; ++i) { + 371 911 : tensor_ptr = inputTensorPtr[i]; + 372 911 : g_assert (tensor_ptr->bytes == input[i].size); + 373 911 : memcpy (tensor_ptr->data.raw, input[i].data, input[i].size); 374 : } 375 : } else { - 376 1019 : for (unsigned int i = 0; i < inputTensorMeta.num_tensors; ++i) { - 377 698 : tensor_ptr = inputTensorPtr[i]; - 378 698 : tensor_ptr->data.raw = (char *) input[i].data; + 376 1023 : for (unsigned int i = 0; i < inputTensorMeta.num_tensors; ++i) { + 377 700 : tensor_ptr = inputTensorPtr[i]; + 378 700 : tensor_ptr->data.raw = (char *) input[i].data; 379 : } 380 : - 381 1038 : for (unsigned int i = 0; i < outputTensorMeta.num_tensors; ++i) { - 382 717 : tensor_ptr = outputTensorPtr[i]; - 383 717 : tensor_ptr->data.raw = (char *) output[i].data; + 381 1042 : for (unsigned int i = 0; i < outputTensorMeta.num_tensors; ++i) { + 382 719 : tensor_ptr = outputTensorPtr[i]; + 383 719 : tensor_ptr->data.raw = (char *) output[i].data; 384 : } 385 : } 386 : - 387 1207 : stop_time = g_get_monotonic_time (); + 387 1234 : stop_time = g_get_monotonic_time (); 388 : - 389 1207 : tflite_internal_stats.total_overhead_latency += stop_time - start_time; + 389 1234 : tflite_internal_stats.total_overhead_latency += stop_time - start_time; 390 : - 391 1207 : start_time = g_get_monotonic_time (); - 392 1207 : status = interpreter->Invoke (); + 391 1234 : start_time = g_get_monotonic_time (); + 392 1234 : status = interpreter->Invoke (); 393 : 394 : /** 395 : * After the very first invoke, the output buffer address may change. 396 : * To handle the case, memcpy the output buffer directly. 397 : */ - 398 1207 : if (is_xnnpack_delegated || !is_cached_after_first_invoke) { - 399 2012 : for (unsigned int i = 0; i < outputTensorMeta.num_tensors; ++i) { - 400 1040 : tensor_ptr = outputTensorPtr[i]; - 401 1040 : g_assert (tensor_ptr->bytes == output[i].size); - 402 1040 : memcpy (output[i].data, tensor_ptr->data.raw, output[i].size); + 398 1234 : if (is_xnnpack_delegated || !is_cached_after_first_invoke) { + 399 2062 : for (unsigned int i = 0; i < outputTensorMeta.num_tensors; ++i) { + 400 1065 : tensor_ptr = outputTensorPtr[i]; + 401 1065 : g_assert (tensor_ptr->bytes == output[i].size); + 402 1065 : memcpy (output[i].data, tensor_ptr->data.raw, output[i].size); 403 : } 404 : } 405 : - 406 1207 : stop_time = g_get_monotonic_time (); + 406 1234 : stop_time = g_get_monotonic_time (); 407 : - 408 1207 : tflite_internal_stats.total_invoke_latency += stop_time - start_time; - 409 1207 : tflite_internal_stats.total_invoke_num += 1; + 408 1234 : tflite_internal_stats.total_invoke_latency += stop_time - start_time; + 409 1234 : tflite_internal_stats.total_invoke_num += 1; 410 : 411 : #if (DBG) 412 : ml_logi ("Invoke() is finished: %" G_GINT64_FORMAT "ms, model path: %s", @@ -480,12 +480,12 @@ 418 : tflite_internal_stats.total_overhead_latency); 419 : #endif 420 : - 421 1207 : if (status != kTfLiteOk) { + 421 1234 : if (status != kTfLiteOk) { 422 0 : ml_loge ("Failed to invoke"); 423 0 : return -1; 424 : } 425 : - 426 1207 : if (!is_cached_after_first_invoke) { + 426 1234 : if (!is_cached_after_first_invoke) { 427 87 : if (cacheInOutTensorPtr () == 0) { 428 87 : is_cached_after_first_invoke = true; 429 : } else { @@ -493,7 +493,7 @@ 431 : } 432 : } 433 : - 434 1207 : return 0; + 434 1234 : return 0; 435 : } 436 : 437 : /** @@ -1397,15 +1397,15 @@ 1335 : * @return 0 if OK. non-zero if error. 1336 : */ 1337 : int - 1338 1207 : TFLiteCore::invoke (const GstTensorMemory *input, GstTensorMemory *output) + 1338 1234 : TFLiteCore::invoke (const GstTensorMemory *input, GstTensorMemory *output) 1339 : { 1340 : int err; 1341 : - 1342 1207 : interpreter->lock (); - 1343 1207 : err = interpreter->invoke (input, output); - 1344 1207 : interpreter->unlock (); + 1342 1234 : interpreter->lock (); + 1343 1234 : err = interpreter->invoke (input, output); + 1344 1234 : interpreter->unlock (); 1345 : - 1346 1207 : return err; + 1346 1234 : return err; 1347 : } 1348 : 1349 : /** @@ -1631,14 +1631,14 @@ 1569 : * @return 0 if OK. non-zero if error. 1570 : */ 1571 : static int - 1572 1217 : tflite_invoke (const GstTensorFilterProperties *prop, void **private_data, + 1572 1244 : tflite_invoke (const GstTensorFilterProperties *prop, void **private_data, 1573 : const GstTensorMemory *input, GstTensorMemory *output) 1574 : { - 1575 1217 : TFLiteCore *core = static_cast<TFLiteCore *> (*private_data); - 1576 1217 : g_return_val_if_fail (core && input && output, -EINVAL); + 1575 1244 : TFLiteCore *core = static_cast<TFLiteCore *> (*private_data); + 1576 1244 : g_return_val_if_fail (core && input && output, -EINVAL); 1577 : UNUSED (prop); 1578 : - 1579 1207 : return core->invoke (input, output); + 1579 1234 : return core->invoke (input, output); 1580 : } 1581 : 1582 : /** diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_trix_engine.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_trix_engine.cc.func-c.html index 394a8edbf..162f8224e 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_trix_engine.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_trix_engine.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_trix_engine.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_trix_engine.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 20.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 44.4 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_trix_engine.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_trix_engine.cc.func.html index 4d6272521..69b02fa23 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_trix_engine.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_trix_engine.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_trix_engine.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_trix_engine.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 20.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 44.4 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_trix_engine.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_trix_engine.cc.gcov.html index 55747f07f..9a5be00f6 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_trix_engine.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_trix_engine.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_trix_engine.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_trix_engine.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 20.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 44.4 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tvm.cc.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tvm.cc.func-c.html index 2bcbe8805..a2d52d7ce 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tvm.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tvm.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tvm.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tvm.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 70.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 93.8 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tvm.cc.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tvm.cc.func.html index c2e400360..aae8d2933 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tvm.cc.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tvm.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tvm.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tvm.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 70.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 93.8 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tvm.cc.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tvm.cc.gcov.html index 075da8cd6..78ea8b29b 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tvm.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tvm.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tvm.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_filter/tensor_filter_tvm.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 70.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 93.8 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/index-sort-f.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/index-sort-f.html index 924976a11..ce9fdafae 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/index-sort-f.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/index-sort-f.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_sink + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_sink @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 96.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/index-sort-l.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/index-sort-l.html index 56522ff44..b11f10472 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/index-sort-l.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/index-sort-l.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_sink + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_sink @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 96.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/index.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/index.html index eadcdea33..3893c60b1 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/index.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/index.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_sink + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_sink @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 96.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/tensor_sink_grpc.c.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/tensor_sink_grpc.c.func-c.html index 5d631d500..30f0afa1e 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/tensor_sink_grpc.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/tensor_sink_grpc.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/tensor_sink_grpc.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/tensor_sink_grpc.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 96.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -63,28 +63,28 @@ - gst_tensor_sink_grpc_setcaps + gst_tensor_sink_grpc_get_property - 11 + 12 - gst_tensor_sink_grpc_start + gst_tensor_sink_grpc_setcaps - 11 + 12 - gst_tensor_sink_grpc_stop + gst_tensor_sink_grpc_start - 11 + 12 - gst_tensor_sink_grpc_get_property + gst_tensor_sink_grpc_stop 12 @@ -93,77 +93,77 @@ grpc_config_init - 15 + 16 gst_tensor_sink_grpc_finalize - 15 + 16 gst_tensor_sink_grpc_init - 15 + 16 gst_tensor_sink_grpc_unlock - 22 + 24 gst_tensor_sink_grpc_class_init - 30 + 31 gst_tensor_sink_grpc_set_property - 56 + 61 gst_tensor_sink_grpc_render - 80 + 90 gst_tensor_sink_grpc_get_type - 408 + 437 gst_tensor_sink_grpc_class_intern_init - 30 + 31 gst_tensor_sink_grpc_get_type_once - 46 + 47 gst_tensor_sink_grpc_get_type - 332 + 359 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/tensor_sink_grpc.c.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/tensor_sink_grpc.c.func.html index 84d96eddb..5bebc423f 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/tensor_sink_grpc.c.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/tensor_sink_grpc.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/tensor_sink_grpc.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/tensor_sink_grpc.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 96.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -65,21 +65,21 @@ grpc_config_init - 15 + 16 gst_tensor_sink_grpc_class_init - 30 + 31 gst_tensor_sink_grpc_finalize - 15 + 16 @@ -93,77 +93,77 @@ gst_tensor_sink_grpc_get_type - 408 + 437 gst_tensor_sink_grpc_class_intern_init - 30 + 31 gst_tensor_sink_grpc_get_type - 332 + 359 gst_tensor_sink_grpc_get_type_once - 46 + 47 gst_tensor_sink_grpc_init - 15 + 16 gst_tensor_sink_grpc_render - 80 + 90 gst_tensor_sink_grpc_set_property - 56 + 61 gst_tensor_sink_grpc_setcaps - 11 + 12 gst_tensor_sink_grpc_start - 11 + 12 gst_tensor_sink_grpc_stop - 11 + 12 gst_tensor_sink_grpc_unlock - 22 + 24 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/tensor_sink_grpc.c.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/tensor_sink_grpc.c.gcov.html index b9f590cf0..bf0f32b49 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/tensor_sink_grpc.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/tensor_sink_grpc.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/tensor_sink_grpc.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_sink/tensor_sink_grpc.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 96.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -180,190 +180,190 @@ 118 : 119 : /** internal functions */ 120 : #define gst_tensor_sink_grpc_parent_class parent_class - 121 408 : G_DEFINE_TYPE (GstTensorSinkGRPC, gst_tensor_sink_grpc, GST_TYPE_BASE_SINK); + 121 437 : G_DEFINE_TYPE (GstTensorSinkGRPC, gst_tensor_sink_grpc, GST_TYPE_BASE_SINK); 122 : 123 : /** 124 : * @brief initialize the tensor_sink_grpc class. 125 : */ 126 : static void - 127 30 : gst_tensor_sink_grpc_class_init (GstTensorSinkGRPCClass * klass) + 127 31 : gst_tensor_sink_grpc_class_init (GstTensorSinkGRPCClass * klass) 128 : { 129 : GObjectClass *gobject_class; 130 : GstElementClass *gstelement_class; 131 : GstBaseSinkClass *gstbasesink_class; 132 : - 133 30 : gobject_class = (GObjectClass *) klass; - 134 30 : gstelement_class = (GstElementClass *) klass; - 135 30 : gstbasesink_class = (GstBaseSinkClass *) klass; + 133 31 : gobject_class = (GObjectClass *) klass; + 134 31 : gstelement_class = (GstElementClass *) klass; + 135 31 : gstbasesink_class = (GstBaseSinkClass *) klass; 136 : - 137 30 : parent_class = g_type_class_peek_parent (klass); + 137 31 : parent_class = g_type_class_peek_parent (klass); 138 : - 139 30 : gobject_class->set_property = gst_tensor_sink_grpc_set_property; - 140 30 : gobject_class->get_property = gst_tensor_sink_grpc_get_property; - 141 30 : gobject_class->finalize = gst_tensor_sink_grpc_finalize; + 139 31 : gobject_class->set_property = gst_tensor_sink_grpc_set_property; + 140 31 : gobject_class->get_property = gst_tensor_sink_grpc_get_property; + 141 31 : gobject_class->finalize = gst_tensor_sink_grpc_finalize; 142 : 143 : /* install properties */ - 144 30 : g_object_class_install_property (gobject_class, PROP_SILENT, + 144 31 : g_object_class_install_property (gobject_class, PROP_SILENT, 145 : g_param_spec_boolean ("silent", "Silent", 146 : "Dont' produce verbose output", 147 : DEFAULT_PROP_SILENT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 148 : - 149 30 : g_object_class_install_property (gobject_class, PROP_SERVER, + 149 31 : g_object_class_install_property (gobject_class, PROP_SERVER, 150 : g_param_spec_boolean ("server", "Server", 151 : "Specify its working mode either server or client", 152 : DEFAULT_PROP_SERVER, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 153 : - 154 30 : g_object_class_install_property (gobject_class, PROP_BLOCKING, + 154 31 : g_object_class_install_property (gobject_class, PROP_BLOCKING, 155 : g_param_spec_boolean ("blocking", "Blocking", 156 : "Specify its working mode either blocking or non-blocking", 157 : DEFAULT_PROP_BLOCKING, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 158 : - 159 30 : g_object_class_install_property (gobject_class, PROP_IDL, + 159 31 : g_object_class_install_property (gobject_class, PROP_IDL, 160 : g_param_spec_string ("idl", "IDL", 161 : "Specify Interface Description Language (IDL) for communication", 162 : DEFAULT_PROP_IDL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 163 : - 164 30 : g_object_class_install_property (gobject_class, PROP_HOST, + 164 31 : g_object_class_install_property (gobject_class, PROP_HOST, 165 : g_param_spec_string ("host", "Host", "The host/IP to send the packets to", 166 : DEFAULT_PROP_HOST, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 167 : - 168 30 : g_object_class_install_property (gobject_class, PROP_PORT, + 168 31 : g_object_class_install_property (gobject_class, PROP_PORT, 169 : g_param_spec_int ("port", "Port", "The port to send the packets to", 170 : 0, G_MAXUSHORT, DEFAULT_PROP_PORT, 171 : G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 172 : - 173 30 : g_object_class_install_property (gobject_class, PROP_OUT, + 173 31 : g_object_class_install_property (gobject_class, PROP_OUT, 174 : g_param_spec_uint ("out", "Out", 175 : "The number of output messages generated", 176 : 0, G_MAXUINT, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); 177 : - 178 30 : gst_element_class_add_static_pad_template (gstelement_class, &sinktemplate); + 178 31 : gst_element_class_add_static_pad_template (gstelement_class, &sinktemplate); 179 : - 180 30 : gst_element_class_set_static_metadata (gstelement_class, + 180 31 : gst_element_class_set_static_metadata (gstelement_class, 181 : "TensorSinkGRPC", "Sink/Network", 182 : "Send nnstreamer protocol buffers as gRPC server/client", 183 : "Dongju Chae <dongju.chae@samsung.com>"); 184 : 185 : /* GstBaseSinkClass */ - 186 30 : gstbasesink_class->start = gst_tensor_sink_grpc_start; - 187 30 : gstbasesink_class->stop = gst_tensor_sink_grpc_stop; - 188 30 : gstbasesink_class->set_caps = gst_tensor_sink_grpc_setcaps; - 189 30 : gstbasesink_class->render = gst_tensor_sink_grpc_render; - 190 30 : gstbasesink_class->unlock = gst_tensor_sink_grpc_unlock; + 186 31 : gstbasesink_class->start = gst_tensor_sink_grpc_start; + 187 31 : gstbasesink_class->stop = gst_tensor_sink_grpc_stop; + 188 31 : gstbasesink_class->set_caps = gst_tensor_sink_grpc_setcaps; + 189 31 : gstbasesink_class->render = gst_tensor_sink_grpc_render; + 190 31 : gstbasesink_class->unlock = gst_tensor_sink_grpc_unlock; 191 : - 192 30 : GST_DEBUG_CATEGORY_INIT (gst_tensor_sink_grpc_debug, + 192 31 : GST_DEBUG_CATEGORY_INIT (gst_tensor_sink_grpc_debug, 193 : "tensor_sink_grpc", 0, 194 : "sink element to support protocol buffers as a gRPC server/client"); - 195 30 : } + 195 31 : } 196 : 197 : /** 198 : * @brief initialize grpc config. 199 : */ 200 : static void - 201 15 : grpc_config_init (GstTensorSinkGRPC * self) + 201 16 : grpc_config_init (GstTensorSinkGRPC * self) 202 : { - 203 15 : grpc_private *grpc = GET_GRPC_PRIVATE (self); + 203 16 : grpc_private *grpc = GET_GRPC_PRIVATE (self); 204 : - 205 15 : grpc->config.is_server = DEFAULT_PROP_SERVER; - 206 15 : grpc->config.is_blocking = DEFAULT_PROP_BLOCKING; - 207 15 : grpc->config.idl = grpc_get_idl (DEFAULT_PROP_IDL); - 208 15 : grpc->config.dir = GRPC_DIRECTION_TENSORS_TO_BUFFER; - 209 15 : grpc->config.port = DEFAULT_PROP_PORT; - 210 15 : grpc->config.host = g_strdup (DEFAULT_PROP_HOST); - 211 15 : grpc->config.config = &self->config; - 212 15 : } + 205 16 : grpc->config.is_server = DEFAULT_PROP_SERVER; + 206 16 : grpc->config.is_blocking = DEFAULT_PROP_BLOCKING; + 207 16 : grpc->config.idl = grpc_get_idl (DEFAULT_PROP_IDL); + 208 16 : grpc->config.dir = GRPC_DIRECTION_TENSORS_TO_BUFFER; + 209 16 : grpc->config.port = DEFAULT_PROP_PORT; + 210 16 : grpc->config.host = g_strdup (DEFAULT_PROP_HOST); + 211 16 : grpc->config.config = &self->config; + 212 16 : } 213 : 214 : /** 215 : * @brief initialize tensor_sink_grpc element. 216 : */ 217 : static void - 218 15 : gst_tensor_sink_grpc_init (GstTensorSinkGRPC * self) + 218 16 : gst_tensor_sink_grpc_init (GstTensorSinkGRPC * self) 219 : { - 220 15 : gst_tensors_config_init (&self->config); + 220 16 : gst_tensors_config_init (&self->config); 221 : - 222 15 : self->silent = DEFAULT_PROP_SILENT; - 223 15 : self->out = 0; + 222 16 : self->silent = DEFAULT_PROP_SILENT; + 223 16 : self->out = 0; 224 : - 225 15 : self->priv = g_new0 (grpc_private, 1); - 226 15 : grpc_config_init (self); + 225 16 : self->priv = g_new0 (grpc_private, 1); + 226 16 : grpc_config_init (self); 227 : - 228 15 : GST_OBJECT_FLAG_UNSET (self, GST_TENSOR_SINK_GRPC_CONFIGURED); - 229 15 : GST_OBJECT_FLAG_UNSET (self, GST_TENSOR_SINK_GRPC_STARTED); - 230 15 : } + 228 16 : GST_OBJECT_FLAG_UNSET (self, GST_TENSOR_SINK_GRPC_CONFIGURED); + 229 16 : GST_OBJECT_FLAG_UNSET (self, GST_TENSOR_SINK_GRPC_STARTED); + 230 16 : } 231 : 232 : /** 233 : * @brief finalize tensor_sink_grpc element. 234 : */ 235 : static void - 236 15 : gst_tensor_sink_grpc_finalize (GObject * gobject) + 236 16 : gst_tensor_sink_grpc_finalize (GObject * gobject) 237 : { - 238 15 : GstTensorSinkGRPC *self = GST_TENSOR_SINK_GRPC (gobject); - 239 15 : grpc_private *grpc = GET_GRPC_PRIVATE (self); + 238 16 : GstTensorSinkGRPC *self = GST_TENSOR_SINK_GRPC (gobject); + 239 16 : grpc_private *grpc = GET_GRPC_PRIVATE (self); 240 : - 241 15 : g_free (grpc->config.host); - 242 15 : g_free (grpc); - 243 15 : gst_tensors_config_free (&self->config); + 241 16 : g_free (grpc->config.host); + 242 16 : g_free (grpc); + 243 16 : gst_tensors_config_free (&self->config); 244 : - 245 15 : G_OBJECT_CLASS (parent_class)->finalize (gobject); - 246 15 : } + 245 16 : G_OBJECT_CLASS (parent_class)->finalize (gobject); + 246 16 : } 247 : 248 : /** 249 : * @brief set caps of tensor_sink_grpc element. 250 : */ 251 : static gboolean - 252 11 : gst_tensor_sink_grpc_setcaps (GstBaseSink * sink, GstCaps * caps) + 252 12 : gst_tensor_sink_grpc_setcaps (GstBaseSink * sink, GstCaps * caps) 253 : { 254 : GstTensorSinkGRPC *self; 255 : GstStructure *structure; 256 : - 257 11 : self = GST_TENSOR_SINK_GRPC (sink); + 257 12 : self = GST_TENSOR_SINK_GRPC (sink); 258 : - 259 11 : GST_OBJECT_LOCK (self); + 259 12 : GST_OBJECT_LOCK (self); 260 : - 261 11 : structure = gst_caps_get_structure (caps, 0); - 262 11 : gst_tensors_config_from_structure (&self->config, structure); + 261 12 : structure = gst_caps_get_structure (caps, 0); + 262 12 : gst_tensors_config_from_structure (&self->config, structure); 263 : - 264 11 : GST_OBJECT_FLAG_SET (self, GST_TENSOR_SINK_GRPC_CONFIGURED); + 264 12 : GST_OBJECT_FLAG_SET (self, GST_TENSOR_SINK_GRPC_CONFIGURED); 265 : - 266 11 : GST_OBJECT_UNLOCK (self); + 266 12 : GST_OBJECT_UNLOCK (self); 267 : - 268 11 : return gst_tensors_config_validate (&self->config); + 268 12 : return gst_tensors_config_validate (&self->config); 269 : } 270 : 271 : /** 272 : * @brief render function of tensor_sink_grpc element. 273 : */ 274 : static GstFlowReturn - 275 80 : gst_tensor_sink_grpc_render (GstBaseSink * sink, GstBuffer * buf) + 275 90 : gst_tensor_sink_grpc_render (GstBaseSink * sink, GstBuffer * buf) 276 : { - 277 80 : GstTensorSinkGRPC *self = GST_TENSOR_SINK_GRPC (sink); - 278 80 : grpc_private *grpc = GET_GRPC_PRIVATE (self); + 277 90 : GstTensorSinkGRPC *self = GST_TENSOR_SINK_GRPC (sink); + 278 90 : grpc_private *grpc = GET_GRPC_PRIVATE (self); 279 : gboolean ret; 280 : - 281 80 : g_return_val_if_fail (GST_OBJECT_FLAG_IS_SET (self, + 281 90 : g_return_val_if_fail (GST_OBJECT_FLAG_IS_SET (self, 282 : GST_TENSOR_SINK_GRPC_STARTED), GST_FLOW_FLUSHING); 283 : - 284 80 : ret = grpc_send (grpc->instance, buf); + 284 90 : ret = grpc_send (grpc->instance, buf); 285 : - 286 80 : return ret ? GST_FLOW_OK : GST_FLOW_ERROR; + 286 90 : return ret ? GST_FLOW_OK : GST_FLOW_ERROR; 287 : } 288 : 289 : /** 290 : * @brief set properties of tensor_sink_grpc element. 291 : */ 292 : static void - 293 56 : gst_tensor_sink_grpc_set_property (GObject * object, guint prop_id, + 293 61 : gst_tensor_sink_grpc_set_property (GObject * object, guint prop_id, 294 : const GValue * value, GParamSpec * pspec) 295 : { 296 : GstTensorSinkGRPC *self; 297 : grpc_private *grpc; 298 : - 299 56 : g_return_if_fail (GST_IS_TENSOR_SINK_GRPC (object)); + 299 61 : g_return_if_fail (GST_IS_TENSOR_SINK_GRPC (object)); 300 : - 301 56 : self = GST_TENSOR_SINK_GRPC (object); - 302 56 : grpc = GET_GRPC_PRIVATE (self); + 301 61 : self = GST_TENSOR_SINK_GRPC (object); + 302 61 : grpc = GET_GRPC_PRIVATE (self); 303 : - 304 56 : grpc_common_set_property (object, &self->silent, grpc, prop_id, value, pspec); + 304 61 : grpc_common_set_property (object, &self->silent, grpc, prop_id, value, pspec); 305 : } 306 : 307 : /** @@ -388,73 +388,73 @@ 326 : * @brief start tensor_sink_grpc element. 327 : */ 328 : static gboolean - 329 11 : gst_tensor_sink_grpc_start (GstBaseSink * sink) + 329 12 : gst_tensor_sink_grpc_start (GstBaseSink * sink) 330 : { - 331 11 : GstTensorSinkGRPC *self = GST_TENSOR_SINK_GRPC (sink); - 332 11 : grpc_private *grpc = GET_GRPC_PRIVATE (self); + 331 12 : GstTensorSinkGRPC *self = GST_TENSOR_SINK_GRPC (sink); + 332 12 : grpc_private *grpc = GET_GRPC_PRIVATE (self); 333 : gboolean ret; 334 : - 335 11 : if (GST_OBJECT_FLAG_IS_SET (self, GST_TENSOR_SINK_GRPC_STARTED)) + 335 12 : if (GST_OBJECT_FLAG_IS_SET (self, GST_TENSOR_SINK_GRPC_STARTED)) 336 0 : return TRUE; 337 : - 338 11 : if (grpc->instance) + 338 12 : if (grpc->instance) 339 0 : grpc_destroy (grpc->instance); 340 : - 341 11 : grpc->instance = grpc_new (&grpc->config); - 342 11 : if (!grpc->instance) + 341 12 : grpc->instance = grpc_new (&grpc->config); + 342 12 : if (!grpc->instance) 343 0 : return FALSE; 344 : - 345 11 : ret = grpc_start (grpc->instance); - 346 11 : if (ret) { - 347 11 : GST_OBJECT_FLAG_SET (self, GST_TENSOR_SINK_GRPC_STARTED); + 345 12 : ret = grpc_start (grpc->instance); + 346 12 : if (ret) { + 347 12 : GST_OBJECT_FLAG_SET (self, GST_TENSOR_SINK_GRPC_STARTED); 348 : - 349 11 : if (grpc->config.is_server) { - 350 3 : gint port = grpc_get_listening_port (grpc->instance); - 351 3 : if (port > 0) - 352 3 : g_object_set (self, "port", port, NULL); + 349 12 : if (grpc->config.is_server) { + 350 4 : gint port = grpc_get_listening_port (grpc->instance); + 351 4 : if (port > 0) + 352 4 : g_object_set (self, "port", port, NULL); 353 : } 354 : } 355 : - 356 11 : return TRUE; + 356 12 : return TRUE; 357 : } 358 : 359 : /** 360 : * @brief stop tensor_sink_grpc element. 361 : */ 362 : static gboolean - 363 11 : gst_tensor_sink_grpc_stop (GstBaseSink * sink) + 363 12 : gst_tensor_sink_grpc_stop (GstBaseSink * sink) 364 : { - 365 11 : GstTensorSinkGRPC *self = GST_TENSOR_SINK_GRPC (sink); - 366 11 : grpc_private *grpc = GET_GRPC_PRIVATE (self); + 365 12 : GstTensorSinkGRPC *self = GST_TENSOR_SINK_GRPC (sink); + 366 12 : grpc_private *grpc = GET_GRPC_PRIVATE (self); 367 : - 368 11 : if (!GST_OBJECT_FLAG_IS_SET (self, GST_TENSOR_SINK_GRPC_STARTED)) + 368 12 : if (!GST_OBJECT_FLAG_IS_SET (self, GST_TENSOR_SINK_GRPC_STARTED)) 369 0 : return TRUE; 370 : - 371 11 : if (grpc->instance) - 372 11 : grpc_destroy (grpc->instance); - 373 11 : grpc->instance = NULL; + 371 12 : if (grpc->instance) + 372 12 : grpc_destroy (grpc->instance); + 373 12 : grpc->instance = NULL; 374 : - 375 11 : GST_OBJECT_FLAG_UNSET (self, GST_TENSOR_SINK_GRPC_STARTED); + 375 12 : GST_OBJECT_FLAG_UNSET (self, GST_TENSOR_SINK_GRPC_STARTED); 376 : - 377 11 : return TRUE; + 377 12 : return TRUE; 378 : } 379 : 380 : /** 381 : * @brief unlock any blocking operations 382 : */ 383 : static gboolean - 384 22 : gst_tensor_sink_grpc_unlock (GstBaseSink * sink) + 384 24 : gst_tensor_sink_grpc_unlock (GstBaseSink * sink) 385 : { - 386 22 : GstTensorSinkGRPC *self = GST_TENSOR_SINK_GRPC (sink); - 387 22 : grpc_private *grpc = GET_GRPC_PRIVATE (self); + 386 24 : GstTensorSinkGRPC *self = GST_TENSOR_SINK_GRPC (sink); + 387 24 : grpc_private *grpc = GET_GRPC_PRIVATE (self); 388 : 389 : /* notify to gRPC */ - 390 22 : if (grpc->instance) - 391 22 : grpc_stop (grpc->instance); + 390 24 : if (grpc->instance) + 391 24 : grpc_stop (grpc->instance); 392 : - 393 22 : silent_debug ("Unlocking create"); + 393 24 : silent_debug ("Unlocking create"); 394 : - 395 22 : return TRUE; + 395 24 : return TRUE; 396 : } diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/index-sort-f.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/index-sort-f.html index 7972ab7fb..bdf2c2a0b 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/index-sort-f.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/index-sort-f.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_source + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_source @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 77.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 93.5 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/index-sort-l.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/index-sort-l.html index 3ad782ca2..c6f94f04b 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/index-sort-l.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/index-sort-l.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_source + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_source @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 77.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 93.5 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/index.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/index.html index f284c6414..5914f639f 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/index.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/index.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_source + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_source @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 77.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 93.5 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_grpc.c.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_grpc.c.func-c.html index 65d2681bd..f55ce5c40 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_grpc.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_grpc.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_grpc.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_grpc.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 86.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 94.7 % @@ -177,7 +177,7 @@ gst_tensor_src_grpc_get_type - 413 + 415 @@ -191,14 +191,14 @@ gst_tensor_src_grpc_get_type_once - 46 + 47 gst_tensor_src_grpc_get_type - 332 + 333 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_grpc.c.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_grpc.c.func.html index 28a6754a8..1e460018e 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_grpc.c.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_grpc.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_grpc.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_grpc.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 86.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 94.7 % @@ -128,7 +128,7 @@ gst_tensor_src_grpc_get_type - 413 + 415 @@ -142,14 +142,14 @@ gst_tensor_src_grpc_get_type - 332 + 333 gst_tensor_src_grpc_get_type_once - 46 + 47 diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_grpc.c.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_grpc.c.gcov.html index e0724a0b5..f8b5b5476 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_grpc.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_grpc.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_grpc.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_grpc.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 86.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 94.7 % @@ -183,7 +183,7 @@ 121 : 122 : /** internal functions */ 123 : #define gst_tensor_src_grpc_parent_class parent_class - 124 413 : G_DEFINE_TYPE (GstTensorSrcGRPC, gst_tensor_src_grpc, GST_TYPE_PUSH_SRC); + 124 415 : G_DEFINE_TYPE (GstTensorSrcGRPC, gst_tensor_src_grpc, GST_TYPE_PUSH_SRC); 125 : 126 : /** 127 : * @brief initialize the tensor_src_grpc class. diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_tizensensor.c.func-c.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_tizensensor.c.func-c.html index 1115df35c..bc1918c0e 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_tizensensor.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_tizensensor.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_tizensensor.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_tizensensor.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 74.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 92.6 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_tizensensor.c.func.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_tizensensor.c.func.html index 6662a6a7f..899fa2a54 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_tizensensor.c.func.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_tizensensor.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_tizensensor.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_tizensensor.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 74.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 92.6 % diff --git a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_tizensensor.c.gcov.html b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_tizensensor.c.gcov.html index edb190886..20e956d2f 100644 --- a/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_tizensensor.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_tizensensor.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_tizensensor.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/ext/nnstreamer/tensor_source/tensor_src_tizensensor.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 74.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 92.6 % diff --git a/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatarepo.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatarepo.c.func-c.html index 5b3422df8..53ecb53f4 100644 --- a/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatarepo.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatarepo.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/datarepo/gstdatarepo.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/datarepo/gstdatarepo.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 67.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 75.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatarepo.c.func.html b/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatarepo.c.func.html index 5905c0d42..537acaa7a 100644 --- a/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatarepo.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatarepo.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/datarepo/gstdatarepo.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/datarepo/gstdatarepo.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 67.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 75.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatarepo.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatarepo.c.gcov.html index a692299ed..11855fcd6 100644 --- a/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatarepo.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatarepo.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/datarepo/gstdatarepo.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/datarepo/gstdatarepo.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 67.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 75.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatareposink.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatareposink.c.func-c.html index d930b5715..96ab2ae7f 100644 --- a/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatareposink.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatareposink.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/datarepo/gstdatareposink.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/datarepo/gstdatareposink.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 85.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -170,35 +170,35 @@ gst_data_repo_sink_write_flexible_or_sparse_tensors - 160 + 161 gst_data_repo_sink_render - 214 + 215 gst_data_repo_sink_get_caps - 535 + 548 gst_data_repo_sink_query - 550 + 563 gst_data_repo_sink_get_type - 835 + 848 @@ -219,7 +219,7 @@ gst_data_repo_sink_get_type - 794 + 807 diff --git a/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatareposink.c.func.html b/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatareposink.c.func.html index e2e04569c..34dbd4f07 100644 --- a/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatareposink.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatareposink.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/datarepo/gstdatareposink.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/datarepo/gstdatareposink.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 85.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -93,7 +93,7 @@ gst_data_repo_sink_get_caps - 535 + 548 @@ -114,7 +114,7 @@ gst_data_repo_sink_get_type - 835 + 848 @@ -128,7 +128,7 @@ gst_data_repo_sink_get_type - 794 + 807 @@ -156,14 +156,14 @@ gst_data_repo_sink_query - 550 + 563 gst_data_repo_sink_render - 214 + 215 @@ -198,7 +198,7 @@ gst_data_repo_sink_write_flexible_or_sparse_tensors - 160 + 161 diff --git a/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatareposink.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatareposink.c.gcov.html index 800a20515..6651354e9 100644 --- a/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatareposink.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatareposink.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/datarepo/gstdatareposink.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/datarepo/gstdatareposink.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 85.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -154,7 +154,7 @@ 92 : #define _do_init \ 93 : GST_DEBUG_CATEGORY_INIT (gst_data_repo_sink_debug, "datareposink", 0, "datareposink element"); 94 : #define gst_data_repo_sink_parent_class parent_class - 95 835 : G_DEFINE_TYPE_WITH_CODE (GstDataRepoSink, gst_data_repo_sink, + 95 848 : G_DEFINE_TYPE_WITH_CODE (GstDataRepoSink, gst_data_repo_sink, 96 : GST_TYPE_BASE_SINK, _do_init); 97 : 98 : static void gst_data_repo_sink_set_property (GObject * object, guint prop_id, @@ -376,75 +376,75 @@ 314 : * @brief Function to write flexible tensors or sparse tensors 315 : */ 316 : static GstFlowReturn - 317 160 : gst_data_repo_sink_write_flexible_or_sparse_tensors (GstDataRepoSink * sink, + 317 161 : gst_data_repo_sink_write_flexible_or_sparse_tensors (GstDataRepoSink * sink, 318 : GstBuffer * buffer) 319 : { 320 : guint num_tensors, i; - 321 160 : gsize total_write = 0, tensor_size; - 322 160 : ssize_t write_size = 0; + 321 161 : gsize total_write = 0, tensor_size; + 322 161 : ssize_t write_size = 0; 323 : GstMapInfo info; - 324 160 : GstMemory *mem = NULL; + 324 161 : GstMemory *mem = NULL; 325 : GstTensorMetaInfo meta; 326 : - 327 320 : g_return_val_if_fail (sink != NULL, GST_FLOW_ERROR); - 328 160 : g_return_val_if_fail (buffer != NULL, GST_FLOW_ERROR); - 329 160 : g_return_val_if_fail (sink->fd != 0, GST_FLOW_ERROR); - 330 160 : g_return_val_if_fail (sink->json_object != NULL, GST_FLOW_ERROR); - 331 160 : g_return_val_if_fail (sink->sample_offset_array != NULL, GST_FLOW_ERROR); - 332 160 : g_return_val_if_fail (sink->tensor_size_array != NULL, GST_FLOW_ERROR); - 333 160 : g_return_val_if_fail (sink->tensor_count_array != NULL, GST_FLOW_ERROR); + 327 322 : g_return_val_if_fail (sink != NULL, GST_FLOW_ERROR); + 328 161 : g_return_val_if_fail (buffer != NULL, GST_FLOW_ERROR); + 329 161 : g_return_val_if_fail (sink->fd != 0, GST_FLOW_ERROR); + 330 161 : g_return_val_if_fail (sink->json_object != NULL, GST_FLOW_ERROR); + 331 161 : g_return_val_if_fail (sink->sample_offset_array != NULL, GST_FLOW_ERROR); + 332 161 : g_return_val_if_fail (sink->tensor_size_array != NULL, GST_FLOW_ERROR); + 333 161 : g_return_val_if_fail (sink->tensor_count_array != NULL, GST_FLOW_ERROR); 334 : - 335 160 : GST_OBJECT_LOCK (sink); + 335 161 : GST_OBJECT_LOCK (sink); 336 : - 337 160 : num_tensors = gst_tensor_buffer_get_count (buffer); - 338 160 : GST_INFO_OBJECT (sink, "num_tensors: %u", num_tensors); + 337 161 : num_tensors = gst_tensor_buffer_get_count (buffer); + 338 161 : GST_INFO_OBJECT (sink, "num_tensors: %u", num_tensors); 339 : - 340 348 : for (i = 0; i < num_tensors; i++) { - 341 190 : mem = gst_tensor_buffer_get_nth_memory (buffer, i); - 342 190 : if (!gst_memory_map (mem, &info, GST_MAP_READ)) { + 340 350 : for (i = 0; i < num_tensors; i++) { + 341 191 : mem = gst_tensor_buffer_get_nth_memory (buffer, i); + 342 191 : if (!gst_memory_map (mem, &info, GST_MAP_READ)) { 343 0 : GST_ERROR_OBJECT (sink, "Failed to map memory"); 344 0 : goto mem_map_error; 345 : } 346 : - 347 190 : if (!gst_tensor_meta_info_parse_header (&meta, info.data)) { + 347 191 : if (!gst_tensor_meta_info_parse_header (&meta, info.data)) { 348 2 : GST_ERROR_OBJECT (sink, 349 : "Invalid format of tensors, the format is static."); 350 2 : goto error; 351 : } - 352 188 : tensor_size = info.size; + 352 189 : tensor_size = info.size; 353 : - 354 188 : GST_LOG_OBJECT (sink, "tensor[%u] size: %zd", i, tensor_size); - 355 188 : GST_LOG_OBJECT (sink, + 354 189 : GST_LOG_OBJECT (sink, "tensor[%u] size: %zd", i, tensor_size); + 355 189 : GST_LOG_OBJECT (sink, 356 : "Writing %lld bytes at offset 0x%" G_GINT64_MODIFIER "x (%lld size)", 357 : (long long) tensor_size, sink->fd_offset + total_write, 358 : (long long) sink->fd_offset + total_write); 359 : - 360 188 : write_size = write (sink->fd, info.data, tensor_size); - 361 188 : if ((write_size == -1) || (write_size != (ssize_t) tensor_size)) { + 360 189 : write_size = write (sink->fd, info.data, tensor_size); + 361 189 : if ((write_size == -1) || (write_size != (ssize_t) tensor_size)) { 362 0 : GST_ERROR_OBJECT (sink, "Error writing data to file"); 363 0 : goto error; 364 : } 365 : - 366 188 : json_array_add_int_element (sink->tensor_size_array, tensor_size); - 367 188 : total_write += (gsize) write_size; + 366 189 : json_array_add_int_element (sink->tensor_size_array, tensor_size); + 367 189 : total_write += (gsize) write_size; 368 : - 369 188 : gst_memory_unmap (mem, &info); - 370 188 : gst_memory_unref (mem); + 369 189 : gst_memory_unmap (mem, &info); + 370 189 : gst_memory_unref (mem); 371 : } 372 : - 373 158 : json_array_add_int_element (sink->sample_offset_array, sink->fd_offset); - 374 158 : sink->fd_offset += total_write; + 373 159 : json_array_add_int_element (sink->sample_offset_array, sink->fd_offset); + 374 159 : sink->fd_offset += total_write; 375 : - 376 158 : GST_LOG_OBJECT (sink, "cumulative_tensors: %u", sink->cumulative_tensors); - 377 158 : json_array_add_int_element (sink->tensor_count_array, - 378 158 : sink->cumulative_tensors); - 379 158 : sink->cumulative_tensors += num_tensors; + 376 159 : GST_LOG_OBJECT (sink, "cumulative_tensors: %u", sink->cumulative_tensors); + 377 159 : json_array_add_int_element (sink->tensor_count_array, + 378 159 : sink->cumulative_tensors); + 379 159 : sink->cumulative_tensors += num_tensors; 380 : - 381 158 : sink->total_samples++; + 381 159 : sink->total_samples++; 382 : - 383 158 : GST_OBJECT_UNLOCK (sink); + 383 159 : GST_OBJECT_UNLOCK (sink); 384 : - 385 158 : return GST_FLOW_OK; + 385 159 : return GST_FLOW_OK; 386 : 387 2 : error: 388 2 : gst_memory_unmap (mem, &info); @@ -526,21 +526,21 @@ 464 : * @brief Called when a buffer should be presented or output. 465 : */ 466 : static GstFlowReturn - 467 214 : gst_data_repo_sink_render (GstBaseSink * bsink, GstBuffer * buffer) + 467 215 : gst_data_repo_sink_render (GstBaseSink * bsink, GstBuffer * buffer) 468 : { - 469 214 : GstDataRepoSink *sink = GST_DATA_REPO_SINK_CAST (bsink); + 469 215 : GstDataRepoSink *sink = GST_DATA_REPO_SINK_CAST (bsink); 470 : - 471 214 : switch (sink->data_type) { + 471 215 : switch (sink->data_type) { 472 24 : case GST_DATA_REPO_DATA_VIDEO: 473 : case GST_DATA_REPO_DATA_AUDIO: 474 : case GST_DATA_REPO_DATA_TEXT: 475 : case GST_DATA_REPO_DATA_OCTET: 476 24 : return gst_data_repo_sink_write_others (sink, buffer); - 477 170 : case GST_DATA_REPO_DATA_TENSOR: + 477 171 : case GST_DATA_REPO_DATA_TENSOR: 478 : { - 479 170 : if (sink->is_static_tensors) + 479 171 : if (sink->is_static_tensors) 480 10 : return gst_data_repo_sink_write_others (sink, buffer); - 481 160 : return gst_data_repo_sink_write_flexible_or_sparse_tensors (sink, buffer); + 481 161 : return gst_data_repo_sink_write_flexible_or_sparse_tensors (sink, buffer); 482 : } 483 20 : case GST_DATA_REPO_DATA_IMAGE: 484 20 : return gst_data_repo_sink_write_multi_images (sink, buffer); @@ -553,26 +553,26 @@ 491 : * @brief Get caps of datareposink. 492 : */ 493 : static GstCaps * - 494 535 : gst_data_repo_sink_get_caps (GstBaseSink * bsink, GstCaps * filter) + 494 548 : gst_data_repo_sink_get_caps (GstBaseSink * bsink, GstCaps * filter) 495 : { - 496 535 : GstDataRepoSink *sink = GST_DATA_REPO_SINK (bsink); - 497 535 : GstCaps *caps = NULL; + 496 548 : GstDataRepoSink *sink = GST_DATA_REPO_SINK (bsink); + 497 548 : GstCaps *caps = NULL; 498 : - 499 535 : GST_OBJECT_LOCK (sink); - 500 535 : caps = sink->fixed_caps; + 499 548 : GST_OBJECT_LOCK (sink); + 500 548 : caps = sink->fixed_caps; 501 : - 502 535 : GST_INFO_OBJECT (sink, "Got caps %" GST_PTR_FORMAT, caps); - 503 535 : if (caps) { - 504 405 : if (filter) + 502 548 : GST_INFO_OBJECT (sink, "Got caps %" GST_PTR_FORMAT, caps); + 503 548 : if (caps) { + 504 407 : if (filter) 505 0 : caps = gst_caps_intersect_full (filter, caps, GST_CAPS_INTERSECT_FIRST); 506 : else - 507 405 : caps = gst_caps_ref (caps); + 507 407 : caps = gst_caps_ref (caps); 508 : } 509 : - 510 535 : GST_DEBUG_OBJECT (sink, "result get caps: %" GST_PTR_FORMAT, caps); - 511 535 : GST_OBJECT_UNLOCK (sink); + 510 548 : GST_DEBUG_OBJECT (sink, "result get caps: %" GST_PTR_FORMAT, caps); + 511 548 : GST_OBJECT_UNLOCK (sink); 512 : - 513 535 : return caps; + 513 548 : return caps; 514 : } 515 : 516 : /** @@ -623,11 +623,11 @@ 561 : * @brief Perform a GstQuery on datareposink. 562 : */ 563 : static gboolean - 564 550 : gst_data_repo_sink_query (GstBaseSink * bsink, GstQuery * query) + 564 563 : gst_data_repo_sink_query (GstBaseSink * bsink, GstQuery * query) 565 : { 566 : gboolean ret; 567 : - 568 550 : switch (GST_QUERY_TYPE (query)) { + 568 563 : switch (GST_QUERY_TYPE (query)) { 569 0 : case GST_QUERY_SEEKING:{ 570 : GstFormat fmt; 571 : @@ -637,12 +637,12 @@ 575 0 : ret = TRUE; 576 0 : break; 577 : } - 578 550 : default: - 579 550 : ret = GST_BASE_SINK_CLASS (parent_class)->query (bsink, query); - 580 550 : break; + 578 563 : default: + 579 563 : ret = GST_BASE_SINK_CLASS (parent_class)->query (bsink, query); + 580 563 : break; 581 : } 582 : - 583 550 : return ret; + 583 563 : return ret; 584 : } 585 : 586 : /** diff --git a/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatareposrc.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatareposrc.c.func-c.html index 97f0838b6..73411845d 100644 --- a/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatareposrc.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatareposrc.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/datarepo/gstdatareposrc.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/datarepo/gstdatareposrc.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 79.1 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -121,7 +121,7 @@ gst_data_repo_src_set_caps - 19 + 18 @@ -205,7 +205,7 @@ gst_data_repo_src_get_caps - 113 + 112 @@ -247,7 +247,7 @@ gst_data_repo_src_get_type - 922 + 920 @@ -268,7 +268,7 @@ gst_data_repo_src_get_type - 880 + 878 diff --git a/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatareposrc.c.func.html b/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatareposrc.c.func.html index 8586fee1b..3efdb9654 100644 --- a/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatareposrc.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatareposrc.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/datarepo/gstdatareposrc.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/datarepo/gstdatareposrc.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 79.1 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -107,7 +107,7 @@ gst_data_repo_src_get_caps - 113 + 112 @@ -142,7 +142,7 @@ gst_data_repo_src_get_type - 922 + 920 @@ -156,7 +156,7 @@ gst_data_repo_src_get_type - 880 + 878 @@ -219,7 +219,7 @@ gst_data_repo_src_set_caps - 19 + 18 diff --git a/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatareposrc.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatareposrc.c.gcov.html index fbcfe5dad..9106cf600 100644 --- a/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatareposrc.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/datarepo/gstdatareposrc.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/datarepo/gstdatareposrc.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/datarepo/gstdatareposrc.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 79.1 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -171,7 +171,7 @@ 109 : GST_DEBUG_CATEGORY_INIT (gst_data_repo_src_debug, "datareposrc", 0, "datareposrc element"); 110 : 111 : #define gst_data_repo_src_parent_class parent_class - 112 922 : G_DEFINE_TYPE_WITH_CODE (GstDataRepoSrc, gst_data_repo_src, GST_TYPE_PUSH_SRC, + 112 920 : G_DEFINE_TYPE_WITH_CODE (GstDataRepoSrc, gst_data_repo_src, GST_TYPE_PUSH_SRC, 113 : _do_init); 114 : 115 : /** @@ -1430,24 +1430,24 @@ 1368 : * @brief Get caps for caps negotiation 1369 : */ 1370 : static GstCaps * - 1371 113 : gst_data_repo_src_get_caps (GstBaseSrc * basesrc, GstCaps * filter) + 1371 112 : gst_data_repo_src_get_caps (GstBaseSrc * basesrc, GstCaps * filter) 1372 : { - 1373 113 : GstDataRepoSrc *src = GST_DATA_REPO_SRC (basesrc); + 1373 112 : GstDataRepoSrc *src = GST_DATA_REPO_SRC (basesrc); 1374 : - 1375 113 : if (src->data_type == GST_DATA_REPO_DATA_TENSOR && src->need_changed_caps) { + 1375 112 : if (src->data_type == GST_DATA_REPO_DATA_TENSOR && src->need_changed_caps) { 1376 17 : gst_data_repo_get_caps_by_tensors_sequence (src); 1377 17 : src->need_changed_caps = FALSE; 1378 : } 1379 : - 1380 113 : GST_DEBUG_OBJECT (src, "Current datareposrc caps %" GST_PTR_FORMAT, + 1380 112 : GST_DEBUG_OBJECT (src, "Current datareposrc caps %" GST_PTR_FORMAT, 1381 : src->caps); 1382 : - 1383 113 : if (src->caps) { - 1384 99 : if (filter) + 1383 112 : if (src->caps) { + 1384 98 : if (filter) 1385 0 : return gst_caps_intersect_full (filter, src->caps, 1386 : GST_CAPS_INTERSECT_FIRST); 1387 : else - 1388 99 : return gst_caps_ref (src->caps); + 1388 98 : return gst_caps_ref (src->caps); 1389 : } else { 1390 14 : if (filter) 1391 0 : return gst_caps_ref (filter); @@ -1460,13 +1460,13 @@ 1398 : * @brief caps after caps negotiation 1399 : */ 1400 : static gboolean - 1401 19 : gst_data_repo_src_set_caps (GstBaseSrc * basesrc, GstCaps * caps) + 1401 18 : gst_data_repo_src_set_caps (GstBaseSrc * basesrc, GstCaps * caps) 1402 : { - 1403 19 : GstDataRepoSrc *src = GST_DATA_REPO_SRC (basesrc); + 1403 18 : GstDataRepoSrc *src = GST_DATA_REPO_SRC (basesrc); 1404 : - 1405 19 : GST_INFO_OBJECT (src, "set caps: %" GST_PTR_FORMAT, caps); + 1405 18 : GST_INFO_OBJECT (src, "set caps: %" GST_PTR_FORMAT, caps); 1406 : - 1407 19 : return TRUE; + 1407 18 : return TRUE; 1408 : } 1409 : 1410 : /** diff --git a/testresult/nnstreamer-2.4.2/gst/datarepo/index-sort-f.html b/testresult/nnstreamer-2.4.2/gst/datarepo/index-sort-f.html index 5831e1937..364e8aae7 100644 --- a/testresult/nnstreamer-2.4.2/gst/datarepo/index-sort-f.html +++ b/testresult/nnstreamer-2.4.2/gst/datarepo/index-sort-f.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/datarepo + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/datarepo @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 80.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 98.2 % diff --git a/testresult/nnstreamer-2.4.2/gst/datarepo/index-sort-l.html b/testresult/nnstreamer-2.4.2/gst/datarepo/index-sort-l.html index bb9c4af9d..016ce770b 100644 --- a/testresult/nnstreamer-2.4.2/gst/datarepo/index-sort-l.html +++ b/testresult/nnstreamer-2.4.2/gst/datarepo/index-sort-l.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/datarepo + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/datarepo @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 80.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 98.2 % diff --git a/testresult/nnstreamer-2.4.2/gst/datarepo/index.html b/testresult/nnstreamer-2.4.2/gst/datarepo/index.html index dc53bbb63..6cdbec9a1 100644 --- a/testresult/nnstreamer-2.4.2/gst/datarepo/index.html +++ b/testresult/nnstreamer-2.4.2/gst/datarepo/index.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/datarepo + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/datarepo @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 80.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 98.2 % diff --git a/testresult/nnstreamer-2.4.2/gst/edge/edge_common.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/edge/edge_common.c.func-c.html index 9f6a67783..500da9f59 100644 --- a/testresult/nnstreamer-2.4.2/gst/edge/edge_common.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/edge/edge_common.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/edge/edge_common.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/edge/edge_common.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/edge/edge_common.c.func.html b/testresult/nnstreamer-2.4.2/gst/edge/edge_common.c.func.html index edc4c46f3..40c37b406 100644 --- a/testresult/nnstreamer-2.4.2/gst/edge/edge_common.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/edge/edge_common.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/edge/edge_common.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/edge/edge_common.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/edge/edge_common.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/edge/edge_common.c.gcov.html index 7a7d1843a..bf72e4630 100644 --- a/testresult/nnstreamer-2.4.2/gst/edge/edge_common.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/edge/edge_common.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/edge/edge_common.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/edge/edge_common.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/edge/edge_elements.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/edge/edge_elements.c.func-c.html index 9c3436e2f..01b9732cd 100644 --- a/testresult/nnstreamer-2.4.2/gst/edge/edge_elements.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/edge/edge_elements.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/edge/edge_elements.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/edge/edge_elements.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 71.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 66.7 % diff --git a/testresult/nnstreamer-2.4.2/gst/edge/edge_elements.c.func.html b/testresult/nnstreamer-2.4.2/gst/edge/edge_elements.c.func.html index 74f39a9d5..e7a6b3fb9 100644 --- a/testresult/nnstreamer-2.4.2/gst/edge/edge_elements.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/edge/edge_elements.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/edge/edge_elements.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/edge/edge_elements.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 71.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 66.7 % diff --git a/testresult/nnstreamer-2.4.2/gst/edge/edge_elements.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/edge/edge_elements.c.gcov.html index e1ab0a62d..56143c992 100644 --- a/testresult/nnstreamer-2.4.2/gst/edge/edge_elements.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/edge/edge_elements.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/edge/edge_elements.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/edge/edge_elements.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 71.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 66.7 % diff --git a/testresult/nnstreamer-2.4.2/gst/edge/edge_sink.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/edge/edge_sink.c.func-c.html index 85c4a70db..d3b05fa32 100644 --- a/testresult/nnstreamer-2.4.2/gst/edge/edge_sink.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/edge/edge_sink.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/edge/edge_sink.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/edge/edge_sink.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 82.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/edge/edge_sink.c.func.html b/testresult/nnstreamer-2.4.2/gst/edge/edge_sink.c.func.html index c37d19134..ac96b29b0 100644 --- a/testresult/nnstreamer-2.4.2/gst/edge/edge_sink.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/edge/edge_sink.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/edge/edge_sink.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/edge/edge_sink.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 82.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/edge/edge_sink.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/edge/edge_sink.c.gcov.html index a0d62afb9..fa7b0a2d4 100644 --- a/testresult/nnstreamer-2.4.2/gst/edge/edge_sink.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/edge/edge_sink.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/edge/edge_sink.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/edge/edge_sink.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 82.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/edge/edge_src.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/edge/edge_src.c.func-c.html index 96034ff6d..428f3590e 100644 --- a/testresult/nnstreamer-2.4.2/gst/edge/edge_src.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/edge/edge_src.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/edge/edge_src.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/edge/edge_src.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 84.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -170,14 +170,14 @@ _nns_edge_event_cb - 153 + 158 gst_edgesrc_get_type - 477 + 482 @@ -198,7 +198,7 @@ gst_edgesrc_get_type - 420 + 425 diff --git a/testresult/nnstreamer-2.4.2/gst/edge/edge_src.c.func.html b/testresult/nnstreamer-2.4.2/gst/edge/edge_src.c.func.html index 2bb7effea..b8ac3f518 100644 --- a/testresult/nnstreamer-2.4.2/gst/edge/edge_src.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/edge/edge_src.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/edge/edge_src.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/edge/edge_src.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 84.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -65,7 +65,7 @@ _nns_edge_event_cb - 153 + 158 @@ -128,7 +128,7 @@ gst_edgesrc_get_type - 477 + 482 @@ -142,7 +142,7 @@ gst_edgesrc_get_type - 420 + 425 diff --git a/testresult/nnstreamer-2.4.2/gst/edge/edge_src.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/edge/edge_src.c.gcov.html index f02c778af..97044ee11 100644 --- a/testresult/nnstreamer-2.4.2/gst/edge/edge_src.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/edge/edge_src.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/edge/edge_src.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/edge/edge_src.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 84.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -105,7 +105,7 @@ 43 : }; 44 : 45 : #define gst_edgesrc_parent_class parent_class - 46 477 : G_DEFINE_TYPE (GstEdgeSrc, gst_edgesrc, GST_TYPE_BASE_SRC); + 46 482 : G_DEFINE_TYPE (GstEdgeSrc, gst_edgesrc, GST_TYPE_BASE_SRC); 47 : 48 : static void gst_edgesrc_set_property (GObject * object, guint prop_id, 49 : const GValue * value, GParamSpec * pspec); @@ -364,26 +364,26 @@ 302 : * @brief nnstreamer-edge event callback. 303 : */ 304 : static int - 305 153 : _nns_edge_event_cb (nns_edge_event_h event_h, void *user_data) + 305 158 : _nns_edge_event_cb (nns_edge_event_h event_h, void *user_data) 306 : { 307 : nns_edge_event_e event_type; - 308 153 : int ret = NNS_EDGE_ERROR_NONE; + 308 158 : int ret = NNS_EDGE_ERROR_NONE; 309 : - 310 153 : GstEdgeSrc *self = GST_EDGESRC (user_data); + 310 158 : GstEdgeSrc *self = GST_EDGESRC (user_data); 311 : - 312 153 : if (0 != nns_edge_event_get_type (event_h, &event_type)) { + 312 158 : if (0 != nns_edge_event_get_type (event_h, &event_type)) { 313 0 : nns_loge ("Failed to get event type!"); - 314 153 : return NNS_EDGE_ERROR_UNKNOWN; + 314 158 : return NNS_EDGE_ERROR_UNKNOWN; 315 : } 316 : - 317 153 : switch (event_type) { - 318 145 : case NNS_EDGE_EVENT_NEW_DATA_RECEIVED: + 317 158 : switch (event_type) { + 318 150 : case NNS_EDGE_EVENT_NEW_DATA_RECEIVED: 319 : { 320 : nns_edge_data_h data; 321 : - 322 145 : nns_edge_event_parse_new_data (event_h, &data); - 323 145 : g_async_queue_push (self->msg_queue, data); - 324 145 : break; + 322 150 : nns_edge_event_parse_new_data (event_h, &data); + 323 150 : g_async_queue_push (self->msg_queue, data); + 324 150 : break; 325 : } 326 0 : case NNS_EDGE_EVENT_CONNECTION_CLOSED: 327 : { @@ -394,7 +394,7 @@ 332 8 : break; 333 : } 334 : - 335 153 : return ret; + 335 158 : return ret; 336 : } 337 : 338 : /** diff --git a/testresult/nnstreamer-2.4.2/gst/edge/index-sort-f.html b/testresult/nnstreamer-2.4.2/gst/edge/index-sort-f.html index 668c86ac1..9607d4029 100644 --- a/testresult/nnstreamer-2.4.2/gst/edge/index-sort-f.html +++ b/testresult/nnstreamer-2.4.2/gst/edge/index-sort-f.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/edge + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/edge @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 83.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 97.7 % diff --git a/testresult/nnstreamer-2.4.2/gst/edge/index-sort-l.html b/testresult/nnstreamer-2.4.2/gst/edge/index-sort-l.html index 30254d5e7..22b53960f 100644 --- a/testresult/nnstreamer-2.4.2/gst/edge/index-sort-l.html +++ b/testresult/nnstreamer-2.4.2/gst/edge/index-sort-l.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/edge + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/edge @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 83.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 97.7 % diff --git a/testresult/nnstreamer-2.4.2/gst/edge/index.html b/testresult/nnstreamer-2.4.2/gst/edge/index.html index dc396fa41..b6788ddc1 100644 --- a/testresult/nnstreamer-2.4.2/gst/edge/index.html +++ b/testresult/nnstreamer-2.4.2/gst/edge/index.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/edge + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/edge @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 83.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 97.7 % diff --git a/testresult/nnstreamer-2.4.2/gst/join/gstjoin.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/join/gstjoin.c.func-c.html index 7c434d3d0..b693d587b 100644 --- a/testresult/nnstreamer-2.4.2/gst/join/gstjoin.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/join/gstjoin.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/join/gstjoin.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/join/gstjoin.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 94.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 96.3 % @@ -163,21 +163,21 @@ gst_join_pad_event - 113 + 114 gst_join_get_active_sinkpad - 117 + 118 gst_join_set_active_pad - 121 + 123 @@ -191,21 +191,21 @@ gst_join_get_linked_pad - 140 + 142 gst_join_pad_iterate_linked_pads - 140 + 142 gst_join_pad_get_type - 290 + 294 @@ -226,28 +226,28 @@ gst_join_pad_get_type - 276 + 280 forward_sticky_events - 351 + 357 gst_join_pad_query - 554 + 577 gst_join_get_type - 881 + 890 @@ -268,7 +268,7 @@ gst_join_get_type - 831 + 840 diff --git a/testresult/nnstreamer-2.4.2/gst/join/gstjoin.c.func.html b/testresult/nnstreamer-2.4.2/gst/join/gstjoin.c.func.html index edb4ea581..f975d1006 100644 --- a/testresult/nnstreamer-2.4.2/gst/join/gstjoin.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/join/gstjoin.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/join/gstjoin.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/join/gstjoin.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 94.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 96.3 % @@ -65,7 +65,7 @@ forward_sticky_events - 351 + 357 @@ -93,14 +93,14 @@ gst_join_get_active_sinkpad - 117 + 118 gst_join_get_linked_pad - 140 + 142 @@ -114,7 +114,7 @@ gst_join_get_type - 881 + 890 @@ -128,7 +128,7 @@ gst_join_get_type - 831 + 840 @@ -163,7 +163,7 @@ gst_join_pad_event - 113 + 114 @@ -177,7 +177,7 @@ gst_join_pad_get_type - 290 + 294 @@ -191,7 +191,7 @@ gst_join_pad_get_type - 276 + 280 @@ -212,14 +212,14 @@ gst_join_pad_iterate_linked_pads - 140 + 142 gst_join_pad_query - 554 + 577 @@ -240,7 +240,7 @@ gst_join_set_active_pad - 121 + 123 diff --git a/testresult/nnstreamer-2.4.2/gst/join/gstjoin.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/join/gstjoin.c.gcov.html index 4d1c39355..d97aaa7fe 100644 --- a/testresult/nnstreamer-2.4.2/gst/join/gstjoin.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/join/gstjoin.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/join/gstjoin.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/join/gstjoin.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 94.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 96.3 % @@ -182,7 +182,7 @@ 120 : static GstFlowReturn gst_join_pad_chain (GstPad * pad, GstObject * parent, 121 : GstBuffer * buf); 122 : - 123 290 : G_DEFINE_TYPE (GstJoinPad, gst_join_pad, GST_TYPE_PAD); + 123 294 : G_DEFINE_TYPE (GstJoinPad, gst_join_pad, GST_TYPE_PAD); 124 : 125 : /** 126 : * @brief initialize the join's pad class @@ -232,47 +232,47 @@ 170 : * @return If the pad is active, return the srcpad else return NULL. 171 : */ 172 : static GstIterator * - 173 140 : gst_join_pad_iterate_linked_pads (GstPad * pad, GstObject * parent) + 173 142 : gst_join_pad_iterate_linked_pads (GstPad * pad, GstObject * parent) 174 : { 175 : GstJoin *sel; 176 : GstPad *otherpad; - 177 140 : GstIterator *it = NULL; - 178 140 : GValue val = { 0, }; + 177 142 : GstIterator *it = NULL; + 178 142 : GValue val = { 0, }; 179 : - 180 140 : sel = GST_JOIN (parent); + 180 142 : sel = GST_JOIN (parent); 181 : - 182 140 : otherpad = gst_join_get_linked_pad (sel, pad, TRUE); - 183 140 : if (otherpad) { - 184 39 : g_value_init (&val, GST_TYPE_PAD); - 185 39 : g_value_set_object (&val, otherpad); - 186 39 : it = gst_iterator_new_single (GST_TYPE_PAD, &val); - 187 39 : g_value_unset (&val); - 188 39 : gst_object_unref (otherpad); + 182 142 : otherpad = gst_join_get_linked_pad (sel, pad, TRUE); + 183 142 : if (otherpad) { + 184 37 : g_value_init (&val, GST_TYPE_PAD); + 185 37 : g_value_set_object (&val, otherpad); + 186 37 : it = gst_iterator_new_single (GST_TYPE_PAD, &val); + 187 37 : g_value_unset (&val); + 188 37 : gst_object_unref (otherpad); 189 : } 190 : - 191 140 : return it; + 191 142 : return it; 192 : } 193 : 194 : /** 195 : * @brief forward sticky event 196 : */ 197 : static gboolean - 198 351 : forward_sticky_events (GstPad * sinkpad, GstEvent ** event, gpointer user_data) + 198 357 : forward_sticky_events (GstPad * sinkpad, GstEvent ** event, gpointer user_data) 199 : { - 200 351 : GstJoin *sel = GST_JOIN (user_data); + 200 357 : GstJoin *sel = GST_JOIN (user_data); 201 : - 202 351 : GST_DEBUG_OBJECT (sinkpad, "forward sticky event %" GST_PTR_FORMAT, *event); + 202 357 : GST_DEBUG_OBJECT (sinkpad, "forward sticky event %" GST_PTR_FORMAT, *event); 203 : - 204 351 : if (GST_EVENT_TYPE (*event) == GST_EVENT_SEGMENT) { - 205 119 : GstSegment *seg = &GST_JOIN_PAD (sinkpad)->segment; + 204 357 : if (GST_EVENT_TYPE (*event) == GST_EVENT_SEGMENT) { + 205 121 : GstSegment *seg = &GST_JOIN_PAD (sinkpad)->segment; 206 : GstEvent *e; 207 : - 208 119 : e = gst_event_new_segment (seg); - 209 119 : gst_event_set_seqnum (e, GST_JOIN_PAD_CAST (sinkpad)->segment_seqnum); + 208 121 : e = gst_event_new_segment (seg); + 209 121 : gst_event_set_seqnum (e, GST_JOIN_PAD_CAST (sinkpad)->segment_seqnum); 210 : - 211 119 : gst_pad_push_event (sel->srcpad, e); - 212 232 : } else if (GST_EVENT_TYPE (*event) == GST_EVENT_STREAM_START - 213 113 : && !sel->have_group_id) { + 211 121 : gst_pad_push_event (sel->srcpad, e); + 212 236 : } else if (GST_EVENT_TYPE (*event) == GST_EVENT_STREAM_START + 213 115 : && !sel->have_group_id) { 214 : GstEvent *tmp = 215 0 : gst_pad_get_sticky_event (sel->srcpad, GST_EVENT_STREAM_START, 0); 216 : @@ -283,35 +283,35 @@ 221 0 : gst_event_unref (tmp); 222 : } 223 : } else { - 224 232 : gst_pad_push_event (sel->srcpad, gst_event_ref (*event)); + 224 236 : gst_pad_push_event (sel->srcpad, gst_event_ref (*event)); 225 : } - 226 349 : return TRUE; + 226 355 : return TRUE; 227 : } 228 : 229 : /** 230 : * @brief event function for sink pad 231 : */ 232 : static gboolean - 233 113 : gst_join_pad_event (GstPad * pad, GstObject * parent, GstEvent * event) + 233 114 : gst_join_pad_event (GstPad * pad, GstObject * parent, GstEvent * event) 234 : { - 235 113 : gboolean res = TRUE; + 235 114 : gboolean res = TRUE; 236 : gboolean forward; 237 : GstJoin *sel; 238 : GstJoinPad *selpad; 239 : GstPad *active_sinkpad; 240 : - 241 113 : sel = GST_JOIN (parent); - 242 113 : selpad = GST_JOIN_PAD_CAST (pad); - 243 113 : GST_DEBUG_OBJECT (selpad, "received event %" GST_PTR_FORMAT, event); + 241 114 : sel = GST_JOIN (parent); + 242 114 : selpad = GST_JOIN_PAD_CAST (pad); + 243 114 : GST_DEBUG_OBJECT (selpad, "received event %" GST_PTR_FORMAT, event); 244 : - 245 113 : GST_JOIN_LOCK (sel); + 245 114 : GST_JOIN_LOCK (sel); 246 : - 247 113 : active_sinkpad = gst_join_get_active_sinkpad (sel); + 247 114 : active_sinkpad = gst_join_get_active_sinkpad (sel); 248 : 249 : /* only forward if we are dealing with the active sinkpad */ - 250 113 : forward = (pad == active_sinkpad); + 250 114 : forward = (pad == active_sinkpad); 251 : - 252 113 : switch (GST_EVENT_TYPE (event)) { + 252 114 : switch (GST_EVENT_TYPE (event)) { 253 34 : case GST_EVENT_CAPS: 254 : { 255 : GstCaps *prev_caps, *new_caps; @@ -319,16 +319,16 @@ 257 34 : if (!(prev_caps = gst_pad_get_current_caps (active_sinkpad))) 258 34 : break; 259 : - 260 18 : gst_event_parse_caps (event, &new_caps); + 260 14 : gst_event_parse_caps (event, &new_caps); 261 : - 262 18 : if (!gst_caps_is_equal (prev_caps, new_caps)) { + 262 14 : if (!gst_caps_is_equal (prev_caps, new_caps)) { 263 3 : GST_ERROR_OBJECT (sel, "Capabilities of the sinks should be the same."); 264 3 : res = FALSE; 265 : } 266 : - 267 18 : gst_caps_unref (prev_caps); + 267 14 : gst_caps_unref (prev_caps); 268 : - 269 18 : break; + 269 14 : break; 270 : } 271 26 : case GST_EVENT_STREAM_START:{ 272 26 : if (!gst_event_parse_group_id (event, &selpad->group_id)) { @@ -346,19 +346,19 @@ 284 : &selpad->segment); 285 31 : break; 286 : } - 287 22 : default: - 288 22 : break; + 287 23 : default: + 288 23 : break; 289 : } - 290 113 : GST_JOIN_UNLOCK (sel); + 290 114 : GST_JOIN_UNLOCK (sel); 291 : - 292 113 : if (forward) { - 293 39 : GST_DEBUG_OBJECT (pad, "forwarding event"); - 294 39 : res = gst_pad_push_event (sel->srcpad, event); + 292 114 : if (forward) { + 293 36 : GST_DEBUG_OBJECT (pad, "forwarding event"); + 294 36 : res = gst_pad_push_event (sel->srcpad, event); 295 : } else { - 296 74 : gst_event_unref (event); + 296 78 : gst_event_unref (event); 297 : } 298 : - 299 112 : return res; + 299 113 : return res; 300 : } 301 : 302 : /** @@ -366,13 +366,13 @@ 304 : * @return TRUE if the query was performed successfully. 305 : */ 306 : static gboolean - 307 554 : gst_join_pad_query (GstPad * pad, GstObject * parent, GstQuery * query) + 307 577 : gst_join_pad_query (GstPad * pad, GstObject * parent, GstQuery * query) 308 : { - 309 554 : gboolean res = FALSE; - 310 554 : GstJoin *self = (GstJoin *) parent; + 309 577 : gboolean res = FALSE; + 310 577 : GstJoin *self = (GstJoin *) parent; 311 : - 312 554 : switch (GST_QUERY_TYPE (query)) { - 313 496 : case GST_QUERY_CAPS: + 312 577 : switch (GST_QUERY_TYPE (query)) { + 313 517 : case GST_QUERY_CAPS: 314 : case GST_QUERY_POSITION: 315 : case GST_QUERY_DURATION: 316 : case GST_QUERY_CONTEXT: @@ -380,8 +380,8 @@ 318 : * always proxy caps/position/duration/context queries, regardless of active pad or not 319 : * See https://bugzilla.gnome.org/show_bug.cgi?id=775445 320 : */ - 321 496 : res = gst_pad_peer_query (self->srcpad, query); - 322 496 : break; + 321 517 : res = gst_pad_peer_query (self->srcpad, query); + 322 517 : break; 323 4 : case GST_QUERY_ALLOCATION:{ 324 : GstPad *active_sinkpad; 325 4 : GstJoin *sel = GST_JOIN (parent); @@ -404,12 +404,12 @@ 342 : } 343 : /* fall through */ 344 : default: - 345 57 : res = gst_pad_query_default (pad, parent, query); - 346 57 : break; + 345 59 : res = gst_pad_query_default (pad, parent, query); + 346 59 : break; 347 : } 348 : - 349 554 : done: - 350 554 : return res; + 349 577 : done: + 350 577 : return res; 351 : } 352 : 353 : /** @@ -438,7 +438,7 @@ 376 139 : sel->active_sinkpad ? gst_object_ref (sel->active_sinkpad) : NULL; 377 : 378 139 : if (sel->active_sinkpad != pad) { - 379 121 : gst_join_set_active_pad (sel, pad); + 379 123 : gst_join_set_active_pad (sel, pad); 380 : } 381 139 : active_sinkpad = pad; 382 : @@ -461,7 +461,7 @@ 399 : 400 : /* if we have a pending events, push them now */ 401 139 : if (G_UNLIKELY (prev_active_sinkpad != active_sinkpad)) { - 402 121 : gst_pad_sticky_events_foreach (GST_PAD_CAST (selpad), forward_sticky_events, + 402 123 : gst_pad_sticky_events_foreach (GST_PAD_CAST (selpad), forward_sticky_events, 403 : sel); 404 : } 405 : @@ -488,7 +488,7 @@ 426 : GstPadTemplate * templ, const gchar * unused, const GstCaps * caps); 427 : 428 : #define gst_join_parent_class parent_class - 429 881 : G_DEFINE_TYPE_WITH_CODE (GstJoin, gst_join, GST_TYPE_ELEMENT, + 429 890 : G_DEFINE_TYPE_WITH_CODE (GstJoin, gst_join, GST_TYPE_ELEMENT, 430 : GST_DEBUG_CATEGORY_INIT (join_debug, 431 : "join", 0, "An input stream join element")); 432 : @@ -584,40 +584,40 @@ 522 : * @note this function must be called with the JOIN_LOCK. 523 : */ 524 : static gboolean - 525 121 : gst_join_set_active_pad (GstJoin * self, GstPad * pad) + 525 123 : gst_join_set_active_pad (GstJoin * self, GstPad * pad) 526 : { 527 : GstJoinPad *old, *new; 528 : GstPad **active_pad_p; 529 : - 530 121 : if (pad == self->active_sinkpad) + 530 123 : if (pad == self->active_sinkpad) 531 0 : return FALSE; 532 : 533 : /* guard against users setting a src pad or foreign pad as active pad */ - 534 121 : if (pad != NULL) { - 535 121 : g_return_val_if_fail (GST_PAD_IS_SINK (pad), FALSE); - 536 121 : g_return_val_if_fail (GST_IS_JOIN_PAD (pad), FALSE); - 537 121 : g_return_val_if_fail (GST_PAD_PARENT (pad) == GST_ELEMENT_CAST (self), + 534 123 : if (pad != NULL) { + 535 123 : g_return_val_if_fail (GST_PAD_IS_SINK (pad), FALSE); + 536 123 : g_return_val_if_fail (GST_IS_JOIN_PAD (pad), FALSE); + 537 123 : g_return_val_if_fail (GST_PAD_PARENT (pad) == GST_ELEMENT_CAST (self), 538 : FALSE); 539 : } 540 : - 541 121 : old = GST_JOIN_PAD_CAST (self->active_sinkpad); - 542 121 : new = GST_JOIN_PAD_CAST (pad); + 541 123 : old = GST_JOIN_PAD_CAST (self->active_sinkpad); + 542 123 : new = GST_JOIN_PAD_CAST (pad); 543 : - 544 121 : GST_DEBUG_OBJECT (self, "setting active pad to %s:%s", + 544 123 : GST_DEBUG_OBJECT (self, "setting active pad to %s:%s", 545 : GST_DEBUG_PAD_NAME (new)); 546 : - 547 121 : active_pad_p = &self->active_sinkpad; - 548 121 : gst_object_replace ((GstObject **) active_pad_p, GST_OBJECT_CAST (pad)); + 547 123 : active_pad_p = &self->active_sinkpad; + 548 123 : gst_object_replace ((GstObject **) active_pad_p, GST_OBJECT_CAST (pad)); 549 : - 550 121 : if (old && old != new) - 551 121 : gst_pad_push_event (GST_PAD_CAST (old), gst_event_new_reconfigure ()); - 552 121 : if (new) - 553 121 : gst_pad_push_event (GST_PAD_CAST (new), gst_event_new_reconfigure ()); + 550 123 : if (old && old != new) + 551 123 : gst_pad_push_event (GST_PAD_CAST (old), gst_event_new_reconfigure ()); + 552 123 : if (new) + 553 123 : gst_pad_push_event (GST_PAD_CAST (new), gst_event_new_reconfigure ()); 554 : - 555 121 : GST_DEBUG_OBJECT (self, "New active pad is %" GST_PTR_FORMAT, + 555 123 : GST_DEBUG_OBJECT (self, "New active pad is %" GST_PTR_FORMAT, 556 : self->active_sinkpad); 557 : - 558 121 : return TRUE; + 558 123 : return TRUE; 559 : } 560 : 561 : /** @@ -650,20 +650,20 @@ 588 : * @brief Get linked pad 589 : */ 590 : static GstPad * - 591 140 : gst_join_get_linked_pad (GstJoin * sel, GstPad * pad, gboolean strict) + 591 142 : gst_join_get_linked_pad (GstJoin * sel, GstPad * pad, gboolean strict) 592 : { - 593 140 : GstPad *otherpad = NULL; + 593 142 : GstPad *otherpad = NULL; 594 : - 595 140 : GST_JOIN_LOCK (sel); - 596 140 : if (pad == sel->srcpad) + 595 142 : GST_JOIN_LOCK (sel); + 596 142 : if (pad == sel->srcpad) 597 83 : otherpad = sel->active_sinkpad; - 598 57 : else if (pad == sel->active_sinkpad || !strict) - 599 15 : otherpad = sel->srcpad; - 600 140 : if (otherpad) - 601 39 : gst_object_ref (otherpad); - 602 140 : GST_JOIN_UNLOCK (sel); + 598 59 : else if (pad == sel->active_sinkpad || !strict) + 599 13 : otherpad = sel->srcpad; + 600 142 : if (otherpad) + 601 37 : gst_object_ref (otherpad); + 602 142 : GST_JOIN_UNLOCK (sel); 603 : - 604 140 : return otherpad; + 604 142 : return otherpad; 605 : } 606 : 607 : /** @@ -671,12 +671,12 @@ 609 : * @note must be called with JOIN_LOCK. 610 : */ 611 : static GstPad * - 612 117 : gst_join_get_active_sinkpad (GstJoin * sel) + 612 118 : gst_join_get_active_sinkpad (GstJoin * sel) 613 : { 614 : GstPad *active_sinkpad; 615 : - 616 117 : active_sinkpad = sel->active_sinkpad; - 617 117 : if (active_sinkpad == NULL) { + 616 118 : active_sinkpad = sel->active_sinkpad; + 617 118 : if (active_sinkpad == NULL) { 618 12 : GValue item = G_VALUE_INIT; 619 12 : GstIterator *iter = gst_element_iterate_sink_pads (GST_ELEMENT_CAST (sel)); 620 : GstIteratorResult ires; @@ -698,7 +698,7 @@ 636 12 : gst_iterator_free (iter); 637 : } 638 : - 639 117 : return active_sinkpad; + 639 118 : return active_sinkpad; 640 : } 641 : 642 : /** diff --git a/testresult/nnstreamer-2.4.2/gst/join/index-sort-f.html b/testresult/nnstreamer-2.4.2/gst/join/index-sort-f.html index ccff51a4e..d2ed2d7a0 100644 --- a/testresult/nnstreamer-2.4.2/gst/join/index-sort-f.html +++ b/testresult/nnstreamer-2.4.2/gst/join/index-sort-f.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/join + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/join @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 94.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 96.3 % diff --git a/testresult/nnstreamer-2.4.2/gst/join/index-sort-l.html b/testresult/nnstreamer-2.4.2/gst/join/index-sort-l.html index 60641f92c..37cc9a1af 100644 --- a/testresult/nnstreamer-2.4.2/gst/join/index-sort-l.html +++ b/testresult/nnstreamer-2.4.2/gst/join/index-sort-l.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/join + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/join @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 94.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 96.3 % diff --git a/testresult/nnstreamer-2.4.2/gst/join/index.html b/testresult/nnstreamer-2.4.2/gst/join/index.html index 8fa2dde5d..3f1530d33 100644 --- a/testresult/nnstreamer-2.4.2/gst/join/index.html +++ b/testresult/nnstreamer-2.4.2/gst/join/index.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/join + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/join @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 94.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 96.3 % diff --git a/testresult/nnstreamer-2.4.2/gst/mqtt/index-sort-f.html b/testresult/nnstreamer-2.4.2/gst/mqtt/index-sort-f.html index f508763d1..a50369dac 100644 --- a/testresult/nnstreamer-2.4.2/gst/mqtt/index-sort-f.html +++ b/testresult/nnstreamer-2.4.2/gst/mqtt/index-sort-f.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/mqtt + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/mqtt @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 82.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 90.9 % diff --git a/testresult/nnstreamer-2.4.2/gst/mqtt/index-sort-l.html b/testresult/nnstreamer-2.4.2/gst/mqtt/index-sort-l.html index e069ada98..c0f43ca3a 100644 --- a/testresult/nnstreamer-2.4.2/gst/mqtt/index-sort-l.html +++ b/testresult/nnstreamer-2.4.2/gst/mqtt/index-sort-l.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/mqtt + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/mqtt @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 82.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 90.9 % diff --git a/testresult/nnstreamer-2.4.2/gst/mqtt/index.html b/testresult/nnstreamer-2.4.2/gst/mqtt/index.html index 24cb47533..ae17c922a 100644 --- a/testresult/nnstreamer-2.4.2/gst/mqtt/index.html +++ b/testresult/nnstreamer-2.4.2/gst/mqtt/index.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/mqtt + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/mqtt @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 82.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 90.9 % diff --git a/testresult/nnstreamer-2.4.2/gst/mqtt/mqttcommon.h.func-c.html b/testresult/nnstreamer-2.4.2/gst/mqtt/mqttcommon.h.func-c.html index 6114562f1..468408590 100644 --- a/testresult/nnstreamer-2.4.2/gst/mqtt/mqttcommon.h.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/mqtt/mqttcommon.h.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/mqtt/mqttcommon.h - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/mqtt/mqttcommon.h - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/mqtt/mqttcommon.h.func.html b/testresult/nnstreamer-2.4.2/gst/mqtt/mqttcommon.h.func.html index 92f992926..811ce3b19 100644 --- a/testresult/nnstreamer-2.4.2/gst/mqtt/mqttcommon.h.func.html +++ b/testresult/nnstreamer-2.4.2/gst/mqtt/mqttcommon.h.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/mqtt/mqttcommon.h - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/mqtt/mqttcommon.h - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/mqtt/mqttcommon.h.gcov.html b/testresult/nnstreamer-2.4.2/gst/mqtt/mqttcommon.h.gcov.html index d701f5dd5..ff21c8008 100644 --- a/testresult/nnstreamer-2.4.2/gst/mqtt/mqttcommon.h.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/mqtt/mqttcommon.h.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/mqtt/mqttcommon.h + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/mqtt/mqttcommon.h @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/mqtt/mqttelements.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/mqtt/mqttelements.c.func-c.html index 0ea2ffeed..0530378de 100644 --- a/testresult/nnstreamer-2.4.2/gst/mqtt/mqttelements.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/mqtt/mqttelements.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/mqtt/mqttelements.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/mqtt/mqttelements.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 71.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 66.7 % diff --git a/testresult/nnstreamer-2.4.2/gst/mqtt/mqttelements.c.func.html b/testresult/nnstreamer-2.4.2/gst/mqtt/mqttelements.c.func.html index 438170845..0440d7e61 100644 --- a/testresult/nnstreamer-2.4.2/gst/mqtt/mqttelements.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/mqtt/mqttelements.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/mqtt/mqttelements.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/mqtt/mqttelements.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 71.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 66.7 % diff --git a/testresult/nnstreamer-2.4.2/gst/mqtt/mqttelements.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/mqtt/mqttelements.c.gcov.html index 71802dd34..56f95ad1a 100644 --- a/testresult/nnstreamer-2.4.2/gst/mqtt/mqttelements.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/mqtt/mqttelements.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/mqtt/mqttelements.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/mqtt/mqttelements.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 71.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 66.7 % diff --git a/testresult/nnstreamer-2.4.2/gst/mqtt/mqttsink.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/mqtt/mqttsink.c.func-c.html index 3d487bce6..c44c5b40f 100644 --- a/testresult/nnstreamer-2.4.2/gst/mqtt/mqttsink.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/mqtt/mqttsink.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/mqtt/mqttsink.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/mqtt/mqttsink.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 80.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 90.6 % diff --git a/testresult/nnstreamer-2.4.2/gst/mqtt/mqttsink.c.func.html b/testresult/nnstreamer-2.4.2/gst/mqtt/mqttsink.c.func.html index bd1bcae81..50284d62e 100644 --- a/testresult/nnstreamer-2.4.2/gst/mqtt/mqttsink.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/mqtt/mqttsink.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/mqtt/mqttsink.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/mqtt/mqttsink.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 80.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 90.6 % diff --git a/testresult/nnstreamer-2.4.2/gst/mqtt/mqttsink.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/mqtt/mqttsink.c.gcov.html index 0e08eeaed..3551765c3 100644 --- a/testresult/nnstreamer-2.4.2/gst/mqtt/mqttsink.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/mqtt/mqttsink.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/mqtt/mqttsink.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/mqtt/mqttsink.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 80.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 90.6 % diff --git a/testresult/nnstreamer-2.4.2/gst/mqtt/mqttsrc.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/mqtt/mqttsrc.c.func-c.html index 629040332..2469e5295 100644 --- a/testresult/nnstreamer-2.4.2/gst/mqtt/mqttsrc.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/mqtt/mqttsrc.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/mqtt/mqttsrc.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/mqtt/mqttsrc.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 83.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 94.1 % diff --git a/testresult/nnstreamer-2.4.2/gst/mqtt/mqttsrc.c.func.html b/testresult/nnstreamer-2.4.2/gst/mqtt/mqttsrc.c.func.html index 7a34aee68..9af6cbd89 100644 --- a/testresult/nnstreamer-2.4.2/gst/mqtt/mqttsrc.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/mqtt/mqttsrc.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/mqtt/mqttsrc.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/mqtt/mqttsrc.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 83.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 94.1 % diff --git a/testresult/nnstreamer-2.4.2/gst/mqtt/mqttsrc.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/mqtt/mqttsrc.c.gcov.html index 59d7e7047..071ef6889 100644 --- a/testresult/nnstreamer-2.4.2/gst/mqtt/mqttsrc.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/mqtt/mqttsrc.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/mqtt/mqttsrc.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/mqtt/mqttsrc.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 83.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 94.1 % diff --git a/testresult/nnstreamer-2.4.2/gst/mqtt/ntputil.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/mqtt/ntputil.c.func-c.html index 1016cedc7..27e1ea399 100644 --- a/testresult/nnstreamer-2.4.2/gst/mqtt/ntputil.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/mqtt/ntputil.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/mqtt/ntputil.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/mqtt/ntputil.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 92.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 50.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/mqtt/ntputil.c.func.html b/testresult/nnstreamer-2.4.2/gst/mqtt/ntputil.c.func.html index c8d47cbb3..e00c584fb 100644 --- a/testresult/nnstreamer-2.4.2/gst/mqtt/ntputil.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/mqtt/ntputil.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/mqtt/ntputil.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/mqtt/ntputil.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 92.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 50.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/mqtt/ntputil.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/mqtt/ntputil.c.gcov.html index 0416ce942..442be87c3 100644 --- a/testresult/nnstreamer-2.4.2/gst/mqtt/ntputil.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/mqtt/ntputil.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/mqtt/ntputil.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/mqtt/ntputil.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 92.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 50.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_aggregator.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_aggregator.c.func-c.html index 38d854fdf..5c2048f76 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_aggregator.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_aggregator.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_aggregator.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_aggregator.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -184,7 +184,7 @@ gst_tensor_aggregator_get_type - 1461 + 1463 @@ -198,14 +198,14 @@ gst_tensor_aggregator_get_type_once - 449 + 450 gst_tensor_aggregator_get_type - 992 + 993 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_aggregator.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_aggregator.c.func.html index 79d5ca835..37cbad691 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_aggregator.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_aggregator.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_aggregator.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_aggregator.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -121,7 +121,7 @@ gst_tensor_aggregator_get_type - 1461 + 1463 @@ -135,14 +135,14 @@ gst_tensor_aggregator_get_type - 992 + 993 gst_tensor_aggregator_get_type_once - 449 + 450 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_aggregator.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_aggregator.c.gcov.html index 1a1dbb0f9..57043e141 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_aggregator.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_aggregator.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_aggregator.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_aggregator.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -184,7 +184,7 @@ 122 : GST_STATIC_CAPS (CAPS_STRING)); 123 : 124 : #define gst_tensor_aggregator_parent_class parent_class - 125 1461 : G_DEFINE_TYPE (GstTensorAggregator, gst_tensor_aggregator, GST_TYPE_ELEMENT); + 125 1463 : G_DEFINE_TYPE (GstTensorAggregator, gst_tensor_aggregator, GST_TYPE_ELEMENT); 126 : 127 : static void gst_tensor_aggregator_finalize (GObject * object); 128 : static void gst_tensor_aggregator_set_property (GObject * object, diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_converter.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_converter.c.func-c.html index 4da2108e5..2ff7b601d 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_converter.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_converter.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_converter.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_converter.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 85.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 97.6 % @@ -177,182 +177,182 @@ gst_tensor_converter_class_init - 437 + 438 gst_tensor_converter_parse_video - 620 + 621 gst_tensor_converter_video_stride - 620 + 621 gst_tensor_converter_finalize - 844 + 845 gst_tensor_converter_parse_caps - 864 + 865 gst_tensor_converter_init - 901 + 902 gst_tensor_converter_update_caps - 908 + 909 unregisterExternalConverter - 1749 + 1753 nnstreamer_converter_validate - 1755 + 1759 registerExternalConverter - 1755 + 1759 nnstreamer_converter_find - 1952 + 1956 gst_tensor_converter_sink_event - 3385 + 3387 gst_tensor_converter_reset - 3401 + 3405 gst_tensor_converter_get_possible_media_caps - 4170 + 4196 gst_tensor_converter_change_state - 4962 + 4968 gst_tensor_converter_src_query - 5909 + 5917 gst_tensor_converter_sink_query - 6812 + 6852 gst_tensor_converter_query_caps - 7584 + 7612 _gst_tensor_converter_chain_push - 33744 + 33659 _gst_tensor_converter_chain_segment - 33753 + 33668 _gst_tensor_converter_chain_timestamp - 33753 + 33668 gst_tensor_converter_chain - 33755 + 33670 gst_tensor_converter_get_type - 57324 + 57299 gst_tensor_converter_class_intern_init - 437 + 438 gst_tensor_converter_get_type_once - 449 + 450 gst_tensor_converter_get_type - 56438 + 56411 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_converter.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_converter.c.func.html index 829c742f2..3e9d37ccb 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_converter.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_converter.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_converter.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_converter.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 85.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 97.6 % @@ -86,21 +86,21 @@ _gst_tensor_converter_chain_push - 33744 + 33659 _gst_tensor_converter_chain_segment - 33753 + 33668 _gst_tensor_converter_chain_timestamp - 33753 + 33668 @@ -114,28 +114,28 @@ gst_tensor_converter_chain - 33755 + 33670 gst_tensor_converter_change_state - 4962 + 4968 gst_tensor_converter_class_init - 437 + 438 gst_tensor_converter_finalize - 844 + 845 @@ -156,7 +156,7 @@ gst_tensor_converter_get_possible_media_caps - 4170 + 4196 @@ -170,35 +170,35 @@ gst_tensor_converter_get_type - 57324 + 57299 gst_tensor_converter_class_intern_init - 437 + 438 gst_tensor_converter_get_type - 56438 + 56411 gst_tensor_converter_get_type_once - 449 + 450 gst_tensor_converter_init - 901 + 902 @@ -212,7 +212,7 @@ gst_tensor_converter_parse_caps - 864 + 865 @@ -247,21 +247,21 @@ gst_tensor_converter_parse_video - 620 + 621 gst_tensor_converter_query_caps - 7584 + 7612 gst_tensor_converter_reset - 3401 + 3405 @@ -275,35 +275,35 @@ gst_tensor_converter_sink_event - 3385 + 3387 gst_tensor_converter_sink_query - 6812 + 6852 gst_tensor_converter_src_query - 5909 + 5917 gst_tensor_converter_update_caps - 908 + 909 gst_tensor_converter_video_stride - 620 + 621 @@ -324,7 +324,7 @@ nnstreamer_converter_find - 1952 + 1956 @@ -338,21 +338,21 @@ nnstreamer_converter_validate - 1755 + 1759 registerExternalConverter - 1755 + 1759 unregisterExternalConverter - 1749 + 1753 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_converter.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_converter.c.gcov.html index 885cf222e..932c4d6f8 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_converter.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_converter.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_converter.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_converter.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 85.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 97.6 % @@ -204,7 +204,7 @@ 142 : #define DEFAULT_FRAMES_PER_TENSOR 1 143 : 144 : #define gst_tensor_converter_parent_class parent_class - 145 57324 : G_DEFINE_TYPE (GstTensorConverter, gst_tensor_converter, GST_TYPE_ELEMENT); + 145 57299 : G_DEFINE_TYPE (GstTensorConverter, gst_tensor_converter, GST_TYPE_ELEMENT); 146 : 147 : static void gst_tensor_converter_finalize (GObject * object); 148 : static void gst_tensor_converter_set_property (GObject * object, @@ -237,7 +237,7 @@ 175 : * @brief Initialize the tensor_converter's class. 176 : */ 177 : static void - 178 437 : gst_tensor_converter_class_init (GstTensorConverterClass * klass) + 178 438 : gst_tensor_converter_class_init (GstTensorConverterClass * klass) 179 : { 180 : GObjectClass *object_class; 181 : GstElementClass *element_class; @@ -247,16 +247,16 @@ 185 : guint total, i; 186 : const NNStreamerExternalConverter *ex; 187 : - 188 437 : GST_DEBUG_CATEGORY_INIT (gst_tensor_converter_debug, "tensor_converter", 0, + 188 438 : GST_DEBUG_CATEGORY_INIT (gst_tensor_converter_debug, "tensor_converter", 0, 189 : "Element to convert media stream to tensor stream"); 190 : - 191 437 : object_class = (GObjectClass *) klass; - 192 437 : element_class = (GstElementClass *) klass; + 191 438 : object_class = (GObjectClass *) klass; + 192 438 : element_class = (GstElementClass *) klass; 193 : 194 : /* GObjectClass vmethods */ - 195 437 : object_class->set_property = gst_tensor_converter_set_property; - 196 437 : object_class->get_property = gst_tensor_converter_get_property; - 197 437 : object_class->finalize = gst_tensor_converter_finalize; + 195 438 : object_class->set_property = gst_tensor_converter_set_property; + 196 438 : object_class->get_property = gst_tensor_converter_get_property; + 197 438 : object_class->finalize = gst_tensor_converter_finalize; 198 : 199 : /** 200 : * GstTensorConverter::input-dim: @@ -266,7 +266,7 @@ 204 : * When setting this property and input media type is video or audio stream, GstTensorConverter will compare the media info with this. 205 : * (If it is different, it will be failed.) 206 : */ - 207 437 : g_object_class_install_property (object_class, PROP_INPUT_DIMENSION, + 207 438 : g_object_class_install_property (object_class, PROP_INPUT_DIMENSION, 208 : g_param_spec_string ("input-dim", "Input tensor dimension", 209 : "Input tensor dimension from inner array", "", 210 : G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); @@ -279,7 +279,7 @@ 217 : * When setting this property and input media type is video or audio stream, GstTensorConverter will compare the media info with this. 218 : * (If it is different, it will be failed.) 219 : */ - 220 437 : g_object_class_install_property (object_class, PROP_INPUT_TYPE, + 220 438 : g_object_class_install_property (object_class, PROP_INPUT_TYPE, 221 : g_param_spec_string ("input-type", "Input tensor type", 222 : "Type of each element of the input tensor", "", 223 : G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); @@ -290,7 +290,7 @@ 228 : * The number of frames in outgoing buffer. (buffer is a single tensor instance) 229 : * GstTensorConverter can push a buffer with multiple media frames. 230 : */ - 231 437 : g_object_class_install_property (object_class, PROP_FRAMES_PER_TENSOR, + 231 438 : g_object_class_install_property (object_class, PROP_FRAMES_PER_TENSOR, 232 : g_param_spec_uint ("frames-per-tensor", "Frames per tensor", 233 : "The number of frames in output tensor", 1, G_MAXUINT, 234 : DEFAULT_FRAMES_PER_TENSOR, @@ -301,7 +301,7 @@ 239 : * 240 : * The flag to set timestamp when received a buffer with invalid timestamp. 241 : */ - 242 437 : g_object_class_install_property (object_class, PROP_SET_TIMESTAMP, + 242 438 : g_object_class_install_property (object_class, PROP_SET_TIMESTAMP, 243 : g_param_spec_boolean ("set-timestamp", "Set timestamp", 244 : "The flag to set timestamp when received a buffer with invalid timestamp", 245 : DEFAULT_SET_TIMESTAMP, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); @@ -311,7 +311,7 @@ 249 : * 250 : * Registrable sub-plugins list of tensor-converter. 251 : */ - 252 437 : g_object_class_install_property (object_class, PROP_SUBPLUGINS, + 252 438 : g_object_class_install_property (object_class, PROP_SUBPLUGINS, 253 : g_param_spec_string ("sub-plugins", "Sub-plugins", 254 : "Registrable sub-plugins list", "", 255 : G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); @@ -321,7 +321,7 @@ 259 : * 260 : * The flag to enable/disable debugging messages. 261 : */ - 262 437 : g_object_class_install_property (object_class, PROP_SILENT, + 262 438 : g_object_class_install_property (object_class, PROP_SILENT, 263 : g_param_spec_boolean ("silent", "Silent", "Produce verbose output", 264 : DEFAULT_SILENT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 265 : @@ -330,136 +330,136 @@ 268 : * 269 : * Generally this property is used to set tensor converter custom mode. 270 : */ - 271 437 : g_object_class_install_property (object_class, PROP_MODE, + 271 438 : g_object_class_install_property (object_class, PROP_MODE, 272 : g_param_spec_string ("mode", "Mode", 273 : "Converter mode. e.g., mode=custom-code:<registered callback name>. For detail, refer to https://github.com/nnstreamer/nnstreamer/blob/main/gst/nnstreamer/elements/gsttensor_converter.md#custom-converter", 274 : "", G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 275 : 276 : /* set src pad template */ 277 : pad_caps = - 278 437 : gst_caps_from_string (GST_TENSOR_CAP_DEFAULT ";" + 278 438 : gst_caps_from_string (GST_TENSOR_CAP_DEFAULT ";" 279 : GST_TENSORS_CAP_MAKE ("{ static, flexible }")); 280 : - 281 437 : pad_template = gst_pad_template_new ("src", GST_PAD_SRC, GST_PAD_ALWAYS, + 281 438 : pad_template = gst_pad_template_new ("src", GST_PAD_SRC, GST_PAD_ALWAYS, 282 : pad_caps); - 283 437 : gst_element_class_add_pad_template (element_class, pad_template); + 283 438 : gst_element_class_add_pad_template (element_class, pad_template); 284 : - 285 437 : gst_caps_unref (pad_caps); + 285 438 : gst_caps_unref (pad_caps); 286 : 287 : /* set sink pad template */ - 288 437 : pad_caps = gst_caps_new_empty (); + 288 438 : pad_caps = gst_caps_new_empty (); 289 : 290 : /* append caps string for all media types */ - 291 437 : append_video_caps_template (pad_caps); - 292 437 : append_audio_caps_template (pad_caps); - 293 437 : append_text_caps_template (pad_caps); - 294 437 : append_octet_caps_template (pad_caps); - 295 437 : append_flex_tensor_caps_template (pad_caps); + 291 438 : append_video_caps_template (pad_caps); + 292 438 : append_audio_caps_template (pad_caps); + 293 438 : append_text_caps_template (pad_caps); + 294 438 : append_octet_caps_template (pad_caps); + 295 438 : append_flex_tensor_caps_template (pad_caps); 296 : 297 : /* append sub-plugin template caps */ - 298 437 : str_array = get_all_subplugins (NNS_SUBPLUGIN_CONVERTER); - 299 437 : if (str_array) { - 300 437 : total = g_strv_length (str_array); + 298 438 : str_array = get_all_subplugins (NNS_SUBPLUGIN_CONVERTER); + 299 438 : if (str_array) { + 300 438 : total = g_strv_length (str_array); 301 : - 302 2185 : for (i = 0; i < total; i++) { - 303 1748 : ex = nnstreamer_converter_find (str_array[i]); - 304 1748 : if (ex && ex->query_caps) - 305 1748 : gst_caps_append (pad_caps, ex->query_caps (NULL)); + 302 2190 : for (i = 0; i < total; i++) { + 303 1752 : ex = nnstreamer_converter_find (str_array[i]); + 304 1752 : if (ex && ex->query_caps) + 305 1752 : gst_caps_append (pad_caps, ex->query_caps (NULL)); 306 : } 307 : - 308 437 : g_strfreev (str_array); + 308 438 : g_strfreev (str_array); 309 : } 310 : - 311 437 : pad_template = gst_pad_template_new ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, + 311 438 : pad_template = gst_pad_template_new ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, 312 : pad_caps); - 313 437 : gst_element_class_add_pad_template (element_class, pad_template); + 313 438 : gst_element_class_add_pad_template (element_class, pad_template); 314 : - 315 437 : gst_caps_unref (pad_caps); + 315 438 : gst_caps_unref (pad_caps); 316 : - 317 437 : gst_element_class_set_static_metadata (element_class, + 317 438 : gst_element_class_set_static_metadata (element_class, 318 : "TensorConverter", 319 : "Converter/Tensor", 320 : "Converts an audio, video, text, or arbitrary stream to a tensor stream of C-Array for neural network framework filters", 321 : "MyungJoo Ham <myungjoo.ham@samsung.com>"); 322 : 323 : /* GstElementClass vmethods */ - 324 437 : element_class->change_state = gst_tensor_converter_change_state; - 325 437 : } + 324 438 : element_class->change_state = gst_tensor_converter_change_state; + 325 438 : } 326 : 327 : /** 328 : * @brief Initialize tensor_converter element. 329 : */ 330 : static void - 331 901 : gst_tensor_converter_init (GstTensorConverter * self) + 331 902 : gst_tensor_converter_init (GstTensorConverter * self) 332 : { 333 : /** setup sink pad */ - 334 901 : self->sinkpad = - 335 901 : gst_pad_new_from_template (gst_element_class_get_pad_template - 336 901 : (GST_ELEMENT_GET_CLASS (self), "sink"), "sink"); - 337 901 : gst_pad_set_event_function (self->sinkpad, + 334 902 : self->sinkpad = + 335 902 : gst_pad_new_from_template (gst_element_class_get_pad_template + 336 902 : (GST_ELEMENT_GET_CLASS (self), "sink"), "sink"); + 337 902 : gst_pad_set_event_function (self->sinkpad, 338 : GST_DEBUG_FUNCPTR (gst_tensor_converter_sink_event)); - 339 901 : gst_pad_set_query_function (self->sinkpad, + 339 902 : gst_pad_set_query_function (self->sinkpad, 340 : GST_DEBUG_FUNCPTR (gst_tensor_converter_sink_query)); - 341 901 : gst_pad_set_chain_function (self->sinkpad, + 341 902 : gst_pad_set_chain_function (self->sinkpad, 342 : GST_DEBUG_FUNCPTR (gst_tensor_converter_chain)); - 343 901 : GST_PAD_SET_PROXY_CAPS (self->sinkpad); - 344 901 : gst_element_add_pad (GST_ELEMENT (self), self->sinkpad); + 343 902 : GST_PAD_SET_PROXY_CAPS (self->sinkpad); + 344 902 : gst_element_add_pad (GST_ELEMENT (self), self->sinkpad); 345 : 346 : /** setup src pad */ - 347 901 : self->srcpad = - 348 901 : gst_pad_new_from_template (gst_element_class_get_pad_template - 349 901 : (GST_ELEMENT_GET_CLASS (self), "src"), "src"); - 350 901 : gst_pad_set_query_function (self->srcpad, + 347 902 : self->srcpad = + 348 902 : gst_pad_new_from_template (gst_element_class_get_pad_template + 349 902 : (GST_ELEMENT_GET_CLASS (self), "src"), "src"); + 350 902 : gst_pad_set_query_function (self->srcpad, 351 : GST_DEBUG_FUNCPTR (gst_tensor_converter_src_query)); - 352 901 : GST_PAD_SET_PROXY_CAPS (self->srcpad); - 353 901 : gst_element_add_pad (GST_ELEMENT (self), self->srcpad); + 352 902 : GST_PAD_SET_PROXY_CAPS (self->srcpad); + 353 902 : gst_element_add_pad (GST_ELEMENT (self), self->srcpad); 354 : 355 : /** init properties */ - 356 901 : self->silent = DEFAULT_SILENT; - 357 901 : self->set_timestamp = DEFAULT_SET_TIMESTAMP; - 358 901 : self->frames_per_tensor = DEFAULT_FRAMES_PER_TENSOR; - 359 901 : self->in_media_type = _NNS_MEDIA_INVALID; - 360 901 : self->frame_size = 0; - 361 901 : self->remove_padding = FALSE; - 362 901 : self->externalConverter = NULL; - 363 901 : self->priv_data = NULL; - 364 901 : self->mode = _CONVERTER_MODE_NONE; - 365 901 : self->mode_option = NULL; - 366 901 : self->custom.func = NULL; - 367 901 : self->custom.data = NULL; - 368 901 : self->do_not_append_header = FALSE; - 369 901 : gst_tensors_info_init (&self->tensors_info); - 370 901 : gst_tensors_config_init (&self->tensors_config); - 371 901 : self->tensors_configured = FALSE; + 356 902 : self->silent = DEFAULT_SILENT; + 357 902 : self->set_timestamp = DEFAULT_SET_TIMESTAMP; + 358 902 : self->frames_per_tensor = DEFAULT_FRAMES_PER_TENSOR; + 359 902 : self->in_media_type = _NNS_MEDIA_INVALID; + 360 902 : self->frame_size = 0; + 361 902 : self->remove_padding = FALSE; + 362 902 : self->externalConverter = NULL; + 363 902 : self->priv_data = NULL; + 364 902 : self->mode = _CONVERTER_MODE_NONE; + 365 902 : self->mode_option = NULL; + 366 902 : self->custom.func = NULL; + 367 902 : self->custom.data = NULL; + 368 902 : self->do_not_append_header = FALSE; + 369 902 : gst_tensors_info_init (&self->tensors_info); + 370 902 : gst_tensors_config_init (&self->tensors_config); + 371 902 : self->tensors_configured = FALSE; 372 : - 373 901 : self->adapter_table = gst_tensor_aggregation_init (); - 374 901 : gst_tensor_converter_reset (self); - 375 901 : } + 373 902 : self->adapter_table = gst_tensor_aggregation_init (); + 374 902 : gst_tensor_converter_reset (self); + 375 902 : } 376 : 377 : /** 378 : * @brief Function to finalize instance. 379 : */ 380 : static void - 381 844 : gst_tensor_converter_finalize (GObject * object) + 381 845 : gst_tensor_converter_finalize (GObject * object) 382 : { 383 : GstTensorConverter *self; 384 : - 385 844 : self = GST_TENSOR_CONVERTER (object); + 385 845 : self = GST_TENSOR_CONVERTER (object); 386 : - 387 844 : gst_tensor_converter_reset (self); + 387 845 : gst_tensor_converter_reset (self); 388 : - 389 844 : gst_tensors_config_free (&self->tensors_config); - 390 844 : gst_tensors_info_free (&self->tensors_info); - 391 844 : g_hash_table_destroy (self->adapter_table); + 389 845 : gst_tensors_config_free (&self->tensors_config); + 390 845 : gst_tensors_info_free (&self->tensors_info); + 391 845 : g_hash_table_destroy (self->adapter_table); 392 : - 393 844 : g_free (self->mode_option); - 394 844 : g_free (self->ext_fw); - 395 844 : self->custom.func = NULL; - 396 844 : self->custom.data = NULL; - 397 844 : if (self->externalConverter && self->externalConverter->close) + 393 845 : g_free (self->mode_option); + 394 845 : g_free (self->ext_fw); + 395 845 : self->custom.func = NULL; + 396 845 : self->custom.data = NULL; + 397 845 : if (self->externalConverter && self->externalConverter->close) 398 12 : self->externalConverter->close (&self->priv_data); - 399 844 : G_OBJECT_CLASS (parent_class)->finalize (object); - 400 844 : } + 399 845 : G_OBJECT_CLASS (parent_class)->finalize (object); + 400 845 : } 401 : 402 : /** 403 : * @brief Setter for tensor_converter properties. @@ -645,28 +645,28 @@ 583 : * @brief This function handles sink event. 584 : */ 585 : static gboolean - 586 3385 : gst_tensor_converter_sink_event (GstPad * pad, GstObject * parent, + 586 3387 : gst_tensor_converter_sink_event (GstPad * pad, GstObject * parent, 587 : GstEvent * event) 588 : { 589 : GstTensorConverter *self; 590 : - 591 3385 : self = GST_TENSOR_CONVERTER (parent); + 591 3387 : self = GST_TENSOR_CONVERTER (parent); 592 : - 593 3385 : GST_DEBUG_OBJECT (self, "Received %s event: %" GST_PTR_FORMAT, + 593 3387 : GST_DEBUG_OBJECT (self, "Received %s event: %" GST_PTR_FORMAT, 594 : GST_EVENT_TYPE_NAME (event), event); 595 : - 596 3385 : switch (GST_EVENT_TYPE (event)) { - 597 864 : case GST_EVENT_CAPS: + 596 3387 : switch (GST_EVENT_TYPE (event)) { + 597 865 : case GST_EVENT_CAPS: 598 : { 599 : GstCaps *in_caps; 600 : - 601 864 : gst_event_parse_caps (event, &in_caps); - 602 864 : silent_debug_caps (self, in_caps, "in-caps"); + 601 865 : gst_event_parse_caps (event, &in_caps); + 602 865 : silent_debug_caps (self, in_caps, "in-caps"); 603 : - 604 864 : if (gst_tensor_converter_parse_caps (self, in_caps)) { - 605 834 : gst_tensor_converter_update_caps (self); - 606 834 : gst_event_unref (event); - 607 864 : return TRUE; + 604 865 : if (gst_tensor_converter_parse_caps (self, in_caps)) { + 605 835 : gst_tensor_converter_update_caps (self); + 606 835 : gst_event_unref (event); + 607 865 : return TRUE; 608 : } else { 609 30 : gst_event_unref (event); 610 30 : return FALSE; @@ -676,18 +676,18 @@ 614 0 : case GST_EVENT_FLUSH_STOP: 615 0 : gst_tensor_converter_reset (self); 616 0 : break; - 617 829 : case GST_EVENT_SEGMENT: + 617 830 : case GST_EVENT_SEGMENT: 618 : { 619 : GstSegment seg; 620 : - 621 829 : gst_event_copy_segment (event, &seg); - 622 829 : silent_debug (self, "received seg %s", gst_format_get_name (seg.format)); + 621 830 : gst_event_copy_segment (event, &seg); + 622 830 : silent_debug (self, "received seg %s", gst_format_get_name (seg.format)); 623 : - 624 829 : self->segment = seg; - 625 829 : self->have_segment = TRUE; + 624 830 : self->segment = seg; + 625 830 : self->have_segment = TRUE; 626 : - 627 829 : if (seg.format == GST_FORMAT_TIME) { - 628 829 : return gst_pad_push_event (self->srcpad, event); + 627 830 : if (seg.format == GST_FORMAT_TIME) { + 628 830 : return gst_pad_push_event (self->srcpad, event); 629 : } 630 : 631 100 : if (seg.format == GST_FORMAT_BYTES) { @@ -713,52 +713,52 @@ 651 : * @brief This function handles sink pad query. 652 : */ 653 : static gboolean - 654 6812 : gst_tensor_converter_sink_query (GstPad * pad, GstObject * parent, + 654 6852 : gst_tensor_converter_sink_query (GstPad * pad, GstObject * parent, 655 : GstQuery * query) 656 : { 657 : GstTensorConverter *self; 658 : - 659 6812 : self = GST_TENSOR_CONVERTER (parent); - 660 6812 : GST_DEBUG_OBJECT (self, "Received %s query: %" GST_PTR_FORMAT, + 659 6852 : self = GST_TENSOR_CONVERTER (parent); + 660 6852 : GST_DEBUG_OBJECT (self, "Received %s query: %" GST_PTR_FORMAT, 661 : GST_QUERY_TYPE_NAME (query), query); 662 : - 663 6812 : switch (GST_QUERY_TYPE (query)) { - 664 4170 : case GST_QUERY_CAPS: + 663 6852 : switch (GST_QUERY_TYPE (query)) { + 664 4196 : case GST_QUERY_CAPS: 665 : { 666 : GstCaps *caps; 667 : GstCaps *filter; 668 : - 669 4170 : gst_query_parse_caps (query, &filter); - 670 4170 : caps = gst_tensor_converter_query_caps (self, pad, filter); + 669 4196 : gst_query_parse_caps (query, &filter); + 670 4196 : caps = gst_tensor_converter_query_caps (self, pad, filter); 671 : - 672 4170 : gst_query_set_caps_result (query, caps); - 673 4170 : gst_caps_unref (caps); - 674 4170 : return TRUE; + 672 4196 : gst_query_set_caps_result (query, caps); + 673 4196 : gst_caps_unref (caps); + 674 4196 : return TRUE; 675 : } - 676 1669 : case GST_QUERY_ACCEPT_CAPS: + 676 1677 : case GST_QUERY_ACCEPT_CAPS: 677 : { 678 : GstCaps *caps; 679 : GstCaps *template_caps; - 680 1669 : gboolean res = FALSE; + 680 1677 : gboolean res = FALSE; 681 : - 682 1669 : gst_query_parse_accept_caps (query, &caps); - 683 1669 : silent_debug_caps (self, caps, "accept-caps"); + 682 1677 : gst_query_parse_accept_caps (query, &caps); + 683 1677 : silent_debug_caps (self, caps, "accept-caps"); 684 : - 685 1669 : if (gst_caps_is_fixed (caps)) { - 686 1669 : template_caps = gst_pad_get_pad_template_caps (pad); + 685 1677 : if (gst_caps_is_fixed (caps)) { + 686 1677 : template_caps = gst_pad_get_pad_template_caps (pad); 687 : - 688 1669 : res = gst_caps_can_intersect (template_caps, caps); - 689 1669 : gst_caps_unref (template_caps); + 688 1677 : res = gst_caps_can_intersect (template_caps, caps); + 689 1677 : gst_caps_unref (template_caps); 690 : } 691 : - 692 1669 : gst_query_set_accept_caps_result (query, res); - 693 1669 : return TRUE; + 692 1677 : gst_query_set_accept_caps_result (query, res); + 693 1677 : return TRUE; 694 : } - 695 973 : default: - 696 973 : break; + 695 979 : default: + 696 979 : break; 697 : } 698 : - 699 973 : return gst_pad_query_default (pad, parent, query); + 699 979 : return gst_pad_query_default (pad, parent, query); 700 : } 701 : 702 : /** @@ -781,42 +781,42 @@ 719 : * @brief This function handles src pad query. 720 : */ 721 : static gboolean - 722 5909 : gst_tensor_converter_src_query (GstPad * pad, GstObject * parent, + 722 5917 : gst_tensor_converter_src_query (GstPad * pad, GstObject * parent, 723 : GstQuery * query) 724 : { 725 : GstTensorConverter *self; 726 : - 727 5909 : self = GST_TENSOR_CONVERTER (parent); + 727 5917 : self = GST_TENSOR_CONVERTER (parent); 728 : - 729 5909 : GST_DEBUG_OBJECT (self, "Received %s query: %" GST_PTR_FORMAT, + 729 5917 : GST_DEBUG_OBJECT (self, "Received %s query: %" GST_PTR_FORMAT, 730 : GST_QUERY_TYPE_NAME (query), query); 731 : - 732 5909 : switch (GST_QUERY_TYPE (query)) { - 733 3414 : case GST_QUERY_CAPS: + 732 5917 : switch (GST_QUERY_TYPE (query)) { + 733 3416 : case GST_QUERY_CAPS: 734 : { 735 : GstCaps *caps; 736 : GstCaps *filter; 737 : - 738 3414 : gst_query_parse_caps (query, &filter); - 739 3414 : caps = gst_tensor_converter_query_caps (self, pad, filter); + 738 3416 : gst_query_parse_caps (query, &filter); + 739 3416 : caps = gst_tensor_converter_query_caps (self, pad, filter); 740 : - 741 3414 : gst_query_set_caps_result (query, caps); - 742 3414 : gst_caps_unref (caps); - 743 3414 : return TRUE; + 741 3416 : gst_query_set_caps_result (query, caps); + 742 3416 : gst_caps_unref (caps); + 743 3416 : return TRUE; 744 : } - 745 2495 : default: - 746 2495 : break; + 745 2501 : default: + 746 2501 : break; 747 : } 748 : - 749 2495 : return gst_pad_query_default (pad, parent, query); + 749 2501 : return gst_pad_query_default (pad, parent, query); 750 : } 751 : 752 : /** @brief Chain function's private routine */ 753 : static void - 754 33753 : _gst_tensor_converter_chain_segment (GstTensorConverter * self, + 754 33668 : _gst_tensor_converter_chain_segment (GstTensorConverter * self, 755 : gsize frame_size) 756 : { - 757 33753 : if (self->need_segment) { + 757 33668 : if (self->need_segment) { 758 : GstTensorsConfig *config; 759 : GstSegment seg; 760 : guint64 start; @@ -842,25 +842,25 @@ 780 : 781 100 : gst_pad_push_event (self->srcpad, gst_event_new_segment (&seg)); 782 : } - 783 33753 : } + 783 33668 : } 784 : 785 : /** @brief Chain function's private routine */ 786 : static void - 787 33753 : _gst_tensor_converter_chain_timestamp (GstTensorConverter * self, + 787 33668 : _gst_tensor_converter_chain_timestamp (GstTensorConverter * self, 788 : GstBuffer * inbuf, guint frames_in) 789 : { - 790 33753 : if (self->set_timestamp) { + 790 33668 : if (self->set_timestamp) { 791 : GstTensorsConfig *config; 792 : GstClockTime pts, duration; 793 : gboolean have_framerate; 794 : - 795 33733 : config = &self->tensors_config; - 796 33733 : have_framerate = (config->rate_n > 0 && config->rate_d > 0); + 795 33648 : config = &self->tensors_config; + 796 33648 : have_framerate = (config->rate_n > 0 && config->rate_d > 0); 797 : 798 : /* set duration */ - 799 33733 : duration = GST_BUFFER_DURATION (inbuf); + 799 33648 : duration = GST_BUFFER_DURATION (inbuf); 800 : - 801 33733 : if (!GST_CLOCK_TIME_IS_VALID (duration)) { + 801 33648 : if (!GST_CLOCK_TIME_IS_VALID (duration)) { 802 371 : if (have_framerate) { 803 : duration = 804 78 : gst_util_uint64_scale_int ((guint64) frames_in * config->rate_d, @@ -871,9 +871,9 @@ 809 : } 810 : 811 : /* set timestamp if buffer has invalid timestamp */ - 812 33733 : pts = GST_BUFFER_TIMESTAMP (inbuf); + 812 33648 : pts = GST_BUFFER_TIMESTAMP (inbuf); 813 : - 814 33733 : if (!GST_CLOCK_TIME_IS_VALID (pts)) { + 814 33648 : if (!GST_CLOCK_TIME_IS_VALID (pts)) { 815 194 : pts = self->segment.start; 816 : 817 194 : if (have_framerate) { @@ -901,8 +901,8 @@ 839 : } 840 : 841 : /* update old timestamp */ - 842 33753 : self->old_timestamp = GST_BUFFER_TIMESTAMP (inbuf); - 843 33753 : } + 842 33668 : self->old_timestamp = GST_BUFFER_TIMESTAMP (inbuf); + 843 33668 : } 844 : 845 : /** @brief Chain function's private routine to process octet stream */ 846 : static GstBuffer * @@ -997,23 +997,23 @@ 935 : 936 : /** @brief Chain function's private routine to push buffer into src pad */ 937 : static GstFlowReturn - 938 33744 : _gst_tensor_converter_chain_push (GstTensorConverter * self, GstBuffer * buf) + 938 33659 : _gst_tensor_converter_chain_push (GstTensorConverter * self, GstBuffer * buf) 939 : { - 940 33744 : GstBuffer *buffer = buf; + 940 33659 : GstBuffer *buffer = buf; 941 : - 942 33744 : if (self->in_media_type == _NNS_OCTET) { + 942 33659 : if (self->in_media_type == _NNS_OCTET) { 943 : /* configure multi tensors */ 944 234 : buffer = _gst_tensor_converter_chain_octet (self, buffer); 945 : } 946 : 947 : /* if output is flexible, add header. */ - 948 33744 : if (!self->do_not_append_header - 949 33726 : && gst_tensor_pad_caps_is_flexible (self->srcpad)) { + 948 33659 : if (!self->do_not_append_header + 949 33641 : && gst_tensor_pad_caps_is_flexible (self->srcpad)) { 950 219 : buffer = _gst_tensor_converter_chain_flex_tensor (self, buffer); 951 : } 952 : - 953 33744 : silent_debug_timestamp (self, buffer); - 954 33744 : return gst_pad_push (self->srcpad, buffer); + 953 33659 : silent_debug_timestamp (self, buffer); + 954 33659 : return gst_pad_push (self->srcpad, buffer); 955 : } 956 : 957 : /** @brief Chain function's private routine to push multiple buffers */ @@ -1087,7 +1087,7 @@ 1025 : * @brief Chain function, this function does the actual processing. 1026 : */ 1027 : static GstFlowReturn - 1028 33755 : gst_tensor_converter_chain (GstPad * pad, GstObject * parent, GstBuffer * buf) + 1028 33670 : gst_tensor_converter_chain (GstPad * pad, GstObject * parent, GstBuffer * buf) 1029 : { 1030 : GstTensorConverter *self; 1031 : GstTensorsConfig *config; @@ -1098,44 +1098,44 @@ 1036 : guint frames_in, frames_out; 1037 : UNUSED (pad); 1038 : - 1039 33755 : buf_size = gst_buffer_get_size (buf); - 1040 67508 : g_return_val_if_fail (buf_size > 0, GST_FLOW_ERROR); + 1039 33670 : buf_size = gst_buffer_get_size (buf); + 1040 67338 : g_return_val_if_fail (buf_size > 0, GST_FLOW_ERROR); 1041 : - 1042 33755 : self = GST_TENSOR_CONVERTER (parent); + 1042 33670 : self = GST_TENSOR_CONVERTER (parent); 1043 : 1044 : /** This is an internal logic error. */ - 1045 33755 : g_assert (self->tensors_configured); - 1046 33755 : config = &self->tensors_config; - 1047 33755 : gst_tensors_config_init (&new_config); + 1045 33670 : g_assert (self->tensors_configured); + 1046 33670 : config = &self->tensors_config; + 1047 33670 : gst_tensors_config_init (&new_config); 1048 : - 1049 33755 : frames_out = self->frames_per_tensor; - 1050 33755 : inbuf = buf; + 1049 33670 : frames_out = self->frames_per_tensor; + 1050 33670 : inbuf = buf; 1051 : 1052 : /** 1053 : * Supposed 1 frame in buffer (default). 1054 : * Update frame size for each media type. 1055 : */ - 1056 33755 : frame_size = self->frame_size; - 1057 33755 : frames_in = 1; + 1056 33670 : frame_size = self->frame_size; + 1057 33670 : frames_in = 1; 1058 : - 1059 33755 : switch (self->in_media_type) { - 1060 33136 : case _NNS_VIDEO: + 1059 33670 : switch (self->in_media_type) { + 1060 33051 : case _NNS_VIDEO: 1061 : { 1062 : guint color, width, height; 1063 : gsize type; 1064 : - 1065 33136 : color = config->info.info[0].dimension[0]; - 1066 33136 : width = config->info.info[0].dimension[1]; - 1067 33136 : height = config->info.info[0].dimension[2]; - 1068 33136 : type = gst_tensor_get_element_size (config->info.info[0].type); + 1065 33051 : color = config->info.info[0].dimension[0]; + 1066 33051 : width = config->info.info[0].dimension[1]; + 1067 33051 : height = config->info.info[0].dimension[2]; + 1068 33051 : type = gst_tensor_get_element_size (config->info.info[0].type); 1069 : 1070 : /** type * colorspace * width * height */ - 1071 33136 : frame_size = type * color * width * height; + 1071 33051 : frame_size = type * color * width * height; 1072 : 1073 : /** supposed 1 frame in buffer */ - 1074 33136 : g_assert ((buf_size / self->frame_size) == 1); + 1074 33051 : g_assert ((buf_size / self->frame_size) == 1); 1075 : - 1076 33136 : if (self->remove_padding) { + 1076 33051 : if (self->remove_padding) { 1077 : GstMapInfo src_info, dest_info; 1078 : guint d0, d1; 1079 110 : unsigned int src_idx = 0, dest_idx = 0; @@ -1181,7 +1181,7 @@ 1119 : /** copy timestamps */ 1120 110 : gst_buffer_copy_into (inbuf, buf, GST_BUFFER_COPY_METADATA, 0, -1); 1121 : } - 1122 33136 : break; + 1122 33051 : break; 1123 : } 1124 134 : case _NNS_AUDIO: 1125 : /* number of bytes for one frame */ @@ -1366,19 +1366,19 @@ 1304 0 : goto error; 1305 : } 1306 : - 1307 33753 : if (inbuf != buf) + 1307 33668 : if (inbuf != buf) 1308 371 : gst_buffer_unref (buf); 1309 : 1310 : /** convert format (bytes > time) and push segment event. 1311 : * It will push event if needed (self->need_segment is true). */ - 1312 33753 : _gst_tensor_converter_chain_segment (self, frame_size); + 1312 33668 : _gst_tensor_converter_chain_segment (self, frame_size); 1313 : 1314 : /** configures timestamp if required (self->set_timestamp is true) */ - 1315 33753 : _gst_tensor_converter_chain_timestamp (self, inbuf, frames_in); + 1315 33668 : _gst_tensor_converter_chain_timestamp (self, inbuf, frames_in); 1316 : - 1317 33753 : if (frames_in == frames_out) { + 1317 33668 : if (frames_in == frames_out) { 1318 : /** do nothing, push the incoming buffer */ - 1319 33632 : return _gst_tensor_converter_chain_push (self, inbuf); + 1319 33547 : return _gst_tensor_converter_chain_push (self, inbuf); 1320 : } 1321 : 1322 : /* push multiple buffers */ @@ -1395,50 +1395,50 @@ 1333 : * @brief Called to perform state change. 1334 : */ 1335 : static GstStateChangeReturn - 1336 4962 : gst_tensor_converter_change_state (GstElement * element, + 1336 4968 : gst_tensor_converter_change_state (GstElement * element, 1337 : GstStateChange transition) 1338 : { 1339 : GstTensorConverter *self; 1340 : GstStateChangeReturn ret; 1341 : - 1342 4962 : self = GST_TENSOR_CONVERTER (element); + 1342 4968 : self = GST_TENSOR_CONVERTER (element); 1343 : - 1344 4962 : switch (transition) { - 1345 854 : case GST_STATE_CHANGE_READY_TO_PAUSED: - 1346 854 : gst_tensor_converter_reset (self); - 1347 854 : break; - 1348 4108 : default: - 1349 4108 : break; + 1344 4968 : switch (transition) { + 1345 855 : case GST_STATE_CHANGE_READY_TO_PAUSED: + 1346 855 : gst_tensor_converter_reset (self); + 1347 855 : break; + 1348 4113 : default: + 1349 4113 : break; 1350 : } 1351 : - 1352 4962 : ret = GST_ELEMENT_CLASS (parent_class)->change_state (element, transition); + 1352 4968 : ret = GST_ELEMENT_CLASS (parent_class)->change_state (element, transition); 1353 : - 1354 4962 : switch (transition) { - 1355 802 : case GST_STATE_CHANGE_PAUSED_TO_READY: - 1356 802 : gst_tensor_converter_reset (self); - 1357 802 : break; - 1358 4160 : default: - 1359 4160 : break; + 1354 4968 : switch (transition) { + 1355 803 : case GST_STATE_CHANGE_PAUSED_TO_READY: + 1356 803 : gst_tensor_converter_reset (self); + 1357 803 : break; + 1358 4165 : default: + 1359 4165 : break; 1360 : } 1361 : - 1362 4962 : return ret; + 1362 4968 : return ret; 1363 : } 1364 : 1365 : /** 1366 : * @brief Clear and reset data. 1367 : */ 1368 : static void - 1369 3401 : gst_tensor_converter_reset (GstTensorConverter * self) + 1369 3405 : gst_tensor_converter_reset (GstTensorConverter * self) 1370 : { 1371 : /* remove all buffers from adapter */ - 1372 3401 : gst_tensor_aggregation_clear_all (self->adapter_table); + 1372 3405 : gst_tensor_aggregation_clear_all (self->adapter_table); 1373 : - 1374 3401 : self->have_segment = FALSE; - 1375 3401 : self->need_segment = FALSE; - 1376 3401 : gst_segment_init (&self->segment, GST_FORMAT_TIME); + 1374 3405 : self->have_segment = FALSE; + 1375 3405 : self->need_segment = FALSE; + 1376 3405 : gst_segment_init (&self->segment, GST_FORMAT_TIME); 1377 : - 1378 3401 : self->old_timestamp = GST_CLOCK_TIME_NONE; - 1379 3401 : } + 1378 3405 : self->old_timestamp = GST_CLOCK_TIME_NONE; + 1379 3405 : } 1380 : 1381 : /** 1382 : * @brief Get supported format list. @@ -1468,13 +1468,13 @@ 1406 : * @return TRUE if we need to add (or remove) stride per row from the stream data. 1407 : */ 1408 : static gboolean - 1409 620 : gst_tensor_converter_video_stride (GstVideoFormat format, gint width) + 1409 621 : gst_tensor_converter_video_stride (GstVideoFormat format, gint width) 1410 : { 1411 : /** 1412 : * @todo The actual list is much longer, fill them. 1413 : * (read https://gstreamer.freedesktop.org/documentation/design/mediatype-video-raw.html) 1414 : */ - 1415 620 : switch (format) { + 1415 621 : switch (format) { 1416 531 : case GST_VIDEO_FORMAT_GRAY8: 1417 : case GST_VIDEO_FORMAT_RGB: 1418 : case GST_VIDEO_FORMAT_BGR: @@ -1487,11 +1487,11 @@ 1425 32 : return TRUE; 1426 : } 1427 499 : break; - 1428 89 : default: - 1429 89 : break; + 1428 90 : default: + 1429 90 : break; 1430 : } 1431 : - 1432 588 : return FALSE; + 1432 589 : return FALSE; 1433 : } 1434 : 1435 : /** @@ -1503,7 +1503,7 @@ 1441 : * @return TRUE if supported type 1442 : */ 1443 : static gboolean - 1444 620 : gst_tensor_converter_parse_video (GstTensorConverter * self, + 1444 621 : gst_tensor_converter_parse_video (GstTensorConverter * self, 1445 : const GstCaps * caps, GstTensorsConfig * config) 1446 : { 1447 : /** @@ -1516,12 +1516,12 @@ 1454 : gint width, height, views; 1455 : guint i; 1456 : - 1457 1240 : g_return_val_if_fail (config != NULL, FALSE); + 1457 1242 : g_return_val_if_fail (config != NULL, FALSE); 1458 : - 1459 620 : gst_tensors_config_init (config); + 1459 621 : gst_tensors_config_init (config); 1460 : - 1461 620 : gst_video_info_init (&vinfo); - 1462 620 : if (!gst_video_info_from_caps (&vinfo, caps)) { + 1461 621 : gst_video_info_init (&vinfo); + 1462 621 : if (!gst_video_info_from_caps (&vinfo, caps)) { 1463 0 : char *capstr = gst_caps_to_string (caps); 1464 0 : GST_ERROR_OBJECT (self, 1465 : "Failed to get video info from caps; gst_video_info_from_caps (&info, \"%s\") has returned FALSE, which means the given caps cannot be parsed as a video.", @@ -1530,21 +1530,21 @@ 1468 0 : return FALSE; 1469 : } 1470 : - 1471 620 : format = GST_VIDEO_INFO_FORMAT (&vinfo); - 1472 620 : width = GST_VIDEO_INFO_WIDTH (&vinfo); - 1473 620 : height = GST_VIDEO_INFO_HEIGHT (&vinfo); - 1474 620 : views = GST_VIDEO_INFO_VIEWS (&vinfo); + 1471 621 : format = GST_VIDEO_INFO_FORMAT (&vinfo); + 1472 621 : width = GST_VIDEO_INFO_WIDTH (&vinfo); + 1473 621 : height = GST_VIDEO_INFO_HEIGHT (&vinfo); + 1474 621 : views = GST_VIDEO_INFO_VIEWS (&vinfo); 1475 : - 1476 620 : if (views > 1) { + 1476 621 : if (views > 1) { 1477 0 : GST_WARNING_OBJECT (self, 1478 : "Incoming video caps should have 'views=(int)1 but has views=(int)%d - ignoring all but view #0. \n", 1479 : views); 1480 : } 1481 : - 1482 620 : config->info.num_tensors = 1; + 1482 621 : config->info.num_tensors = 1; 1483 : 1484 : /* [color-space][width][height][frames] */ - 1485 620 : switch (format) { + 1485 621 : switch (format) { 1486 18 : case GST_VIDEO_FORMAT_GRAY8: 1487 18 : config->info.info[0].type = _NNS_UINT8; 1488 18 : config->info.info[0].dimension[0] = 1; @@ -1565,7 +1565,7 @@ 1503 511 : config->info.info[0].dimension[1] = width; 1504 511 : config->info.info[0].dimension[2] = height; 1505 511 : break; - 1506 83 : case GST_VIDEO_FORMAT_RGBx: + 1506 84 : case GST_VIDEO_FORMAT_RGBx: 1507 : case GST_VIDEO_FORMAT_BGRx: 1508 : case GST_VIDEO_FORMAT_xRGB: 1509 : case GST_VIDEO_FORMAT_xBGR: @@ -1573,11 +1573,11 @@ 1511 : case GST_VIDEO_FORMAT_BGRA: 1512 : case GST_VIDEO_FORMAT_ARGB: 1513 : case GST_VIDEO_FORMAT_ABGR: - 1514 83 : config->info.info[0].type = _NNS_UINT8; - 1515 83 : config->info.info[0].dimension[0] = 4; - 1516 83 : config->info.info[0].dimension[1] = width; - 1517 83 : config->info.info[0].dimension[2] = height; - 1518 83 : break; + 1514 84 : config->info.info[0].type = _NNS_UINT8; + 1515 84 : config->info.info[0].dimension[0] = 4; + 1516 84 : config->info.info[0].dimension[1] = width; + 1517 84 : config->info.info[0].dimension[2] = height; + 1518 84 : break; 1519 : #if GST_CHECK_VERSION(1, 20, 0) 1520 2 : case GST_VIDEO_FORMAT_RGBP: 1521 : case GST_VIDEO_FORMAT_BGRP: @@ -1595,18 +1595,18 @@ 1533 : } 1534 : 1535 : /* Supposed 1 frame in tensor, change dimension[3] if tensor contains N frames. */ - 1536 620 : config->info.info[0].dimension[3] = 1; - 1537 8060 : for (i = 4; i < NNS_TENSOR_RANK_LIMIT; i++) - 1538 7440 : config->info.info[0].dimension[i] = 0; + 1536 621 : config->info.info[0].dimension[3] = 1; + 1537 8073 : for (i = 4; i < NNS_TENSOR_RANK_LIMIT; i++) + 1538 7452 : config->info.info[0].dimension[i] = 0; 1539 : - 1540 620 : config->rate_n = GST_VIDEO_INFO_FPS_N (&vinfo); - 1541 620 : config->rate_d = GST_VIDEO_INFO_FPS_D (&vinfo); + 1540 621 : config->rate_n = GST_VIDEO_INFO_FPS_N (&vinfo); + 1541 621 : config->rate_d = GST_VIDEO_INFO_FPS_D (&vinfo); 1542 : 1543 : /** 1544 : * Emit Warning if RSTRIDE = RU4 (3BPP) && Width % 4 > 0 1545 : * @todo Add more conditions! 1546 : */ - 1547 620 : if (gst_tensor_converter_video_stride (format, width)) { + 1547 621 : if (gst_tensor_converter_video_stride (format, width)) { 1548 32 : self->remove_padding = TRUE; 1549 32 : silent_debug (self, "Set flag to remove padding, width = %d", width); 1550 : @@ -1628,8 +1628,8 @@ 1566 : width); 1567 : } 1568 : - 1569 620 : self->frame_size = GST_VIDEO_INFO_SIZE (&vinfo); - 1570 620 : return (config->info.info[0].type != _NNS_END); + 1569 621 : self->frame_size = GST_VIDEO_INFO_SIZE (&vinfo); + 1570 621 : return (config->info.info[0].type != _NNS_END); 1571 : } 1572 : 1573 : /** @@ -2031,39 +2031,39 @@ 1969 : * @brief Get possible media-caps from downstream element. 1970 : */ 1971 : static GstCaps * - 1972 4170 : gst_tensor_converter_get_possible_media_caps (GstTensorConverter * self) + 1972 4196 : gst_tensor_converter_get_possible_media_caps (GstTensorConverter * self) 1973 : { - 1974 4170 : GstCaps *media_caps = NULL; + 1974 4196 : GstCaps *media_caps = NULL; 1975 : GstTensorsConfig config; 1976 : 1977 : /* get possible caps from downstream element */ - 1978 4170 : if (gst_tensors_config_from_peer (self->srcpad, &config, NULL)) { + 1978 4196 : if (gst_tensors_config_from_peer (self->srcpad, &config, NULL)) { 1979 : GstStructure *st; 1980 : guint i, caps_len; 1981 : media_type type; 1982 : 1983 : /* convert peer caps to possible media caps */ - 1984 2131 : media_caps = gst_pad_get_pad_template_caps (self->sinkpad); - 1985 2131 : media_caps = gst_caps_make_writable (media_caps); + 1984 2155 : media_caps = gst_pad_get_pad_template_caps (self->sinkpad); + 1985 2155 : media_caps = gst_caps_make_writable (media_caps); 1986 : - 1987 2131 : caps_len = gst_caps_get_size (media_caps); + 1987 2155 : caps_len = gst_caps_get_size (media_caps); 1988 : - 1989 21310 : for (i = 0; i < caps_len; ++i) { - 1990 19179 : st = gst_caps_get_structure (media_caps, i); - 1991 19179 : type = gst_structure_get_media_type (st); + 1989 21550 : for (i = 0; i < caps_len; ++i) { + 1990 19395 : st = gst_caps_get_structure (media_caps, i); + 1991 19395 : type = gst_structure_get_media_type (st); 1992 : - 1993 19179 : switch (type) { - 1994 2131 : case _NNS_VIDEO: + 1993 19395 : switch (type) { + 1994 2155 : case _NNS_VIDEO: 1995 : /* video caps from tensor info */ 1996 : if (is_video_supported (self)) { - 1997 2131 : GValue supported_formats = G_VALUE_INIT; + 1997 2155 : GValue supported_formats = G_VALUE_INIT; 1998 : gint colorspace, width, height; 1999 : - 2000 2131 : colorspace = config.info.info[0].dimension[0]; - 2001 2131 : width = config.info.info[0].dimension[1]; - 2002 2131 : height = config.info.info[0].dimension[2]; + 2000 2155 : colorspace = config.info.info[0].dimension[0]; + 2001 2155 : width = config.info.info[0].dimension[1]; + 2002 2155 : height = config.info.info[0].dimension[2]; 2003 : - 2004 2131 : switch (colorspace) { + 2004 2155 : switch (colorspace) { 2005 9 : case 1: 2006 9 : gst_tensor_converter_get_format_list (&supported_formats, 2007 : "GRAY8", "GRAY16_BE", "GRAY16_LE", NULL); @@ -2077,37 +2077,37 @@ 2015 : "RGBx", "BGRx", "xRGB", "xBGR", "RGBA", "BGRA", "ARGB", 2016 : "ABGR", NULL); 2017 0 : break; - 2018 1819 : default: + 2018 1843 : default: 2019 : /* unsupported format, set default video formats */ - 2020 1819 : break; + 2020 1843 : break; 2021 : } 2022 : - 2023 2131 : if (G_VALUE_TYPE (&supported_formats) == GST_TYPE_LIST && + 2023 2155 : if (G_VALUE_TYPE (&supported_formats) == GST_TYPE_LIST && 2024 312 : gst_value_list_get_size (&supported_formats) > 0) { 2025 312 : gst_structure_set_value (st, "format", &supported_formats); 2026 : } - 2027 2131 : g_value_unset (&supported_formats); + 2027 2155 : g_value_unset (&supported_formats); 2028 : - 2029 2131 : if (width > 0) { + 2029 2155 : if (width > 0) { 2030 317 : gst_structure_set (st, "width", G_TYPE_INT, width, NULL); 2031 : } 2032 : - 2033 2131 : if (height > 0) { + 2033 2155 : if (height > 0) { 2034 308 : gst_structure_set (st, "height", G_TYPE_INT, height, NULL); 2035 : } 2036 : - 2037 2131 : if (config.rate_n >= 0 && config.rate_d > 0) { - 2038 314 : gst_structure_set (st, "framerate", GST_TYPE_FRACTION, + 2037 2155 : if (config.rate_n >= 0 && config.rate_d > 0) { + 2038 318 : gst_structure_set (st, "framerate", GST_TYPE_FRACTION, 2039 : config.rate_n, config.rate_d, NULL); 2040 : } 2041 : 2042 : /* add new structure for NCHW formats */ 2043 : #if GST_CHECK_VERSION(1, 20, 0) - 2044 2131 : width = config.info.info[0].dimension[0]; - 2045 2131 : height = config.info.info[0].dimension[1]; - 2046 2131 : colorspace = config.info.info[0].dimension[2]; + 2044 2155 : width = config.info.info[0].dimension[0]; + 2045 2155 : height = config.info.info[0].dimension[1]; + 2046 2155 : colorspace = config.info.info[0].dimension[2]; 2047 : - 2048 2131 : if (colorspace == 3) { + 2048 2155 : if (colorspace == 3) { 2049 5 : GValue nchw_format = G_VALUE_INIT; 2050 5 : GstStructure *nchw_st = gst_structure_copy (st); 2051 : @@ -2131,11 +2131,11 @@ 2069 : } 2070 : #endif 2071 : } - 2072 2131 : break; - 2073 2131 : case _NNS_AUDIO: + 2072 2155 : break; + 2073 2155 : case _NNS_AUDIO: 2074 : /* audio caps from tensor info */ - 2075 2131 : if (is_audio_supported (self) - 2076 2131 : && config.info.info[0].type != _NNS_END) { + 2075 2155 : if (is_audio_supported (self) + 2076 2155 : && config.info.info[0].type != _NNS_END) { 2077 : gint ch, rate; 2078 : GstAudioFormat aformat; 2079 : @@ -2188,89 +2188,89 @@ 2126 : } 2127 : } 2128 : } - 2129 2131 : break; - 2130 14917 : default: + 2129 2155 : break; + 2130 15085 : default: 2131 : /* do nothing for text and octet stream */ - 2132 14917 : break; + 2132 15085 : break; 2133 : } 2134 : } 2135 : } 2136 : - 2137 4170 : return media_caps; + 2137 4196 : return media_caps; 2138 : } 2139 : 2140 : /** 2141 : * @brief Get pad caps for caps negotiation. 2142 : */ 2143 : static GstCaps * - 2144 7584 : gst_tensor_converter_query_caps (GstTensorConverter * self, GstPad * pad, + 2144 7612 : gst_tensor_converter_query_caps (GstTensorConverter * self, GstPad * pad, 2145 : GstCaps * filter) 2146 : { 2147 : GstCaps *caps; 2148 : - 2149 7584 : caps = gst_pad_get_current_caps (pad); - 2150 7584 : if (!caps) { - 2151 7065 : caps = gst_pad_get_pad_template_caps (pad); + 2149 7612 : caps = gst_pad_get_current_caps (pad); + 2150 7612 : if (!caps) { + 2151 7070 : caps = gst_pad_get_pad_template_caps (pad); 2152 : } 2153 : - 2154 7584 : if (pad == self->sinkpad) { + 2154 7612 : if (pad == self->sinkpad) { 2155 : GstCaps *media_caps; 2156 : - 2157 4170 : media_caps = gst_tensor_converter_get_possible_media_caps (self); - 2158 4170 : if (media_caps) { + 2157 4196 : media_caps = gst_tensor_converter_get_possible_media_caps (self); + 2158 4196 : if (media_caps) { 2159 : /* intersect with pad caps */ - 2160 2131 : GstCaps *tmp = gst_caps_intersect_full (media_caps, caps, + 2160 2155 : GstCaps *tmp = gst_caps_intersect_full (media_caps, caps, 2161 : GST_CAPS_INTERSECT_FIRST); - 2162 2131 : gst_caps_unref (caps); - 2163 2131 : caps = tmp; + 2162 2155 : gst_caps_unref (caps); + 2163 2155 : caps = tmp; 2164 : - 2165 2131 : gst_caps_unref (media_caps); + 2165 2155 : gst_caps_unref (media_caps); 2166 : } 2167 : } 2168 : - 2169 7584 : silent_debug_caps (self, caps, "caps"); - 2170 7584 : silent_debug_caps (self, filter, "filter"); + 2169 7612 : silent_debug_caps (self, caps, "caps"); + 2170 7612 : silent_debug_caps (self, filter, "filter"); 2171 : - 2172 7584 : if (filter) { + 2172 7612 : if (filter) { 2173 : GstCaps *intersection; 2174 : 2175 : intersection = - 2176 2167 : gst_caps_intersect_full (filter, caps, GST_CAPS_INTERSECT_FIRST); + 2176 2191 : gst_caps_intersect_full (filter, caps, GST_CAPS_INTERSECT_FIRST); 2177 : - 2178 2167 : gst_caps_unref (caps); - 2179 2167 : caps = intersection; + 2178 2191 : gst_caps_unref (caps); + 2179 2191 : caps = intersection; 2180 : } 2181 : - 2182 7584 : silent_debug_caps (self, caps, "result"); - 2183 7584 : return caps; + 2182 7612 : silent_debug_caps (self, caps, "result"); + 2183 7612 : return caps; 2184 : } 2185 : 2186 : /** 2187 : * @brief Parse caps and set tensors info. 2188 : */ 2189 : static gboolean - 2190 864 : gst_tensor_converter_parse_caps (GstTensorConverter * self, + 2190 865 : gst_tensor_converter_parse_caps (GstTensorConverter * self, 2191 : const GstCaps * caps) 2192 : { 2193 : GstStructure *structure; 2194 : GstTensorsConfig config; 2195 : media_type in_type; - 2196 864 : gint frames_dim = -1; /** dimension index of frames in configured tensors */ + 2196 865 : gint frames_dim = -1; /** dimension index of frames in configured tensors */ 2197 : - 2198 1728 : g_return_val_if_fail (caps != NULL, FALSE); - 2199 864 : g_return_val_if_fail (gst_caps_is_fixed (caps), FALSE); + 2198 1730 : g_return_val_if_fail (caps != NULL, FALSE); + 2199 865 : g_return_val_if_fail (gst_caps_is_fixed (caps), FALSE); 2200 : - 2201 864 : structure = gst_caps_get_structure (caps, 0); - 2202 864 : if (self->mode != _CONVERTER_MODE_NONE) { + 2201 865 : structure = gst_caps_get_structure (caps, 0); + 2202 865 : if (self->mode != _CONVERTER_MODE_NONE) { 2203 19 : in_type = _NNS_MEDIA_ANY; 2204 : } else { - 2205 845 : in_type = gst_structure_get_media_type (structure); + 2205 846 : in_type = gst_structure_get_media_type (structure); 2206 : } 2207 : - 2208 864 : switch (in_type) { - 2209 620 : case _NNS_VIDEO: + 2208 865 : switch (in_type) { + 2209 621 : case _NNS_VIDEO: 2210 : if (is_video_supported (self)) { - 2211 620 : if (!gst_tensor_converter_parse_video (self, caps, &config)) { + 2211 621 : if (!gst_tensor_converter_parse_video (self, caps, &config)) { 2212 0 : char *capstr = gst_caps_to_string (caps); 2213 0 : GST_ERROR_OBJECT (self, 2214 : "Failed to configure tensor from gst cap \"%s\" for video streams.", @@ -2279,13 +2279,13 @@ 2217 0 : return FALSE; 2218 : } 2219 : - 2220 620 : frames_dim = 3; + 2220 621 : frames_dim = 3; 2221 : } else { 2222 : ml_loge 2223 : ("tensor_converter: This binary does not support video type. Please build NNStreamer with -Dvideo-support=enabled (default). You have configured -Dvideo-support=disabled when you build this binary.\n"); 2224 : return FALSE; 2225 : } - 2226 620 : break; + 2226 621 : break; 2227 37 : case _NNS_AUDIO: 2228 : if (is_audio_supported (self)) { 2229 37 : if (!gst_tensor_converter_parse_audio (self, caps, &config)) { @@ -2351,11 +2351,11 @@ 2289 : } 2290 : 2291 : /** set the number of frames in dimension */ - 2292 834 : if (frames_dim >= 0) { - 2293 667 : config.info.info[0].dimension[frames_dim] = self->frames_per_tensor; + 2292 835 : if (frames_dim >= 0) { + 2293 668 : config.info.info[0].dimension[frames_dim] = self->frames_per_tensor; 2294 : } 2295 : - 2296 834 : if (!gst_tensors_config_validate (&config)) { + 2296 835 : if (!gst_tensors_config_validate (&config)) { 2297 : /** not fully configured. the resulting config is weird. */ 2298 0 : char *capstr = gst_caps_to_string (caps); 2299 0 : char *cfgstr = gst_tensors_config_to_string (&config); @@ -2367,7 +2367,7 @@ 2305 0 : return FALSE; 2306 : } 2307 : - 2308 834 : if (gst_tensors_info_validate (&self->tensors_info)) { + 2308 835 : if (gst_tensors_info_validate (&self->tensors_info)) { 2309 : /** compare tensor info */ 2310 93 : if (!gst_tensors_info_is_equal (&self->tensors_info, &config.info)) { 2311 0 : gchar *str1 = gst_tensors_info_to_string (&self->tensors_info); @@ -2381,37 +2381,37 @@ 2319 : } 2320 : } 2321 : - 2322 834 : self->in_media_type = in_type; - 2323 834 : self->tensors_configured = TRUE; - 2324 834 : self->tensors_config = config; + 2322 835 : self->in_media_type = in_type; + 2323 835 : self->tensors_configured = TRUE; + 2324 835 : self->tensors_config = config; 2325 : - 2326 834 : return TRUE; + 2326 835 : return TRUE; 2327 : } 2328 : 2329 : /** 2330 : * @brief Update src pad caps from tensors config. 2331 : */ 2332 : static void - 2333 908 : gst_tensor_converter_update_caps (GstTensorConverter * self) + 2333 909 : gst_tensor_converter_update_caps (GstTensorConverter * self) 2334 : { 2335 : GstTensorsConfig *config; 2336 : GstCaps *curr_caps, *out_caps; 2337 : - 2338 908 : config = &self->tensors_config; - 2339 908 : out_caps = gst_tensor_pad_caps_from_config (self->srcpad, config); + 2338 909 : config = &self->tensors_config; + 2339 909 : out_caps = gst_tensor_pad_caps_from_config (self->srcpad, config); 2340 : 2341 : /* Update src pad caps if it is different. */ - 2342 908 : curr_caps = gst_pad_get_current_caps (self->srcpad); - 2343 908 : if (curr_caps == NULL || !gst_caps_is_equal (curr_caps, out_caps)) { - 2344 908 : silent_debug_caps (self, out_caps, "set out-caps"); - 2345 908 : gst_pad_set_caps (self->srcpad, out_caps); + 2342 909 : curr_caps = gst_pad_get_current_caps (self->srcpad); + 2343 909 : if (curr_caps == NULL || !gst_caps_is_equal (curr_caps, out_caps)) { + 2344 909 : silent_debug_caps (self, out_caps, "set out-caps"); + 2345 909 : gst_pad_set_caps (self->srcpad, out_caps); 2346 : } 2347 : - 2348 908 : if (curr_caps) + 2348 909 : if (curr_caps) 2349 74 : gst_caps_unref (curr_caps); 2350 : - 2351 908 : gst_caps_unref (out_caps); - 2352 908 : } + 2351 909 : gst_caps_unref (out_caps); + 2352 909 : } 2353 : 2354 : /** 2355 : * @brief Find converter sub-plugin with the name. @@ -2419,49 +2419,49 @@ 2357 : * @return NULL if not found or the sub-plugin object has an error. 2358 : */ 2359 : const NNStreamerExternalConverter * - 2360 1952 : nnstreamer_converter_find (const char *name) + 2360 1956 : nnstreamer_converter_find (const char *name) 2361 : { - 2362 1952 : return get_subplugin (NNS_SUBPLUGIN_CONVERTER, name); + 2362 1956 : return get_subplugin (NNS_SUBPLUGIN_CONVERTER, name); 2363 : } 2364 : 2365 : /** 2366 : * @brief Validate converter sub-plugin's data. 2367 : */ 2368 : static gboolean - 2369 1755 : nnstreamer_converter_validate (const NNStreamerExternalConverter * converter) + 2369 1759 : nnstreamer_converter_validate (const NNStreamerExternalConverter * converter) 2370 : { - 2371 1755 : if (!converter || !converter->name) { + 2371 1759 : if (!converter || !converter->name) { 2372 : /* invalid name */ 2373 2 : return FALSE; 2374 : } 2375 : - 2376 1753 : if (!converter->query_caps || !converter->get_out_config - 2377 1751 : || !converter->convert) { + 2376 1757 : if (!converter->query_caps || !converter->get_out_config + 2377 1755 : || !converter->convert) { 2378 : /* invalid methods in converter sub-plugin */ 2379 3 : return FALSE; 2380 : } 2381 : - 2382 1750 : return TRUE; + 2382 1754 : return TRUE; 2383 : } 2384 : 2385 : /** 2386 : * @brief Converter's external subplugins should call this at init. 2387 : */ 2388 : int - 2389 1755 : registerExternalConverter (NNStreamerExternalConverter * ex) + 2389 1759 : registerExternalConverter (NNStreamerExternalConverter * ex) 2390 : { - 2391 1755 : g_return_val_if_fail (nnstreamer_converter_validate (ex), FALSE); - 2392 1750 : return register_subplugin (NNS_SUBPLUGIN_CONVERTER, ex->name, ex); + 2391 1759 : g_return_val_if_fail (nnstreamer_converter_validate (ex), FALSE); + 2392 1754 : return register_subplugin (NNS_SUBPLUGIN_CONVERTER, ex->name, ex); 2393 : } 2394 : 2395 : /** 2396 : * @brief Converter's external subplugins should call this at exit. 2397 : */ 2398 : void - 2399 1749 : unregisterExternalConverter (const char *name) + 2399 1753 : unregisterExternalConverter (const char *name) 2400 : { - 2401 1749 : unregister_subplugin (NNS_SUBPLUGIN_CONVERTER, name); - 2402 1749 : } + 2401 1753 : unregister_subplugin (NNS_SUBPLUGIN_CONVERTER, name); + 2402 1753 : } 2403 : 2404 : /** 2405 : * @brief Internal static function to find registered subplugins. diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_crop.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_crop.c.func-c.html index 6625cc3e3..e73d450f7 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_crop.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_crop.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_crop.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_crop.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -177,7 +177,7 @@ gst_tensor_crop_get_type - 1005 + 1007 @@ -191,14 +191,14 @@ gst_tensor_crop_get_type_once - 449 + 450 gst_tensor_crop_get_type - 536 + 537 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_crop.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_crop.c.func.html index ab84f8bbc..59eee6f47 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_crop.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_crop.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_crop.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_crop.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -121,7 +121,7 @@ gst_tensor_crop_get_type - 1005 + 1007 @@ -135,14 +135,14 @@ gst_tensor_crop_get_type - 536 + 537 gst_tensor_crop_get_type_once - 449 + 450 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_crop.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_crop.c.gcov.html index 1a81b823a..ec3cdff14 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_crop.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_crop.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_crop.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_crop.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -176,7 +176,7 @@ 114 : GST_STATIC_CAPS (GST_TENSORS_FLEX_CAP_DEFAULT)); 115 : 116 : #define gst_tensor_crop_parent_class parent_class - 117 1005 : G_DEFINE_TYPE (GstTensorCrop, gst_tensor_crop, GST_TYPE_ELEMENT); + 117 1007 : G_DEFINE_TYPE (GstTensorCrop, gst_tensor_crop, GST_TYPE_ELEMENT); 118 : 119 : static void gst_tensor_crop_finalize (GObject * object); 120 : static void gst_tensor_crop_set_property (GObject * object, guint prop_id, diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_debug.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_debug.c.func-c.html index 4075558c6..fd6ddaba5 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_debug.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_debug.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_debug.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_debug.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 35.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 46.7 % @@ -149,7 +149,7 @@ gst_tensor_debug_get_type - 916 + 918 @@ -163,14 +163,14 @@ gst_tensor_debug_get_type - 449 + 450 gst_tensor_debug_get_type_once - 449 + 450 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_debug.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_debug.c.func.html index 82fad2e9c..9c23d621f 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_debug.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_debug.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_debug.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_debug.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 35.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 46.7 % @@ -100,7 +100,7 @@ gst_tensor_debug_get_type - 916 + 918 @@ -114,14 +114,14 @@ gst_tensor_debug_get_type - 449 + 450 gst_tensor_debug_get_type_once - 449 + 450 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_debug.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_debug.c.gcov.html index ff2924c22..041d8adaa 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_debug.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_debug.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_debug.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_debug.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 35.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 46.7 % @@ -253,7 +253,7 @@ 191 : #define DEFAULT_SILENT TRUE 192 : 193 : #define gst_tensor_debug_parent_class parent_class - 194 916 : G_DEFINE_TYPE (GstTensorDebug, gst_tensor_debug, GST_TYPE_BASE_TRANSFORM); + 194 918 : G_DEFINE_TYPE (GstTensorDebug, gst_tensor_debug, GST_TYPE_BASE_TRANSFORM); 195 : 196 : /* gobject vmethods */ 197 : static void gst_tensor_debug_set_property (GObject * object, diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_decoder.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_decoder.c.func-c.html index 4553e1272..ce2c5c4c1 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_decoder.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_decoder.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_decoder.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_decoder.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 82.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -212,7 +212,7 @@ gst_tensordec_get_type - 1534 + 1536 @@ -226,14 +226,14 @@ gst_tensordec_get_type_once - 449 + 450 gst_tensordec_get_type - 951 + 952 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_decoder.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_decoder.c.func.html index 4074ae6a0..41789e57d 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_decoder.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_decoder.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_decoder.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_decoder.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 82.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -107,7 +107,7 @@ gst_tensordec_get_type - 1534 + 1536 @@ -121,14 +121,14 @@ gst_tensordec_get_type - 951 + 952 gst_tensordec_get_type_once - 449 + 450 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_decoder.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_decoder.c.gcov.html index c747461ba..61425d1f5 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_decoder.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_decoder.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_decoder.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_decoder.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 82.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -167,7 +167,7 @@ 105 : GST_STATIC_CAPS ("ANY")); 106 : 107 : #define gst_tensordec_parent_class parent_class - 108 1534 : G_DEFINE_TYPE (GstTensorDecoder, gst_tensordec, GST_TYPE_BASE_TRANSFORM); + 108 1536 : G_DEFINE_TYPE (GstTensorDecoder, gst_tensordec, GST_TYPE_BASE_TRANSFORM); 109 : 110 : /** GObject vmethod implementations */ 111 : static void gst_tensordec_set_property (GObject * object, guint prop_id, diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_demux.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_demux.c.func-c.html index 8300911ed..63bbafb40 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_demux.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_demux.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_demux.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_demux.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 90.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -156,7 +156,7 @@ gst_tensor_demux_get_type - 1455 + 1457 @@ -170,14 +170,14 @@ gst_tensor_demux_get_type_once - 449 + 450 gst_tensor_demux_get_type - 964 + 965 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_demux.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_demux.c.func.html index 0d7f88384..e782d2c81 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_demux.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_demux.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_demux.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_demux.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 90.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -128,7 +128,7 @@ gst_tensor_demux_get_type - 1455 + 1457 @@ -142,14 +142,14 @@ gst_tensor_demux_get_type - 964 + 965 gst_tensor_demux_get_type_once - 449 + 450 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_demux.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_demux.c.gcov.html index 274b74578..c10679086 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_demux.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_demux.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_demux.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_demux.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 90.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -179,7 +179,7 @@ 117 : GValue * value, GParamSpec * pspec); 118 : static void gst_tensor_demux_dispose (GObject * object); 119 : #define gst_tensor_demux_parent_class parent_class - 120 1455 : G_DEFINE_TYPE (GstTensorDemux, gst_tensor_demux, GST_TYPE_ELEMENT); + 120 1457 : G_DEFINE_TYPE (GstTensorDemux, gst_tensor_demux, GST_TYPE_ELEMENT); 121 : 122 : 123 : /** diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_if.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_if.c.func-c.html index 157b0bee7..2217857a6 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_if.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_if.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_if.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_if.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.1 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -254,7 +254,7 @@ gst_tensor_if_get_type - 1219 + 1221 @@ -268,14 +268,14 @@ gst_tensor_if_get_type_once - 449 + 450 gst_tensor_if_get_type - 748 + 749 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_if.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_if.c.func.html index a44acaddb..4d50b24b9 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_if.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_if.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_if.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_if.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.1 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -170,7 +170,7 @@ gst_tensor_if_get_type - 1219 + 1221 @@ -184,14 +184,14 @@ gst_tensor_if_get_type - 748 + 749 gst_tensor_if_get_type_once - 449 + 450 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_if.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_if.c.gcov.html index 11a61e965..ae0f4fdd4 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_if.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_if.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_if.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_if.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.1 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -182,7 +182,7 @@ 120 : GST_STATIC_CAPS (CAPS_STRING)); 121 : 122 : #define gst_tensor_if_parent_class parent_class - 123 1219 : G_DEFINE_TYPE (GstTensorIf, gst_tensor_if, GST_TYPE_ELEMENT); + 123 1221 : G_DEFINE_TYPE (GstTensorIf, gst_tensor_if, GST_TYPE_ELEMENT); 124 : 125 : /* GObject vmethod implementations */ 126 : static void gst_tensor_if_set_property (GObject * object, guint prop_id, diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_merge.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_merge.c.func-c.html index 093702263..b3c7d1da2 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_merge.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_merge.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_merge.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_merge.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 85.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -191,7 +191,7 @@ gst_tensor_merge_get_type - 1368 + 1370 @@ -205,14 +205,14 @@ gst_tensor_merge_get_type_once - 449 + 450 gst_tensor_merge_get_type - 879 + 880 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_merge.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_merge.c.func.html index 2f5960107..2bef6ed9c 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_merge.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_merge.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_merge.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_merge.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 85.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -128,7 +128,7 @@ gst_tensor_merge_get_type - 1368 + 1370 @@ -142,14 +142,14 @@ gst_tensor_merge_get_type - 879 + 880 gst_tensor_merge_get_type_once - 449 + 450 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_merge.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_merge.c.gcov.html index fc8bf92fe..27644c04c 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_merge.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_merge.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_merge.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_merge.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 85.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -195,7 +195,7 @@ 133 : static void gst_tensor_merge_finalize (GObject * object); 134 : 135 : #define gst_tensor_merge_parent_class parent_class - 136 1368 : G_DEFINE_TYPE (GstTensorMerge, gst_tensor_merge, GST_TYPE_ELEMENT); + 136 1370 : G_DEFINE_TYPE (GstTensorMerge, gst_tensor_merge, GST_TYPE_ELEMENT); 137 : 138 : /** 139 : * @brief initialize the tensor_merge's class diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_mux.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_mux.c.func-c.html index b87b4188d..178fa3770 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_mux.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_mux.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_mux.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_mux.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -128,14 +128,14 @@ gst_tensor_mux_sink_event - 1609 + 1605 gst_tensor_mux_get_type - 2741 + 2743 @@ -149,56 +149,56 @@ gst_tensor_mux_get_type_once - 449 + 450 gst_tensor_mux_get_type - 2198 + 2199 gst_tensor_mux_send_segment_event - 5444 + 5449 gst_tensor_mux_set_src_caps - 5444 + 5449 gst_tensor_mux_src_event - 5454 + 5457 gst_tensor_mux_collect_buffer - 6157 + 6158 gst_tensor_mux_collected - 6157 + 6158 gst_tensor_mux_do_clip - 7851 + 7854 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_mux.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_mux.c.func.html index 772e97a48..e63a94634 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_mux.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_mux.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_mux.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_mux.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -86,21 +86,21 @@ gst_tensor_mux_collect_buffer - 6157 + 6158 gst_tensor_mux_collected - 6157 + 6158 gst_tensor_mux_do_clip - 7851 + 7854 @@ -121,7 +121,7 @@ gst_tensor_mux_get_type - 2741 + 2743 @@ -135,14 +135,14 @@ gst_tensor_mux_get_type - 2198 + 2199 gst_tensor_mux_get_type_once - 449 + 450 @@ -170,7 +170,7 @@ gst_tensor_mux_send_segment_event - 5444 + 5449 @@ -184,7 +184,7 @@ gst_tensor_mux_set_src_caps - 5444 + 5449 @@ -198,14 +198,14 @@ gst_tensor_mux_sink_event - 1609 + 1605 gst_tensor_mux_src_event - 5454 + 5457 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_mux.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_mux.c.gcov.html index 86571fa83..e55d4072a 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_mux.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_mux.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_mux.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_mux.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -192,7 +192,7 @@ 130 : static void gst_tensor_mux_finalize (GObject * object); 131 : 132 : #define gst_tensor_mux_parent_class parent_class - 133 2741 : G_DEFINE_TYPE (GstTensorMux, gst_tensor_mux, GST_TYPE_ELEMENT); + 133 2743 : G_DEFINE_TYPE (GstTensorMux, gst_tensor_mux, GST_TYPE_ELEMENT); 134 : 135 : /** 136 : * @brief initialize the tensor_mux's class @@ -362,19 +362,19 @@ 300 : * @brief src event vmethod 301 : */ 302 : static gboolean - 303 5454 : gst_tensor_mux_src_event (GstPad * pad, GstObject * parent, GstEvent * event) + 303 5457 : gst_tensor_mux_src_event (GstPad * pad, GstObject * parent, GstEvent * event) 304 : { - 305 5454 : g_return_val_if_fail (event != NULL, FALSE); + 305 5457 : g_return_val_if_fail (event != NULL, FALSE); 306 : - 307 5454 : switch (GST_EVENT_TYPE (event)) { + 307 5457 : switch (GST_EVENT_TYPE (event)) { 308 0 : case GST_EVENT_SEEK: 309 0 : gst_event_unref (event); 310 0 : return FALSE; - 311 5454 : default: - 312 5454 : break; + 311 5457 : default: + 312 5457 : break; 313 : } 314 : - 315 5454 : return gst_pad_event_default (pad, parent, event); + 315 5457 : return gst_pad_event_default (pad, parent, event); 316 : } 317 : 318 : /** @@ -384,12 +384,12 @@ 322 14400 : gst_tensor_mux_set_waiting (GstTensorMux * tensor_mux, gboolean waiting) 323 : { 324 14400 : if (tensor_mux->sync.mode == SYNC_REFRESH) { - 325 9604 : GstCollectPads *pads = tensor_mux->collect; - 326 9604 : GSList *walk = pads->data; + 325 9614 : GstCollectPads *pads = tensor_mux->collect; + 326 9614 : GSList *walk = pads->data; 327 : - 328 28812 : while (walk) { - 329 19208 : gst_collect_pads_set_waiting (pads, walk->data, waiting); - 330 19208 : walk = g_slist_next (walk); + 328 28842 : while (walk) { + 329 19228 : gst_collect_pads_set_waiting (pads, walk->data, waiting); + 330 19228 : walk = g_slist_next (walk); 331 : } 332 : } 333 14400 : } @@ -398,25 +398,25 @@ 336 : * @brief sink event vmethod 337 : */ 338 : static gboolean - 339 1609 : gst_tensor_mux_sink_event (GstCollectPads * pads, GstCollectData * data, + 339 1605 : gst_tensor_mux_sink_event (GstCollectPads * pads, GstCollectData * data, 340 : GstEvent * event, GstTensorMux * tensor_mux) 341 : { - 342 1609 : g_return_val_if_fail (event != NULL, FALSE); + 342 1605 : g_return_val_if_fail (event != NULL, FALSE); 343 : - 344 1609 : switch (GST_EVENT_TYPE (event)) { + 344 1605 : switch (GST_EVENT_TYPE (event)) { 345 0 : case GST_EVENT_FLUSH_STOP: 346 0 : tensor_mux->need_segment = TRUE; 347 0 : tensor_mux->need_set_time = TRUE; 348 0 : gst_tensor_time_sync_flush (tensor_mux->collect); 349 0 : break; - 350 392 : case GST_EVENT_EOS: - 351 392 : gst_tensor_mux_set_waiting (tensor_mux, FALSE); - 352 392 : break; + 350 388 : case GST_EVENT_EOS: + 351 388 : gst_tensor_mux_set_waiting (tensor_mux, FALSE); + 352 388 : break; 353 1217 : default: 354 1217 : break; 355 : } 356 : - 357 1609 : return gst_collect_pads_event_default (pads, data, event, FALSE); + 357 1605 : return gst_collect_pads_event_default (pads, data, event, FALSE); 358 : } 359 : 360 : /** @@ -427,23 +427,23 @@ 365 : * @return TRUE to push buffer to src pad 366 : */ 367 : static gboolean - 368 6157 : gst_tensor_mux_collect_buffer (GstTensorMux * tensor_mux, + 368 6158 : gst_tensor_mux_collect_buffer (GstTensorMux * tensor_mux, 369 : GstBuffer * tensors_buf, gboolean * is_eos) 370 : { - 371 6157 : if (tensor_mux->need_set_time) { - 372 5623 : if (gst_tensor_time_sync_get_current_time (tensor_mux->collect, + 371 6158 : if (tensor_mux->need_set_time) { + 372 5624 : if (gst_tensor_time_sync_get_current_time (tensor_mux->collect, 373 : &tensor_mux->sync, &tensor_mux->current_time, tensors_buf)) { 374 : /* end-of-stream */ - 375 179 : *is_eos = TRUE; - 376 179 : return FALSE; + 375 175 : *is_eos = TRUE; + 376 175 : return FALSE; 377 : } 378 : - 379 5444 : tensor_mux->need_set_time = FALSE; - 380 5444 : silent_debug (tensor_mux, "Current Time : %" GST_TIME_FORMAT, + 379 5449 : tensor_mux->need_set_time = FALSE; + 380 5449 : silent_debug (tensor_mux, "Current Time : %" GST_TIME_FORMAT, 381 : GST_TIME_ARGS (tensor_mux->current_time)); 382 : } 383 : - 384 5978 : return gst_tensor_time_sync_buffer_from_collectpad (tensor_mux->collect, + 384 5983 : return gst_tensor_time_sync_buffer_from_collectpad (tensor_mux->collect, 385 : &tensor_mux->sync, tensor_mux->current_time, tensors_buf, 386 : &tensor_mux->tensors_config, is_eos); 387 : } @@ -452,9 +452,9 @@ 390 : * @brief Set src pad caps if src pad is not negotiated. 391 : */ 392 : static gboolean - 393 5444 : gst_tensor_mux_set_src_caps (GstTensorMux * tensor_mux) + 393 5449 : gst_tensor_mux_set_src_caps (GstTensorMux * tensor_mux) 394 : { - 395 5444 : if (!tensor_mux->negotiated) { + 395 5449 : if (!tensor_mux->negotiated) { 396 : GstCaps *caps; 397 : 398 124 : if (gst_tensors_config_validate (&tensor_mux->tensors_config)) { @@ -469,22 +469,22 @@ 407 : } 408 : } 409 : - 410 5444 : if (!tensor_mux->negotiated) { + 410 5449 : if (!tensor_mux->negotiated) { 411 0 : GST_WARNING_OBJECT (tensor_mux, "failed to set caps"); 412 0 : GST_ELEMENT_ERROR (tensor_mux, CORE, NEGOTIATION, (NULL), (NULL)); 413 : } 414 : - 415 5444 : return tensor_mux->negotiated; + 415 5449 : return tensor_mux->negotiated; 416 : } 417 : 418 : /** 419 : * @brief Create a new segment event if necessary. 420 : */ 421 : static void - 422 5444 : gst_tensor_mux_send_segment_event (GstTensorMux * tensor_mux, + 422 5449 : gst_tensor_mux_send_segment_event (GstTensorMux * tensor_mux, 423 : GstClockTime pts, GstClockTime dts) 424 : { - 425 5444 : if (tensor_mux->need_segment) { + 425 5449 : if (tensor_mux->need_segment) { 426 : GstSegment segment; 427 124 : GstClockTime time = 0; 428 : @@ -499,7 +499,7 @@ 437 124 : gst_pad_push_event (tensor_mux->srcpad, gst_event_new_segment (&segment)); 438 124 : tensor_mux->need_segment = FALSE; 439 : } - 440 5444 : } + 440 5449 : } 441 : 442 : /** 443 : * @brief Process flex tensor. @@ -545,16 +545,16 @@ 483 : * @return GstFlowReturn 484 : */ 485 : static GstFlowReturn - 486 6157 : gst_tensor_mux_collected (GstCollectPads * pads, GstTensorMux * tensor_mux) + 486 6158 : gst_tensor_mux_collected (GstCollectPads * pads, GstTensorMux * tensor_mux) 487 : { - 488 6157 : GstFlowReturn ret = GST_FLOW_OK; + 488 6158 : GstFlowReturn ret = GST_FLOW_OK; 489 : GstBuffer *tensors_buf; - 490 6157 : gboolean isEOS = FALSE; - 491 6157 : gboolean buf_collected = FALSE; + 490 6158 : gboolean isEOS = FALSE; + 491 6158 : gboolean buf_collected = FALSE; 492 : - 493 6157 : GST_DEBUG_OBJECT (tensor_mux, " all pads are collected "); + 493 6158 : GST_DEBUG_OBJECT (tensor_mux, " all pads are collected "); 494 : - 495 6157 : if (tensor_mux->need_stream_start) { + 495 6158 : if (tensor_mux->need_stream_start) { 496 : /** 497 : * Cannot use gst-pad util to get stream ID (multiple sink pads). 498 : * Create stream ID using first sink pad. @@ -570,61 +570,61 @@ 508 124 : tensor_mux->need_stream_start = FALSE; 509 : } 510 : - 511 6157 : if ((tensors_buf = gst_buffer_new ()) == NULL) { + 511 6158 : if ((tensors_buf = gst_buffer_new ()) == NULL) { 512 0 : ml_logf ("gst_buffer_new() returns NULL. Out of memory?\n"); - 513 6157 : return GST_FLOW_ERROR; + 513 6158 : return GST_FLOW_ERROR; 514 : } 515 : 516 : buf_collected = - 517 6157 : gst_tensor_mux_collect_buffer (tensor_mux, tensors_buf, &isEOS); + 517 6158 : gst_tensor_mux_collect_buffer (tensor_mux, tensors_buf, &isEOS); 518 : - 519 6157 : gst_tensor_mux_set_waiting (tensor_mux, TRUE); + 519 6158 : gst_tensor_mux_set_waiting (tensor_mux, TRUE); 520 : - 521 6157 : if (!buf_collected) { - 522 713 : if (isEOS) { - 523 179 : gst_pad_push_event (tensor_mux->srcpad, gst_event_new_eos ()); - 524 179 : ret = GST_FLOW_EOS; + 521 6158 : if (!buf_collected) { + 522 709 : if (isEOS) { + 523 175 : gst_pad_push_event (tensor_mux->srcpad, gst_event_new_eos ()); + 524 175 : ret = GST_FLOW_EOS; 525 : } 526 : - 527 713 : gst_buffer_unref (tensors_buf); - 528 713 : return ret; + 527 709 : gst_buffer_unref (tensors_buf); + 528 709 : return ret; 529 : } 530 : - 531 5444 : if (!gst_tensor_mux_set_src_caps (tensor_mux)) { + 531 5449 : if (!gst_tensor_mux_set_src_caps (tensor_mux)) { 532 0 : gst_buffer_unref (tensors_buf); 533 0 : return GST_FLOW_NOT_NEGOTIATED; 534 : } 535 : - 536 5444 : gst_tensor_mux_send_segment_event (tensor_mux, GST_BUFFER_PTS (tensors_buf), + 536 5449 : gst_tensor_mux_send_segment_event (tensor_mux, GST_BUFFER_PTS (tensors_buf), 537 : GST_BUFFER_DTS (tensors_buf)); 538 : 539 : /* add header if output is flexible */ - 540 5444 : if (gst_tensor_pad_caps_is_flexible (tensor_mux->srcpad)) + 540 5449 : if (gst_tensor_pad_caps_is_flexible (tensor_mux->srcpad)) 541 25 : tensors_buf = gst_tensor_mux_chain_flex_tensor (tensor_mux, tensors_buf); 542 : - 543 5444 : ret = gst_pad_push (tensor_mux->srcpad, tensors_buf); - 544 5444 : tensor_mux->need_set_time = TRUE; + 543 5449 : ret = gst_pad_push (tensor_mux->srcpad, tensors_buf); + 544 5449 : tensor_mux->need_set_time = TRUE; 545 : - 546 5444 : if (ret != GST_FLOW_OK) { + 546 5449 : if (ret != GST_FLOW_OK) { 547 17 : GST_WARNING_OBJECT (tensor_mux, "pushed outbuf, result = %s", 548 : gst_flow_get_name (ret)); 549 : } 550 : - 551 5444 : return ret; + 551 5449 : return ret; 552 : } 553 : 554 : /** 555 : * @brief Gst Clip Pads Function which is called right after a buffer is received for each pad. 556 : */ 557 : static GstFlowReturn - 558 7851 : gst_tensor_mux_do_clip (GstCollectPads * pads, GstCollectData * data, + 558 7854 : gst_tensor_mux_do_clip (GstCollectPads * pads, GstCollectData * data, 559 : GstBuffer * buffer, GstBuffer ** out, GstTensorMux * tensor_mux) 560 : { 561 : UNUSED (pads); 562 : UNUSED (data); - 563 7851 : gst_tensor_mux_set_waiting (tensor_mux, FALSE); - 564 7851 : *out = buffer; - 565 7851 : return GST_FLOW_OK; + 563 7854 : gst_tensor_mux_set_waiting (tensor_mux, FALSE); + 564 7854 : *out = buffer; + 565 7854 : return GST_FLOW_OK; 566 : } 567 : 568 : /** diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_rate.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_rate.c.func-c.html index d4973f093..0a7b2a7e6 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_rate.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_rate.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_rate.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_rate.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 78.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 91.3 % @@ -205,7 +205,7 @@ gst_tensor_rate_get_type - 3064 + 3066 @@ -219,14 +219,14 @@ gst_tensor_rate_get_type_once - 449 + 450 gst_tensor_rate_get_type - 2592 + 2593 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_rate.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_rate.c.func.html index 3fda899d8..61a110022 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_rate.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_rate.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_rate.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_rate.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 78.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 91.3 % @@ -100,7 +100,7 @@ gst_tensor_rate_get_type - 3064 + 3066 @@ -114,14 +114,14 @@ gst_tensor_rate_get_type - 2592 + 2593 gst_tensor_rate_get_type_once - 449 + 450 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_rate.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_rate.c.gcov.html index 024037e26..61c56cbbd 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_rate.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_rate.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_rate.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_rate.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 78.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 91.3 % @@ -170,7 +170,7 @@ 108 : static GParamSpec *pspec_duplicate = NULL; 109 : 110 : #define gst_tensor_rate_parent_class parent_class - 111 3064 : G_DEFINE_TYPE (GstTensorRate, gst_tensor_rate, GST_TYPE_BASE_TRANSFORM); + 111 3066 : G_DEFINE_TYPE (GstTensorRate, gst_tensor_rate, GST_TYPE_BASE_TRANSFORM); 112 : 113 : /* GObject vmethod implementations */ 114 : static void gst_tensor_rate_set_property (GObject * object, guint prop_id, diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_repo.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_repo.c.func-c.html index 66d79f5ad..c0b4caf1a 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_repo.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_repo.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_repo.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_repo.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 82.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 91.7 % @@ -98,21 +98,21 @@ - gst_tensor_repo_check_changed + gst_tensor_repo_add_repodata - 26 + 28 - gst_tensor_repo_check_eos + gst_tensor_repo_check_changed - 26 + 28 - gst_tensor_repo_add_repodata + gst_tensor_repo_check_eos 28 @@ -142,7 +142,7 @@ gst_tensor_repo_get_repodata - 347 + 351 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_repo.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_repo.c.func.html index 126c07c3f..bea945aef 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_repo.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_repo.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_repo.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_repo.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 82.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 91.7 % @@ -72,14 +72,14 @@ gst_tensor_repo_check_changed - 26 + 28 gst_tensor_repo_check_eos - 26 + 28 @@ -93,7 +93,7 @@ gst_tensor_repo_get_repodata - 347 + 351 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_repo.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_repo.c.gcov.html index e753d3a79..41fdc2449 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_repo.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_repo.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_repo.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_repo.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 82.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 91.7 % @@ -133,17 +133,17 @@ 71 : * @brief Getter to get nth GstTensorRepoData. 72 : */ 73 : GstTensorRepoData * - 74 347 : gst_tensor_repo_get_repodata (guint nth) + 74 351 : gst_tensor_repo_get_repodata (guint nth) 75 : { 76 : gpointer p; 77 : - 78 347 : g_return_val_if_fail (_repo.initialized, NULL); + 78 351 : g_return_val_if_fail (_repo.initialized, NULL); 79 : - 80 347 : GST_REPO_LOCK (); - 81 347 : p = g_hash_table_lookup (_repo.hash, GINT_TO_POINTER (nth)); - 82 347 : GST_REPO_UNLOCK (); + 80 351 : GST_REPO_LOCK (); + 81 351 : p = g_hash_table_lookup (_repo.hash, GINT_TO_POINTER (nth)); + 82 351 : GST_REPO_UNLOCK (); 83 : - 84 347 : return (GstTensorRepoData *) p; + 84 351 : return (GstTensorRepoData *) p; 85 : } 86 : 87 : /** @@ -262,9 +262,9 @@ 200 : 201 119 : g_mutex_lock (&data->lock); 202 : - 203 191 : while (data->buffer != NULL && !data->eos) { + 203 190 : while (data->buffer != NULL && !data->eos) { 204 : /* wait pull */ - 205 72 : g_cond_wait (&data->cond_pull, &data->lock); + 205 71 : g_cond_wait (&data->cond_pull, &data->lock); 206 : } 207 : 208 119 : if (data->eos) { @@ -295,16 +295,16 @@ 233 : * @brief Check EOS (End-of-Stream) of slot. 234 : */ 235 : gboolean - 236 26 : gst_tensor_repo_check_eos (guint nth) + 236 28 : gst_tensor_repo_check_eos (guint nth) 237 : { 238 : GstTensorRepoData *data; 239 : - 240 26 : data = gst_tensor_repo_get_repodata (nth); + 240 28 : data = gst_tensor_repo_get_repodata (nth); 241 : - 242 26 : if (data) { + 242 28 : if (data) { 243 : if (DBG) 244 : GST_DEBUG ("check eos done [%s]\n", data->eos ? "TRUE" : "FALSE"); - 245 26 : return data->eos; + 245 28 : return data->eos; 246 : } 247 : 248 0 : return FALSE; @@ -314,32 +314,32 @@ 252 : * @brief Check repo data is changed. 253 : */ 254 : gboolean - 255 26 : gst_tensor_repo_check_changed (guint nth, guint * newid, gboolean is_sink) + 255 28 : gst_tensor_repo_check_changed (guint nth, guint * newid, gboolean is_sink) 256 : { - 257 26 : gboolean ret = FALSE; + 257 28 : gboolean ret = FALSE; 258 : GstTensorRepoData *data; 259 : - 260 26 : data = gst_tensor_repo_get_repodata (nth); + 260 28 : data = gst_tensor_repo_get_repodata (nth); 261 : - 262 26 : g_return_val_if_fail (data != NULL, FALSE); + 262 28 : g_return_val_if_fail (data != NULL, FALSE); 263 : 264 : if (DBG) 265 : GST_DEBUG ("%dth RepoData : sink_changed %d, src_changed %d\n", nth, 266 : data->sink_changed, data->src_changed); 267 : - 268 26 : if (is_sink) { + 268 28 : if (is_sink) { 269 0 : if (data->sink_changed) { 270 0 : *newid = data->sink_id; 271 0 : ret = TRUE; 272 : } 273 : } else { - 274 26 : if (data->src_changed) { + 274 28 : if (data->src_changed) { 275 0 : *newid = data->src_id; 276 0 : ret = TRUE; 277 : } 278 : } 279 : - 280 26 : return ret; + 280 28 : return ret; 281 : } 282 : 283 : /** @@ -380,20 +380,20 @@ 318 : 319 121 : g_mutex_lock (&data->lock); 320 : - 321 139 : while (!data->buffer) { - 322 26 : if (gst_tensor_repo_check_changed (nth, newid, FALSE)) { + 321 141 : while (!data->buffer) { + 322 28 : if (gst_tensor_repo_check_changed (nth, newid, FALSE)) { 323 0 : buf = NULL; 324 0 : goto done; 325 : } 326 : - 327 26 : if (gst_tensor_repo_check_eos (nth)) { + 327 28 : if (gst_tensor_repo_check_eos (nth)) { 328 8 : *eos = TRUE; 329 8 : buf = NULL; 330 8 : goto done; 331 : } 332 : 333 : /* wait push */ - 334 18 : g_cond_wait (&data->cond_push, &data->lock); + 334 20 : g_cond_wait (&data->cond_push, &data->lock); 335 : } 336 : 337 : /* Current buffer will be wasted. */ diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposink.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposink.c.func-c.html index b58d80b57..19fb8f4ff 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposink.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposink.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposink.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposink.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 82.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 94.1 % @@ -163,7 +163,7 @@ gst_tensor_reposink_get_type - 1469 + 1471 @@ -177,14 +177,14 @@ gst_tensor_reposink_get_type_once - 449 + 450 gst_tensor_reposink_get_type - 992 + 993 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposink.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposink.c.func.html index 68e2833ce..ef7284912 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposink.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposink.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposink.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposink.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 82.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 94.1 % @@ -100,7 +100,7 @@ gst_tensor_reposink_get_type - 1469 + 1471 @@ -114,14 +114,14 @@ gst_tensor_reposink_get_type - 992 + 993 gst_tensor_reposink_get_type_once - 449 + 450 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposink.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposink.c.gcov.html index 52d945ae5..4ce1451b1 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposink.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposink.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposink.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposink.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 82.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 94.1 % @@ -139,7 +139,7 @@ 77 : GstCaps * filter); 78 : 79 : #define gst_tensor_reposink_parent_class parent_class - 80 1469 : G_DEFINE_TYPE (GstTensorRepoSink, gst_tensor_reposink, GST_TYPE_BASE_SINK); + 80 1471 : G_DEFINE_TYPE (GstTensorRepoSink, gst_tensor_reposink, GST_TYPE_BASE_SINK); 81 : 82 : /** 83 : * @brief class initialization of tensor_reposink diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposrc.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposrc.c.func-c.html index c9955dd9b..314f3e261 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposrc.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposrc.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposrc.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposrc.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 88.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -121,7 +121,7 @@ gst_tensor_reposrc_get_type - 1160 + 1162 @@ -135,14 +135,14 @@ gst_tensor_reposrc_get_type_once - 449 + 450 gst_tensor_reposrc_get_type - 683 + 684 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposrc.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposrc.c.func.html index 7a3d2ac95..c974d3c62 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposrc.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposrc.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposrc.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposrc.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 88.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -100,7 +100,7 @@ gst_tensor_reposrc_get_type - 1160 + 1162 @@ -114,14 +114,14 @@ gst_tensor_reposrc_get_type - 683 + 684 gst_tensor_reposrc_get_type_once - 449 + 450 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposrc.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposrc.c.gcov.html index 4dbdd4550..df461bdbf 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposrc.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposrc.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposrc.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_reposrc.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 88.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -127,7 +127,7 @@ 65 : GstBuffer ** buffer); 66 : 67 : #define gst_tensor_reposrc_parent_class parent_class - 68 1160 : G_DEFINE_TYPE (GstTensorRepoSrc, gst_tensor_reposrc, GST_TYPE_PUSH_SRC); + 68 1162 : G_DEFINE_TYPE (GstTensorRepoSrc, gst_tensor_reposrc, GST_TYPE_PUSH_SRC); 69 : 70 : /** 71 : * @brief class initialization of tensor_reposrc diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sink.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sink.c.func-c.html index 3e9d6184f..91b7b1043 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sink.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sink.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sink.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sink.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.1 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 95.2 % @@ -142,56 +142,56 @@ gst_tensor_sink_event - 630 + 635 gst_tensor_sink_query - 1478 + 1494 gst_tensor_sink_set_last_render_time - 6716 + 6746 gst_tensor_sink_render - 6721 + 6751 gst_tensor_sink_render_buffer - 6721 + 6751 gst_tensor_sink_get_signal_rate - 6723 + 6753 gst_tensor_sink_get_emit_signal - 7029 + 7063 gst_tensor_sink_get_type - 37157 + 37334 @@ -205,14 +205,14 @@ gst_tensor_sink_get_type_once - 449 + 450 gst_tensor_sink_get_type - 36671 + 36847 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sink.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sink.c.func.html index 1efd1d988..e52d0b856 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sink.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sink.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sink.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sink.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.1 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 95.2 % @@ -72,7 +72,7 @@ gst_tensor_sink_event - 630 + 635 @@ -86,7 +86,7 @@ gst_tensor_sink_get_emit_signal - 7029 + 7063 @@ -107,7 +107,7 @@ gst_tensor_sink_get_signal_rate - 6723 + 6753 @@ -121,7 +121,7 @@ gst_tensor_sink_get_type - 37157 + 37334 @@ -135,14 +135,14 @@ gst_tensor_sink_get_type - 36671 + 36847 gst_tensor_sink_get_type_once - 449 + 450 @@ -156,21 +156,21 @@ gst_tensor_sink_query - 1478 + 1494 gst_tensor_sink_render - 6721 + 6751 gst_tensor_sink_render_buffer - 6721 + 6751 @@ -191,7 +191,7 @@ gst_tensor_sink_set_last_render_time - 6716 + 6746 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sink.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sink.c.gcov.html index 343996597..7860b1e05 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sink.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sink.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sink.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sink.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.1 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 95.2 % @@ -200,7 +200,7 @@ 138 : static gboolean gst_tensor_sink_get_silent (GstTensorSink * self); 139 : 140 : #define gst_tensor_sink_parent_class parent_class - 141 37157 : G_DEFINE_TYPE (GstTensorSink, gst_tensor_sink, GST_TYPE_BASE_SINK); + 141 37334 : G_DEFINE_TYPE (GstTensorSink, gst_tensor_sink, GST_TYPE_BASE_SINK); 142 : 143 : /** 144 : * @brief Initialize tensor_sink class. @@ -424,39 +424,39 @@ 362 : * GstBaseSink method implementation. 363 : */ 364 : static gboolean - 365 630 : gst_tensor_sink_event (GstBaseSink * sink, GstEvent * event) + 365 635 : gst_tensor_sink_event (GstBaseSink * sink, GstEvent * event) 366 : { 367 : GstTensorSink *self; 368 : GstEventType type; 369 : - 370 630 : self = GST_TENSOR_SINK (sink); - 371 630 : type = GST_EVENT_TYPE (event); + 370 635 : self = GST_TENSOR_SINK (sink); + 371 635 : type = GST_EVENT_TYPE (event); 372 : - 373 630 : GST_DEBUG_OBJECT (self, "Received %s event: %" GST_PTR_FORMAT, + 373 635 : GST_DEBUG_OBJECT (self, "Received %s event: %" GST_PTR_FORMAT, 374 : GST_EVENT_TYPE_NAME (event), event); 375 : - 376 630 : switch (type) { - 377 174 : case GST_EVENT_STREAM_START: - 378 174 : if (gst_tensor_sink_get_emit_signal (self)) { - 379 173 : silent_debug (self, "Emit signal for stream start"); + 376 635 : switch (type) { + 377 177 : case GST_EVENT_STREAM_START: + 378 177 : if (gst_tensor_sink_get_emit_signal (self)) { + 379 176 : silent_debug (self, "Emit signal for stream start"); 380 : - 381 173 : g_signal_emit (self, _tensor_sink_signals[SIGNAL_STREAM_START], 0); + 381 176 : g_signal_emit (self, _tensor_sink_signals[SIGNAL_STREAM_START], 0); 382 : } - 383 174 : break; + 383 177 : break; 384 : - 385 137 : case GST_EVENT_EOS: - 386 137 : if (gst_tensor_sink_get_emit_signal (self)) { - 387 136 : silent_debug (self, "Emit signal for eos"); + 385 138 : case GST_EVENT_EOS: + 386 138 : if (gst_tensor_sink_get_emit_signal (self)) { + 387 137 : silent_debug (self, "Emit signal for eos"); 388 : - 389 136 : g_signal_emit (self, _tensor_sink_signals[SIGNAL_EOS], 0); + 389 137 : g_signal_emit (self, _tensor_sink_signals[SIGNAL_EOS], 0); 390 : } - 391 137 : break; + 391 138 : break; 392 : - 393 319 : default: - 394 319 : break; + 393 320 : default: + 394 320 : break; 395 : } 396 : - 397 630 : return GST_BASE_SINK_CLASS (parent_class)->event (sink, event); + 397 635 : return GST_BASE_SINK_CLASS (parent_class)->event (sink, event); 398 : } 399 : 400 : /** @@ -465,30 +465,30 @@ 403 : * GstBaseSink method implementation. 404 : */ 405 : static gboolean - 406 1478 : gst_tensor_sink_query (GstBaseSink * sink, GstQuery * query) + 406 1494 : gst_tensor_sink_query (GstBaseSink * sink, GstQuery * query) 407 : { 408 : GstTensorSink *self; 409 : GstQueryType type; 410 : GstFormat format; 411 : - 412 1478 : self = GST_TENSOR_SINK (sink); - 413 1478 : type = GST_QUERY_TYPE (query); + 412 1494 : self = GST_TENSOR_SINK (sink); + 413 1494 : type = GST_QUERY_TYPE (query); 414 : - 415 1478 : GST_DEBUG_OBJECT (self, "Received %s query: %" GST_PTR_FORMAT, + 415 1494 : GST_DEBUG_OBJECT (self, "Received %s query: %" GST_PTR_FORMAT, 416 : GST_QUERY_TYPE_NAME (query), query); 417 : - 418 1478 : switch (type) { + 418 1494 : switch (type) { 419 0 : case GST_QUERY_SEEKING: 420 : /** tensor sink does not support seeking */ 421 0 : gst_query_parse_seeking (query, &format, NULL, NULL, NULL); 422 0 : gst_query_set_seeking (query, format, FALSE, 0, -1); - 423 1478 : return TRUE; + 423 1494 : return TRUE; 424 : - 425 1478 : default: - 426 1478 : break; + 425 1494 : default: + 426 1494 : break; 427 : } 428 : - 429 1478 : return GST_BASE_SINK_CLASS (parent_class)->query (sink, query); + 429 1494 : return GST_BASE_SINK_CLASS (parent_class)->query (sink, query); 430 : } 431 : 432 : /** @@ -497,14 +497,14 @@ 435 : * GstBaseSink method implementation. 436 : */ 437 : static GstFlowReturn - 438 6721 : gst_tensor_sink_render (GstBaseSink * sink, GstBuffer * buffer) + 438 6751 : gst_tensor_sink_render (GstBaseSink * sink, GstBuffer * buffer) 439 : { 440 : GstTensorSink *self; 441 : - 442 6721 : self = GST_TENSOR_SINK (sink); - 443 6721 : gst_tensor_sink_render_buffer (self, buffer); + 442 6751 : self = GST_TENSOR_SINK (sink); + 443 6751 : gst_tensor_sink_render_buffer (self, buffer); 444 : - 445 6721 : return GST_FLOW_OK; + 445 6751 : return GST_FLOW_OK; 446 : } 447 : 448 : /** @@ -538,17 +538,17 @@ 476 : * @param buffer pointer to GstBuffer to be handled 477 : */ 478 : static void - 479 6721 : gst_tensor_sink_render_buffer (GstTensorSink * self, GstBuffer * buffer) + 479 6751 : gst_tensor_sink_render_buffer (GstTensorSink * self, GstBuffer * buffer) 480 : { - 481 6721 : GstClockTime now = GST_CLOCK_TIME_NONE; + 481 6751 : GstClockTime now = GST_CLOCK_TIME_NONE; 482 : guint signal_rate; - 483 6721 : gboolean notify = FALSE; + 483 6751 : gboolean notify = FALSE; 484 : - 485 6721 : g_return_if_fail (GST_IS_TENSOR_SINK (self)); + 485 6751 : g_return_if_fail (GST_IS_TENSOR_SINK (self)); 486 : - 487 6721 : signal_rate = gst_tensor_sink_get_signal_rate (self); + 487 6751 : signal_rate = gst_tensor_sink_get_signal_rate (self); 488 : - 489 6721 : if (signal_rate) { + 489 6751 : if (signal_rate) { 490 : GstClock *clock; 491 : GstClockTime render_time; 492 : GstClockTime last_render_time; @@ -572,35 +572,35 @@ 510 : } 511 : } else { 512 : /** send data if signal rate is 0 */ - 513 6715 : notify = TRUE; + 513 6745 : notify = TRUE; 514 : } 515 : - 516 6721 : if (notify) { - 517 6716 : gst_tensor_sink_set_last_render_time (self, now); + 516 6751 : if (notify) { + 517 6746 : gst_tensor_sink_set_last_render_time (self, now); 518 : - 519 6716 : if (gst_tensor_sink_get_emit_signal (self)) { - 520 6711 : silent_debug (self, + 519 6746 : if (gst_tensor_sink_get_emit_signal (self)) { + 520 6741 : silent_debug (self, 521 : "Emit signal for new data [%" GST_TIME_FORMAT "] rate [%d]", 522 : GST_TIME_ARGS (now), signal_rate); 523 : - 524 6711 : g_signal_emit (self, _tensor_sink_signals[SIGNAL_NEW_DATA], 0, buffer); + 524 6741 : g_signal_emit (self, _tensor_sink_signals[SIGNAL_NEW_DATA], 0, buffer); 525 : } 526 : } 527 : - 528 6721 : silent_debug_timestamp (self, buffer); + 528 6751 : silent_debug_timestamp (self, buffer); 529 : } 530 : 531 : /** 532 : * @brief Setter for value last_render_time. 533 : */ 534 : static void - 535 6716 : gst_tensor_sink_set_last_render_time (GstTensorSink * self, GstClockTime now) + 535 6746 : gst_tensor_sink_set_last_render_time (GstTensorSink * self, GstClockTime now) 536 : { - 537 6716 : g_return_if_fail (GST_IS_TENSOR_SINK (self)); + 537 6746 : g_return_if_fail (GST_IS_TENSOR_SINK (self)); 538 : - 539 6716 : g_mutex_lock (&self->mutex); - 540 6716 : self->last_render_time = now; - 541 6716 : g_mutex_unlock (&self->mutex); + 539 6746 : g_mutex_lock (&self->mutex); + 540 6746 : self->last_render_time = now; + 541 6746 : g_mutex_unlock (&self->mutex); 542 : } 543 : 544 : /** @@ -638,17 +638,17 @@ 576 : * @brief Getter for value signal_rate. 577 : */ 578 : static guint - 579 6723 : gst_tensor_sink_get_signal_rate (GstTensorSink * self) + 579 6753 : gst_tensor_sink_get_signal_rate (GstTensorSink * self) 580 : { 581 : guint rate; 582 : - 583 6723 : g_return_val_if_fail (GST_IS_TENSOR_SINK (self), 0); + 583 6753 : g_return_val_if_fail (GST_IS_TENSOR_SINK (self), 0); 584 : - 585 6723 : g_mutex_lock (&self->mutex); - 586 6723 : rate = self->signal_rate; - 587 6723 : g_mutex_unlock (&self->mutex); + 585 6753 : g_mutex_lock (&self->mutex); + 586 6753 : rate = self->signal_rate; + 587 6753 : g_mutex_unlock (&self->mutex); 588 : - 589 6723 : return rate; + 589 6753 : return rate; 590 : } 591 : 592 : /** @@ -669,17 +669,17 @@ 607 : * @brief Getter for flag emit_signal. 608 : */ 609 : static gboolean - 610 7029 : gst_tensor_sink_get_emit_signal (GstTensorSink * self) + 610 7063 : gst_tensor_sink_get_emit_signal (GstTensorSink * self) 611 : { 612 : gboolean res; 613 : - 614 7029 : g_return_val_if_fail (GST_IS_TENSOR_SINK (self), FALSE); + 614 7063 : g_return_val_if_fail (GST_IS_TENSOR_SINK (self), FALSE); 615 : - 616 7029 : g_mutex_lock (&self->mutex); - 617 7029 : res = self->emit_signal; - 618 7029 : g_mutex_unlock (&self->mutex); + 616 7063 : g_mutex_lock (&self->mutex); + 617 7063 : res = self->emit_signal; + 618 7063 : g_mutex_unlock (&self->mutex); 619 : - 620 7029 : return res; + 620 7063 : return res; 621 : } 622 : 623 : /** diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparsedec.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparsedec.c.func-c.html index 9a7a9b250..f6c8ae380 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparsedec.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparsedec.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparsedec.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparsedec.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -128,7 +128,7 @@ gst_tensor_sparse_dec_get_type - 989 + 991 @@ -142,14 +142,14 @@ gst_tensor_sparse_dec_get_type_once - 449 + 450 gst_tensor_sparse_dec_get_type - 516 + 517 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparsedec.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparsedec.c.func.html index db4a18fb1..3fd02bca2 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparsedec.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparsedec.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparsedec.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparsedec.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -93,7 +93,7 @@ gst_tensor_sparse_dec_get_type - 989 + 991 @@ -107,14 +107,14 @@ gst_tensor_sparse_dec_get_type - 516 + 517 gst_tensor_sparse_dec_get_type_once - 449 + 450 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparsedec.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparsedec.c.gcov.html index 9b000345b..510d4402d 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparsedec.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparsedec.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparsedec.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparsedec.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -141,7 +141,7 @@ 79 : GST_STATIC_CAPS (GST_TENSORS_CAP_DEFAULT)); 80 : 81 : #define gst_tensor_sparse_dec_parent_class parent_class - 82 989 : G_DEFINE_TYPE (GstTensorSparseDec, gst_tensor_sparse_dec, GST_TYPE_ELEMENT); + 82 991 : G_DEFINE_TYPE (GstTensorSparseDec, gst_tensor_sparse_dec, GST_TYPE_ELEMENT); 83 : 84 : static void gst_tensor_sparse_dec_finalize (GObject * object); 85 : static void gst_tensor_sparse_dec_set_property (GObject * object, guint prop_id, diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseenc.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseenc.c.func-c.html index 618e7907c..b2703809d 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseenc.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseenc.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseenc.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseenc.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -135,7 +135,7 @@ gst_tensor_sparse_enc_get_type - 1075 + 1077 @@ -149,14 +149,14 @@ gst_tensor_sparse_enc_get_type_once - 449 + 450 gst_tensor_sparse_enc_get_type - 599 + 600 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseenc.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseenc.c.func.html index dc3fc3d20..5107a0308 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseenc.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseenc.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseenc.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseenc.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -93,7 +93,7 @@ gst_tensor_sparse_enc_get_type - 1075 + 1077 @@ -107,14 +107,14 @@ gst_tensor_sparse_enc_get_type - 599 + 600 gst_tensor_sparse_enc_get_type_once - 449 + 450 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseenc.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseenc.c.gcov.html index ae5d444d3..0ae30d95a 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseenc.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseenc.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseenc.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseenc.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -140,7 +140,7 @@ 78 : GST_STATIC_CAPS (GST_TENSORS_SPARSE_CAP_DEFAULT)); 79 : 80 : #define gst_tensor_sparse_enc_parent_class parent_class - 81 1075 : G_DEFINE_TYPE (GstTensorSparseEnc, gst_tensor_sparse_enc, GST_TYPE_ELEMENT); + 81 1077 : G_DEFINE_TYPE (GstTensorSparseEnc, gst_tensor_sparse_enc, GST_TYPE_ELEMENT); 82 : 83 : static void gst_tensor_sparse_enc_finalize (GObject * object); 84 : static void gst_tensor_sparse_enc_set_property (GObject * object, guint prop_id, diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseutil.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseutil.c.func-c.html index e106dd807..3dbab2445 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseutil.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseutil.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseutil.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseutil.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseutil.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseutil.c.func.html index 5ead6e193..6ebae23bc 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseutil.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseutil.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseutil.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseutil.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseutil.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseutil.c.gcov.html index 8fa80c0fb..058c98f91 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseutil.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseutil.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseutil.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_sparseutil.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -121,8 +121,8 @@ 59 35 : input = map.data + gst_tensor_meta_info_get_header_size (meta); 60 35 : indices = (guint *) (input + element_size * nnz); 61 : - 62 1512 : for (i = 0; i < nnz; ++i) { - 63 1477 : switch (meta->type) { + 62 1493 : for (i = 0; i < nnz; ++i) { + 63 1458 : switch (meta->type) { 64 6 : case _NNS_INT32: 65 6 : ((int32_t *) output)[indices[i]] = ((int32_t *) input)[i]; 66 6 : break; @@ -138,15 +138,15 @@ 76 6 : case _NNS_INT8: 77 6 : ((int8_t *) output)[indices[i]] = ((int8_t *) input)[i]; 78 6 : break; - 79 28 : case _NNS_UINT8: - 80 28 : ((uint8_t *) output)[indices[i]] = ((uint8_t *) input)[i]; - 81 28 : break; + 79 13 : case _NNS_UINT8: + 80 13 : ((uint8_t *) output)[indices[i]] = ((uint8_t *) input)[i]; + 81 13 : break; 82 6 : case _NNS_FLOAT64: 83 6 : ((double *) output)[indices[i]] = ((double *) input)[i]; 84 6 : break; - 85 1401 : case _NNS_FLOAT32: - 86 1401 : ((float *) output)[indices[i]] = ((float *) input)[i]; - 87 1401 : break; + 85 1397 : case _NNS_FLOAT32: + 86 1397 : ((float *) output)[indices[i]] = ((float *) input)[i]; + 87 1397 : break; 88 6 : case _NNS_INT64: 89 6 : ((int64_t *) output)[indices[i]] = ((int64_t *) input)[i]; 90 6 : break; @@ -247,9 +247,9 @@ 185 40 : break; 186 100 : case _NNS_UINT8: 187 100 : if (((uint8_t *) map.data)[i] != 0) { - 188 31 : ((uint8_t *) values)[nnz] = ((uint8_t *) map.data)[i]; - 189 31 : indices[nnz] = i; - 190 31 : nnz += 1; + 188 14 : ((uint8_t *) values)[nnz] = ((uint8_t *) map.data)[i]; + 189 14 : indices[nnz] = i; + 190 14 : nnz += 1; 191 : } 192 100 : break; 193 40 : case _NNS_FLOAT64: @@ -261,9 +261,9 @@ 199 40 : break; 200 23885 : case _NNS_FLOAT32: 201 23885 : if (((float *) map.data)[i] != 0) { - 202 4179 : ((float *) values)[nnz] = ((float *) map.data)[i]; - 203 4179 : indices[nnz] = i; - 204 4179 : nnz += 1; + 202 4175 : ((float *) values)[nnz] = ((float *) map.data)[i]; + 203 4175 : indices[nnz] = i; + 204 4175 : nnz += 1; 205 : } 206 23885 : break; 207 40 : case _NNS_INT64: diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_split.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_split.c.func-c.html index 44069b882..49feb8555 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_split.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_split.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_split.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_split.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -163,7 +163,7 @@ gst_tensor_split_get_type - 1174 + 1176 @@ -177,14 +177,14 @@ gst_tensor_split_get_type_once - 449 + 450 gst_tensor_split_get_type - 695 + 696 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_split.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_split.c.func.html index 062584f21..e636e9411 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_split.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_split.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_split.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_split.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -142,7 +142,7 @@ gst_tensor_split_get_type - 1174 + 1176 @@ -156,14 +156,14 @@ gst_tensor_split_get_type - 695 + 696 gst_tensor_split_get_type_once - 449 + 450 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_split.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_split.c.gcov.html index a95b7275a..74b30a02e 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_split.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_split.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_split.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_split.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -161,7 +161,7 @@ 99 : static void gst_tensor_split_finalize (GObject * object); 100 : 101 : #define gst_tensor_split_parent_class parent_class - 102 1174 : G_DEFINE_TYPE (GstTensorSplit, gst_tensor_split, GST_TYPE_ELEMENT); + 102 1176 : G_DEFINE_TYPE (GstTensorSplit, gst_tensor_split, GST_TYPE_ELEMENT); 103 : 104 : 105 : /** diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_srciio.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_srciio.c.func-c.html index 0b7f2c7b1..40ead4211 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_srciio.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_srciio.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_srciio.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_srciio.c - functions @@ -28,16 +28,16 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: - 78.9 % + 78.7 % 1139 - 899 + 896 Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -238,37 +238,37 @@ - gst_tensor_src_iio_get_property + gst_tensor_src_iio_get_times - 27 + 25 - gst_tensor_src_iio_get_times + gst_tensor_src_iio_get_property 27 - gst_tensor_src_iio_device_properties_init + gst_tensor_src_iio_create 36 - gst_tensor_src_iio_create + gst_tensor_src_iio_device_properties_init - 39 + 36 gst_tensor_src_iio_fill - 39 + 36 @@ -331,7 +331,7 @@ gst_tensor_src_iio_process_scanned_data_from_guint16 - 137 + 135 @@ -359,7 +359,7 @@ gst_tensor_src_iio_process_scanned_data - 233 + 231 @@ -373,7 +373,7 @@ gst_tensor_src_iio_get_type - 1193 + 1192 @@ -387,14 +387,14 @@ gst_tensor_src_iio_get_type_once - 449 + 450 gst_tensor_src_iio_get_type - 725 + 723 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_srciio.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_srciio.c.func.html index 69b1f86fd..b2b7c8efe 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_srciio.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_srciio.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_srciio.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_srciio.c - functions @@ -28,16 +28,16 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: - 78.9 % + 78.7 % 1139 - 899 + 896 Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -114,7 +114,7 @@ gst_tensor_src_iio_create - 39 + 36 @@ -142,7 +142,7 @@ gst_tensor_src_iio_fill - 39 + 36 @@ -219,14 +219,14 @@ gst_tensor_src_iio_get_times - 27 + 25 gst_tensor_src_iio_get_type - 1193 + 1192 @@ -240,14 +240,14 @@ gst_tensor_src_iio_get_type - 725 + 723 gst_tensor_src_iio_get_type_once - 449 + 450 @@ -268,14 +268,14 @@ gst_tensor_src_iio_process_scanned_data - 233 + 231 gst_tensor_src_iio_process_scanned_data_from_guint16 - 137 + 135 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_srciio.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_srciio.c.gcov.html index e10c5d474..417c6d229 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_srciio.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_srciio.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_srciio.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_srciio.c @@ -28,16 +28,16 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: - 78.9 % + 78.7 % 1139 - 899 + 896 Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -313,7 +313,7 @@ 251 : 252 : /** Define data processing functions for various types */ 253 24 : PROCESS_SCANNED_DATA (guint8, gint8); - 254 137 : PROCESS_SCANNED_DATA (guint16, gint16); + 254 135 : PROCESS_SCANNED_DATA (guint16, gint16); 255 24 : PROCESS_SCANNED_DATA (guint32, gint32); 256 48 : PROCESS_SCANNED_DATA (guint64, gint64); 257 : @@ -345,7 +345,7 @@ 283 : /** internal functions */ 284 : 285 : #define gst_tensor_src_iio_parent_class parent_class - 286 1193 : G_DEFINE_TYPE (GstTensorSrcIIO, gst_tensor_src_iio, GST_TYPE_BASE_SRC); + 286 1192 : G_DEFINE_TYPE (GstTensorSrcIIO, gst_tensor_src_iio, GST_TYPE_BASE_SRC); 287 : 288 : /** 289 : * @brief initialize the tensor_src_iio class. @@ -2362,72 +2362,72 @@ 2300 : * @brief returns the time for the buffers 2301 : */ 2302 : static void - 2303 27 : gst_tensor_src_iio_get_times (GstBaseSrc * basesrc, GstBuffer * buffer, + 2303 25 : gst_tensor_src_iio_get_times (GstBaseSrc * basesrc, GstBuffer * buffer, 2304 : GstClockTime * start, GstClockTime * end) 2305 : { 2306 : GstClockTime timestamp; 2307 : GstClockTime duration; 2308 : UNUSED (basesrc); 2309 : - 2310 27 : timestamp = GST_BUFFER_DTS (buffer); - 2311 27 : duration = GST_BUFFER_DURATION (buffer); + 2310 25 : timestamp = GST_BUFFER_DTS (buffer); + 2311 25 : duration = GST_BUFFER_DURATION (buffer); 2312 : 2313 : /** can't sync using DTS, use PTS */ - 2314 27 : if (!GST_CLOCK_TIME_IS_VALID (timestamp)) - 2315 27 : timestamp = GST_BUFFER_PTS (buffer); + 2314 25 : if (!GST_CLOCK_TIME_IS_VALID (timestamp)) + 2315 25 : timestamp = GST_BUFFER_PTS (buffer); 2316 : - 2317 27 : if (GST_CLOCK_TIME_IS_VALID (timestamp)) { + 2317 25 : if (GST_CLOCK_TIME_IS_VALID (timestamp)) { 2318 0 : *start = timestamp; 2319 0 : if (GST_CLOCK_TIME_IS_VALID (duration)) { 2320 0 : *end = timestamp + duration; 2321 : } 2322 : } - 2323 27 : } + 2323 25 : } 2324 : 2325 : /** 2326 : * @brief create a buffer with requested size and offset 2327 : * @note offset, size ignored as the tensor src iio does not support pull mode 2328 : */ 2329 : static GstFlowReturn - 2330 39 : gst_tensor_src_iio_create (GstBaseSrc * src, guint64 offset, + 2330 36 : gst_tensor_src_iio_create (GstBaseSrc * src, guint64 offset, 2331 : guint size, GstBuffer ** buffer) 2332 : { 2333 : GstTensorSrcIIO *self; - 2334 39 : GstFlowReturn ret = GST_FLOW_ERROR; + 2334 36 : GstFlowReturn ret = GST_FLOW_ERROR; 2335 : GstBuffer *buf; 2336 : GstMemory *mem; 2337 : GstTensorInfo *_info; 2338 : gsize buffer_size; - 2339 39 : guint idx = 0; + 2339 36 : guint idx = 0; 2340 : UNUSED (size); 2341 : - 2342 39 : self = GST_TENSOR_SRC_IIO_CAST (src); - 2343 39 : buf = gst_buffer_new (); - 2344 39 : buffer_size = gst_tensors_info_get_size (&self->tensors_config->info, 0); + 2342 36 : self = GST_TENSOR_SRC_IIO_CAST (src); + 2343 36 : buf = gst_buffer_new (); + 2344 36 : buffer_size = gst_tensors_info_get_size (&self->tensors_config->info, 0); 2345 : - 2346 129 : for (idx = 0; idx < self->tensors_config->info.num_tensors; idx++) { + 2346 116 : for (idx = 0; idx < self->tensors_config->info.num_tensors; idx++) { 2347 : /** all the data, if unermged should be of the same size*/ - 2348 90 : _info = gst_tensors_info_get_nth_info (&self->tensors_config->info, idx); - 2349 90 : g_assert (buffer_size == gst_tensor_info_get_size (_info)); + 2348 80 : _info = gst_tensors_info_get_nth_info (&self->tensors_config->info, idx); + 2349 80 : g_assert (buffer_size == gst_tensor_info_get_size (_info)); 2350 : - 2351 90 : mem = gst_allocator_alloc (NULL, buffer_size, NULL); - 2352 90 : if (mem == NULL) { + 2351 80 : mem = gst_allocator_alloc (NULL, buffer_size, NULL); + 2352 80 : if (mem == NULL) { 2353 0 : GST_ERROR_OBJECT (self, "Error allocating memory for buffer."); 2354 0 : goto error; 2355 : } 2356 : - 2357 90 : gst_tensor_buffer_append_memory (buf, mem, _info); + 2357 80 : gst_tensor_buffer_append_memory (buf, mem, _info); 2358 : } 2359 : - 2360 39 : ret = gst_tensor_src_iio_fill (src, offset, (guint) buffer_size, buf); + 2360 36 : ret = gst_tensor_src_iio_fill (src, offset, (guint) buffer_size, buf); 2361 : - 2362 39 : error: - 2363 39 : if (ret == GST_FLOW_OK) - 2364 37 : *buffer = buf; + 2362 36 : error: + 2363 36 : if (ret == GST_FLOW_OK) + 2364 36 : *buffer = buf; 2365 : else - 2366 2 : gst_buffer_unref (buf); + 2366 0 : gst_buffer_unref (buf); 2367 : - 2368 39 : return ret; + 2368 36 : return ret; 2369 : } 2370 : 2371 : /** @@ -2440,11 +2440,11 @@ 2378 : * assumes each data starting point is byte aligned 2379 : */ 2380 : static gboolean - 2381 233 : gst_tensor_src_iio_process_scanned_data (GstTensorSrcIIOChannelProperties * + 2381 231 : gst_tensor_src_iio_process_scanned_data (GstTensorSrcIIOChannelProperties * 2382 : prop, gchar * data, gfloat * buffer_map) 2383 : { 2384 : guint64 storage_mask; - 2385 233 : switch (prop->storage_bytes) { + 2385 231 : switch (prop->storage_bytes) { 2386 24 : case 1: 2387 : { 2388 24 : guint8 value = *(guint8 *) (data + prop->location); @@ -2454,22 +2454,22 @@ 2392 24 : gst_tensor_src_iio_process_scanned_data_from_guint8 (prop, value); 2393 24 : break; 2394 : } - 2395 137 : case 2: + 2395 135 : case 2: 2396 : { - 2397 137 : guint16 value = *(guint16 *) (data + prop->location); - 2398 137 : if (prop->big_endian) { + 2397 135 : guint16 value = *(guint16 *) (data + prop->location); + 2398 135 : if (prop->big_endian) { 2399 68 : value = GUINT16_FROM_BE (value); 2400 : /** right shift the extra storage bits for big endian */ 2401 68 : value >>= (16 - prop->storage_bits); 2402 : } else { - 2403 69 : value = GUINT16_FROM_LE (value); + 2403 67 : value = GUINT16_FROM_LE (value); 2404 : /** mask out the extra storage bits for little endian */ - 2405 69 : storage_mask = G_MAXUINT64 >> (64 - prop->storage_bits); - 2406 69 : value &= storage_mask; + 2405 67 : storage_mask = G_MAXUINT64 >> (64 - prop->storage_bits); + 2406 67 : value &= storage_mask; 2407 : } - 2408 137 : *buffer_map = - 2409 137 : gst_tensor_src_iio_process_scanned_data_from_guint16 (prop, value); - 2410 137 : break; + 2408 135 : *buffer_map = + 2409 135 : gst_tensor_src_iio_process_scanned_data_from_guint16 (prop, value); + 2410 135 : break; 2411 : } 2412 24 : case 3: 2413 : /** follow through */ @@ -2517,7 +2517,7 @@ 2455 0 : GST_ERROR ("Storage bytes for channel %s out of bounds", prop->name); 2456 0 : return FALSE; 2457 : } - 2458 233 : return TRUE; + 2458 231 : return TRUE; 2459 : } 2460 : 2461 : /** @@ -2526,11 +2526,11 @@ 2464 : * @note buffer timestamp is already handled by gstreamer with gst clock 2465 : */ 2466 : static GstFlowReturn - 2467 39 : gst_tensor_src_iio_fill (GstBaseSrc * src, guint64 offset, guint size, + 2467 36 : gst_tensor_src_iio_fill (GstBaseSrc * src, guint64 offset, guint size, 2468 : GstBuffer * buffer) 2469 : { 2470 : GstTensorSrcIIO *self; - 2471 39 : GstFlowReturn ret = GST_FLOW_ERROR; + 2471 36 : GstFlowReturn ret = GST_FLOW_ERROR; 2472 : gint status, bytes_to_read; 2473 : guint idx, ch_idx, num_mapped; 2474 : gchar *raw_data_base, *raw_data; @@ -2543,56 +2543,56 @@ 2481 : UNUSED (offset); 2482 : UNUSED (size); 2483 : - 2484 39 : self = GST_TENSOR_SRC_IIO (src); + 2484 36 : self = GST_TENSOR_SRC_IIO (src); 2485 : 2486 : /** Only supporting tensors made of 1 tensor for now */ - 2487 39 : g_assert (gst_tensor_buffer_get_count (buffer) == + 2487 36 : g_assert (gst_tensor_buffer_get_count (buffer) == 2488 : self->tensors_config->info.num_tensors); 2489 : 2490 : /** get writable buffer */ - 2491 39 : num_mapped = 0; - 2492 129 : for (idx = 0; idx < self->tensors_config->info.num_tensors; idx++) { - 2493 90 : mem[idx] = gst_tensor_buffer_get_nth_memory (buffer, idx); - 2494 90 : if (!gst_memory_map (mem[idx], &map[idx], GST_MAP_WRITE)) { + 2491 36 : num_mapped = 0; + 2492 116 : for (idx = 0; idx < self->tensors_config->info.num_tensors; idx++) { + 2493 80 : mem[idx] = gst_tensor_buffer_get_nth_memory (buffer, idx); + 2494 80 : if (!gst_memory_map (mem[idx], &map[idx], GST_MAP_WRITE)) { 2495 0 : for (ch_idx = 0; ch_idx < num_mapped; ch_idx++) { 2496 0 : gst_memory_unmap (mem[ch_idx], &map[ch_idx]); 2497 0 : gst_memory_unref (mem[ch_idx]); 2498 : } 2499 0 : gst_memory_unref (mem[idx]); - 2500 39 : return GST_FLOW_ERROR; + 2500 36 : return GST_FLOW_ERROR; 2501 : } - 2502 90 : num_mapped = idx + 1; + 2502 80 : num_mapped = idx + 1; 2503 : } 2504 : /** memory to data from file */ - 2505 39 : bytes_to_read = self->scan_size * self->buffer_capacity; - 2506 39 : raw_data_base = g_malloc (bytes_to_read); - 2507 39 : if (raw_data_base == NULL) { + 2505 36 : bytes_to_read = self->scan_size * self->buffer_capacity; + 2506 36 : raw_data_base = g_malloc (bytes_to_read); + 2507 36 : if (raw_data_base == NULL) { 2508 0 : GST_ERROR_OBJECT (self, "Failed to allocate memory to read raw data."); 2509 0 : goto error_data_free; 2510 : } 2511 : 2512 : /** wait for the data to arrive */ - 2513 39 : time_to_end = g_get_real_time () + self->poll_timeout * 1000; + 2513 36 : time_to_end = g_get_real_time () + self->poll_timeout * 1000; 2514 : while (TRUE) { - 2515 270 : if (self->trigger.name != NULL) { - 2516 18 : status = poll (self->buffer_data_fp, 1, self->poll_timeout); - 2517 18 : if (status < 0) { + 2515 235 : if (self->trigger.name != NULL) { + 2516 15 : status = poll (self->buffer_data_fp, 1, self->poll_timeout); + 2517 15 : if (status < 0) { 2518 0 : GST_ERROR_OBJECT (self, "Error %d while polling the buffer.", status); 2519 0 : goto error_data_free; - 2520 18 : } else if (status == 0) { - 2521 2 : GST_ERROR_OBJECT (self, "Timeout while polling the buffer."); - 2522 2 : goto error_data_free; - 2523 16 : } else if (!(self->buffer_data_fp->revents & POLLIN)) { + 2520 15 : } else if (status == 0) { + 2521 0 : GST_ERROR_OBJECT (self, "Timeout while polling the buffer."); + 2522 0 : goto error_data_free; + 2523 15 : } else if (!(self->buffer_data_fp->revents & POLLIN)) { 2524 0 : GST_ERROR_OBJECT (self, "Poll succeeded on an unexpected event %d.", 2525 : self->buffer_data_fp->revents); 2526 0 : goto error_data_free; 2527 : } - 2528 16 : self->buffer_data_fp->revents = 0; + 2528 15 : self->buffer_data_fp->revents = 0; 2529 : } else { 2530 : /** sleep for a device tick */ - 2531 252 : if (g_uint64_checked_mul (&safe_multiply, G_USEC_PER_SEC, + 2531 220 : if (g_uint64_checked_mul (&safe_multiply, G_USEC_PER_SEC, 2532 : self->buffer_capacity)) { - 2533 252 : g_usleep (MAX (1, safe_multiply / self->sampling_frequency)); + 2533 220 : g_usleep (MAX (1, safe_multiply / self->sampling_frequency)); 2534 : } else { 2535 0 : g_usleep (MAX (1, 2536 : (self->buffer_capacity / self->sampling_frequency) * @@ -2601,13 +2601,13 @@ 2539 : } 2540 : 2541 : /** using read for non-blocking access */ - 2542 268 : status = read (self->buffer_data_fp->fd, raw_data_base, bytes_to_read); - 2543 268 : if (status < bytes_to_read) { - 2544 231 : if (errno == EAGAIN) { - 2545 231 : GST_WARNING_OBJECT (self, "EAGAIN error, try again."); - 2546 231 : cur_time = g_get_real_time (); - 2547 231 : if (time_to_end >= cur_time) { - 2548 231 : continue; + 2542 235 : status = read (self->buffer_data_fp->fd, raw_data_base, bytes_to_read); + 2543 235 : if (status < bytes_to_read) { + 2544 199 : if (errno == EAGAIN) { + 2545 199 : GST_WARNING_OBJECT (self, "EAGAIN error, try again."); + 2546 199 : cur_time = g_get_real_time (); + 2547 199 : if (time_to_end >= cur_time) { + 2548 199 : continue; 2549 : } else { 2550 0 : GST_ERROR_OBJECT (self, "EAGAIN timeout expired."); 2551 0 : goto error_data_free; @@ -2618,48 +2618,48 @@ 2556 : errno, status, bytes_to_read); 2557 0 : goto error_data_free; 2558 : } - 2559 37 : break; + 2559 36 : break; 2560 : } 2561 : 2562 : /** parse the read data */ - 2563 37 : raw_data = raw_data_base; + 2563 36 : raw_data = raw_data_base; 2564 : 2565 : /** 2566 : * current assumption is that the all data is float and merged to form 2567 : * a 1 dimension data. 2nd dimension comes from buffer capacity. 2568 : */ - 2569 74 : for (idx = 0; idx < self->buffer_capacity; idx++) { - 2570 37 : for (channels = self->channels, ch_idx = 0; - 2571 270 : ch_idx < self->num_channels_enabled; - 2572 233 : ch_idx++, channels = channels->next) { - 2573 233 : if (self->tensors_config->info.num_tensors == 1) { + 2569 72 : for (idx = 0; idx < self->buffer_capacity; idx++) { + 2570 36 : for (channels = self->channels, ch_idx = 0; + 2571 267 : ch_idx < self->num_channels_enabled; + 2572 231 : ch_idx++, channels = channels->next) { + 2573 231 : if (self->tensors_config->info.num_tensors == 1) { 2574 : /** for other/tensor, only 1 map exist as there is only 1 mem */ - 2575 182 : map_data_float = - 2576 182 : ((gfloat *) map[0].data) + idx * self->num_channels_enabled + + 2575 180 : map_data_float = + 2576 180 : ((gfloat *) map[0].data) + idx * self->num_channels_enabled + 2577 : ch_idx; 2578 : } else { 2579 : /** for other/tensors, multiple maps exist as there are multiple mem */ 2580 51 : map_data_float = ((gfloat *) map[ch_idx].data) + idx; 2581 : } - 2582 233 : if (!gst_tensor_src_iio_process_scanned_data (channels->data, raw_data, + 2582 231 : if (!gst_tensor_src_iio_process_scanned_data (channels->data, raw_data, 2583 : map_data_float)) { 2584 0 : GST_ERROR_OBJECT (self, "Error while processing scanned data."); 2585 0 : goto error_data_free; 2586 : } 2587 : } - 2588 37 : raw_data += self->scan_size; + 2588 36 : raw_data += self->scan_size; 2589 : } 2590 : - 2591 37 : ret = GST_FLOW_OK; + 2591 36 : ret = GST_FLOW_OK; 2592 : - 2593 39 : error_data_free: - 2594 39 : g_free (raw_data_base); - 2595 129 : for (idx = 0; idx < self->tensors_config->info.num_tensors; idx++) { - 2596 90 : gst_memory_unmap (mem[idx], &map[idx]); - 2597 90 : gst_memory_unref (mem[idx]); + 2593 36 : error_data_free: + 2594 36 : g_free (raw_data_base); + 2595 116 : for (idx = 0; idx < self->tensors_config->info.num_tensors; idx++) { + 2596 80 : gst_memory_unmap (mem[idx], &map[idx]); + 2597 80 : gst_memory_unref (mem[idx]); 2598 : } 2599 : - 2600 39 : return ret; + 2600 36 : return ret; 2601 : } diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_trainer.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_trainer.c.func-c.html index 579694dc4..b340f0e6a 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_trainer.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_trainer.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_trainer.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_trainer.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 49.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 52.5 % @@ -303,14 +303,14 @@ gst_tensor_trainer_sink_query - 32 + 31 gst_tensor_trainer_query_caps - 48 + 47 @@ -324,7 +324,7 @@ gst_tensor_trainer_get_type - 1100 + 1101 @@ -338,7 +338,7 @@ gst_tensor_trainer_get_type_once - 449 + 450 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_trainer.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_trainer.c.func.html index 54a3f175a..3c2d5854f 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_trainer.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_trainer.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_trainer.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_trainer.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 49.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 52.5 % @@ -191,7 +191,7 @@ gst_tensor_trainer_get_type - 1100 + 1101 @@ -212,7 +212,7 @@ gst_tensor_trainer_get_type_once - 449 + 450 @@ -233,7 +233,7 @@ gst_tensor_trainer_query_caps - 48 + 47 @@ -289,7 +289,7 @@ gst_tensor_trainer_sink_query - 32 + 31 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_trainer.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_trainer.c.gcov.html index 47ce47b6c..b72324132 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_trainer.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_trainer.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_trainer.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_trainer.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 49.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 52.5 % @@ -125,7 +125,7 @@ 63 : GST_DEBUG_CATEGORY_STATIC (gst_tensor_trainer_debug); 64 : #define GST_CAT_DEFAULT gst_tensor_trainer_debug 65 : #define gst_tensor_trainer_parent_class parent_class - 66 1100 : G_DEFINE_TYPE (GstTensorTrainer, gst_tensor_trainer, GST_TYPE_ELEMENT); + 66 1101 : G_DEFINE_TYPE (GstTensorTrainer, gst_tensor_trainer, GST_TYPE_ELEMENT); 67 : 68 : /** 69 : * @brief Statistical from the model being trained @@ -978,36 +978,36 @@ 916 : * @brief Get pad caps for caps negotiation. 917 : */ 918 : static GstCaps * - 919 48 : gst_tensor_trainer_query_caps (GstTensorTrainer * trainer, + 919 47 : gst_tensor_trainer_query_caps (GstTensorTrainer * trainer, 920 : GstPad * pad, GstCaps * filter) 921 : { 922 : GstCaps *caps; 923 : GstTensorsConfig *config; 924 : - 925 48 : g_return_val_if_fail (trainer != NULL, NULL); - 926 48 : g_return_val_if_fail (pad != NULL, NULL); + 925 47 : g_return_val_if_fail (trainer != NULL, NULL); + 926 47 : g_return_val_if_fail (pad != NULL, NULL); 927 : 928 : /* tensor config info for given pad */ - 929 48 : if (pad == trainer->sinkpad) { - 930 26 : config = &trainer->in_config; + 929 47 : if (pad == trainer->sinkpad) { + 930 25 : config = &trainer->in_config; 931 : } else { 932 22 : config = &trainer->out_config; 933 : } 934 : - 935 48 : caps = gst_tensor_pad_possible_caps_from_config (pad, config); - 936 48 : GST_DEBUG_OBJECT (trainer, "caps %" GST_PTR_FORMAT, caps); - 937 48 : GST_DEBUG_OBJECT (trainer, "filter %" GST_PTR_FORMAT, filter); + 935 47 : caps = gst_tensor_pad_possible_caps_from_config (pad, config); + 936 47 : GST_DEBUG_OBJECT (trainer, "caps %" GST_PTR_FORMAT, caps); + 937 47 : GST_DEBUG_OBJECT (trainer, "filter %" GST_PTR_FORMAT, filter); 938 : - 939 48 : if (caps && filter) { + 939 47 : if (caps && filter) { 940 : GstCaps *result; - 941 4 : result = gst_caps_intersect_full (filter, caps, GST_CAPS_INTERSECT_FIRST); - 942 4 : gst_caps_unref (caps); - 943 4 : caps = result; + 941 3 : result = gst_caps_intersect_full (filter, caps, GST_CAPS_INTERSECT_FIRST); + 942 3 : gst_caps_unref (caps); + 943 3 : caps = result; 944 : } 945 : - 946 48 : GST_DEBUG_OBJECT (trainer, "result caps %" GST_PTR_FORMAT, caps); + 946 47 : GST_DEBUG_OBJECT (trainer, "result caps %" GST_PTR_FORMAT, caps); 947 : - 948 48 : return caps; + 948 47 : return caps; 949 : } 950 : 951 : /** @@ -1105,32 +1105,32 @@ 1043 : * @brief This function handles sink pad query. 1044 : */ 1045 : static gboolean - 1046 32 : gst_tensor_trainer_sink_query (GstPad * sinkpad, GstObject * parent, + 1046 31 : gst_tensor_trainer_sink_query (GstPad * sinkpad, GstObject * parent, 1047 : GstQuery * query) 1048 : { 1049 : GstTensorTrainer *trainer; - 1050 32 : trainer = GST_TENSOR_TRAINER (parent); + 1050 31 : trainer = GST_TENSOR_TRAINER (parent); 1051 : - 1052 32 : GST_DEBUG_OBJECT (trainer, "Received '%s' query: %" GST_PTR_FORMAT, + 1052 31 : GST_DEBUG_OBJECT (trainer, "Received '%s' query: %" GST_PTR_FORMAT, 1053 : GST_QUERY_TYPE_NAME (query), query); 1054 : - 1055 32 : switch (GST_QUERY_TYPE (query)) { - 1056 26 : case GST_QUERY_CAPS: + 1055 31 : switch (GST_QUERY_TYPE (query)) { + 1056 25 : case GST_QUERY_CAPS: 1057 : { 1058 : GstCaps *caps; 1059 : GstCaps *filter; 1060 : - 1061 26 : GST_DEBUG_OBJECT (trainer, "[GST_QUERY_CAPS]"); - 1062 26 : gst_query_parse_caps (query, &filter); - 1063 26 : GST_DEBUG_OBJECT (trainer, "Caps from query : %" GST_PTR_FORMAT, filter); + 1061 25 : GST_DEBUG_OBJECT (trainer, "[GST_QUERY_CAPS]"); + 1062 25 : gst_query_parse_caps (query, &filter); + 1063 25 : GST_DEBUG_OBJECT (trainer, "Caps from query : %" GST_PTR_FORMAT, filter); 1064 : - 1065 26 : caps = gst_tensor_trainer_query_caps (trainer, sinkpad, filter); + 1065 25 : caps = gst_tensor_trainer_query_caps (trainer, sinkpad, filter); 1066 : - 1067 26 : GST_INFO_OBJECT (trainer, "[GST_QUERY_CAPS] : %" GST_PTR_FORMAT, caps); - 1068 26 : gst_query_set_caps_result (query, caps); - 1069 26 : gst_caps_unref (caps); + 1067 25 : GST_INFO_OBJECT (trainer, "[GST_QUERY_CAPS] : %" GST_PTR_FORMAT, caps); + 1068 25 : gst_query_set_caps_result (query, caps); + 1069 25 : gst_caps_unref (caps); 1070 : - 1071 26 : return TRUE; + 1071 25 : return TRUE; 1072 : } 1073 3 : case GST_QUERY_ACCEPT_CAPS: 1074 : { diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_transform.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_transform.c.func-c.html index 7af527925..f40a02897 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_transform.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_transform.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_transform.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_transform.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 87.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 96.4 % @@ -198,7 +198,7 @@ gst_tensor_transform_get_type - 1863 + 1865 @@ -212,14 +212,14 @@ gst_tensor_transform_get_type_once - 449 + 450 gst_tensor_transform_get_type - 1301 + 1302 @@ -240,21 +240,21 @@ gst_tensor_transform_arithmetic - 22110 + 22010 gst_tensor_transform_transform - 22770 + 22670 gst_tensor_transform_transform_size - 22770 + 22670 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_transform.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_transform.c.func.html index d150c975a..f4d316fd4 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_transform.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_transform.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_transform.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_transform.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 87.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 96.4 % @@ -72,7 +72,7 @@ gst_tensor_transform_arithmetic - 22110 + 22010 @@ -149,7 +149,7 @@ gst_tensor_transform_get_type - 1863 + 1865 @@ -163,14 +163,14 @@ gst_tensor_transform_get_type - 1301 + 1302 gst_tensor_transform_get_type_once - 449 + 450 @@ -233,7 +233,7 @@ gst_tensor_transform_transform - 22770 + 22670 @@ -247,7 +247,7 @@ gst_tensor_transform_transform_size - 22770 + 22670 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_transform.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_transform.c.gcov.html index 8343f55d7..c0f613815 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_transform.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_transform.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_transform.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements/gsttensor_transform.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 87.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 96.4 % @@ -208,7 +208,7 @@ 146 : GST_STATIC_CAPS (CAPS_STRING)); 147 : 148 : #define gst_tensor_transform_parent_class parent_class - 149 1863 : G_DEFINE_TYPE (GstTensorTransform, gst_tensor_transform, + 149 1865 : G_DEFINE_TYPE (GstTensorTransform, gst_tensor_transform, 150 : GST_TYPE_BASE_TRANSFORM); 151 : 152 : /* GObject vmethod implementations */ @@ -1389,7 +1389,7 @@ 1327 : * @return Gst flow status 1328 : */ 1329 : static GstFlowReturn - 1330 22110 : gst_tensor_transform_arithmetic (GstTensorTransform * filter, + 1330 22010 : gst_tensor_transform_arithmetic (GstTensorTransform * filter, 1331 : GstTensorInfo * in_info, GstTensorInfo * out_info, 1332 : const uint8_t * inptr, uint8_t * outptr) 1333 : { @@ -1400,27 +1400,27 @@ 1338 : tensor_transform_operator_s *op_s; 1339 : tensor_data_s value; 1340 : - 1341 22110 : num = gst_tensor_get_element_count (in_info->dimension); + 1341 22010 : num = gst_tensor_get_element_count (in_info->dimension); 1342 : 1343 : #ifdef HAVE_ORC - 1344 22110 : if (orc_supported (filter, in_info->type, out_info->type)) { - 1345 22010 : walk = filter->operators; + 1344 22010 : if (orc_supported (filter, in_info->type, out_info->type)) { + 1345 21910 : walk = filter->operators; 1346 : /** 1347 : * Typecast should be called at the first. 1348 : * Do the typecast. If in/out type is same, this will copy the input array to output. 1349 : */ - 1350 22010 : orc_typecast (inptr, outptr, num, in_info->type, out_info->type); + 1350 21910 : orc_typecast (inptr, outptr, num, in_info->type, out_info->type); 1351 : - 1352 22010 : if (!filter->data_arithmetic.per_channel_arith) { - 1353 66924 : while (walk) { - 1354 44915 : op_s = (tensor_transform_operator_s *) walk->data; + 1352 21910 : if (!filter->data_arithmetic.per_channel_arith) { + 1353 66649 : while (walk) { + 1354 44740 : op_s = (tensor_transform_operator_s *) walk->data; 1355 : - 1356 44915 : if (op_s->op != GTT_OP_TYPECAST) { - 1357 22984 : gst_tensor_data_typecast (&op_s->value, out_info->type); - 1358 24012 : orc_operator (outptr, num, &op_s->value, op_s->op); + 1356 44740 : if (op_s->op != GTT_OP_TYPECAST) { + 1357 22909 : gst_tensor_data_typecast (&op_s->value, out_info->type); + 1358 23937 : orc_operator (outptr, num, &op_s->value, op_s->op); 1359 : } 1360 : - 1361 44915 : walk = g_slist_next (walk); + 1361 44740 : walk = g_slist_next (walk); 1362 : } 1363 : } else { 1364 1 : gsize typesize = 0; @@ -1456,7 +1456,7 @@ 1394 1 : walk = g_slist_next (walk); 1395 : } 1396 : } - 1397 22110 : return GST_FLOW_OK; + 1397 22010 : return GST_FLOW_OK; 1398 : } 1399 : #endif 1400 : @@ -1874,14 +1874,14 @@ 1812 : * @return Gst Flow Status 1813 : */ 1814 : static GstFlowReturn - 1815 22770 : gst_tensor_transform_transform (GstBaseTransform * trans, + 1815 22670 : gst_tensor_transform_transform (GstBaseTransform * trans, 1816 : GstBuffer * inbuf, GstBuffer * outbuf) 1817 : { 1818 : GstTensorTransform *filter; 1819 : GstTensorInfo *in_info, *out_info; - 1820 22770 : GstFlowReturn res = GST_FLOW_ERROR; - 1821 22770 : GstMemory *in_mem[NNS_TENSOR_SIZE_LIMIT] = { 0, }; - 1822 22770 : GstMemory *out_mem[NNS_TENSOR_SIZE_LIMIT] = { 0, }; + 1820 22670 : GstFlowReturn res = GST_FLOW_ERROR; + 1821 22670 : GstMemory *in_mem[NNS_TENSOR_SIZE_LIMIT] = { 0, }; + 1822 22670 : GstMemory *out_mem[NNS_TENSOR_SIZE_LIMIT] = { 0, }; 1823 : GstMapInfo in_map[NNS_TENSOR_SIZE_LIMIT]; 1824 : GstMapInfo out_map[NNS_TENSOR_SIZE_LIMIT]; 1825 : uint8_t *inptr, *outptr; @@ -1891,30 +1891,30 @@ 1829 : GstTensorInfo in_flex_info, out_flex_info; 1830 : gboolean in_flexible, out_flexible; 1831 : - 1832 22770 : filter = GST_TENSOR_TRANSFORM_CAST (trans); + 1832 22670 : filter = GST_TENSOR_TRANSFORM_CAST (trans); 1833 : - 1834 45536 : g_return_val_if_fail (filter->loaded, GST_FLOW_ERROR); - 1835 22766 : inbuf = gst_tensor_buffer_from_config (inbuf, &filter->in_config); + 1834 45336 : g_return_val_if_fail (filter->loaded, GST_FLOW_ERROR); + 1835 22666 : inbuf = gst_tensor_buffer_from_config (inbuf, &filter->in_config); 1836 : - 1837 22766 : in_flexible = - 1838 22766 : gst_tensor_pad_caps_is_flexible (GST_BASE_TRANSFORM_SINK_PAD (trans)); - 1839 22766 : out_flexible = - 1840 22766 : gst_tensor_pad_caps_is_flexible (GST_BASE_TRANSFORM_SRC_PAD (trans)); + 1837 22666 : in_flexible = + 1838 22666 : gst_tensor_pad_caps_is_flexible (GST_BASE_TRANSFORM_SINK_PAD (trans)); + 1839 22666 : out_flexible = + 1840 22666 : gst_tensor_pad_caps_is_flexible (GST_BASE_TRANSFORM_SRC_PAD (trans)); 1841 : - 1842 22766 : num_mems = gst_tensor_buffer_get_count (inbuf); - 1843 22766 : if (in_flexible) { + 1842 22666 : num_mems = gst_tensor_buffer_get_count (inbuf); + 1843 22666 : if (in_flexible) { 1844 8 : num_tensors = num_mems; 1845 8 : g_return_val_if_fail (out_flexible, GST_FLOW_ERROR); 1846 : } else { - 1847 22758 : num_tensors = filter->in_config.info.num_tensors; - 1848 22758 : g_return_val_if_fail (num_mems == num_tensors, GST_FLOW_ERROR); + 1847 22658 : num_tensors = filter->in_config.info.num_tensors; + 1848 22658 : g_return_val_if_fail (num_mems == num_tensors, GST_FLOW_ERROR); 1849 : } 1850 : - 1851 45618 : for (i = 0; i < num_tensors; i++) { - 1852 22852 : in_info = gst_tensors_info_get_nth_info (&filter->in_config.info, i); - 1853 22852 : out_info = gst_tensors_info_get_nth_info (&filter->out_config.info, i); + 1851 45418 : for (i = 0; i < num_tensors; i++) { + 1852 22752 : in_info = gst_tensors_info_get_nth_info (&filter->in_config.info, i); + 1853 22752 : out_info = gst_tensors_info_get_nth_info (&filter->out_config.info, i); 1854 : - 1855 22852 : if (filter->apply && !g_list_find (filter->apply, GINT_TO_POINTER (i))) { + 1855 22752 : if (filter->apply && !g_list_find (filter->apply, GINT_TO_POINTER (i))) { 1856 15 : GstMemory *mem = gst_tensor_buffer_get_nth_memory (inbuf, i); 1857 : 1858 15 : if (!in_flexible && out_flexible) { @@ -1931,15 +1931,15 @@ 1869 : } 1870 : 1871 : /* parse input buffer */ - 1872 22837 : in_mem[i] = gst_tensor_buffer_get_nth_memory (inbuf, i); - 1873 22837 : if (!gst_memory_map (in_mem[i], &in_map[i], GST_MAP_READ)) { + 1872 22737 : in_mem[i] = gst_tensor_buffer_get_nth_memory (inbuf, i); + 1873 22737 : if (!gst_memory_map (in_mem[i], &in_map[i], GST_MAP_READ)) { 1874 0 : ml_loge ("Cannot map input buffer to gst-buf at tensor-transform.\n"); 1875 0 : res = GST_FLOW_ERROR; 1876 0 : goto done; 1877 : } - 1878 22837 : inptr = in_map[i].data; + 1878 22737 : inptr = in_map[i].data; 1879 : - 1880 22837 : if (in_flexible) { + 1880 22737 : if (in_flexible) { 1881 8 : in_info = &in_flex_info; 1882 8 : out_info = &out_flex_info; 1883 : @@ -1958,29 +1958,29 @@ 1896 : } 1897 : 1898 : /* prepare output buffer */ - 1899 22837 : buf_size = gst_tensor_info_get_size (out_info); - 1900 22837 : if (out_flexible) { + 1899 22737 : buf_size = gst_tensor_info_get_size (out_info); + 1900 22737 : if (out_flexible) { 1901 8 : gst_tensor_info_convert_to_meta (out_info, &meta); 1902 8 : hsize = gst_tensor_meta_info_get_header_size (&meta); 1903 8 : buf_size += hsize; 1904 : } 1905 : - 1906 22837 : out_mem[i] = gst_allocator_alloc (NULL, buf_size, NULL); - 1907 22837 : gst_tensor_buffer_append_memory (outbuf, out_mem[i], out_info); + 1906 22737 : out_mem[i] = gst_allocator_alloc (NULL, buf_size, NULL); + 1907 22737 : gst_tensor_buffer_append_memory (outbuf, out_mem[i], out_info); 1908 : - 1909 22837 : if (!gst_memory_map (out_mem[i], &out_map[i], GST_MAP_WRITE)) { + 1909 22737 : if (!gst_memory_map (out_mem[i], &out_map[i], GST_MAP_WRITE)) { 1910 0 : ml_loge ("Cannot map output buffer to gst-buf at tensor-transform.\n"); 1911 0 : res = GST_FLOW_ERROR; 1912 0 : goto done; 1913 : } - 1914 22837 : outptr = out_map[i].data; + 1914 22737 : outptr = out_map[i].data; 1915 : - 1916 22837 : if (out_flexible) { + 1916 22737 : if (out_flexible) { 1917 8 : gst_tensor_meta_info_update_header (&meta, outptr); 1918 8 : outptr += hsize; 1919 : } 1920 : - 1921 22837 : switch (filter->mode) { + 1921 22737 : switch (filter->mode) { 1922 52 : case GTT_DIMCHG: 1923 52 : res = gst_tensor_transform_dimchg (filter, in_info, out_info, 1924 : inptr, outptr); @@ -1989,10 +1989,10 @@ 1927 579 : res = gst_tensor_transform_typecast (filter, in_info, out_info, 1928 : inptr, outptr); 1929 579 : break; - 1930 22110 : case GTT_ARITHMETIC: - 1931 22110 : res = gst_tensor_transform_arithmetic (filter, in_info, out_info, + 1930 22010 : case GTT_ARITHMETIC: + 1931 22010 : res = gst_tensor_transform_arithmetic (filter, in_info, out_info, 1932 : inptr, outptr); - 1933 22110 : break; + 1933 22010 : break; 1934 58 : case GTT_TRANSPOSE: 1935 58 : res = gst_tensor_transform_transpose (filter, in_info, out_info, 1936 : inptr, outptr); @@ -2016,17 +2016,17 @@ 1954 : } 1955 : } 1956 : - 1957 22766 : done: - 1958 45618 : for (i = 0; i < num_tensors; i++) { - 1959 22852 : if (in_mem[i]) { - 1960 22837 : gst_memory_unmap (in_mem[i], &in_map[i]); - 1961 22837 : gst_memory_unref (in_mem[i]); + 1957 22666 : done: + 1958 45418 : for (i = 0; i < num_tensors; i++) { + 1959 22752 : if (in_mem[i]) { + 1960 22737 : gst_memory_unmap (in_mem[i], &in_map[i]); + 1961 22737 : gst_memory_unref (in_mem[i]); 1962 : } - 1963 22852 : if (out_mem[i]) - 1964 22837 : gst_memory_unmap (out_mem[i], &out_map[i]); + 1963 22752 : if (out_mem[i]) + 1964 22737 : gst_memory_unmap (out_mem[i], &out_map[i]); 1965 : } 1966 : - 1967 22766 : return res; + 1967 22666 : return res; 1968 : } 1969 : 1970 : /** @@ -2388,7 +2388,7 @@ 2326 : * @brief Tell the framework the required size of buffer based on the info of the other side pad. Note that this is always the same with the input. optional vmethod of BaseTransform 2327 : */ 2328 : static gboolean - 2329 22770 : gst_tensor_transform_transform_size (GstBaseTransform * trans, + 2329 22670 : gst_tensor_transform_transform_size (GstBaseTransform * trans, 2330 : GstPadDirection direction, GstCaps * caps, gsize size, GstCaps * othercaps, 2331 : gsize * othersize) 2332 : { @@ -2401,9 +2401,9 @@ 2339 : * Consider multi-tensors. 2340 : * Set each memory block in transform() 2341 : */ - 2342 22770 : *othersize = 0; + 2342 22670 : *othersize = 0; 2343 : - 2344 22770 : return TRUE; + 2344 22670 : return TRUE; 2345 : } diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/index-sort-f.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/index-sort-f.html index 8a93ace66..6b40a9c73 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/index-sort-f.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/index-sort-f.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements @@ -28,16 +28,16 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: - 82.9 % + 82.8 % 8134 - 6740 + 6737 Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 92.4 % @@ -322,11 +322,11 @@ gsttensor_srciio.c -
78.9%78.9%
+
78.7%78.7%
- 78.9 % + 78.7 % 1139 - 899 + 896 100.0 % 47 47 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/index-sort-l.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/index-sort-l.html index 979493142..ebca44bbb 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/index-sort-l.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/index-sort-l.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements @@ -28,16 +28,16 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: - 82.9 % + 82.8 % 8134 - 6740 + 6737 Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 92.4 % @@ -118,11 +118,11 @@ gsttensor_srciio.c -
78.9%78.9%
+
78.7%78.7%
- 78.9 % + 78.7 % 1139 - 899 + 896 100.0 % 47 47 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/index.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/index.html index 502d8a455..8f3648542 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/index.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/elements/index.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/elements + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/elements @@ -28,16 +28,16 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: - 82.9 % + 82.8 % 8134 - 6740 + 6737 Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 92.4 % @@ -298,11 +298,11 @@ gsttensor_srciio.c -
78.9%78.9%
+
78.7%78.7%
- 78.9 % + 78.7 % 1139 - 899 + 896 100.0 % 47 47 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/hw_accel.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/hw_accel.c.func-c.html index dff59f3f3..2985dbb71 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/hw_accel.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/hw_accel.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/hw_accel.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/hw_accel.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/hw_accel.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/hw_accel.c.func.html index ccd12a3b2..047e12a74 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/hw_accel.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/hw_accel.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/hw_accel.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/hw_accel.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/hw_accel.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/hw_accel.c.gcov.html index 22a8175f3..659054d5e 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/hw_accel.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/hw_accel.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/hw_accel.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/hw_accel.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/include/index-sort-f.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/include/index-sort-f.html index 05a3d161a..e57b21899 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/include/index-sort-f.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/include/index-sort-f.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/include + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/include @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 72.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 92.3 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/include/index-sort-l.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/include/index-sort-l.html index c24547b95..334e42e48 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/include/index-sort-l.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/include/index-sort-l.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/include + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/include @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 72.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 92.3 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/include/index.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/include/index.html index dbbf3b5d3..3aa27bf51 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/include/index.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/include/index.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/include + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/include @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 72.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 92.3 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/include/nnstreamer_cppplugin_api_filter.hh.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/include/nnstreamer_cppplugin_api_filter.hh.func-c.html index 3b2c5859b..7ade284ba 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/include/nnstreamer_cppplugin_api_filter.hh.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/include/nnstreamer_cppplugin_api_filter.hh.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/include/nnstreamer_cppplugin_api_filter.hh - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/include/nnstreamer_cppplugin_api_filter.hh - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 72.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 92.3 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/include/nnstreamer_cppplugin_api_filter.hh.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/include/nnstreamer_cppplugin_api_filter.hh.func.html index ad4e9a502..d38f5c419 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/include/nnstreamer_cppplugin_api_filter.hh.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/include/nnstreamer_cppplugin_api_filter.hh.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/include/nnstreamer_cppplugin_api_filter.hh - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/include/nnstreamer_cppplugin_api_filter.hh - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 72.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 92.3 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/include/nnstreamer_cppplugin_api_filter.hh.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/include/nnstreamer_cppplugin_api_filter.hh.gcov.html index 0b56b61a1..a8b2c30cc 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/include/nnstreamer_cppplugin_api_filter.hh.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/include/nnstreamer_cppplugin_api_filter.hh.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/include/nnstreamer_cppplugin_api_filter.hh + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/include/nnstreamer_cppplugin_api_filter.hh @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 72.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 92.3 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/index-sort-f.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/index-sort-f.html index 3f754c858..e5f225498 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/index-sort-f.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/index-sort-f.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 88.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 96.3 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/index-sort-l.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/index-sort-l.html index 7fe6ee4cf..f3f502d16 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/index-sort-l.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/index-sort-l.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 88.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 96.3 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/index.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/index.html index 2c379528a..773423258 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/index.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/index.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 88.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 96.3 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/ml_agent.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/ml_agent.c.func-c.html index 650264b83..b2e1607aa 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/ml_agent.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/ml_agent.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/ml_agent.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/ml_agent.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 75.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/ml_agent.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/ml_agent.c.func.html index ebb0ffe78..50dbe7e7a 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/ml_agent.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/ml_agent.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/ml_agent.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/ml_agent.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 75.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/ml_agent.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/ml_agent.c.gcov.html index b1c24320a..6847a3856 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/ml_agent.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/ml_agent.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/ml_agent.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/ml_agent.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 75.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_conf.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_conf.c.func-c.html index 556a9b429..c0e1ab78c 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_conf.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_conf.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_conf.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_conf.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 75.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 83.3 % @@ -114,7 +114,7 @@ _fill_subplugin_path - 451 + 452 @@ -128,63 +128,63 @@ _parse_bool_string - 926 + 928 _get_subplugin_with_type - 1625 + 1627 nnsconf_get_subplugin_info - 1625 + 1627 _fill_in_vstr - 2255 + 2260 nnsconf_loadconf - 2703 + 2705 _strdup_getenv - 2828 + 2834 _get_filenames - 4058 + 4067 _validate_file - 12173 + 12199 _g_list_foreach_vstr_helper - 23412 + 23464 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_conf.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_conf.c.func.html index a404b9987..7df39cf1f 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_conf.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_conf.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_conf.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_conf.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 75.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 83.3 % @@ -65,14 +65,14 @@ _fill_in_vstr - 2255 + 2260 _fill_subplugin_path - 451 + 452 @@ -86,42 +86,42 @@ _g_list_foreach_vstr_helper - 23412 + 23464 _get_filenames - 4058 + 4067 _get_subplugin_with_type - 1625 + 1627 _parse_bool_string - 926 + 928 _strdup_getenv - 2828 + 2834 _validate_file - 12173 + 12199 @@ -156,7 +156,7 @@ nnsconf_get_subplugin_info - 1625 + 1627 @@ -170,7 +170,7 @@ nnsconf_loadconf - 2703 + 2705 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_conf.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_conf.c.gcov.html index 8471ee349..b6db61b38 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_conf.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_conf.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_conf.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_conf.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 75.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 83.3 % @@ -174,24 +174,24 @@ 112 : * @brief Parse string to get boolean value. 113 : */ 114 : static gboolean - 115 926 : _parse_bool_string (const gchar * strval, gboolean def) + 115 928 : _parse_bool_string (const gchar * strval, gboolean def) 116 : { - 117 926 : gboolean res = def; + 117 928 : gboolean res = def; 118 : - 119 926 : if (strval) { + 119 928 : if (strval) { 120 : /* 1/0, true/false, t/f, yes/no, on/off. case incensitive. */ - 121 921 : if (strval[0] == '1' || strval[0] == 't' || strval[0] == 'T' || - 122 465 : strval[0] == 'y' || strval[0] == 'Y' || - 123 463 : g_ascii_strncasecmp ("on", strval, 2) == 0) { - 124 460 : res = TRUE; - 125 461 : } else if (strval[0] == '0' || strval[0] == 'f' || strval[0] == 'F' || + 121 923 : if (strval[0] == '1' || strval[0] == 't' || strval[0] == 'T' || + 122 466 : strval[0] == 'y' || strval[0] == 'Y' || + 123 464 : g_ascii_strncasecmp ("on", strval, 2) == 0) { + 124 461 : res = TRUE; + 125 462 : } else if (strval[0] == '0' || strval[0] == 'f' || strval[0] == 'F' || 126 10 : strval[0] == 'n' || strval[0] == 'N' || 127 8 : g_ascii_strncasecmp ("of", strval, 2) == 0) { - 128 455 : res = FALSE; + 128 456 : res = FALSE; 129 : } 130 : } 131 : - 132 926 : return res; + 132 928 : return res; 133 : } 134 : 135 : /** @@ -202,33 +202,33 @@ 140 : * @param[in] name Environmental variable name 141 : */ 142 : static gchar * - 143 2828 : _strdup_getenv (const gchar * name) + 143 2834 : _strdup_getenv (const gchar * name) 144 : { 145 : /** 146 : * @todo Evaluate if we need to use secure_getenv() here 147 : * (and compatible with other OS 148 : */ - 149 2828 : const gchar *tmp = g_getenv (name); + 149 2834 : const gchar *tmp = g_getenv (name); 150 : - 151 2828 : return g_strdup (tmp); + 151 2834 : return g_strdup (tmp); 152 : } 153 : 154 : /** 155 : * @brief Private function to validate .so file can be added to the list. 156 : */ 157 : static gboolean - 158 12173 : _validate_file (nnsconf_type_path type, const gchar * fullpath) + 158 12199 : _validate_file (nnsconf_type_path type, const gchar * fullpath) 159 : { 160 : /* ignore directory */ - 161 12173 : if (!fullpath || !g_file_test (fullpath, G_FILE_TEST_IS_REGULAR)) + 161 12199 : if (!fullpath || !g_file_test (fullpath, G_FILE_TEST_IS_REGULAR)) 162 149 : return FALSE; 163 : /* ignore symbol link file */ - 164 12024 : if (!conf.enable_symlink && g_file_test (fullpath, G_FILE_TEST_IS_SYMLINK)) + 164 12050 : if (!conf.enable_symlink && g_file_test (fullpath, G_FILE_TEST_IS_SYMLINK)) 165 0 : return FALSE; - 166 12024 : if (type < 0 || type >= NNSCONF_PATH_END) + 166 12050 : if (type < 0 || type >= NNSCONF_PATH_END) 167 0 : return FALSE; 168 : /** @todo how to validate with nnsconf type. */ - 169 12024 : return TRUE; + 169 12050 : return TRUE; 170 : } 171 : 172 : /** @@ -242,7 +242,7 @@ 180 : * @todo This assumes .so/.dylib for all sub plugins. Support Windows! 181 : */ 182 : static gboolean - 183 4058 : _get_filenames (nnsconf_type_path type, const gchar * dir, GSList ** listF, + 183 4067 : _get_filenames (nnsconf_type_path type, const gchar * dir, GSList ** listF, 184 : GSList ** listN, guint * counter) 185 : { 186 : GDir *gdir; @@ -252,63 +252,63 @@ 190 : gchar *name; 191 : gsize prefix, extension, len; 192 : - 193 4058 : if ((gdir = g_dir_open (dir, 0U, NULL)) == NULL) - 194 2705 : return FALSE; + 193 4067 : if ((gdir = g_dir_open (dir, 0U, NULL)) == NULL) + 194 2711 : return FALSE; 195 : - 196 1353 : prefix = strlen (subplugin_prefixes[type]); - 197 1353 : extension = strlen (NNSTREAMER_SO_FILE_EXTENSION); + 196 1356 : prefix = strlen (subplugin_prefixes[type]); + 197 1356 : extension = strlen (NNSTREAMER_SO_FILE_EXTENSION); 198 : - 199 43435 : while (NULL != (entry = g_dir_read_name (gdir))) { + 199 43531 : while (NULL != (entry = g_dir_read_name (gdir))) { 200 : /* check file prefix for given type, currently handle .so and .dylib. */ - 201 40729 : if (g_str_has_prefix (entry, subplugin_prefixes[type]) && - 202 39606 : g_str_has_suffix (entry, NNSTREAMER_SO_FILE_EXTENSION)) { - 203 11706 : fullpath = g_build_filename (dir, entry, NULL); + 201 40819 : if (g_str_has_prefix (entry, subplugin_prefixes[type]) && + 202 39694 : g_str_has_suffix (entry, NNSTREAMER_SO_FILE_EXTENSION)) { + 203 11732 : fullpath = g_build_filename (dir, entry, NULL); 204 : - 205 11706 : if (_validate_file (type, fullpath)) { - 206 11706 : basename = g_path_get_basename (entry); - 207 11706 : len = strlen (basename) - prefix - extension; - 208 11706 : name = g_strndup (basename + prefix, len); + 205 11732 : if (_validate_file (type, fullpath)) { + 206 11732 : basename = g_path_get_basename (entry); + 207 11732 : len = strlen (basename) - prefix - extension; + 208 11732 : name = g_strndup (basename + prefix, len); 209 : - 210 11706 : *listF = g_slist_prepend (*listF, fullpath); - 211 11706 : *listN = g_slist_prepend (*listN, name); - 212 11706 : *counter = *counter + 1; + 210 11732 : *listF = g_slist_prepend (*listF, fullpath); + 211 11732 : *listN = g_slist_prepend (*listN, name); + 212 11732 : *counter = *counter + 1; 213 : - 214 11706 : g_free (basename); + 214 11732 : g_free (basename); 215 : } else { 216 0 : g_free (fullpath); 217 : } 218 : } 219 : } 220 : - 221 1353 : g_dir_close (gdir); - 222 1353 : return TRUE; + 221 1356 : g_dir_close (gdir); + 222 1356 : return TRUE; 223 : } 224 : 225 : /** 226 : * @brief Private function to get sub-plugins list with type. 227 : */ 228 : static gboolean - 229 1625 : _get_subplugin_with_type (nnsconf_type_path type, gchar *** name, + 229 1627 : _get_subplugin_with_type (nnsconf_type_path type, gchar *** name, 230 : gchar *** filepath) 231 : { - 232 1625 : if (type >= NNSCONF_PATH_END) { + 232 1627 : if (type >= NNSCONF_PATH_END) { 233 : /* unknown type */ 234 0 : ml_loge ("Failed to get sub-plugins, unknown sub-plugin type."); 235 0 : return FALSE; 236 : } 237 : - 238 1625 : if (!conf.loaded) { + 238 1627 : if (!conf.loaded) { 239 0 : ml_loge ("Configuration file is not loaded."); 240 0 : return FALSE; 241 : } 242 : 243 : /* Easy custom uses the configuration of custom */ - 244 1625 : if (type == NNSCONF_PATH_EASY_CUSTOM_FILTERS) + 244 1627 : if (type == NNSCONF_PATH_EASY_CUSTOM_FILTERS) 245 21 : type = NNSCONF_PATH_CUSTOM_FILTERS; 246 : - 247 1625 : *name = conf.conf[type].names; - 248 1625 : *filepath = conf.conf[type].files; - 249 1625 : return TRUE; + 247 1627 : *name = conf.conf[type].names; + 248 1627 : *filepath = conf.conf[type].files; + 249 1627 : return TRUE; 250 : } 251 : 252 : /** @@ -327,90 +327,90 @@ 265 : * @user_data The struct to fill in vstr 266 : */ 267 : static void - 268 23412 : _g_list_foreach_vstr_helper (gpointer data, gpointer user_data) + 268 23464 : _g_list_foreach_vstr_helper (gpointer data, gpointer user_data) 269 : { - 270 23412 : vstr_helper *helper = (vstr_helper *) user_data; - 271 23412 : g_assert (helper->cursor < helper->size); /** library error? internal logic error? */ - 272 23412 : helper->vstr[helper->cursor] = data; - 273 23412 : helper->cursor++; - 274 23412 : } + 270 23464 : vstr_helper *helper = (vstr_helper *) user_data; + 271 23464 : g_assert (helper->cursor < helper->size); /** library error? internal logic error? */ + 272 23464 : helper->vstr[helper->cursor] = data; + 273 23464 : helper->cursor++; + 274 23464 : } 275 : 276 : /** 277 : * @brief Private function to fill in vstr 278 : */ 279 : static void - 280 2255 : _fill_in_vstr (gchar *** fullpath_vstr, gchar *** name_vstr, + 280 2260 : _fill_in_vstr (gchar *** fullpath_vstr, gchar *** name_vstr, 281 : gchar * searchpath[CONF_SOURCE_END], nnsconf_type_path type) 282 : { - 283 2255 : GSList *lstF = NULL, *lstN = NULL; + 283 2260 : GSList *lstF = NULL, *lstN = NULL; 284 : vstr_helper vstrF, vstrN; 285 : guint i, j, counter; 286 : - 287 2255 : counter = 0; - 288 11275 : for (i = 0; i < CONF_SOURCE_END; i++) { - 289 9020 : if (searchpath[i]) { + 287 2260 : counter = 0; + 288 11300 : for (i = 0; i < CONF_SOURCE_END; i++) { + 289 9040 : if (searchpath[i]) { 290 : /* skip duplicated paths */ - 291 13515 : for (j = i + 1; j < CONF_SOURCE_END; j++) { - 292 9457 : if (searchpath[j] && !g_strcmp0 (searchpath[i], searchpath[j])) { - 293 1796 : break; + 291 13545 : for (j = i + 1; j < CONF_SOURCE_END; j++) { + 292 9478 : if (searchpath[j] && !g_strcmp0 (searchpath[i], searchpath[j])) { + 293 1800 : break; 294 : } 295 : } - 296 5854 : if (j == CONF_SOURCE_END) - 297 4058 : _get_filenames (type, searchpath[i], &lstF, &lstN, &counter); + 296 5867 : if (j == CONF_SOURCE_END) + 297 4067 : _get_filenames (type, searchpath[i], &lstF, &lstN, &counter); 298 : } 299 : } 300 : 301 : /* Because _get_* does "prepend", reverse them to have the correct order. */ - 302 2255 : lstF = g_slist_reverse (lstF); - 303 2255 : lstN = g_slist_reverse (lstN); + 302 2260 : lstF = g_slist_reverse (lstF); + 303 2260 : lstN = g_slist_reverse (lstN); 304 : - 305 2255 : *fullpath_vstr = g_malloc0_n (counter + 1, sizeof (gchar *)); - 306 2255 : g_assert (*fullpath_vstr != NULL); /* This won't happen, but doesn't hurt either */ - 307 2255 : *name_vstr = g_malloc0_n (counter + 1, sizeof (gchar *)); - 308 2255 : g_assert (*name_vstr != NULL); /* This won't happen, but doesn't hurt either */ + 305 2260 : *fullpath_vstr = g_malloc0_n (counter + 1, sizeof (gchar *)); + 306 2260 : g_assert (*fullpath_vstr != NULL); /* This won't happen, but doesn't hurt either */ + 307 2260 : *name_vstr = g_malloc0_n (counter + 1, sizeof (gchar *)); + 308 2260 : g_assert (*name_vstr != NULL); /* This won't happen, but doesn't hurt either */ 309 : - 310 2255 : vstrF.vstr = *fullpath_vstr; - 311 2255 : vstrN.vstr = *name_vstr; - 312 2255 : vstrF.size = counter; - 313 2255 : vstrN.size = counter; - 314 2255 : vstrF.cursor = 0; - 315 2255 : vstrN.cursor = 0; - 316 2255 : g_slist_foreach (lstF, _g_list_foreach_vstr_helper, (gpointer) & vstrF); - 317 2255 : g_slist_foreach (lstN, _g_list_foreach_vstr_helper, (gpointer) & vstrN); + 310 2260 : vstrF.vstr = *fullpath_vstr; + 311 2260 : vstrN.vstr = *name_vstr; + 312 2260 : vstrF.size = counter; + 313 2260 : vstrN.size = counter; + 314 2260 : vstrF.cursor = 0; + 315 2260 : vstrN.cursor = 0; + 316 2260 : g_slist_foreach (lstF, _g_list_foreach_vstr_helper, (gpointer) & vstrF); + 317 2260 : g_slist_foreach (lstN, _g_list_foreach_vstr_helper, (gpointer) & vstrN); 318 : 319 : /* Do not free elements. They are now at vstr */ - 320 2255 : g_slist_free (lstF); - 321 2255 : g_slist_free (lstN); - 322 2255 : } + 320 2260 : g_slist_free (lstF); + 321 2260 : g_slist_free (lstN); + 322 2260 : } 323 : 324 : /** @brief Private function to fill subplugin path */ 325 : static void - 326 451 : _fill_subplugin_path (confdata * cdata, GKeyFile * key_file, conf_sources src) + 326 452 : _fill_subplugin_path (confdata * cdata, GKeyFile * key_file, conf_sources src) 327 : { - 328 451 : cdata->conf[NNSCONF_PATH_FILTERS].path[src] = - 329 451 : g_key_file_get_string (key_file, "filter", "filters", NULL); - 330 451 : cdata->conf[NNSCONF_PATH_DECODERS].path[src] = - 331 451 : g_key_file_get_string (key_file, "decoder", "decoders", NULL); - 332 451 : cdata->conf[NNSCONF_PATH_CUSTOM_FILTERS].path[src] = - 333 451 : g_key_file_get_string (key_file, "filter", "customfilters", NULL); - 334 451 : cdata->conf[NNSCONF_PATH_CONVERTERS].path[src] = - 335 451 : g_key_file_get_string (key_file, "converter", "converters", NULL); - 336 451 : cdata->conf[NNSCONF_PATH_TRAINERS].path[src] = - 337 451 : g_key_file_get_string (key_file, "trainer", "trainer", NULL); - 338 451 : } + 328 452 : cdata->conf[NNSCONF_PATH_FILTERS].path[src] = + 329 452 : g_key_file_get_string (key_file, "filter", "filters", NULL); + 330 452 : cdata->conf[NNSCONF_PATH_DECODERS].path[src] = + 331 452 : g_key_file_get_string (key_file, "decoder", "decoders", NULL); + 332 452 : cdata->conf[NNSCONF_PATH_CUSTOM_FILTERS].path[src] = + 333 452 : g_key_file_get_string (key_file, "filter", "customfilters", NULL); + 334 452 : cdata->conf[NNSCONF_PATH_CONVERTERS].path[src] = + 335 452 : g_key_file_get_string (key_file, "converter", "converters", NULL); + 336 452 : cdata->conf[NNSCONF_PATH_TRAINERS].path[src] = + 337 452 : g_key_file_get_string (key_file, "trainer", "trainer", NULL); + 338 452 : } 339 : 340 : /** @brief Public function defined in the header */ 341 : gboolean - 342 2703 : nnsconf_loadconf (gboolean force_reload) + 342 2705 : nnsconf_loadconf (gboolean force_reload) 343 : { - 344 2703 : const gchar root_path_prefix[] = NNSTREAMER_SYS_ROOT_PATH_PREFIX; - 345 2703 : GKeyFile *key_file = NULL; + 344 2705 : const gchar root_path_prefix[] = NNSTREAMER_SYS_ROOT_PATH_PREFIX; + 345 2705 : GKeyFile *key_file = NULL; 346 : guint i, t; 347 : - 348 2703 : if (!force_reload && conf.loaded) - 349 2703 : return TRUE; + 348 2705 : if (!force_reload && conf.loaded) + 349 2705 : return TRUE; 350 : - 351 451 : if (force_reload && conf.loaded) { + 351 452 : if (force_reload && conf.loaded) { 352 : /* Do Clean Up */ 353 1 : g_free (conf.conffile); 354 1 : conf.conffile = NULL; @@ -438,63 +438,63 @@ 376 : conf.conffile = NULL; 377 : } 378 : #endif - 379 451 : if (conf.conffile == NULL) { + 379 452 : if (conf.conffile == NULL) { 380 : /** 381 : * Priority of reading a conf file 382 : * 1) read from NNSTREAMER_CONF_FILE 383 : * 2) read from NNSTREAMER_DEFAULT_CONF_FILE 384 : * 3) read from env-var 385 : */ - 386 451 : if (g_path_is_absolute (NNSTREAMER_CONF_FILE)) { - 387 451 : conf.conffile = g_strdup (NNSTREAMER_CONF_FILE); + 386 452 : if (g_path_is_absolute (NNSTREAMER_CONF_FILE)) { + 387 452 : conf.conffile = g_strdup (NNSTREAMER_CONF_FILE); 388 : } else { 389 : /** default value of 'sysconfdir' in meson is 'etc' */ 390 0 : conf.conffile = g_build_path (G_DIR_SEPARATOR_S, root_path_prefix, 391 : NNSTREAMER_CONF_FILE, NULL); 392 : } 393 : - 394 451 : if (!g_file_test (conf.conffile, G_FILE_TEST_IS_REGULAR)) { + 394 452 : if (!g_file_test (conf.conffile, G_FILE_TEST_IS_REGULAR)) { 395 : /* File not found or not configured */ - 396 451 : g_free (conf.conffile); - 397 451 : conf.conffile = NULL; + 396 452 : g_free (conf.conffile); + 397 452 : conf.conffile = NULL; 398 : - 399 451 : if (g_file_test (NNSTREAMER_DEFAULT_CONF_FILE, G_FILE_TEST_IS_REGULAR)) { + 399 452 : if (g_file_test (NNSTREAMER_DEFAULT_CONF_FILE, G_FILE_TEST_IS_REGULAR)) { 400 0 : conf.conffile = g_strdup (NNSTREAMER_DEFAULT_CONF_FILE); 401 : } else { 402 : /* Try to read from Environmental Variables */ - 403 451 : conf.conffile = _strdup_getenv (NNSTREAMER_ENVVAR_CONF_FILE); + 403 452 : conf.conffile = _strdup_getenv (NNSTREAMER_ENVVAR_CONF_FILE); 404 : } 405 : } 406 : } 407 : - 408 451 : if (conf.conffile) { - 409 451 : key_file = g_key_file_new (); - 410 451 : g_assert (key_file != NULL); /** Internal lib error? out-of-memory? */ + 408 452 : if (conf.conffile) { + 409 452 : key_file = g_key_file_new (); + 410 452 : g_assert (key_file != NULL); /** Internal lib error? out-of-memory? */ 411 : 412 : /* Read the conf file. It's ok even if we cannot load it. */ - 413 451 : if (g_key_file_load_from_file (key_file, conf.conffile, G_KEY_FILE_NONE, + 413 452 : if (g_key_file_load_from_file (key_file, conf.conffile, G_KEY_FILE_NONE, 414 : NULL)) { 415 : gchar *value; 416 : - 417 451 : value = g_key_file_get_string (key_file, "common", "enable_envvar", NULL); - 418 451 : conf.enable_envvar = _parse_bool_string (value, FALSE); - 419 451 : g_free (value); + 417 452 : value = g_key_file_get_string (key_file, "common", "enable_envvar", NULL); + 418 452 : conf.enable_envvar = _parse_bool_string (value, FALSE); + 419 452 : g_free (value); 420 : 421 : value = - 422 451 : g_key_file_get_string (key_file, "common", "enable_symlink", NULL); - 423 451 : conf.enable_symlink = _parse_bool_string (value, FALSE); - 424 451 : g_free (value); + 422 452 : g_key_file_get_string (key_file, "common", "enable_symlink", NULL); + 423 452 : conf.enable_symlink = _parse_bool_string (value, FALSE); + 424 452 : g_free (value); 425 : - 426 451 : conf.extra_conffile = - 427 451 : g_key_file_get_string (key_file, "common", "extra_config_path", NULL); + 426 452 : conf.extra_conffile = + 427 452 : g_key_file_get_string (key_file, "common", "extra_config_path", NULL); 428 : - 429 451 : _fill_subplugin_path (&conf, key_file, CONF_SOURCE_INI); + 429 452 : _fill_subplugin_path (&conf, key_file, CONF_SOURCE_INI); 430 : } 431 : - 432 451 : g_key_file_free (key_file); + 432 452 : g_key_file_free (key_file); 433 : 434 : /* load from extra config file */ - 435 451 : if (conf.extra_conffile) { + 435 452 : if (conf.extra_conffile) { 436 1 : if (g_file_test (conf.extra_conffile, G_FILE_TEST_IS_REGULAR)) { 437 0 : key_file = g_key_file_new (); 438 0 : g_assert (key_file != NULL); /** Internal lib error? out-of-memory? */ @@ -519,25 +519,25 @@ 457 0 : ml_logw ("Failed to load the configuration, no config file found."); 458 : } 459 : - 460 3157 : for (t = 0; t < NNSCONF_PATH_END; t++) { - 461 2706 : if (t == NNSCONF_PATH_EASY_CUSTOM_FILTERS) - 462 451 : continue; /* It does not have its own configuration */ + 460 3164 : for (t = 0; t < NNSCONF_PATH_END; t++) { + 461 2712 : if (t == NNSCONF_PATH_EASY_CUSTOM_FILTERS) + 462 452 : continue; /* It does not have its own configuration */ 463 : 464 : /* Read from env variables. */ - 465 2255 : if (conf.enable_envvar) - 466 2250 : conf.conf[t].path[CONF_SOURCE_ENVVAR] = - 467 2250 : _strdup_getenv (NNSTREAMER_ENVVAR[t]); + 465 2260 : if (conf.enable_envvar) + 466 2255 : conf.conf[t].path[CONF_SOURCE_ENVVAR] = + 467 2255 : _strdup_getenv (NNSTREAMER_ENVVAR[t]); 468 : 469 : /* Strdup the hardcoded */ - 470 2255 : conf.conf[t].path[CONF_SOURCE_HARDCODE] = g_strdup (NNSTREAMER_PATH[t]); + 470 2260 : conf.conf[t].path[CONF_SOURCE_HARDCODE] = g_strdup (NNSTREAMER_PATH[t]); 471 : 472 : /* Fill in conf.files* */ - 473 2255 : _fill_in_vstr (&conf.conf[t].files, &conf.conf[t].names, - 474 2255 : conf.conf[t].path, t); + 473 2260 : _fill_in_vstr (&conf.conf[t].files, &conf.conf[t].names, + 474 2260 : conf.conf[t].path, t); 475 : } 476 : - 477 451 : conf.loaded = TRUE; - 478 451 : return TRUE; + 477 452 : conf.loaded = TRUE; + 478 452 : return TRUE; 479 : } 480 : 481 : /** @brief Public function defined in the header */ @@ -587,22 +587,22 @@ 525 : * @note DO NOT free sub-plugins info 526 : */ 527 : guint - 528 1625 : nnsconf_get_subplugin_info (nnsconf_type_path type, subplugin_info_s * info) + 528 1627 : nnsconf_get_subplugin_info (nnsconf_type_path type, subplugin_info_s * info) 529 : { 530 : gchar **vstr, **vstrFull; 531 : - 532 3250 : g_return_val_if_fail (info != NULL, 0); - 533 1625 : info->names = info->paths = NULL; + 532 3254 : g_return_val_if_fail (info != NULL, 0); + 533 1627 : info->names = info->paths = NULL; 534 : - 535 1625 : nnsconf_loadconf (FALSE); + 535 1627 : nnsconf_loadconf (FALSE); 536 : - 537 1625 : if (!_get_subplugin_with_type (type, &vstr, &vstrFull)) + 537 1627 : if (!_get_subplugin_with_type (type, &vstr, &vstrFull)) 538 0 : return 0; 539 : - 540 1625 : info->names = vstr; - 541 1625 : info->paths = vstrFull; + 540 1627 : info->names = vstr; + 541 1627 : info->paths = vstrFull; 542 : - 543 1625 : return g_strv_length (vstr); + 543 1627 : return g_strv_length (vstr); 544 : } 545 : 546 : /** diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_log.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_log.c.func-c.html index f0f199591..9db366128 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_log.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_log.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_log.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_log.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 65.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 50.0 % @@ -86,7 +86,7 @@ _nnstreamer_error_write - 14379 + 14394 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_log.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_log.c.func.html index 2153a36fb..b481a03c9 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_log.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_log.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_log.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_log.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 65.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 50.0 % @@ -86,7 +86,7 @@ _nnstreamer_error_write - 14379 + 14394 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_log.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_log.c.gcov.html index 7174a2511..987a0b139 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_log.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_log.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_log.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_log.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 65.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 50.0 % @@ -157,23 +157,23 @@ 95 : * @brief overwrites the error message buffer with the new message. 96 : */ 97 : __attribute__((__format__ (__printf__, 1, 2))) - 98 14379 : void _nnstreamer_error_write (const char *fmt, ...) + 98 14394 : void _nnstreamer_error_write (const char *fmt, ...) 99 : { 100 : /** 101 : * The attribute is for clang workaround in macos: 102 : * https://stackoverflow.com/questions/20167124/vsprintf-and-vsnprintf-wformat-nonliteral-warning-on-clang-5-0 103 : */ 104 : va_list arg_ptr; - 105 14379 : G_LOCK (errlock); + 105 14394 : G_LOCK (errlock); 106 : - 107 14379 : va_start (arg_ptr, fmt); - 108 14379 : vsnprintf (errmsg, _NNSTREAMER_ERROR_LENGTH, fmt, arg_ptr); - 109 14379 : va_end (arg_ptr); + 107 14394 : va_start (arg_ptr, fmt); + 108 14394 : vsnprintf (errmsg, _NNSTREAMER_ERROR_LENGTH, fmt, arg_ptr); + 109 14394 : va_end (arg_ptr); 110 : - 111 14379 : errmsg_reported = 0; + 111 14394 : errmsg_reported = 0; 112 : - 113 14379 : G_UNLOCK (errlock); - 114 14379 : } + 113 14394 : G_UNLOCK (errlock); + 114 14394 : } 115 : 116 : /** 117 : * @brief cleans up the error message buffer. diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_impl.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_impl.c.func-c.html index 22b782591..888dacf63 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_impl.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_impl.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_impl.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_impl.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 88.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -156,49 +156,49 @@ gst_tensor_aggregation_free_data - 867 + 868 gst_tensor_aggregation_init - 921 + 922 gst_tensor_aggregation_add_data - 924 + 925 gst_tensor_pad_caps_from_config - 1208 + 1209 gst_tensor_caps_update_dimension - 1600 + 1608 gst_tensor_pad_possible_caps_from_config - 1996 + 2011 _get_flexible_caps - 2787 + 2802 @@ -226,133 +226,133 @@ gst_tensor_aggregation_clear_all - 3479 + 3483 gst_tensor_aggregation_clear_internal - 3485 + 3489 _gst_tensor_time_sync_buffer_update - 3780 + 3775 gst_tensors_config_from_peer - 4273 + 4299 _get_tensors_caps - 4931 + 4934 _get_tensor_caps - 5517 + 5521 gst_tensor_time_sync_get_current_time - 5871 + 5872 gst_tensor_time_sync_buffer_from_collectpad - 6327 + 6332 _append_prev_caps - 10345 + 10352 _gst_tensor_time_sync_is_eos - 11526 + 11532 gst_structure_is_tensor_stream - 15923 + 16052 gst_structure_get_media_type - 20024 + 20241 gst_tensor_buffer_from_config - 35961 + 35866 gst_tensor_buffer_append_memory - 60695 + 60495 gst_tensor_meta_info_parse_memory - 60720 + 60520 gst_tensor_buffer_get_nth_memory - 62918 + 62725 gst_tensor_buffer_get_count - 123131 + 122742 gst_tensor_pad_get_format - 131180 + 130704 gst_tensors_config_from_structure - 158975 + 158546 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_impl.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_impl.c.func.html index 325b85b41..e58485645 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_impl.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_impl.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_impl.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_impl.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 88.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -65,42 +65,42 @@ _append_prev_caps - 10345 + 10352 _get_flexible_caps - 2787 + 2802 _get_tensor_caps - 5517 + 5521 _get_tensors_caps - 4931 + 4934 _gst_tensor_time_sync_buffer_update - 3780 + 3775 _gst_tensor_time_sync_is_eos - 11526 + 11532 @@ -121,21 +121,21 @@ gst_structure_get_media_type - 20024 + 20241 gst_structure_is_tensor_stream - 15923 + 16052 gst_tensor_aggregation_add_data - 924 + 925 @@ -149,21 +149,21 @@ gst_tensor_aggregation_clear_all - 3479 + 3483 gst_tensor_aggregation_clear_internal - 3485 + 3489 gst_tensor_aggregation_free_data - 867 + 868 @@ -184,35 +184,35 @@ gst_tensor_aggregation_init - 921 + 922 gst_tensor_buffer_append_memory - 60695 + 60495 gst_tensor_buffer_from_config - 35961 + 35866 gst_tensor_buffer_get_count - 123131 + 122742 gst_tensor_buffer_get_nth_memory - 62918 + 62725 @@ -233,7 +233,7 @@ gst_tensor_caps_update_dimension - 1600 + 1608 @@ -254,28 +254,28 @@ gst_tensor_meta_info_parse_memory - 60720 + 60520 gst_tensor_pad_caps_from_config - 1208 + 1209 gst_tensor_pad_get_format - 131180 + 130704 gst_tensor_pad_possible_caps_from_config - 1996 + 2011 @@ -289,7 +289,7 @@ gst_tensor_time_sync_buffer_from_collectpad - 6327 + 6332 @@ -303,7 +303,7 @@ gst_tensor_time_sync_get_current_time - 5871 + 5872 @@ -338,14 +338,14 @@ gst_tensors_config_from_peer - 4273 + 4299 gst_tensors_config_from_structure - 158975 + 158546 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_impl.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_impl.c.gcov.html index dfd18123d..daf4a933a 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_impl.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_impl.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_impl.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_impl.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 88.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -234,26 +234,26 @@ 172 : * @return True if EOS. 173 : */ 174 : static gboolean - 175 11526 : _gst_tensor_time_sync_is_eos (GstCollectPads * collect, + 175 11532 : _gst_tensor_time_sync_is_eos (GstCollectPads * collect, 176 : tensor_time_sync_data * sync, guint empty) 177 : { 178 : guint total; - 179 11526 : gboolean is_eos = FALSE; + 179 11532 : gboolean is_eos = FALSE; 180 : - 181 11526 : total = g_slist_length (collect->data); + 181 11532 : total = g_slist_length (collect->data); 182 : - 183 11526 : switch (sync->mode) { - 184 9598 : case SYNC_REFRESH: - 185 9598 : if (empty == total) + 183 11532 : switch (sync->mode) { + 184 9608 : case SYNC_REFRESH: + 185 9608 : if (empty == total) 186 2 : is_eos = TRUE; - 187 9598 : break; - 188 1928 : default: - 189 1928 : if (empty > 0) - 190 214 : is_eos = TRUE; - 191 1928 : break; + 187 9608 : break; + 188 1924 : default: + 189 1924 : if (empty > 0) + 190 210 : is_eos = TRUE; + 191 1924 : break; 192 : } 193 : - 194 11526 : return is_eos; + 194 11532 : return is_eos; 195 : } 196 : 197 : /** @@ -262,59 +262,59 @@ 200 : * GstMeta is also copied with same sync mode. 201 : */ 202 : gboolean - 203 5871 : gst_tensor_time_sync_get_current_time (GstCollectPads * collect, + 203 5872 : gst_tensor_time_sync_get_current_time (GstCollectPads * collect, 204 : tensor_time_sync_data * sync, GstClockTime * current_time, 205 : GstBuffer * tensors_buf) 206 : { - 207 5871 : GSList *walk = NULL; + 207 5872 : GSList *walk = NULL; 208 : guint count, empty_pad; 209 : - 210 5871 : g_return_val_if_fail (collect != NULL, FALSE); - 211 5871 : g_return_val_if_fail (sync != NULL, FALSE); - 212 5871 : g_return_val_if_fail (current_time != NULL, FALSE); + 210 5872 : g_return_val_if_fail (collect != NULL, FALSE); + 211 5872 : g_return_val_if_fail (sync != NULL, FALSE); + 212 5872 : g_return_val_if_fail (current_time != NULL, FALSE); 213 : - 214 5871 : walk = collect->data; - 215 5871 : count = empty_pad = 0; + 214 5872 : walk = collect->data; + 215 5872 : count = empty_pad = 0; 216 : 217 18683 : while (walk) { 218 : GstCollectData *data; 219 : GstBuffer *buf; - 220 12812 : gboolean need_update = FALSE; + 220 12811 : gboolean need_update = FALSE; 221 : - 222 12812 : data = (GstCollectData *) walk->data; - 223 12812 : buf = gst_collect_pads_peek (collect, data); - 224 12812 : walk = g_slist_next (walk); + 222 12811 : data = (GstCollectData *) walk->data; + 223 12811 : buf = gst_collect_pads_peek (collect, data); + 224 12811 : walk = g_slist_next (walk); 225 : - 226 12812 : if (buf) { - 227 7470 : switch (sync->mode) { - 228 6813 : case SYNC_NOSYNC: + 226 12811 : if (buf) { + 227 7473 : switch (sync->mode) { + 228 6815 : case SYNC_NOSYNC: 229 : /* fall-through */ 230 : case SYNC_SLOWEST: 231 : case SYNC_REFRESH: - 232 6813 : if (*current_time < GST_BUFFER_PTS (buf)) - 233 5354 : need_update = TRUE; - 234 6813 : break; - 235 657 : case SYNC_BASEPAD: - 236 657 : if (count == sync->data_basepad.sink_id) + 232 6815 : if (*current_time < GST_BUFFER_PTS (buf)) + 233 5364 : need_update = TRUE; + 234 6815 : break; + 235 658 : case SYNC_BASEPAD: + 236 658 : if (count == sync->data_basepad.sink_id) 237 296 : need_update = TRUE; - 238 657 : break; + 238 658 : break; 239 0 : default: 240 0 : break; 241 : } - 242 7470 : if (need_update) { - 243 5650 : *current_time = GST_BUFFER_PTS (buf); - 244 5650 : gst_buffer_copy_into (tensors_buf, buf, GST_BUFFER_COPY_METADATA, + 242 7473 : if (need_update) { + 243 5660 : *current_time = GST_BUFFER_PTS (buf); + 244 5660 : gst_buffer_copy_into (tensors_buf, buf, GST_BUFFER_COPY_METADATA, 245 : 0, -1); 246 : } - 247 7470 : gst_buffer_unref (buf); + 247 7473 : gst_buffer_unref (buf); 248 : } else { - 249 5342 : empty_pad++; + 249 5338 : empty_pad++; 250 : } 251 : - 252 12812 : count++; + 252 12811 : count++; 253 : } 254 : - 255 5871 : return _gst_tensor_time_sync_is_eos (collect, sync, empty_pad); + 255 5872 : return _gst_tensor_time_sync_is_eos (collect, sync, empty_pad); 256 : } 257 : 258 : /** @@ -346,17 +346,17 @@ 284 : * @brief Internal function to update buffer in pad data based on the sync mode. 285 : */ 286 : static gboolean - 287 3780 : _gst_tensor_time_sync_buffer_update (GstCollectPads * collect, + 287 3775 : _gst_tensor_time_sync_buffer_update (GstCollectPads * collect, 288 : GstCollectData * data, GstClockTime current, GstClockTime base, 289 : tensor_time_sync_data * sync) 290 : { 291 : GstTensorCollectPadData *pad; 292 : GstBuffer *buf; 293 : - 294 3780 : pad = (GstTensorCollectPadData *) data; + 294 3775 : pad = (GstTensorCollectPadData *) data; 295 : - 296 3780 : buf = gst_collect_pads_peek (collect, data); - 297 3780 : if (buf != NULL) { + 296 3775 : buf = gst_collect_pads_peek (collect, data); + 297 3775 : if (buf != NULL) { 298 3645 : if (GST_BUFFER_PTS (buf) < current) { 299 671 : gst_buffer_unref (buf); 300 671 : if (pad->buffer != NULL) @@ -382,7 +382,7 @@ 320 2974 : gst_buffer_unref (buf); 321 : } 322 : - 323 3109 : return TRUE; + 323 3104 : return TRUE; 324 : } 325 : 326 : /** @@ -391,35 +391,35 @@ 329 : * @return True to push buffer. 330 : */ 331 : gboolean - 332 6327 : gst_tensor_time_sync_buffer_from_collectpad (GstCollectPads * collect, + 332 6332 : gst_tensor_time_sync_buffer_from_collectpad (GstCollectPads * collect, 333 : tensor_time_sync_data * sync, GstClockTime current_time, 334 : GstBuffer * tensors_buf, GstTensorsConfig * configs, gboolean * is_eos) 335 : { - 336 6327 : GSList *walk = NULL; + 336 6332 : GSList *walk = NULL; 337 : GstCollectData *data; 338 : GstTensorCollectPadData *pad; - 339 6327 : GstBuffer *buf = NULL; + 339 6332 : GstBuffer *buf = NULL; 340 : GstMemory *mem; - 341 6327 : gint old_numerator = G_MAXINT; - 342 6327 : gint old_denominator = G_MAXINT; + 341 6332 : gint old_numerator = G_MAXINT; + 342 6332 : gint old_denominator = G_MAXINT; 343 : guint counting, empty_pad; 344 : GstTensorsConfig in_configs; - 345 6327 : GstClockTime base_time = 0; + 345 6332 : GstClockTime base_time = 0; 346 : GstTensorInfo *_info; 347 : guint i, j; 348 : GstMemory *in_mem[NNS_TENSOR_SIZE_LIMIT]; 349 : tensor_format in_formats[NNS_TENSOR_SIZE_LIMIT]; 350 : - 351 12654 : g_return_val_if_fail (collect != NULL, FALSE); - 352 6327 : g_return_val_if_fail (sync != NULL, FALSE); - 353 6327 : g_return_val_if_fail (tensors_buf != NULL, FALSE); - 354 6327 : g_return_val_if_fail (configs != NULL, FALSE); - 355 6327 : g_return_val_if_fail (is_eos != NULL, FALSE); + 351 12664 : g_return_val_if_fail (collect != NULL, FALSE); + 352 6332 : g_return_val_if_fail (sync != NULL, FALSE); + 353 6332 : g_return_val_if_fail (tensors_buf != NULL, FALSE); + 354 6332 : g_return_val_if_fail (configs != NULL, FALSE); + 355 6332 : g_return_val_if_fail (is_eos != NULL, FALSE); 356 : - 357 6327 : walk = collect->data; - 358 6327 : counting = empty_pad = 0; + 357 6332 : walk = collect->data; + 358 6332 : counting = empty_pad = 0; 359 : - 360 6327 : if (sync->mode == SYNC_BASEPAD) { + 360 6332 : if (sync->mode == SYNC_BASEPAD) { 361 711 : walk = g_slist_nth (walk, sync->data_basepad.sink_id); 362 711 : if (walk == NULL) { 363 0 : GST_ERROR_OBJECT (collect, "Cannot get GstCollectData from GSList"); @@ -440,28 +440,28 @@ 378 : } 379 : } 380 : - 381 6327 : walk = collect->data; + 381 6332 : walk = collect->data; 382 : - 383 6327 : gst_tensors_config_init (&in_configs); + 383 6332 : gst_tensors_config_init (&in_configs); 384 : - 385 19289 : while (walk) { - 386 13634 : gboolean configured = FALSE; - 387 13634 : gboolean is_empty = FALSE; + 385 19299 : while (walk) { + 386 13639 : gboolean configured = FALSE; + 387 13639 : gboolean is_empty = FALSE; 388 : - 389 13634 : data = (GstCollectData *) walk->data; - 390 13634 : pad = (GstTensorCollectPadData *) data; + 389 13639 : data = (GstCollectData *) walk->data; + 390 13639 : pad = (GstTensorCollectPadData *) data; 391 : - 392 13634 : if (gst_pad_has_current_caps (data->pad)) { - 393 13633 : GstCaps *caps = gst_pad_get_current_caps (data->pad); - 394 13633 : GstStructure *s = gst_caps_get_structure (caps, 0); + 392 13639 : if (gst_pad_has_current_caps (data->pad)) { + 393 13638 : GstCaps *caps = gst_pad_get_current_caps (data->pad); + 394 13638 : GstStructure *s = gst_caps_get_structure (caps, 0); 395 : - 396 13633 : if (gst_tensors_config_validate (&in_configs)) + 396 13638 : if (gst_tensors_config_validate (&in_configs)) 397 7307 : gst_tensors_config_free (&in_configs); 398 : - 399 13633 : gst_tensors_config_from_structure (&in_configs, s); - 400 13633 : gst_caps_unref (caps); + 399 13638 : gst_tensors_config_from_structure (&in_configs, s); + 400 13638 : gst_caps_unref (caps); 401 : - 402 13633 : configured = gst_tensors_config_validate (&in_configs); + 402 13638 : configured = gst_tensors_config_validate (&in_configs); 403 : } 404 : 405 : /** @@ -471,87 +471,87 @@ 409 : * If new sync mode is enabled (e.g., handle output when a pad gets new buffer), 410 : * this may cause unexpected exception. 411 : */ - 412 13634 : if (!configured) { + 412 13639 : if (!configured) { 413 1 : return FALSE; 414 : } 415 : - 416 13633 : if (in_configs.rate_d < old_denominator) - 417 6326 : old_denominator = in_configs.rate_d; - 418 13633 : if (in_configs.rate_n < old_numerator) - 419 6534 : old_numerator = in_configs.rate_n; + 416 13638 : if (in_configs.rate_d < old_denominator) + 417 6331 : old_denominator = in_configs.rate_d; + 418 13638 : if (in_configs.rate_n < old_numerator) + 419 6539 : old_numerator = in_configs.rate_n; 420 : - 421 13633 : walk = g_slist_next (walk); + 421 13638 : walk = g_slist_next (walk); 422 : - 423 13633 : switch (sync->mode) { - 424 3780 : case SYNC_SLOWEST: + 423 13638 : switch (sync->mode) { + 424 3775 : case SYNC_SLOWEST: 425 : /* fall-through */ 426 : case SYNC_BASEPAD: - 427 3780 : if (!_gst_tensor_time_sync_buffer_update (collect, data, + 427 3775 : if (!_gst_tensor_time_sync_buffer_update (collect, data, 428 : current_time, base_time, sync)) 429 671 : return FALSE; - 430 3109 : buf = gst_buffer_ref (pad->buffer); - 431 3109 : is_empty = (buf == NULL); - 432 3109 : break; + 430 3104 : buf = gst_buffer_ref (pad->buffer); + 431 3104 : is_empty = (buf == NULL); + 432 3104 : break; 433 257 : case SYNC_NOSYNC: 434 257 : buf = gst_collect_pads_pop (collect, data); 435 257 : is_empty = (buf == NULL); 436 257 : break; - 437 9596 : case SYNC_REFRESH: - 438 9596 : buf = gst_collect_pads_pop (collect, data); - 439 9596 : if (buf != NULL) { - 440 4799 : if (pad->buffer != NULL) { - 441 4797 : gst_buffer_unref (pad->buffer); + 437 9606 : case SYNC_REFRESH: + 438 9606 : buf = gst_collect_pads_pop (collect, data); + 439 9606 : if (buf != NULL) { + 440 4804 : if (pad->buffer != NULL) { + 441 4802 : gst_buffer_unref (pad->buffer); 442 : } - 443 4799 : pad->buffer = gst_buffer_ref (buf); + 443 4804 : pad->buffer = gst_buffer_ref (buf); 444 : } else { - 445 4797 : if (pad->buffer == NULL) { + 445 4802 : if (pad->buffer == NULL) { 446 0 : *is_eos = FALSE; 447 0 : ml_logd ("Not the all buffers are arrived yet."); 448 0 : return FALSE; 449 : } - 450 4797 : is_empty = TRUE; - 451 4797 : buf = gst_buffer_ref (pad->buffer); + 450 4802 : is_empty = TRUE; + 451 4802 : buf = gst_buffer_ref (pad->buffer); 452 : } - 453 9596 : break; + 453 9606 : break; 454 0 : default: 455 0 : break; 456 : } 457 : - 458 12962 : if (GST_IS_BUFFER (buf)) { - 459 12962 : guint32 n_tensor = gst_tensor_buffer_get_count (buf); - 460 12962 : buf = gst_tensor_buffer_from_config (buf, &in_configs); + 458 12967 : if (GST_IS_BUFFER (buf)) { + 459 12967 : guint32 n_tensor = gst_tensor_buffer_get_count (buf); + 460 12967 : buf = gst_tensor_buffer_from_config (buf, &in_configs); 461 : 462 : /** These are internal logic error. If given inputs are incorrect, 463 : the negotiation should have been failed before this stage. */ - 464 12962 : if (gst_tensors_config_is_static (&in_configs)) - 465 12936 : g_assert (n_tensor == in_configs.info.num_tensors); - 466 12962 : g_assert ((counting + n_tensor) <= NNS_TENSOR_SIZE_LIMIT); + 464 12967 : if (gst_tensors_config_is_static (&in_configs)) + 465 12941 : g_assert (n_tensor == in_configs.info.num_tensors); + 466 12967 : g_assert ((counting + n_tensor) <= NNS_TENSOR_SIZE_LIMIT); 467 : - 468 12962 : if (gst_tensors_config_is_flexible (&in_configs)) + 468 12967 : if (gst_tensors_config_is_flexible (&in_configs)) 469 26 : configs->info.format = _NNS_TENSOR_FORMAT_FLEXIBLE; 470 : - 471 26304 : for (i = 0; i < n_tensor; ++i) { - 472 13342 : in_mem[counting] = gst_tensor_buffer_get_nth_memory (buf, i); + 471 26314 : for (i = 0; i < n_tensor; ++i) { + 472 13347 : in_mem[counting] = gst_tensor_buffer_get_nth_memory (buf, i); 473 : 474 : /* set info */ - 475 13342 : gst_tensor_info_copy (gst_tensors_info_get_nth_info (&configs->info, - 476 13342 : counting), gst_tensors_info_get_nth_info (&in_configs.info, i)); - 477 13342 : in_formats[counting] = in_configs.info.format; - 478 13342 : counting++; + 475 13347 : gst_tensor_info_copy (gst_tensors_info_get_nth_info (&configs->info, + 476 13347 : counting), gst_tensors_info_get_nth_info (&in_configs.info, i)); + 477 13347 : in_formats[counting] = in_configs.info.format; + 478 13347 : counting++; 479 : } 480 : - 481 12962 : gst_buffer_unref (buf); + 481 12967 : gst_buffer_unref (buf); 482 : } - 483 12962 : if (is_empty) - 484 4797 : empty_pad++; + 483 12967 : if (is_empty) + 484 4802 : empty_pad++; 485 : } 486 : 487 : /* append memories to output buffer */ - 488 18200 : for (i = 0; i < counting; i++) { - 489 12545 : _info = gst_tensors_info_get_nth_info (&configs->info, i); - 490 12545 : mem = in_mem[i]; + 488 18215 : for (i = 0; i < counting; i++) { + 489 12555 : _info = gst_tensors_info_get_nth_info (&configs->info, i); + 490 12555 : mem = in_mem[i]; 491 : - 492 12545 : if (gst_tensors_config_is_flexible (configs)) { + 492 12555 : if (gst_tensors_config_is_flexible (configs)) { 493 : /* append header if input tensor is not flexible */ 494 46 : if (in_formats[i] != _NNS_TENSOR_FORMAT_FLEXIBLE) { 495 : GstTensorMetaInfo meta; @@ -562,7 +562,7 @@ 500 : } 501 : } 502 : - 503 12545 : if (!gst_tensor_buffer_append_memory (tensors_buf, mem, _info)) { + 503 12555 : if (!gst_tensor_buffer_append_memory (tensors_buf, mem, _info)) { 504 0 : for (j = i + 1; j < counting; j++) 505 0 : gst_memory_unref (in_mem[j]); 506 : @@ -571,17 +571,17 @@ 509 : } 510 : } 511 : - 512 5655 : configs->info.num_tensors = counting; - 513 5655 : configs->rate_d = old_denominator; - 514 5655 : configs->rate_n = old_numerator; + 512 5660 : configs->info.num_tensors = counting; + 513 5660 : configs->rate_d = old_denominator; + 514 5660 : configs->rate_n = old_numerator; 515 : - 516 5655 : GST_BUFFER_PTS (tensors_buf) = current_time; + 516 5660 : GST_BUFFER_PTS (tensors_buf) = current_time; 517 : - 518 5655 : gst_tensors_config_free (&in_configs); + 518 5660 : gst_tensors_config_free (&in_configs); 519 : 520 : /* check eos */ - 521 5655 : *is_eos = _gst_tensor_time_sync_is_eos (collect, sync, empty_pad); - 522 5655 : return !(*is_eos); + 521 5660 : *is_eos = _gst_tensor_time_sync_is_eos (collect, sync, empty_pad); + 522 5660 : return !(*is_eos); 523 : } 524 : 525 : /** @@ -594,36 +594,36 @@ 532 : * @return Newly allocated buffer. Null if failed. Caller should unref the buffer using gst_buffer_unref(). 533 : */ 534 : GstBuffer * - 535 35961 : gst_tensor_buffer_from_config (GstBuffer * in, GstTensorsConfig * config) + 535 35866 : gst_tensor_buffer_from_config (GstBuffer * in, GstTensorsConfig * config) 536 : { - 537 35961 : GstBuffer *out = NULL; - 538 35961 : GstMemory *all = NULL; + 537 35866 : GstBuffer *out = NULL; + 538 35866 : GstMemory *all = NULL; 539 : GstMapInfo map; 540 : guint i, num; 541 : gsize total, offset; 542 : gsize mem_size[NNS_TENSOR_MEMORY_MAX]; - 543 35961 : gboolean configured = FALSE; - 544 35961 : gboolean is_extra = FALSE; + 543 35866 : gboolean configured = FALSE; + 544 35866 : gboolean is_extra = FALSE; 545 : - 546 35961 : if (!GST_IS_BUFFER (in)) { + 546 35866 : if (!GST_IS_BUFFER (in)) { 547 1 : nns_loge ("Failed to get tensor buffer, invalid input buffer."); - 548 35961 : return NULL; + 548 35866 : return NULL; 549 : } 550 : - 551 35960 : if (!gst_tensors_config_validate (config)) { + 551 35865 : if (!gst_tensors_config_validate (config)) { 552 2 : nns_loge ("Failed to get tensor buffer, invalid tensor configuration."); 553 2 : goto error; 554 : } 555 : - 556 35958 : num = gst_buffer_n_memory (in); - 557 35958 : total = gst_buffer_get_size (in); + 556 35863 : num = gst_buffer_n_memory (in); + 557 35863 : total = gst_buffer_get_size (in); 558 : 559 : /* get memory size */ - 560 35958 : if (gst_tensors_config_is_static (config)) { - 561 35882 : if (num == config->info.num_tensors) { + 560 35863 : if (gst_tensors_config_is_static (config)) { + 561 35787 : if (num == config->info.num_tensors) { 562 : /* Do nothing, pass input buffer. */ - 563 35875 : out = gst_buffer_ref (in); - 564 35875 : goto done; + 563 35780 : out = gst_buffer_ref (in); + 564 35780 : goto done; 565 : } 566 : 567 7 : num = config->info.num_tensors; @@ -695,22 +695,22 @@ 633 : 634 7 : gst_buffer_copy_into (out, in, GST_BUFFER_COPY_METADATA, 0, -1); 635 : - 636 35957 : done: - 637 35957 : configured = TRUE; - 638 35960 : error: - 639 35960 : gst_buffer_unref (in); + 636 35862 : done: + 637 35862 : configured = TRUE; + 638 35865 : error: + 639 35865 : gst_buffer_unref (in); 640 : - 641 35960 : if (all) + 641 35865 : if (all) 642 8 : gst_memory_unref (all); 643 : - 644 35960 : if (!configured) { + 644 35865 : if (!configured) { 645 3 : if (out) { 646 1 : gst_buffer_unref (out); 647 1 : out = NULL; 648 : } 649 : } 650 : - 651 35960 : return out; + 651 35865 : return out; 652 : } 653 : 654 : /** @@ -727,38 +727,38 @@ 665 : * @brief Internal function to free aggregation data. 666 : */ 667 : static void - 668 867 : gst_tensor_aggregation_free_data (gpointer data) + 668 868 : gst_tensor_aggregation_free_data (gpointer data) 669 : { 670 : gst_tensor_aggregation_data_s *aggr; 671 : - 672 867 : aggr = (gst_tensor_aggregation_data_s *) data; - 673 867 : if (aggr) { - 674 867 : gst_adapter_clear (aggr->adapter); - 675 867 : g_object_unref (aggr->adapter); + 672 868 : aggr = (gst_tensor_aggregation_data_s *) data; + 673 868 : if (aggr) { + 674 868 : gst_adapter_clear (aggr->adapter); + 675 868 : g_object_unref (aggr->adapter); 676 : - 677 867 : g_free (aggr); + 677 868 : g_free (aggr); 678 : } - 679 867 : } + 679 868 : } 680 : 681 : /** 682 : * @brief Internal function to add new aggregation data. 683 : */ 684 : static gst_tensor_aggregation_data_s * - 685 924 : gst_tensor_aggregation_add_data (GHashTable * table, const guint32 key) + 685 925 : gst_tensor_aggregation_add_data (GHashTable * table, const guint32 key) 686 : { 687 : gst_tensor_aggregation_data_s *aggr; 688 : guint32 hashkey; 689 : - 690 924 : g_return_val_if_fail (table != NULL, NULL); - 691 924 : if (key == 0) + 690 925 : g_return_val_if_fail (table != NULL, NULL); + 691 925 : if (key == 0) 692 0 : hashkey = AGGREGATION_DEFAULT_KEY; 693 : else - 694 924 : hashkey = key; - 695 924 : aggr = g_new0 (gst_tensor_aggregation_data_s, 1); - 696 924 : aggr->adapter = gst_adapter_new (); + 694 925 : hashkey = key; + 695 925 : aggr = g_new0 (gst_tensor_aggregation_data_s, 1); + 696 925 : aggr->adapter = gst_adapter_new (); 697 : - 698 924 : g_hash_table_insert (table, GINT_TO_POINTER (hashkey), aggr); - 699 924 : return aggr; + 698 925 : g_hash_table_insert (table, GINT_TO_POINTER (hashkey), aggr); + 699 925 : return aggr; 700 : } 701 : 702 : /** @@ -777,7 +777,7 @@ 715 : * @brief Internal function to remove all buffers from aggregation data. 716 : */ 717 : static void - 718 3485 : gst_tensor_aggregation_clear_internal (gpointer key, gpointer value, + 718 3489 : gst_tensor_aggregation_clear_internal (gpointer key, gpointer value, 719 : gpointer user_data) 720 : { 721 : gst_tensor_aggregation_data_s *aggr; @@ -785,22 +785,22 @@ 723 : UNUSED (key); 724 : UNUSED (user_data); 725 : - 726 3485 : aggr = (gst_tensor_aggregation_data_s *) value; - 727 3485 : if (aggr) { - 728 3485 : gst_adapter_clear (aggr->adapter); + 726 3489 : aggr = (gst_tensor_aggregation_data_s *) value; + 727 3489 : if (aggr) { + 728 3489 : gst_adapter_clear (aggr->adapter); 729 : } - 730 3485 : } + 730 3489 : } 731 : 732 : /** 733 : * @brief Gets new hash table for tensor aggregation. 734 : * @return Newly allocated hash table, caller should release this using g_hash_table_destroy(). 735 : */ 736 : GHashTable * - 737 921 : gst_tensor_aggregation_init (void) + 737 922 : gst_tensor_aggregation_init (void) 738 : { 739 : GHashTable *table; 740 : - 741 921 : table = g_hash_table_new_full (g_direct_hash, g_direct_equal, NULL, + 741 922 : table = g_hash_table_new_full (g_direct_hash, g_direct_equal, NULL, 742 : gst_tensor_aggregation_free_data); 743 : 744 : /** @@ -811,9 +811,9 @@ 749 : * However, on normal pipeline, gst-buffer does not contain tensor-meta, 750 : * then the element may request adapter with null key string. 751 : */ - 752 921 : gst_tensor_aggregation_add_data (table, AGGREGATION_DEFAULT_KEY); + 752 922 : gst_tensor_aggregation_add_data (table, AGGREGATION_DEFAULT_KEY); 753 : - 754 921 : return table; + 754 922 : return table; 755 : } 756 : 757 : /** @@ -837,10 +837,10 @@ 775 : * @param table a hash table instance initialized with gst_tensor_aggregation_init() 776 : */ 777 : void - 778 3479 : gst_tensor_aggregation_clear_all (GHashTable * table) + 778 3483 : gst_tensor_aggregation_clear_all (GHashTable * table) 779 : { - 780 3479 : g_hash_table_foreach (table, gst_tensor_aggregation_clear_internal, NULL); - 781 3479 : } + 780 3483 : g_hash_table_foreach (table, gst_tensor_aggregation_clear_internal, NULL); + 781 3483 : } 782 : 783 : /** 784 : * @brief Gets adapter from hash table. @@ -868,27 +868,27 @@ 806 : * @brief Internal function to check tensor dimensions to append old caps for backward compatibility (rank 4). 807 : */ 808 : static gboolean - 809 10345 : _append_prev_caps (const GstTensorsConfig * config) + 809 10352 : _append_prev_caps (const GstTensorsConfig * config) 810 : { 811 : GstTensorsInfo *info; 812 : GstTensorInfo *_info; 813 : guint i, rank, min_rank; 814 : - 815 10345 : g_return_val_if_fail (config != NULL, FALSE); + 815 10352 : g_return_val_if_fail (config != NULL, FALSE); 816 : - 817 10345 : info = (GstTensorsInfo *) (&config->info); - 818 10345 : if (!gst_tensors_info_validate (info)) - 819 4697 : return FALSE; + 817 10352 : info = (GstTensorsInfo *) (&config->info); + 818 10352 : if (!gst_tensors_info_validate (info)) + 819 4703 : return FALSE; 820 : - 821 5783 : for (i = 0; i < info->num_tensors; i++) { - 822 5651 : _info = gst_tensors_info_get_nth_info (info, i); + 821 5784 : for (i = 0; i < info->num_tensors; i++) { + 822 5652 : _info = gst_tensors_info_get_nth_info (info, i); 823 : - 824 5651 : rank = gst_tensor_dimension_get_rank (_info->dimension); - 825 5651 : min_rank = gst_tensor_dimension_get_min_rank (_info->dimension); + 824 5652 : rank = gst_tensor_dimension_get_rank (_info->dimension); + 825 5652 : min_rank = gst_tensor_dimension_get_min_rank (_info->dimension); 826 : - 827 5651 : if (rank <= NNS_TENSOR_RANK_LIMIT_PREV || + 827 5652 : if (rank <= NNS_TENSOR_RANK_LIMIT_PREV || 828 : min_rank > NNS_TENSOR_RANK_LIMIT_PREV) - 829 5516 : return FALSE; + 829 5517 : return FALSE; 830 : } 831 : 832 132 : return TRUE; @@ -898,35 +898,35 @@ 836 : * @brief Internal function to get caps for single tensor from config. 837 : */ 838 : static GstCaps * - 839 5517 : _get_tensor_caps (const GstTensorsConfig * config) + 839 5521 : _get_tensor_caps (const GstTensorsConfig * config) 840 : { 841 : GstCaps *caps; - 842 5517 : GstStructure *structure = NULL; + 842 5521 : GstStructure *structure = NULL; 843 : GstTensorsInfo *info; 844 : GstTensorInfo *_info; 845 : - 846 5517 : g_return_val_if_fail (config != NULL, NULL); + 846 5521 : g_return_val_if_fail (config != NULL, NULL); 847 : - 848 5517 : info = (GstTensorsInfo *) (&config->info); - 849 5517 : if (info->num_tensors > 1) + 848 5521 : info = (GstTensorsInfo *) (&config->info); + 849 5521 : if (info->num_tensors > 1) 850 103 : return NULL; 851 : - 852 5414 : caps = gst_caps_from_string (GST_TENSOR_CAP_DEFAULT); - 853 5414 : _info = gst_tensors_info_get_nth_info (info, 0); + 852 5418 : caps = gst_caps_from_string (GST_TENSOR_CAP_DEFAULT); + 853 5418 : _info = gst_tensors_info_get_nth_info (info, 0); 854 : 855 : /* structure for backward compatibility */ - 856 5414 : if (_append_prev_caps (config)) + 856 5418 : if (_append_prev_caps (config)) 857 63 : structure = gst_structure_new_empty (NNS_MIMETYPE_TENSOR); 858 : - 859 5414 : if (gst_tensor_dimension_is_valid (_info->dimension)) { + 859 5418 : if (gst_tensor_dimension_is_valid (_info->dimension)) { 860 : { - 861 3212 : g_autofree gchar *dim_str = - 862 3212 : gst_tensor_get_dimension_string (_info->dimension); + 861 3213 : g_autofree gchar *dim_str = + 862 3213 : gst_tensor_get_dimension_string (_info->dimension); 863 : - 864 3212 : gst_caps_set_simple (caps, "dimension", G_TYPE_STRING, dim_str, NULL); + 864 3213 : gst_caps_set_simple (caps, "dimension", G_TYPE_STRING, dim_str, NULL); 865 : } 866 : - 867 3212 : if (structure) { + 867 3213 : if (structure) { 868 63 : g_autofree gchar *dim_str = 869 63 : gst_tensor_get_rank_dimension_string (_info->dimension, 870 : NNS_TENSOR_RANK_LIMIT_PREV); @@ -935,48 +935,48 @@ 873 : } 874 : } 875 : - 876 5414 : if (_info->type != _NNS_END) { - 877 3622 : const gchar *type_str = gst_tensor_get_type_string (_info->type); + 876 5418 : if (_info->type != _NNS_END) { + 877 3623 : const gchar *type_str = gst_tensor_get_type_string (_info->type); 878 : - 879 3622 : gst_caps_set_simple (caps, "type", G_TYPE_STRING, type_str, NULL); + 879 3623 : gst_caps_set_simple (caps, "type", G_TYPE_STRING, type_str, NULL); 880 : - 881 3622 : if (structure) + 881 3623 : if (structure) 882 63 : gst_structure_set (structure, "type", G_TYPE_STRING, type_str, NULL); 883 : } 884 : - 885 5414 : if (config->rate_n >= 0 && config->rate_d > 0) { - 886 1993 : gst_caps_set_simple (caps, "framerate", GST_TYPE_FRACTION, - 887 1993 : config->rate_n, config->rate_d, NULL); + 885 5418 : if (config->rate_n >= 0 && config->rate_d > 0) { + 886 1998 : gst_caps_set_simple (caps, "framerate", GST_TYPE_FRACTION, + 887 1998 : config->rate_n, config->rate_d, NULL); 888 : - 889 1993 : if (structure) + 889 1998 : if (structure) 890 63 : gst_structure_set (structure, "framerate", GST_TYPE_FRACTION, 891 63 : config->rate_n, config->rate_d, NULL); 892 : } 893 : - 894 5414 : if (structure) + 894 5418 : if (structure) 895 63 : gst_caps_append_structure (caps, structure); 896 : - 897 5414 : return caps; + 897 5418 : return caps; 898 : } 899 : 900 : /** 901 : * @brief Internal function to get caps for multi tensors from config. 902 : */ 903 : static GstCaps * - 904 4931 : _get_tensors_caps (const GstTensorsConfig * config) + 904 4934 : _get_tensors_caps (const GstTensorsConfig * config) 905 : { 906 : GstCaps *caps; - 907 4931 : GstStructure *structure = NULL; + 907 4934 : GstStructure *structure = NULL; 908 : - 909 4931 : g_return_val_if_fail (config != NULL, NULL); + 909 4934 : g_return_val_if_fail (config != NULL, NULL); 910 : - 911 4931 : caps = gst_caps_from_string (GST_TENSORS_CAP_DEFAULT); + 911 4934 : caps = gst_caps_from_string (GST_TENSORS_CAP_DEFAULT); 912 : 913 : /* structure for backward compatibility */ - 914 4931 : if (_append_prev_caps (config)) + 914 4934 : if (_append_prev_caps (config)) 915 69 : structure = gst_structure_new_empty (NNS_MIMETYPE_TENSORS); 916 : - 917 4931 : if (config->info.num_tensors > 0) { + 917 4934 : if (config->info.num_tensors > 0) { 918 2707 : g_autofree gchar *type_str = 919 2707 : gst_tensors_info_get_types_string (&config->info); 920 : @@ -1004,37 +1004,37 @@ 942 : } 943 : } 944 : - 945 4931 : if (config->rate_n >= 0 && config->rate_d > 0) { - 946 1424 : gst_caps_set_simple (caps, "framerate", GST_TYPE_FRACTION, - 947 1424 : config->rate_n, config->rate_d, NULL); + 945 4934 : if (config->rate_n >= 0 && config->rate_d > 0) { + 946 1428 : gst_caps_set_simple (caps, "framerate", GST_TYPE_FRACTION, + 947 1428 : config->rate_n, config->rate_d, NULL); 948 : - 949 1424 : if (structure) + 949 1428 : if (structure) 950 68 : gst_structure_set (structure, "framerate", GST_TYPE_FRACTION, 951 68 : config->rate_n, config->rate_d, NULL); 952 : } 953 : - 954 4931 : if (structure) + 954 4934 : if (structure) 955 69 : gst_caps_append_structure (caps, structure); 956 : - 957 4931 : return caps; + 957 4934 : return caps; 958 : } 959 : 960 : /** 961 : * @brief Internal function to get caps for flexible tensor from config. 962 : */ 963 : static GstCaps * - 964 2787 : _get_flexible_caps (const GstTensorsConfig * config) + 964 2802 : _get_flexible_caps (const GstTensorsConfig * config) 965 : { 966 : GstCaps *caps; 967 : - 968 2787 : caps = gst_caps_from_string (GST_TENSORS_FLEX_CAP_DEFAULT); + 968 2802 : caps = gst_caps_from_string (GST_TENSORS_FLEX_CAP_DEFAULT); 969 : - 970 2787 : if (config->rate_n >= 0 && config->rate_d > 0) { - 971 812 : gst_caps_set_simple (caps, "framerate", GST_TYPE_FRACTION, - 972 812 : config->rate_n, config->rate_d, NULL); + 970 2802 : if (config->rate_n >= 0 && config->rate_d > 0) { + 971 819 : gst_caps_set_simple (caps, "framerate", GST_TYPE_FRACTION, + 972 819 : config->rate_n, config->rate_d, NULL); 973 : } 974 : - 975 2787 : return caps; + 975 2802 : return caps; 976 : } 977 : 978 : /** @@ -1043,15 +1043,15 @@ 981 : * @return TRUE if mimetype is tensor stream 982 : */ 983 : gboolean - 984 15923 : gst_structure_is_tensor_stream (const GstStructure * structure) + 984 16052 : gst_structure_is_tensor_stream (const GstStructure * structure) 985 : { 986 : const gchar *name; 987 : - 988 15923 : name = gst_structure_get_name (structure); - 989 15923 : g_return_val_if_fail (name != NULL, FALSE); + 988 16052 : name = gst_structure_get_name (structure); + 989 16052 : g_return_val_if_fail (name != NULL, FALSE); 990 : - 991 28712 : return (g_str_equal (name, NNS_MIMETYPE_TENSOR) || - 992 12789 : g_str_equal (name, NNS_MIMETYPE_TENSORS)); + 991 28964 : return (g_str_equal (name, NNS_MIMETYPE_TENSOR) || + 992 12912 : g_str_equal (name, NNS_MIMETYPE_TENSORS)); 993 : } 994 : 995 : /** @@ -1060,36 +1060,36 @@ 998 : * @return corresponding media type (returns _NNS_MEDIA_INVALID for unsupported type) 999 : */ 1000 : media_type - 1001 20024 : gst_structure_get_media_type (const GstStructure * structure) + 1001 20241 : gst_structure_get_media_type (const GstStructure * structure) 1002 : { 1003 : const gchar *name; 1004 : - 1005 20024 : name = gst_structure_get_name (structure); + 1005 20241 : name = gst_structure_get_name (structure); 1006 : - 1007 20024 : g_return_val_if_fail (name != NULL, _NNS_MEDIA_INVALID); + 1007 20241 : g_return_val_if_fail (name != NULL, _NNS_MEDIA_INVALID); 1008 : - 1009 20024 : if (g_str_has_prefix (name, "video/")) { - 1010 2751 : return _NNS_VIDEO; + 1009 20241 : if (g_str_has_prefix (name, "video/")) { + 1010 2776 : return _NNS_VIDEO; 1011 : } 1012 : - 1013 17273 : if (g_str_has_prefix (name, "audio/")) { - 1014 2168 : return _NNS_AUDIO; + 1013 17465 : if (g_str_has_prefix (name, "audio/")) { + 1014 2192 : return _NNS_AUDIO; 1015 : } 1016 : - 1017 15105 : if (g_str_has_prefix (name, "text/")) { - 1018 2141 : return _NNS_TEXT; + 1017 15273 : if (g_str_has_prefix (name, "text/")) { + 1018 2165 : return _NNS_TEXT; 1019 : } 1020 : - 1021 12964 : if (g_str_equal (name, "application/octet-stream")) { - 1022 4378 : return _NNS_OCTET; + 1021 13108 : if (g_str_equal (name, "application/octet-stream")) { + 1022 4426 : return _NNS_OCTET; 1023 : } 1024 : - 1025 8586 : if (gst_structure_is_tensor_stream (structure)) { - 1026 2136 : return _NNS_TENSOR; + 1025 8682 : if (gst_structure_is_tensor_stream (structure)) { + 1026 2160 : return _NNS_TENSOR; 1027 : } 1028 : 1029 : /* unknown or unsupported type */ - 1030 6450 : return _NNS_MEDIA_INVALID; + 1030 6522 : return _NNS_MEDIA_INVALID; 1031 : } 1032 : 1033 : /** @@ -1100,31 +1100,31 @@ 1038 : * @return TRUE if successfully configured from peer 1039 : */ 1040 : gboolean - 1041 4273 : gst_tensors_config_from_peer (GstPad * pad, GstTensorsConfig * config, + 1041 4299 : gst_tensors_config_from_peer (GstPad * pad, GstTensorsConfig * config, 1042 : gboolean * is_fixed) 1043 : { 1044 : GstCaps *peer_caps; 1045 : GstStructure *structure; - 1046 4273 : gboolean ret = FALSE; + 1046 4299 : gboolean ret = FALSE; 1047 : - 1048 4273 : g_return_val_if_fail (GST_IS_PAD (pad), FALSE); - 1049 4273 : g_return_val_if_fail (config != NULL, FALSE); + 1048 4299 : g_return_val_if_fail (GST_IS_PAD (pad), FALSE); + 1049 4299 : g_return_val_if_fail (config != NULL, FALSE); 1050 : - 1051 4273 : gst_tensors_config_init (config); + 1051 4299 : gst_tensors_config_init (config); 1052 : - 1053 4273 : if ((peer_caps = gst_pad_peer_query_caps (pad, NULL))) { - 1054 4273 : if (gst_caps_get_size (peer_caps) > 0) { - 1055 2170 : structure = gst_caps_get_structure (peer_caps, 0); - 1056 2170 : ret = gst_tensors_config_from_structure (config, structure); + 1053 4299 : if ((peer_caps = gst_pad_peer_query_caps (pad, NULL))) { + 1054 4299 : if (gst_caps_get_size (peer_caps) > 0) { + 1055 2194 : structure = gst_caps_get_structure (peer_caps, 0); + 1056 2194 : ret = gst_tensors_config_from_structure (config, structure); 1057 : } 1058 : - 1059 4273 : if (ret && is_fixed) + 1059 4299 : if (ret && is_fixed) 1060 30 : *is_fixed = gst_caps_is_fixed (peer_caps); 1061 : - 1062 4273 : gst_caps_unref (peer_caps); + 1062 4299 : gst_caps_unref (peer_caps); 1063 : } 1064 : - 1065 4273 : return ret; + 1065 4299 : return ret; 1066 : } 1067 : 1068 : /** @@ -1152,29 +1152,29 @@ 1090 : * @param filter caps to compare 1091 : */ 1092 : void - 1093 1600 : gst_tensor_caps_update_dimension (GstCaps * caps, GstCaps * filter) + 1093 1608 : gst_tensor_caps_update_dimension (GstCaps * caps, GstCaps * filter) 1094 : { 1095 : GstStructure *st_caps, *st_filter; 1096 : guint i, j; 1097 : - 1098 1600 : g_return_if_fail (GST_IS_CAPS (caps)); - 1099 1600 : g_return_if_fail (GST_IS_CAPS (filter)); + 1098 1608 : g_return_if_fail (GST_IS_CAPS (caps)); + 1099 1608 : g_return_if_fail (GST_IS_CAPS (filter)); 1100 : - 1101 4145 : for (i = 0; i < gst_caps_get_size (caps); i++) { - 1102 2545 : st_caps = gst_caps_get_structure (caps, i); + 1101 4169 : for (i = 0; i < gst_caps_get_size (caps); i++) { + 1102 2561 : st_caps = gst_caps_get_structure (caps, i); 1103 : - 1104 2545 : if (!gst_structure_is_tensor_stream (st_caps)) + 1104 2561 : if (!gst_structure_is_tensor_stream (st_caps)) 1105 0 : continue; 1106 : - 1107 7296 : for (j = 0; j < gst_caps_get_size (filter); j++) { - 1108 4751 : st_filter = gst_caps_get_structure (filter, j); + 1107 7329 : for (j = 0; j < gst_caps_get_size (filter); j++) { + 1108 4768 : st_filter = gst_caps_get_structure (filter, j); 1109 : - 1110 4751 : if (!gst_structure_is_tensor_stream (st_filter)) + 1110 4768 : if (!gst_structure_is_tensor_stream (st_filter)) 1111 0 : continue; 1112 : 1113 : /* other/tensor */ - 1114 4751 : if (gst_structure_has_field (st_caps, "dimension") - 1115 2598 : && gst_structure_has_field (st_filter, "dimension")) { + 1114 4768 : if (gst_structure_has_field (st_caps, "dimension") + 1115 2600 : && gst_structure_has_field (st_filter, "dimension")) { 1116 : /* update dimensions for negotiation */ 1117 230 : if (_is_structure_dimension_same (st_caps, st_filter, "dimension")) { 1118 115 : gst_structure_set (st_caps, "dimension", G_TYPE_STRING, @@ -1182,7 +1182,7 @@ 1120 : } 1121 : } 1122 : /* other/tensors */ - 1123 4636 : else if (gst_structure_has_field (st_caps, "dimensions") + 1123 4653 : else if (gst_structure_has_field (st_caps, "dimensions") 1124 1213 : && gst_structure_has_field (st_filter, "dimensions")) { 1125 : /* update dimensions for negotiation */ 1126 89 : if (_is_structure_dimension_same (st_caps, st_filter, "dimensions")) { @@ -1268,53 +1268,53 @@ 1206 : * @return caps for given config. Caller is responsible for unreffing the returned caps. 1207 : */ 1208 : GstCaps * - 1209 1208 : gst_tensor_pad_caps_from_config (GstPad * pad, const GstTensorsConfig * config) + 1209 1209 : gst_tensor_pad_caps_from_config (GstPad * pad, const GstTensorsConfig * config) 1210 : { - 1211 1208 : GstCaps *caps = NULL; + 1211 1209 : GstCaps *caps = NULL; 1212 : GstCaps *templ; 1213 : gboolean is_flexible, peer_is_flexible, peer_has_tensor_caps; 1214 : GstCaps *peer_caps; 1215 : - 1216 1208 : g_return_val_if_fail (GST_IS_PAD (pad), NULL); - 1217 1208 : g_return_val_if_fail (config != NULL, NULL); + 1216 1209 : g_return_val_if_fail (GST_IS_PAD (pad), NULL); + 1217 1209 : g_return_val_if_fail (config != NULL, NULL); 1218 : - 1219 1208 : templ = gst_pad_get_pad_template_caps (pad); + 1219 1209 : templ = gst_pad_get_pad_template_caps (pad); 1220 : 1221 : /* check peer caps */ - 1222 1208 : peer_is_flexible = peer_has_tensor_caps = FALSE; + 1222 1209 : peer_is_flexible = peer_has_tensor_caps = FALSE; 1223 : - 1224 1208 : peer_caps = gst_pad_peer_query_caps (pad, NULL); - 1225 1208 : if (peer_caps && gst_caps_get_size (peer_caps) > 0) { + 1224 1209 : peer_caps = gst_pad_peer_query_caps (pad, NULL); + 1225 1209 : if (peer_caps && gst_caps_get_size (peer_caps) > 0) { 1226 : GstCaps *tmp; 1227 : GstStructure *st; 1228 : GstTensorsConfig peer_config; 1229 : - 1230 912 : tmp = gst_caps_from_string (GST_TENSOR_CAP_DEFAULT); - 1231 912 : peer_has_tensor_caps = gst_caps_can_intersect (tmp, peer_caps); - 1232 912 : gst_caps_unref (tmp); + 1230 913 : tmp = gst_caps_from_string (GST_TENSOR_CAP_DEFAULT); + 1231 913 : peer_has_tensor_caps = gst_caps_can_intersect (tmp, peer_caps); + 1232 913 : gst_caps_unref (tmp); 1233 : - 1234 912 : st = gst_caps_get_structure (peer_caps, 0); - 1235 912 : if (gst_tensors_config_from_structure (&peer_config, st)) - 1236 912 : peer_is_flexible = gst_tensors_config_is_flexible (&peer_config); - 1237 912 : gst_tensors_config_free (&peer_config); + 1234 913 : st = gst_caps_get_structure (peer_caps, 0); + 1235 913 : if (gst_tensors_config_from_structure (&peer_config, st)) + 1236 913 : peer_is_flexible = gst_tensors_config_is_flexible (&peer_config); + 1237 913 : gst_tensors_config_free (&peer_config); 1238 : } 1239 : 1240 : /* other/tensors (flexible) */ - 1241 1208 : is_flexible = gst_tensors_config_is_flexible (config); + 1241 1209 : is_flexible = gst_tensors_config_is_flexible (config); 1242 : - 1243 1208 : if (is_flexible || peer_is_flexible) { + 1243 1209 : if (is_flexible || peer_is_flexible) { 1244 70 : caps = _get_flexible_caps (config); 1245 70 : goto intersectable; 1246 : } 1247 : 1248 : /* other/tensor */ - 1249 1138 : if (config->info.num_tensors == 1 && peer_has_tensor_caps) { - 1250 727 : caps = _get_tensor_caps (config); - 1251 727 : if (peer_caps) - 1252 727 : gst_tensor_caps_update_dimension (caps, peer_caps); + 1249 1139 : if (config->info.num_tensors == 1 && peer_has_tensor_caps) { + 1250 728 : caps = _get_tensor_caps (config); + 1251 728 : if (peer_caps) + 1252 728 : gst_tensor_caps_update_dimension (caps, peer_caps); 1253 : - 1254 727 : if (gst_caps_can_intersect (caps, templ)) - 1255 723 : goto done; + 1254 728 : if (gst_caps_can_intersect (caps, templ)) + 1255 724 : goto done; 1256 : 1257 4 : gst_caps_unref (caps); 1258 : } @@ -1331,11 +1331,11 @@ 1269 : } 1270 : 1271 485 : done: - 1272 1208 : gst_caps_unref (templ); - 1273 1208 : if (peer_caps) - 1274 1208 : gst_caps_unref (peer_caps); - 1275 1208 : caps = gst_caps_truncate (caps); - 1276 1208 : return caps; + 1272 1209 : gst_caps_unref (templ); + 1273 1209 : if (peer_caps) + 1274 1209 : gst_caps_unref (peer_caps); + 1275 1209 : caps = gst_caps_truncate (caps); + 1276 1209 : return caps; 1277 : } 1278 : 1279 : /** @@ -1345,53 +1345,53 @@ 1283 : * @return caps for given config. Caller is responsible for unreffing the returned caps. 1284 : */ 1285 : GstCaps * - 1286 1996 : gst_tensor_pad_possible_caps_from_config (GstPad * pad, + 1286 2011 : gst_tensor_pad_possible_caps_from_config (GstPad * pad, 1287 : const GstTensorsConfig * config) 1288 : { 1289 : GstCaps *caps, *tmp; 1290 : GstCaps *templ; 1291 : - 1292 1996 : g_return_val_if_fail (GST_IS_PAD (pad), NULL); - 1293 1996 : g_return_val_if_fail (config != NULL, NULL); + 1292 2011 : g_return_val_if_fail (GST_IS_PAD (pad), NULL); + 1293 2011 : g_return_val_if_fail (config != NULL, NULL); 1294 : - 1295 1996 : caps = gst_caps_new_empty (); - 1296 1996 : templ = gst_pad_get_pad_template_caps (pad); + 1295 2011 : caps = gst_caps_new_empty (); + 1296 2011 : templ = gst_pad_get_pad_template_caps (pad); 1297 : 1298 : /* append caps for static tensor */ - 1299 1996 : if (gst_tensors_config_is_static (config)) { + 1299 2011 : if (gst_tensors_config_is_static (config)) { 1300 : /* other/tensor */ - 1301 1879 : if ((tmp = _get_tensor_caps (config)) != NULL) { - 1302 1776 : if (gst_caps_can_intersect (tmp, templ)) - 1303 1728 : gst_caps_append (caps, tmp); + 1301 1882 : if ((tmp = _get_tensor_caps (config)) != NULL) { + 1302 1779 : if (gst_caps_can_intersect (tmp, templ)) + 1303 1732 : gst_caps_append (caps, tmp); 1304 : else - 1305 48 : gst_caps_unref (tmp); + 1305 47 : gst_caps_unref (tmp); 1306 : } 1307 : 1308 : /* other/tensors */ - 1309 1879 : if ((tmp = _get_tensors_caps (config)) != NULL) { - 1310 1879 : if (gst_caps_can_intersect (tmp, templ)) - 1311 1879 : gst_caps_append (caps, tmp); + 1309 1882 : if ((tmp = _get_tensors_caps (config)) != NULL) { + 1310 1882 : if (gst_caps_can_intersect (tmp, templ)) + 1311 1882 : gst_caps_append (caps, tmp); 1312 : else 1313 0 : gst_caps_unref (tmp); 1314 : } 1315 : } 1316 : 1317 : /* caps for flexible tensor */ - 1318 1996 : if ((tmp = _get_flexible_caps (config)) != NULL) { - 1319 1996 : if (gst_caps_can_intersect (tmp, templ)) - 1320 1903 : gst_caps_append (caps, tmp); + 1318 2011 : if ((tmp = _get_flexible_caps (config)) != NULL) { + 1319 2011 : if (gst_caps_can_intersect (tmp, templ)) + 1320 1918 : gst_caps_append (caps, tmp); 1321 : else 1322 93 : gst_caps_unref (tmp); 1323 : } 1324 : 1325 : /* if no possible caps for given config, return null. */ - 1326 1996 : if (gst_caps_is_empty (caps)) { + 1326 2011 : if (gst_caps_is_empty (caps)) { 1327 0 : gst_caps_unref (caps); 1328 0 : caps = NULL; 1329 : } 1330 : - 1331 1996 : gst_caps_unref (templ); - 1332 1996 : return caps; + 1331 2011 : gst_caps_unref (templ); + 1332 2011 : return caps; 1333 : } 1334 : 1335 : /** @@ -1402,27 +1402,27 @@ 1340 : * If pad does not have tensor caps return _NNS_TENSOR_FORMAT_END 1341 : */ 1342 : tensor_format - 1343 131180 : gst_tensor_pad_get_format (GstPad * pad) + 1343 130704 : gst_tensor_pad_get_format (GstPad * pad) 1344 : { 1345 : GstCaps *caps; - 1346 131180 : tensor_format ret = _NNS_TENSOR_FORMAT_END; + 1346 130704 : tensor_format ret = _NNS_TENSOR_FORMAT_END; 1347 : - 1348 131180 : g_return_val_if_fail (GST_IS_PAD (pad), _NNS_TENSOR_FORMAT_END); + 1348 130704 : g_return_val_if_fail (GST_IS_PAD (pad), _NNS_TENSOR_FORMAT_END); 1349 : - 1350 131180 : caps = gst_pad_get_current_caps (pad); - 1351 131180 : if (caps) { + 1350 130704 : caps = gst_pad_get_current_caps (pad); + 1351 130704 : if (caps) { 1352 : GstStructure *structure; 1353 : GstTensorsConfig config; 1354 : - 1355 131166 : structure = gst_caps_get_structure (caps, 0); - 1356 131166 : if (gst_tensors_config_from_structure (&config, structure)) { - 1357 131055 : ret = config.info.format; + 1355 130690 : structure = gst_caps_get_structure (caps, 0); + 1356 130690 : if (gst_tensors_config_from_structure (&config, structure)) { + 1357 130579 : ret = config.info.format; 1358 : } - 1359 131166 : gst_caps_unref (caps); - 1360 131166 : gst_tensors_config_free (&config); + 1359 130690 : gst_caps_unref (caps); + 1360 130690 : gst_tensors_config_free (&config); 1361 : } 1362 : - 1363 131180 : return ret; + 1363 130704 : return ret; 1364 : } 1365 : 1366 : /** @@ -1472,77 +1472,77 @@ 1410 : * @return TRUE if no error 1411 : */ 1412 : gboolean - 1413 158975 : gst_tensors_config_from_structure (GstTensorsConfig * config, + 1413 158546 : gst_tensors_config_from_structure (GstTensorsConfig * config, 1414 : const GstStructure * structure) 1415 : { 1416 : const gchar *name; - 1417 158975 : tensor_format format = _NNS_TENSOR_FORMAT_STATIC; + 1417 158546 : tensor_format format = _NNS_TENSOR_FORMAT_STATIC; 1418 : - 1419 158975 : g_return_val_if_fail (config != NULL, FALSE); - 1420 158974 : gst_tensors_config_init (config); + 1419 158546 : g_return_val_if_fail (config != NULL, FALSE); + 1420 158545 : gst_tensors_config_init (config); 1421 : - 1422 158974 : g_return_val_if_fail (structure != NULL, FALSE); + 1422 158545 : g_return_val_if_fail (structure != NULL, FALSE); 1423 : - 1424 158973 : name = gst_structure_get_name (structure); + 1424 158544 : name = gst_structure_get_name (structure); 1425 : - 1426 158973 : if (g_str_equal (name, NNS_MIMETYPE_TENSOR)) { + 1426 158544 : if (g_str_equal (name, NNS_MIMETYPE_TENSOR)) { 1427 : /* other/tensor is always static */ - 1428 146527 : config->info.num_tensors = 1; + 1428 146056 : config->info.num_tensors = 1; 1429 : - 1430 146527 : if (gst_structure_has_field (structure, "dimension")) { - 1431 140407 : const gchar *dim_str = gst_structure_get_string (structure, "dimension"); - 1432 140407 : gst_tensor_parse_dimension (dim_str, config->info.info[0].dimension); + 1430 146056 : if (gst_structure_has_field (structure, "dimension")) { + 1431 139932 : const gchar *dim_str = gst_structure_get_string (structure, "dimension"); + 1432 139932 : gst_tensor_parse_dimension (dim_str, config->info.info[0].dimension); 1433 : } 1434 : - 1435 146527 : if (gst_structure_has_field (structure, "type")) { - 1436 140560 : const gchar *type_str = gst_structure_get_string (structure, "type"); - 1437 140560 : config->info.info[0].type = gst_tensor_get_type (type_str); + 1435 146056 : if (gst_structure_has_field (structure, "type")) { + 1436 140085 : const gchar *type_str = gst_structure_get_string (structure, "type"); + 1437 140085 : config->info.info[0].type = gst_tensor_get_type (type_str); 1438 : } - 1439 12446 : } else if (g_str_equal (name, NNS_MIMETYPE_TENSORS)) { - 1440 12335 : if (gst_structure_has_field (structure, "format")) { + 1439 12488 : } else if (g_str_equal (name, NNS_MIMETYPE_TENSORS)) { + 1440 12377 : if (gst_structure_has_field (structure, "format")) { 1441 : const gchar *format_str; 1442 : - 1443 12333 : format_str = gst_structure_get_string (structure, "format"); - 1444 12333 : format = gst_tensor_get_format (format_str); + 1443 12375 : format_str = gst_structure_get_string (structure, "format"); + 1444 12375 : format = gst_tensor_get_format (format_str); 1445 : - 1446 12333 : if (format == _NNS_TENSOR_FORMAT_END) { + 1446 12375 : if (format == _NNS_TENSOR_FORMAT_END) { 1447 1482 : GST_INFO 1448 : ("Invalid format %s, it should be one of %s. Suppose tensor format is static.", 1449 : _STR_NULL (format_str), GST_TENSOR_FORMAT_ALL); 1450 : } else { - 1451 10851 : config->info.format = format; + 1451 10893 : config->info.format = format; 1452 : } 1453 : } 1454 : - 1455 12335 : if (config->info.format == _NNS_TENSOR_FORMAT_STATIC) { - 1456 10368 : gst_structure_get_int (structure, "num_tensors", - 1457 10368 : (gint *) (&config->info.num_tensors)); + 1455 12377 : if (config->info.format == _NNS_TENSOR_FORMAT_STATIC) { + 1456 10373 : gst_structure_get_int (structure, "num_tensors", + 1457 10373 : (gint *) (&config->info.num_tensors)); 1458 : 1459 : /* parse dimensions */ - 1460 10368 : if (gst_structure_has_field (structure, "dimensions")) { + 1460 10373 : if (gst_structure_has_field (structure, "dimensions")) { 1461 : const gchar *dims_str; 1462 : guint num_dims; 1463 : - 1464 8044 : dims_str = gst_structure_get_string (structure, "dimensions"); + 1464 8049 : dims_str = gst_structure_get_string (structure, "dimensions"); 1465 : num_dims = - 1466 8044 : gst_tensors_info_parse_dimensions_string (&config->info, dims_str); + 1466 8049 : gst_tensors_info_parse_dimensions_string (&config->info, dims_str); 1467 : - 1468 8044 : if (config->info.num_tensors != num_dims) { + 1468 8049 : if (config->info.num_tensors != num_dims) { 1469 8 : nns_logw ("Invalid param, dimensions (%d) tensors (%d)\n", 1470 : num_dims, config->info.num_tensors); 1471 : } 1472 : } 1473 : 1474 : /* parse types */ - 1475 10368 : if (gst_structure_has_field (structure, "types")) { + 1475 10373 : if (gst_structure_has_field (structure, "types")) { 1476 : const gchar *types_str; 1477 : guint num_types; 1478 : - 1479 7996 : types_str = gst_structure_get_string (structure, "types"); + 1479 8001 : types_str = gst_structure_get_string (structure, "types"); 1480 : num_types = - 1481 7996 : gst_tensors_info_parse_types_string (&config->info, types_str); + 1481 8001 : gst_tensors_info_parse_types_string (&config->info, types_str); 1482 : - 1483 7996 : if (config->info.num_tensors != num_types) { + 1483 8001 : if (config->info.num_tensors != num_types) { 1484 0 : nns_logw ("Invalid param, types (%d) tensors (%d)\n", 1485 : num_types, config->info.num_tensors); 1486 : } @@ -1553,12 +1553,12 @@ 1491 111 : return FALSE; 1492 : } 1493 : - 1494 158862 : if (gst_structure_has_field (structure, "framerate")) { - 1495 158843 : gst_structure_get_fraction (structure, "framerate", &config->rate_n, - 1496 158843 : &config->rate_d); + 1494 158433 : if (gst_structure_has_field (structure, "framerate")) { + 1495 158414 : gst_structure_get_fraction (structure, "framerate", &config->rate_n, + 1496 158414 : &config->rate_d); 1497 : } 1498 : - 1499 158862 : return TRUE; + 1499 158433 : return TRUE; 1500 : } 1501 : 1502 : /** @@ -1568,32 +1568,32 @@ 1506 : * @return TRUE if successfully set the meta 1507 : */ 1508 : gboolean - 1509 60720 : gst_tensor_meta_info_parse_memory (GstTensorMetaInfo * meta, GstMemory * mem) + 1509 60520 : gst_tensor_meta_info_parse_memory (GstTensorMetaInfo * meta, GstMemory * mem) 1510 : { 1511 : GstMapInfo map; 1512 : gsize hsize, msize; 1513 : gboolean ret; 1514 : - 1515 121439 : g_return_val_if_fail (mem != NULL, FALSE); - 1516 60719 : g_return_val_if_fail (meta != NULL, FALSE); + 1515 121039 : g_return_val_if_fail (mem != NULL, FALSE); + 1516 60519 : g_return_val_if_fail (meta != NULL, FALSE); 1517 : - 1518 60718 : gst_tensor_meta_info_init (meta); + 1518 60518 : gst_tensor_meta_info_init (meta); 1519 : 1520 : /* Check header size of tensor-meta. */ - 1521 60718 : hsize = gst_tensor_meta_info_get_header_size (meta); - 1522 60718 : msize = gst_memory_get_sizes (mem, NULL, NULL); - 1523 60718 : if (msize < hsize) - 1524 7566 : return FALSE; + 1521 60518 : hsize = gst_tensor_meta_info_get_header_size (meta); + 1522 60518 : msize = gst_memory_get_sizes (mem, NULL, NULL); + 1523 60518 : if (msize < hsize) + 1524 7561 : return FALSE; 1525 : - 1526 53152 : if (!gst_memory_map (mem, &map, GST_MAP_READ)) { + 1526 52957 : if (!gst_memory_map (mem, &map, GST_MAP_READ)) { 1527 0 : nns_loge ("Failed to get the meta, cannot map the memory."); 1528 0 : return FALSE; 1529 : } 1530 : - 1531 53152 : ret = gst_tensor_meta_info_parse_header (meta, map.data); + 1531 52957 : ret = gst_tensor_meta_info_parse_header (meta, map.data); 1532 : - 1533 53152 : gst_memory_unmap (mem, &map); - 1534 53152 : return ret; + 1533 52957 : gst_memory_unmap (mem, &map); + 1534 52957 : return ret; 1535 : } 1536 : 1537 : /** @@ -1645,29 +1645,29 @@ 1583 : * @return GstMemory if found, otherwise NULL (Caller should free returned memory using gst_memory_unref()). 1584 : */ 1585 : GstMemory * - 1586 62918 : gst_tensor_buffer_get_nth_memory (GstBuffer * buffer, const guint index) + 1586 62725 : gst_tensor_buffer_get_nth_memory (GstBuffer * buffer, const guint index) 1587 : { 1588 : guint i, num_tensors; 1589 : gsize offset; - 1590 62918 : GstMemory *extra_tensors_memory, *res_mem = NULL; + 1590 62725 : GstMemory *extra_tensors_memory, *res_mem = NULL; 1591 : GstMapInfo extra_tensors_map; 1592 : GstTensorExtraInfo *extra_info; 1593 : - 1594 62918 : if (!GST_IS_BUFFER (buffer)) { + 1594 62725 : if (!GST_IS_BUFFER (buffer)) { 1595 0 : nns_loge ("Failed to parse GstBuffer (invalid input buffer)."); - 1596 62918 : return NULL; + 1596 62725 : return NULL; 1597 : } 1598 : - 1599 62918 : num_tensors = gst_tensor_buffer_get_count (buffer); - 1600 62918 : if (index >= num_tensors) { + 1599 62725 : num_tensors = gst_tensor_buffer_get_count (buffer); + 1600 62725 : if (index >= num_tensors) { 1601 0 : nns_loge ("Invalid index %u, the number of tensors in the buffer is %u.", 1602 : index, num_tensors); 1603 0 : return NULL; 1604 : } 1605 : 1606 : /* If num_tensors is less than or equal to NNS_TENSOR_MEMORY_MAX, it's trivial. */ - 1607 62918 : if (num_tensors <= NNS_TENSOR_MEMORY_MAX || index < NNS_TENSOR_MEMORY_MAX - 1) { - 1608 62297 : return gst_buffer_get_memory (buffer, index); + 1607 62725 : if (num_tensors <= NNS_TENSOR_MEMORY_MAX || index < NNS_TENSOR_MEMORY_MAX - 1) { + 1608 62104 : return gst_buffer_get_memory (buffer, index); 1609 : } 1610 : 1611 : /* If num_tensors is greater than NNS_TENSOR_MEMORY_MAX, we need to parse extra info. */ @@ -1725,47 +1725,47 @@ 1663 : * @return TRUE if successfully appended, otherwise FALSE. 1664 : */ 1665 : gboolean - 1666 60695 : gst_tensor_buffer_append_memory (GstBuffer * buffer, GstMemory * memory, + 1666 60495 : gst_tensor_buffer_append_memory (GstBuffer * buffer, GstMemory * memory, 1667 : const GstTensorInfo * info) 1668 : { 1669 : guint num_mems, new_mem_index; - 1670 60695 : GstMemory *new_memory = NULL, *last_memory = NULL; + 1670 60495 : GstMemory *new_memory = NULL, *last_memory = NULL; 1671 : gsize offset, new_mem_size, last_mem_size; 1672 : GstMapInfo new_memory_map, last_memory_map, incoming_memory_map; 1673 : GstTensorExtraInfo *extra_info; 1674 : GstTensorMetaInfo meta; 1675 : gboolean is_extra, is_static; - 1676 60695 : gboolean appended = FALSE; + 1676 60495 : gboolean appended = FALSE; 1677 : - 1678 60695 : if (!GST_IS_BUFFER (buffer)) { + 1678 60495 : if (!GST_IS_BUFFER (buffer)) { 1679 0 : nns_loge ("Failed to append memory, given buffer is invalid."); 1680 0 : goto failed; 1681 : } 1682 : - 1683 60695 : if (!memory) { + 1683 60495 : if (!memory) { 1684 0 : nns_loge ("Failed to append memory, given memory is NULL."); 1685 0 : goto failed; 1686 : } 1687 : - 1688 60695 : if (gst_tensor_meta_info_parse_memory (&meta, memory)) { - 1689 557 : is_static = (meta.format == _NNS_TENSOR_FORMAT_STATIC); + 1688 60495 : if (gst_tensor_meta_info_parse_memory (&meta, memory)) { + 1689 555 : is_static = (meta.format == _NNS_TENSOR_FORMAT_STATIC); 1690 : } else { 1691 : /* Suppose given memory is static tensor. */ - 1692 60138 : is_static = TRUE; + 1692 59940 : is_static = TRUE; 1693 : 1694 : /* Error case if given tensor-info is invalid. */ - 1695 60138 : if (!gst_tensor_info_validate (info)) { + 1695 59940 : if (!gst_tensor_info_validate (info)) { 1696 0 : nns_loge ("Failed to get tensor info (invalid input info)."); 1697 0 : goto failed; 1698 : } 1699 : } 1700 : - 1701 60695 : num_mems = gst_buffer_n_memory (buffer); + 1701 60495 : num_mems = gst_buffer_n_memory (buffer); 1702 : 1703 : /* trivial call to gst_buffer_append_memory */ - 1704 60695 : if (num_mems < NNS_TENSOR_MEMORY_MAX) { - 1705 60107 : gst_buffer_append_memory (buffer, memory); - 1706 60695 : return TRUE; + 1704 60495 : if (num_mems < NNS_TENSOR_MEMORY_MAX) { + 1705 59907 : gst_buffer_append_memory (buffer, memory); + 1706 60495 : return TRUE; 1707 : } 1708 : 1709 : /* given buffer has NNS_TENSOR_MEMORY_MAX memory blocks */ @@ -1872,18 +1872,18 @@ 1810 : * @brief Get the number of tensors in the buffer. 1811 : */ 1812 : guint - 1813 123131 : gst_tensor_buffer_get_count (GstBuffer * buffer) + 1813 122742 : gst_tensor_buffer_get_count (GstBuffer * buffer) 1814 : { 1815 : guint num_mems; 1816 : GstMemory *mem; 1817 : GstMapInfo map; 1818 : GstTensorExtraInfo *extra_info; 1819 : - 1820 246262 : g_return_val_if_fail (buffer != NULL, 0); + 1820 245484 : g_return_val_if_fail (buffer != NULL, 0); 1821 : - 1822 123131 : num_mems = gst_buffer_n_memory (buffer); - 1823 123131 : if (num_mems < NNS_TENSOR_MEMORY_MAX) { - 1824 121430 : return num_mems; + 1822 122742 : num_mems = gst_buffer_n_memory (buffer); + 1823 122742 : if (num_mems < NNS_TENSOR_MEMORY_MAX) { + 1824 121041 : return num_mems; 1825 : } 1826 : 1827 : /* num_mems == NNS_TENSOR_MEMORY_MAX */ diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_util_impl.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_util_impl.c.func-c.html index d244ede5c..55eb61634 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_util_impl.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_util_impl.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_util_impl.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_util_impl.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 95.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 98.2 % @@ -170,7 +170,7 @@ gst_tensors_info_get_size - 489 + 486 @@ -240,224 +240,224 @@ gst_tensor_get_dimension_string - 3897 + 3898 gst_tensors_info_copy - 4526 + 4549 gst_tensor_dimension_get_min_rank - 5651 + 5652 gst_tensor_get_rank_dimension_string - 7886 + 7887 gst_tensors_info_parse_types_string - 8137 + 8142 gst_tensors_info_parse_dimensions_string - 8162 + 8167 gst_tensor_get_format - 12336 + 12378 - find_key_strv + gst_tensor_get_type_string - 12638 + 12669 - gst_tensor_get_type_string + find_key_strv - 12668 + 12680 gst_tensor_info_copy - 23542 + 23547 gst_tensor_info_copy_n - 23542 + 23547 gst_tensor_meta_info_parse_header - 53673 + 53479 gst_tensor_meta_info_validate - 54582 + 54388 gst_tensor_meta_info_get_header_size - 61735 + 61535 gst_tensors_config_validate - 67269 + 67186 gst_tensors_info_validate - 75420 + 75340 gst_tensor_info_get_size - 104254 + 103945 gst_tensor_get_element_count - 127497 + 127088 gst_tensor_info_validate - 140264 + 139979 gst_tensor_meta_info_init - 141685 + 141291 gst_tensor_dimension_is_valid - 148920 + 148638 gst_tensor_get_type - 158197 + 157732 gst_tensor_parse_dimension - 158766 + 158301 gst_tensor_dimension_get_rank - 160395 + 160115 gst_tensors_config_free - 165528 + 165092 gst_tensors_info_free - 175570 + 175174 gst_tensors_config_init - 219347 + 218899 gst_tensors_info_get_nth_info - 382916 + 382375 gst_tensors_info_init - 414915 + 414145 gst_tensor_info_free - 2857742 + 2851406 gst_tensor_info_init - 9552808 + 9534152 gst_tensor_get_element_size - 10313005 + 10312611 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_util_impl.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_util_impl.c.func.html index 023c59030..5402ca338 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_util_impl.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_util_impl.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_util_impl.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_util_impl.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 95.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 98.2 % @@ -79,21 +79,21 @@ find_key_strv - 12638 + 12680 gst_tensor_dimension_get_min_rank - 5651 + 5652 gst_tensor_dimension_get_rank - 160395 + 160115 @@ -107,7 +107,7 @@ gst_tensor_dimension_is_valid - 148920 + 148638 @@ -121,28 +121,28 @@ gst_tensor_get_dimension_string - 3897 + 3898 gst_tensor_get_element_count - 127497 + 127088 gst_tensor_get_element_size - 10313005 + 10312611 gst_tensor_get_format - 12336 + 12378 @@ -156,21 +156,21 @@ gst_tensor_get_rank_dimension_string - 7886 + 7887 gst_tensor_get_type - 158197 + 157732 gst_tensor_get_type_string - 12668 + 12669 @@ -184,21 +184,21 @@ gst_tensor_info_copy - 23542 + 23547 gst_tensor_info_copy_n - 23542 + 23547 gst_tensor_info_free - 2857742 + 2851406 @@ -212,14 +212,14 @@ gst_tensor_info_get_size - 104254 + 103945 gst_tensor_info_init - 9552808 + 9534152 @@ -233,7 +233,7 @@ gst_tensor_info_validate - 140264 + 139979 @@ -254,7 +254,7 @@ gst_tensor_meta_info_get_header_size - 61735 + 61535 @@ -268,14 +268,14 @@ gst_tensor_meta_info_init - 141685 + 141291 gst_tensor_meta_info_parse_header - 53673 + 53479 @@ -289,14 +289,14 @@ gst_tensor_meta_info_validate - 54582 + 54388 gst_tensor_parse_dimension - 158766 + 158301 @@ -310,14 +310,14 @@ gst_tensors_config_free - 165528 + 165092 gst_tensors_config_init - 219347 + 218899 @@ -338,21 +338,21 @@ gst_tensors_config_validate - 67269 + 67186 gst_tensors_info_copy - 4526 + 4549 gst_tensors_info_free - 175570 + 175174 @@ -373,7 +373,7 @@ gst_tensors_info_get_nth_info - 382916 + 382375 @@ -387,7 +387,7 @@ gst_tensors_info_get_size - 489 + 486 @@ -401,7 +401,7 @@ gst_tensors_info_init - 414915 + 414145 @@ -415,7 +415,7 @@ gst_tensors_info_parse_dimensions_string - 8162 + 8167 @@ -429,7 +429,7 @@ gst_tensors_info_parse_types_string - 8137 + 8142 @@ -443,7 +443,7 @@ gst_tensors_info_validate - 75420 + 75340 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_util_impl.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_util_impl.c.gcov.html index 0e0a08836..a3392b7a5 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_util_impl.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_util_impl.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_util_impl.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_plugin_api_util_impl.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 95.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 98.2 % @@ -180,17 +180,17 @@ 118 : * @param info tensor info structure to be initialized 119 : */ 120 : void - 121 9552808 : gst_tensor_info_init (GstTensorInfo * info) + 121 9534152 : gst_tensor_info_init (GstTensorInfo * info) 122 : { 123 : guint i; 124 : - 125 9552808 : g_return_if_fail (info != NULL); + 125 9534152 : g_return_if_fail (info != NULL); 126 : - 127 9552808 : info->name = NULL; - 128 9552808 : info->type = _NNS_END; + 127 9534152 : info->name = NULL; + 128 9534152 : info->type = _NNS_END; 129 : - 130 162397736 : for (i = 0; i < NNS_TENSOR_RANK_LIMIT; i++) { - 131 152844928 : info->dimension[i] = 0; + 130 162080584 : for (i = 0; i < NNS_TENSOR_RANK_LIMIT; i++) { + 131 152546432 : info->dimension[i] = 0; 132 : } 133 : } 134 : @@ -199,14 +199,14 @@ 137 : * @param info tensor info structure 138 : */ 139 : void - 140 2857742 : gst_tensor_info_free (GstTensorInfo * info) + 140 2851406 : gst_tensor_info_free (GstTensorInfo * info) 141 : { - 142 2857742 : g_return_if_fail (info != NULL); + 142 2851406 : g_return_if_fail (info != NULL); 143 : - 144 2857742 : g_free (info->name); + 144 2851406 : g_free (info->name); 145 : 146 : /* Init default */ - 147 2857742 : gst_tensor_info_init (info); + 147 2851406 : gst_tensor_info_init (info); 148 : } 149 : 150 : /** @@ -215,16 +215,16 @@ 153 : * @return data size 154 : */ 155 : gsize - 156 104254 : gst_tensor_info_get_size (const GstTensorInfo * info) + 156 103945 : gst_tensor_info_get_size (const GstTensorInfo * info) 157 : { 158 : gsize data_size; 159 : - 160 104254 : g_return_val_if_fail (info != NULL, 0); + 160 103945 : g_return_val_if_fail (info != NULL, 0); 161 : - 162 104253 : data_size = gst_tensor_get_element_count (info->dimension) * - 163 104253 : gst_tensor_get_element_size (info->type); + 162 103944 : data_size = gst_tensor_get_element_count (info->dimension) * + 163 103944 : gst_tensor_get_element_size (info->type); 164 : - 165 104253 : return data_size; + 165 103944 : return data_size; 166 : } 167 : 168 : /** @@ -233,11 +233,11 @@ 171 : * @return TRUE if info is valid 172 : */ 173 : gboolean - 174 140264 : gst_tensor_info_validate (const GstTensorInfo * info) + 174 139979 : gst_tensor_info_validate (const GstTensorInfo * info) 175 : { - 176 140264 : g_return_val_if_fail (info != NULL, FALSE); + 176 139979 : g_return_val_if_fail (info != NULL, FALSE); 177 : - 178 140261 : if (info->type == _NNS_END) { + 178 139976 : if (info->type == _NNS_END) { 179 2055 : nns_logd 180 : ("Failed to validate tensor info. type: %s. Please specify tensor type. e.g., type=uint8 ", 181 : _STR_NULL (gst_tensor_get_type_string (info->type))); @@ -248,7 +248,7 @@ 186 : } 187 : 188 : /* validate tensor dimension */ - 189 138206 : return gst_tensor_dimension_is_valid (info->dimension); + 189 137921 : return gst_tensor_dimension_is_valid (info->dimension); 190 : } 191 : 192 : /** @@ -286,19 +286,19 @@ 224 : * @note Copied info should be freed with gst_tensor_info_free() 225 : */ 226 : void - 227 23542 : gst_tensor_info_copy_n (GstTensorInfo * dest, const GstTensorInfo * src, + 227 23547 : gst_tensor_info_copy_n (GstTensorInfo * dest, const GstTensorInfo * src, 228 : const guint n) 229 : { 230 : guint i; 231 : - 232 23542 : g_return_if_fail (dest != NULL); - 233 23542 : g_return_if_fail (src != NULL); + 232 23547 : g_return_if_fail (dest != NULL); + 233 23547 : g_return_if_fail (src != NULL); 234 : - 235 23542 : dest->name = g_strdup (src->name); - 236 23542 : dest->type = src->type; + 235 23547 : dest->name = g_strdup (src->name); + 236 23547 : dest->type = src->type; 237 : - 238 400214 : for (i = 0; i < n; i++) { - 239 376672 : dest->dimension[i] = src->dimension[i]; + 238 400299 : for (i = 0; i < n; i++) { + 239 376752 : dest->dimension[i] = src->dimension[i]; 240 : } 241 : } 242 : @@ -307,10 +307,10 @@ 245 : * @note Copied info should be freed with gst_tensor_info_free() 246 : */ 247 : void - 248 23542 : gst_tensor_info_copy (GstTensorInfo * dest, const GstTensorInfo * src) + 248 23547 : gst_tensor_info_copy (GstTensorInfo * dest, const GstTensorInfo * src) 249 : { - 250 23542 : gst_tensor_info_copy_n (dest, src, NNS_TENSOR_RANK_LIMIT); - 251 23542 : } + 250 23547 : gst_tensor_info_copy_n (dest, src, NNS_TENSOR_RANK_LIMIT); + 251 23547 : } 252 : 253 : /** 254 : * @brief Convert GstTensorInfo structure to GstTensorMetaInfo. @@ -355,14 +355,14 @@ 293 : * @brief Get the pointer of nth tensor information. 294 : */ 295 : GstTensorInfo * - 296 382916 : gst_tensors_info_get_nth_info (GstTensorsInfo * info, guint index) + 296 382375 : gst_tensors_info_get_nth_info (GstTensorsInfo * info, guint index) 297 : { 298 : guint i; 299 : - 300 382916 : g_return_val_if_fail (info != NULL, NULL); + 300 382375 : g_return_val_if_fail (info != NULL, NULL); 301 : - 302 382916 : if (index < NNS_TENSOR_MEMORY_MAX) - 303 326332 : return &info->info[index]; + 302 382375 : if (index < NNS_TENSOR_MEMORY_MAX) + 303 325791 : return &info->info[index]; 304 : 305 56584 : if (!info->extra) { 306 205 : info->extra = g_new0 (GstTensorInfo, NNS_TENSOR_SIZE_EXTRA_LIMIT); @@ -384,20 +384,20 @@ 322 : * @param info tensors info structure to be initialized 323 : */ 324 : void - 325 414915 : gst_tensors_info_init (GstTensorsInfo * info) + 325 414145 : gst_tensors_info_init (GstTensorsInfo * info) 326 : { 327 : guint i; 328 : - 329 414915 : g_return_if_fail (info != NULL); + 329 414145 : g_return_if_fail (info != NULL); 330 : - 331 414915 : info->num_tensors = 0; - 332 414915 : info->extra = NULL; + 331 414145 : info->num_tensors = 0; + 332 414145 : info->extra = NULL; 333 : 334 : /** @note default format is static */ - 335 414915 : info->format = _NNS_TENSOR_FORMAT_STATIC; + 335 414145 : info->format = _NNS_TENSOR_FORMAT_STATIC; 336 : - 337 7053555 : for (i = 0; i < NNS_TENSOR_MEMORY_MAX; i++) { - 338 6638640 : gst_tensor_info_init (&info->info[i]); + 337 7040465 : for (i = 0; i < NNS_TENSOR_MEMORY_MAX; i++) { + 338 6626320 : gst_tensor_info_init (&info->info[i]); 339 : } 340 : } 341 : @@ -406,17 +406,17 @@ 344 : * @param info tensors info structure 345 : */ 346 : void - 347 175570 : gst_tensors_info_free (GstTensorsInfo * info) + 347 175174 : gst_tensors_info_free (GstTensorsInfo * info) 348 : { 349 : guint i; 350 : - 351 175570 : g_return_if_fail (info != NULL); + 351 175174 : g_return_if_fail (info != NULL); 352 : - 353 2984690 : for (i = 0; i < NNS_TENSOR_MEMORY_MAX; i++) { - 354 2809120 : gst_tensor_info_free (&info->info[i]); + 353 2977958 : for (i = 0; i < NNS_TENSOR_MEMORY_MAX; i++) { + 354 2802784 : gst_tensor_info_free (&info->info[i]); 355 : } 356 : - 357 175570 : if (info->extra) { + 357 175174 : if (info->extra) { 358 48682 : for (i = 0; i < NNS_TENSOR_SIZE_EXTRA_LIMIT; ++i) 359 48480 : gst_tensor_info_free (&info->extra[i]); 360 : @@ -425,7 +425,7 @@ 363 : } 364 : 365 : /* Init default */ - 366 175570 : gst_tensors_info_init (info); + 366 175174 : gst_tensors_info_init (info); 367 : } 368 : 369 : /** @@ -435,26 +435,26 @@ 373 : * @return data size 374 : */ 375 : gsize - 376 489 : gst_tensors_info_get_size (const GstTensorsInfo * info, gint index) + 376 486 : gst_tensors_info_get_size (const GstTensorsInfo * info, gint index) 377 : { 378 : GstTensorInfo *_info; - 379 489 : gsize data_size = 0; + 379 486 : gsize data_size = 0; 380 : guint i; 381 : - 382 489 : g_return_val_if_fail (info != NULL, 0); - 383 488 : g_return_val_if_fail (index < (gint) info->num_tensors, 0); + 382 486 : g_return_val_if_fail (info != NULL, 0); + 383 485 : g_return_val_if_fail (index < (gint) info->num_tensors, 0); 384 : - 385 487 : if (index < 0) { + 385 484 : if (index < 0) { 386 245 : for (i = 0; i < info->num_tensors; ++i) { 387 137 : _info = gst_tensors_info_get_nth_info ((GstTensorsInfo *) info, i); 388 137 : data_size += gst_tensor_info_get_size (_info); 389 : } 390 : } else { - 391 379 : _info = gst_tensors_info_get_nth_info ((GstTensorsInfo *) info, index); - 392 379 : data_size = gst_tensor_info_get_size (_info); + 391 376 : _info = gst_tensors_info_get_nth_info ((GstTensorsInfo *) info, index); + 392 376 : data_size = gst_tensor_info_get_size (_info); 393 : } 394 : - 395 487 : return data_size; + 395 484 : return data_size; 396 : } 397 : 398 : /** @@ -463,15 +463,15 @@ 401 : * @return TRUE if info is valid 402 : */ 403 : gboolean - 404 75420 : gst_tensors_info_validate (const GstTensorsInfo * info) + 404 75340 : gst_tensors_info_validate (const GstTensorsInfo * info) 405 : { 406 : guint i; 407 : GstTensorInfo *_info; 408 : - 409 75420 : g_return_val_if_fail (info != NULL, FALSE); + 409 75340 : g_return_val_if_fail (info != NULL, FALSE); 410 : 411 : /* tensor stream format */ - 412 75419 : if (info->format >= _NNS_TENSOR_FORMAT_END) { + 412 75339 : if (info->format >= _NNS_TENSOR_FORMAT_END) { 413 0 : nns_logd 414 : ("Failed to validate tensors info, format: %s. format should be one of %s.", 415 : _STR_NULL (gst_tensor_get_format_string (info->format)), @@ -484,28 +484,28 @@ 422 : } 423 : 424 : /* cannot check tensor info when tensor is not static */ - 425 75419 : if (info->format != _NNS_TENSOR_FORMAT_STATIC) { + 425 75339 : if (info->format != _NNS_TENSOR_FORMAT_STATIC) { 426 280 : return TRUE; 427 : } 428 : - 429 75139 : if (info->num_tensors < 1) { - 430 3153 : nns_logd + 429 75059 : if (info->num_tensors < 1) { + 430 3160 : nns_logd 431 : ("Failed to validate tensors info. the number of tensors: %d. the number of tensors should be greater than 0.", 432 : info->num_tensors); - 433 3153 : _nnstreamer_error_write + 433 3160 : _nnstreamer_error_write 434 : ("Failed to validate tensors info. the number of tensors: %d. the number of tensors should be greater than 0.", - 435 3153 : info->num_tensors); - 436 3153 : return FALSE; + 435 3160 : info->num_tensors); + 436 3160 : return FALSE; 437 : } 438 : - 439 146018 : for (i = 0; i < info->num_tensors; i++) { - 440 76722 : _info = gst_tensors_info_get_nth_info ((GstTensorsInfo *) info, i); + 439 145844 : for (i = 0; i < info->num_tensors; i++) { + 440 76635 : _info = gst_tensors_info_get_nth_info ((GstTensorsInfo *) info, i); 441 : - 442 76722 : if (!gst_tensor_info_validate (_info)) + 442 76635 : if (!gst_tensor_info_validate (_info)) 443 2690 : return FALSE; 444 : } 445 : - 446 69296 : return TRUE; + 446 69209 : return TRUE; 447 : } 448 : 449 : /** @@ -561,22 +561,22 @@ 499 : * @note Copied info should be freed with gst_tensors_info_free() 500 : */ 501 : void - 502 4526 : gst_tensors_info_copy (GstTensorsInfo * dest, const GstTensorsInfo * src) + 502 4549 : gst_tensors_info_copy (GstTensorsInfo * dest, const GstTensorsInfo * src) 503 : { 504 : guint i, num; 505 : GstTensorInfo *_dest, *_src; 506 : - 507 4526 : g_return_if_fail (dest != NULL); - 508 4526 : g_return_if_fail (src != NULL); + 507 4549 : g_return_if_fail (dest != NULL); + 508 4549 : g_return_if_fail (src != NULL); 509 : - 510 4526 : gst_tensors_info_init (dest); - 511 4526 : num = dest->num_tensors = src->num_tensors; - 512 4526 : dest->format = src->format; + 510 4549 : gst_tensors_info_init (dest); + 511 4549 : num = dest->num_tensors = src->num_tensors; + 512 4549 : dest->format = src->format; 513 : - 514 4526 : if (src->format != _NNS_TENSOR_FORMAT_STATIC) - 515 186 : return; + 514 4549 : if (src->format != _NNS_TENSOR_FORMAT_STATIC) + 515 201 : return; 516 : - 517 10103 : for (i = 0; i < num; i++) { + 517 10111 : for (i = 0; i < num; i++) { 518 5763 : _dest = gst_tensors_info_get_nth_info (dest, i); 519 5763 : _src = gst_tensors_info_get_nth_info ((GstTensorsInfo *) src, i); 520 : @@ -591,37 +591,37 @@ 529 : * @return number of parsed dimensions 530 : */ 531 : guint - 532 8162 : gst_tensors_info_parse_dimensions_string (GstTensorsInfo * info, + 532 8167 : gst_tensors_info_parse_dimensions_string (GstTensorsInfo * info, 533 : const gchar * dim_string) 534 : { - 535 8162 : guint num_dims = 0; + 535 8167 : guint num_dims = 0; 536 : GstTensorInfo *_info; 537 : - 538 8162 : g_return_val_if_fail (info != NULL, 0); + 538 8167 : g_return_val_if_fail (info != NULL, 0); 539 : - 540 8161 : if (dim_string) { + 540 8166 : if (dim_string) { 541 : guint i; 542 : gchar **str_dims; 543 : - 544 8160 : str_dims = g_strsplit_set (dim_string, ",.", -1); - 545 8160 : num_dims = g_strv_length (str_dims); + 544 8165 : str_dims = g_strsplit_set (dim_string, ",.", -1); + 545 8165 : num_dims = g_strv_length (str_dims); 546 : - 547 8160 : if (num_dims > NNS_TENSOR_SIZE_LIMIT) { + 547 8165 : if (num_dims > NNS_TENSOR_SIZE_LIMIT) { 548 1 : nns_logw ("Invalid param, dimensions (%d) max (%d)\n", 549 : num_dims, NNS_TENSOR_SIZE_LIMIT); 550 : 551 1 : num_dims = NNS_TENSOR_SIZE_LIMIT; 552 : } 553 : - 554 25472 : for (i = 0; i < num_dims; i++) { - 555 17312 : _info = gst_tensors_info_get_nth_info (info, i); - 556 17312 : gst_tensor_parse_dimension (str_dims[i], _info->dimension); + 554 25487 : for (i = 0; i < num_dims; i++) { + 555 17322 : _info = gst_tensors_info_get_nth_info (info, i); + 556 17322 : gst_tensor_parse_dimension (str_dims[i], _info->dimension); 557 : } 558 : - 559 8160 : g_strfreev (str_dims); + 559 8165 : g_strfreev (str_dims); 560 : } 561 : - 562 8161 : return num_dims; + 562 8166 : return num_dims; 563 : } 564 : 565 : /** @@ -631,37 +631,37 @@ 569 : * @return number of parsed types 570 : */ 571 : guint - 572 8137 : gst_tensors_info_parse_types_string (GstTensorsInfo * info, + 572 8142 : gst_tensors_info_parse_types_string (GstTensorsInfo * info, 573 : const gchar * type_string) 574 : { - 575 8137 : guint num_types = 0; + 575 8142 : guint num_types = 0; 576 : GstTensorInfo *_info; 577 : - 578 8137 : g_return_val_if_fail (info != NULL, 0); + 578 8142 : g_return_val_if_fail (info != NULL, 0); 579 : - 580 8136 : if (type_string) { + 580 8141 : if (type_string) { 581 : guint i; 582 : gchar **str_types; 583 : - 584 8135 : str_types = g_strsplit_set (type_string, ",.", -1); - 585 8135 : num_types = g_strv_length (str_types); + 584 8140 : str_types = g_strsplit_set (type_string, ",.", -1); + 585 8140 : num_types = g_strv_length (str_types); 586 : - 587 8135 : if (num_types > NNS_TENSOR_SIZE_LIMIT) { + 587 8140 : if (num_types > NNS_TENSOR_SIZE_LIMIT) { 588 1 : nns_logw ("Invalid param, types (%d) max (%d)\n", 589 : num_types, NNS_TENSOR_SIZE_LIMIT); 590 : 591 1 : num_types = NNS_TENSOR_SIZE_LIMIT; 592 : } 593 : - 594 25435 : for (i = 0; i < num_types; i++) { - 595 17300 : _info = gst_tensors_info_get_nth_info (info, i); - 596 17300 : _info->type = gst_tensor_get_type (str_types[i]); + 594 25450 : for (i = 0; i < num_types; i++) { + 595 17310 : _info = gst_tensors_info_get_nth_info (info, i); + 596 17310 : _info->type = gst_tensor_get_type (str_types[i]); 597 : } 598 : - 599 8135 : g_strfreev (str_types); + 599 8140 : g_strfreev (str_types); 600 : } 601 : - 602 8136 : return num_types; + 602 8141 : return num_types; 603 : } 604 : 605 : /** @@ -889,14 +889,14 @@ 827 : * @param config tensors config structure to be initialized 828 : */ 829 : void - 830 219347 : gst_tensors_config_init (GstTensorsConfig * config) + 830 218899 : gst_tensors_config_init (GstTensorsConfig * config) 831 : { - 832 219347 : g_return_if_fail (config != NULL); + 832 218899 : g_return_if_fail (config != NULL); 833 : - 834 219347 : gst_tensors_info_init (&config->info); + 834 218899 : gst_tensors_info_init (&config->info); 835 : - 836 219347 : config->rate_n = -1; - 837 219347 : config->rate_d = -1; + 836 218899 : config->rate_n = -1; + 837 218899 : config->rate_d = -1; 838 : } 839 : 840 : /** @@ -904,11 +904,11 @@ 842 : * @param config tensors config structure 843 : */ 844 : void - 845 165528 : gst_tensors_config_free (GstTensorsConfig * config) + 845 165092 : gst_tensors_config_free (GstTensorsConfig * config) 846 : { - 847 165528 : g_return_if_fail (config != NULL); + 847 165092 : g_return_if_fail (config != NULL); 848 : - 849 165528 : gst_tensors_info_free (&config->info); + 849 165092 : gst_tensors_info_free (&config->info); 850 : } 851 : 852 : /** @@ -917,22 +917,22 @@ 855 : * @return TRUE if configured 856 : */ 857 : gboolean - 858 67269 : gst_tensors_config_validate (const GstTensorsConfig * config) + 858 67186 : gst_tensors_config_validate (const GstTensorsConfig * config) 859 : { - 860 67269 : g_return_val_if_fail (config != NULL, FALSE); + 860 67186 : g_return_val_if_fail (config != NULL, FALSE); 861 : 862 : /* framerate (numerator >= 0 and denominator > 0) */ - 863 67265 : if (config->rate_n < 0 || config->rate_d <= 0) { - 864 6329 : nns_logd + 863 67182 : if (config->rate_n < 0 || config->rate_d <= 0) { + 864 6334 : nns_logd 865 : ("Failed to validate tensors config. framerate: %d/%d. framerate should be numerator >= 0 and denominator > 0.", 866 : config->rate_n, config->rate_d); - 867 6329 : _nnstreamer_error_write + 867 6334 : _nnstreamer_error_write 868 : ("Failed to validate tensors config. framerate: %d/%d. framerate should be numerator >= 0 and denominator > 0.", - 869 6329 : config->rate_n, config->rate_d); - 870 6329 : return FALSE; + 869 6334 : config->rate_n, config->rate_d); + 870 6334 : return FALSE; 871 : } 872 : - 873 60936 : return gst_tensors_info_validate (&config->info); + 873 60848 : return gst_tensors_info_validate (&config->info); 874 : } 875 : 876 : /** @@ -999,31 +999,31 @@ 937 : * @return TRUE if dimension is valid 938 : */ 939 : gboolean - 940 148920 : gst_tensor_dimension_is_valid (const tensor_dim dim) + 940 148638 : gst_tensor_dimension_is_valid (const tensor_dim dim) 941 : { 942 : guint i; - 943 148920 : gboolean is_valid = FALSE; + 943 148638 : gboolean is_valid = FALSE; 944 : - 945 148920 : i = gst_tensor_dimension_get_rank (dim); - 946 148920 : if (i == 0) - 947 2836 : goto done; + 945 148638 : i = gst_tensor_dimension_get_rank (dim); + 946 148638 : if (i == 0) + 947 2839 : goto done; 948 : - 949 1888134 : for (; i < NNS_TENSOR_RANK_LIMIT; i++) { - 950 1742056 : if (dim[i] > 0) + 949 1884430 : for (; i < NNS_TENSOR_RANK_LIMIT; i++) { + 950 1738637 : if (dim[i] > 0) 951 6 : goto done; 952 : } 953 : - 954 146078 : is_valid = TRUE; + 954 145793 : is_valid = TRUE; 955 : - 956 148920 : done: - 957 148920 : if (!is_valid) { - 958 2842 : nns_logd + 956 148638 : done: + 957 148638 : if (!is_valid) { + 958 2845 : nns_logd 959 : ("Failed to validate tensor dimension. The dimension string should be in the form of d1:...:d8, d1:d2:d3:d4, d1:d2:d3, d1:d2, or d1. Here, dN is a positive integer."); - 960 2842 : _nnstreamer_error_write + 960 2845 : _nnstreamer_error_write 961 : ("Failed to validate tensor dimension. The dimension string should be in the form of d1:...:d8, d1:d2:d3:d4, d1:d2:d3, d1:d2, or d1. Here, dN is a positive integer."); 962 : } 963 : - 964 148920 : return is_valid; + 964 148638 : return is_valid; 965 : } 966 : 967 : /** @@ -1057,16 +1057,16 @@ 995 : * @return tensor rank (Minimum rank is 1 if given dimension is valid) 996 : */ 997 : guint - 998 160395 : gst_tensor_dimension_get_rank (const tensor_dim dim) + 998 160115 : gst_tensor_dimension_get_rank (const tensor_dim dim) 999 : { 1000 : guint i; 1001 : - 1002 797949 : for (i = 0; i < NNS_TENSOR_RANK_LIMIT; i++) { - 1003 794836 : if (dim[i] == 0) - 1004 157282 : break; + 1002 796536 : for (i = 0; i < NNS_TENSOR_RANK_LIMIT; i++) { + 1003 793423 : if (dim[i] == 0) + 1004 157002 : break; 1005 : } 1006 : - 1007 160395 : return i; + 1007 160115 : return i; 1008 : } 1009 : 1010 : /** @@ -1076,20 +1076,20 @@ 1014 : * @return tensor rank (Minimum rank is 1 if given dimension is valid) 1015 : */ 1016 : guint - 1017 5651 : gst_tensor_dimension_get_min_rank (const tensor_dim dim) + 1017 5652 : gst_tensor_dimension_get_min_rank (const tensor_dim dim) 1018 : { 1019 : guint i, rank; 1020 : - 1021 5651 : rank = gst_tensor_dimension_get_rank (dim); - 1022 5651 : if (rank == 0) + 1021 5652 : rank = gst_tensor_dimension_get_rank (dim); + 1022 5652 : if (rank == 0) 1023 0 : return 0; 1024 : - 1025 13136 : for (i = rank - 1; i > 0; i--) { - 1026 11412 : if (dim[i] > 1) - 1027 3927 : break; + 1025 13138 : for (i = rank - 1; i > 0; i--) { + 1026 11414 : if (dim[i] > 1) + 1027 3928 : break; 1028 : } 1029 : - 1030 5651 : return (i + 1); + 1030 5652 : return (i + 1); 1031 : } 1032 : 1033 : /** @@ -1099,40 +1099,40 @@ 1037 : * @param dim dimension to be filled. 1038 : */ 1039 : guint - 1040 158766 : gst_tensor_parse_dimension (const gchar * dimstr, tensor_dim dim) + 1040 158301 : gst_tensor_parse_dimension (const gchar * dimstr, tensor_dim dim) 1041 : { - 1042 158766 : guint rank = 0; + 1042 158301 : guint rank = 0; 1043 : guint64 val; 1044 : gchar **strv; 1045 : gchar *dim_string; 1046 : guint i, num_dims; 1047 : 1048 : /* 0-init */ - 1049 2699022 : for (i = 0; i < NNS_TENSOR_RANK_LIMIT; i++) - 1050 2540256 : dim[i] = 0; + 1049 2691117 : for (i = 0; i < NNS_TENSOR_RANK_LIMIT; i++) + 1050 2532816 : dim[i] = 0; 1051 : - 1052 158766 : if (dimstr == NULL) + 1052 158301 : if (dimstr == NULL) 1053 0 : return 0; 1054 : 1055 : /* remove spaces */ - 1056 158766 : dim_string = g_strstrip (g_strdup (dimstr)); + 1056 158301 : dim_string = g_strstrip (g_strdup (dimstr)); 1057 : - 1058 158766 : strv = g_strsplit (dim_string, ":", NNS_TENSOR_RANK_LIMIT); - 1059 158766 : num_dims = g_strv_length (strv); + 1058 158301 : strv = g_strsplit (dim_string, ":", NNS_TENSOR_RANK_LIMIT); + 1059 158301 : num_dims = g_strv_length (strv); 1060 : - 1061 803089 : for (i = 0; i < num_dims; i++) { - 1062 644323 : g_strstrip (strv[i]); - 1063 644323 : if (strv[i] == NULL || strlen (strv[i]) == 0) + 1061 800719 : for (i = 0; i < num_dims; i++) { + 1062 642418 : g_strstrip (strv[i]); + 1063 642418 : if (strv[i] == NULL || strlen (strv[i]) == 0) 1064 : break; 1065 : - 1066 644323 : val = g_ascii_strtoull (strv[i], NULL, 10); - 1067 644323 : dim[i] = (uint32_t) val; - 1068 644323 : rank = i + 1; + 1066 642418 : val = g_ascii_strtoull (strv[i], NULL, 10); + 1067 642418 : dim[i] = (uint32_t) val; + 1068 642418 : rank = i + 1; 1069 : } 1070 : - 1071 158766 : g_strfreev (strv); - 1072 158766 : g_free (dim_string); - 1073 158766 : return rank; + 1071 158301 : g_strfreev (strv); + 1072 158301 : g_free (dim_string); + 1073 158301 : return rank; 1074 : } 1075 : 1076 : /** @@ -1142,19 +1142,19 @@ 1080 : * @note The returned value should be freed with g_free() 1081 : */ 1082 : gchar * - 1083 3897 : gst_tensor_get_dimension_string (const tensor_dim dim) + 1083 3898 : gst_tensor_get_dimension_string (const tensor_dim dim) 1084 : { 1085 : gchar *res = - 1086 3897 : gst_tensor_get_rank_dimension_string (dim, NNS_TENSOR_RANK_LIMIT); + 1086 3898 : gst_tensor_get_rank_dimension_string (dim, NNS_TENSOR_RANK_LIMIT); 1087 : - 1088 3897 : if (!res) + 1088 3898 : if (!res) 1089 0 : return NULL; - 1090 3897 : if (*res == '\0') { + 1090 3898 : if (*res == '\0') { 1091 57 : g_free (res); 1092 57 : return NULL; 1093 : } 1094 : - 1095 3840 : return res; + 1095 3841 : return res; 1096 : } 1097 : 1098 : /** @@ -1166,32 +1166,32 @@ 1104 : * The returned value should be freed with g_free(). 1105 : */ 1106 : gchar * - 1107 7886 : gst_tensor_get_rank_dimension_string (const tensor_dim dim, + 1107 7887 : gst_tensor_get_rank_dimension_string (const tensor_dim dim, 1108 : const unsigned int rank) 1109 : { 1110 : guint i; 1111 : GString *dim_str; 1112 : guint actual_rank; 1113 : - 1114 7886 : dim_str = g_string_new (NULL); + 1114 7887 : dim_str = g_string_new (NULL); 1115 : - 1116 7886 : if (rank == 0 || rank > NNS_TENSOR_RANK_LIMIT) + 1116 7887 : if (rank == 0 || rank > NNS_TENSOR_RANK_LIMIT) 1117 10 : actual_rank = NNS_TENSOR_RANK_LIMIT; 1118 : else - 1119 7876 : actual_rank = rank; + 1119 7877 : actual_rank = rank; 1120 : - 1121 35553 : for (i = 0; i < actual_rank; i++) { - 1122 35273 : if (dim[i] == 0) - 1123 7606 : break; + 1121 35558 : for (i = 0; i < actual_rank; i++) { + 1122 35278 : if (dim[i] == 0) + 1123 7607 : break; 1124 : - 1125 27667 : g_string_append_printf (dim_str, "%u", dim[i]); + 1125 27671 : g_string_append_printf (dim_str, "%u", dim[i]); 1126 : - 1127 27667 : if (i < actual_rank - 1 && dim[i + 1] > 0) { - 1128 39720 : g_string_append (dim_str, ":"); + 1127 27671 : if (i < actual_rank - 1 && dim[i + 1] > 0) { + 1128 39726 : g_string_append (dim_str, ":"); 1129 : } 1130 : } 1131 : - 1132 7886 : return g_string_free (dim_str, FALSE); + 1132 7887 : return g_string_free (dim_str, FALSE); 1133 : } 1134 : 1135 : /** @@ -1245,30 +1245,30 @@ 1183 : * @param dim The tensor dimension 1184 : */ 1185 : gulong - 1186 127497 : gst_tensor_get_element_count (const tensor_dim dim) + 1186 127088 : gst_tensor_get_element_count (const tensor_dim dim) 1187 : { - 1188 127497 : gulong count = 1; + 1188 127088 : gulong count = 1; 1189 : guint i; 1190 : - 1191 579261 : for (i = 0; i < NNS_TENSOR_RANK_LIMIT; i++) { - 1192 578384 : if (dim[i] == 0) - 1193 126620 : break; + 1191 577188 : for (i = 0; i < NNS_TENSOR_RANK_LIMIT; i++) { + 1192 576311 : if (dim[i] == 0) + 1193 126211 : break; 1194 : - 1195 451764 : count *= dim[i]; + 1195 450100 : count *= dim[i]; 1196 : } 1197 : - 1198 127497 : return (i > 0) ? count : 0; + 1198 127088 : return (i > 0) ? count : 0; 1199 : } 1200 : 1201 : /** 1202 : * @brief Get element size of tensor type (byte per element) 1203 : */ 1204 : gsize - 1205 10313005 : gst_tensor_get_element_size (tensor_type type) + 1205 10312611 : gst_tensor_get_element_size (tensor_type type) 1206 : { - 1207 10313005 : g_return_val_if_fail (type >= 0 && type <= _NNS_END, 0); + 1207 10312611 : g_return_val_if_fail (type >= 0 && type <= _NNS_END, 0); 1208 : - 1209 10313005 : return tensor_element_size[type]; + 1209 10312611 : return tensor_element_size[type]; 1210 : } 1211 : 1212 : /** @@ -1277,34 +1277,34 @@ 1215 : * @param typestr The string type name, supposed to be one of tensor_element_typename[] 1216 : */ 1217 : tensor_type - 1218 158197 : gst_tensor_get_type (const gchar * typestr) + 1218 157732 : gst_tensor_get_type (const gchar * typestr) 1219 : { 1220 : gsize size, len; 1221 : gchar *type_string; - 1222 158197 : tensor_type type = _NNS_END; + 1222 157732 : tensor_type type = _NNS_END; 1223 : - 1224 158197 : if (typestr == NULL) + 1224 157732 : if (typestr == NULL) 1225 7 : return _NNS_END; 1226 : 1227 : /* remove spaces */ - 1228 158190 : type_string = g_strdup (typestr); - 1229 158190 : g_strstrip (type_string); + 1228 157725 : type_string = g_strdup (typestr); + 1229 157725 : g_strstrip (type_string); 1230 : - 1231 158190 : len = strlen (type_string); + 1231 157725 : len = strlen (type_string); 1232 : - 1233 158190 : if (len == 0) { + 1233 157725 : if (len == 0) { 1234 1 : g_free (type_string); 1235 1 : return _NNS_END; 1236 : } 1237 : - 1238 158189 : if (g_regex_match_simple ("^uint(8|16|32|64)$", + 1238 157724 : if (g_regex_match_simple ("^uint(8|16|32|64)$", 1239 : type_string, G_REGEX_CASELESS, 0)) { - 1240 87402 : size = (gsize) g_ascii_strtoull (&type_string[4], NULL, 10); + 1240 87242 : size = (gsize) g_ascii_strtoull (&type_string[4], NULL, 10); 1241 : - 1242 87402 : switch (size) { - 1243 85175 : case 8: - 1244 85175 : type = _NNS_UINT8; - 1245 85175 : break; + 1242 87242 : switch (size) { + 1243 85015 : case 8: + 1244 85015 : type = _NNS_UINT8; + 1245 85015 : break; 1246 195 : case 16: 1247 195 : type = _NNS_UINT16; 1248 195 : break; @@ -1314,7 +1314,7 @@ 1252 75 : case 64: 1253 75 : type = _NNS_UINT64; 1254 : } - 1255 70787 : } else if (g_regex_match_simple ("^int(8|16|32|64)$", + 1255 70482 : } else if (g_regex_match_simple ("^int(8|16|32|64)$", 1256 : type_string, G_REGEX_CASELESS, 0)) { 1257 900 : size = (gsize) g_ascii_strtoull (&type_string[3], NULL, 10); 1258 : @@ -1331,35 +1331,35 @@ 1269 91 : case 64: 1270 91 : type = _NNS_INT64; 1271 : } - 1272 69887 : } else if (g_regex_match_simple ("^float(16|32|64)$", + 1272 69582 : } else if (g_regex_match_simple ("^float(16|32|64)$", 1273 : type_string, G_REGEX_CASELESS, 0)) { - 1274 69865 : size = (gsize) g_ascii_strtoull (&type_string[5], NULL, 10); + 1274 69560 : size = (gsize) g_ascii_strtoull (&type_string[5], NULL, 10); 1275 : - 1276 69865 : switch (size) { + 1276 69560 : switch (size) { 1277 63 : case 16: 1278 63 : type = _NNS_FLOAT16; 1279 63 : break; - 1280 69448 : case 32: - 1281 69448 : type = _NNS_FLOAT32; - 1282 69448 : break; + 1280 69143 : case 32: + 1281 69143 : type = _NNS_FLOAT32; + 1282 69143 : break; 1283 354 : case 64: 1284 354 : type = _NNS_FLOAT64; 1285 : } 1286 : } 1287 : - 1288 158189 : g_free (type_string); - 1289 158189 : return type; + 1288 157724 : g_free (type_string); + 1289 157724 : return type; 1290 : } 1291 : 1292 : /** 1293 : * @brief Get type string of tensor type. 1294 : */ 1295 : const gchar * - 1296 12668 : gst_tensor_get_type_string (tensor_type type) + 1296 12669 : gst_tensor_get_type_string (tensor_type type) 1297 : { - 1298 12668 : g_return_val_if_fail (type >= 0 && type <= _NNS_END, NULL); + 1298 12669 : g_return_val_if_fail (type >= 0 && type <= _NNS_END, NULL); 1299 : - 1300 12668 : return tensor_element_typename[type]; + 1300 12669 : return tensor_element_typename[type]; 1301 : } 1302 : 1303 : /** @@ -1368,16 +1368,16 @@ 1306 : * @return Corresponding tensor_format. _NNS_TENSOR_FORMAT_END if unrecognized value is there. 1307 : */ 1308 : tensor_format - 1309 12336 : gst_tensor_get_format (const gchar * format_str) + 1309 12378 : gst_tensor_get_format (const gchar * format_str) 1310 : { 1311 : gint idx; - 1312 12336 : tensor_format format = _NNS_TENSOR_FORMAT_END; + 1312 12378 : tensor_format format = _NNS_TENSOR_FORMAT_END; 1313 : - 1314 12336 : idx = find_key_strv (tensor_format_name, format_str); - 1315 12336 : if (idx >= 0) - 1316 10851 : format = (tensor_format) idx; + 1314 12378 : idx = find_key_strv (tensor_format_name, format_str); + 1315 12378 : if (idx >= 0) + 1316 10893 : format = (tensor_format) idx; 1317 : - 1318 12336 : return format; + 1318 12378 : return format; 1319 : } 1320 : 1321 : /** @@ -1431,18 +1431,18 @@ 1369 : * @param[in,out] meta tensor meta structure to be initialized 1370 : */ 1371 : void - 1372 141685 : gst_tensor_meta_info_init (GstTensorMetaInfo * meta) + 1372 141291 : gst_tensor_meta_info_init (GstTensorMetaInfo * meta) 1373 : { - 1374 141685 : g_return_if_fail (meta != NULL); + 1374 141291 : g_return_if_fail (meta != NULL); 1375 : 1376 : /* zero-init */ - 1377 141685 : memset (meta, 0, sizeof (GstTensorMetaInfo)); + 1377 141291 : memset (meta, 0, sizeof (GstTensorMetaInfo)); 1378 : - 1379 141685 : meta->magic = GST_TENSOR_META_MAGIC; - 1380 141685 : meta->version = GST_TENSOR_META_VERSION; - 1381 141685 : meta->type = _NNS_END; - 1382 141685 : meta->format = _NNS_TENSOR_FORMAT_STATIC; - 1383 141685 : meta->media_type = _NNS_TENSOR; + 1379 141291 : meta->magic = GST_TENSOR_META_MAGIC; + 1380 141291 : meta->version = GST_TENSOR_META_VERSION; + 1381 141291 : meta->type = _NNS_END; + 1382 141291 : meta->format = _NNS_TENSOR_FORMAT_STATIC; + 1383 141291 : meta->media_type = _NNS_TENSOR; 1384 : } 1385 : 1386 : /** @@ -1473,20 +1473,20 @@ 1411 : * @return TRUE if given meta is valid 1412 : */ 1413 : gboolean - 1414 54582 : gst_tensor_meta_info_validate (GstTensorMetaInfo * meta) + 1414 54388 : gst_tensor_meta_info_validate (GstTensorMetaInfo * meta) 1415 : { - 1416 54582 : g_return_val_if_fail (meta != NULL, FALSE); + 1416 54388 : g_return_val_if_fail (meta != NULL, FALSE); 1417 : - 1418 54578 : if (!GST_TENSOR_META_IS_VALID (meta)) - 1419 52580 : return FALSE; + 1418 54384 : if (!GST_TENSOR_META_IS_VALID (meta)) + 1419 52387 : return FALSE; 1420 : - 1421 1998 : if (meta->type >= _NNS_END) { + 1421 1997 : if (meta->type >= _NNS_END) { 1422 1 : nns_logd ("Failed to validate tensor meta info. type: %s. ", 1423 : _STR_NULL (gst_tensor_get_type_string (meta->type))); 1424 1 : return FALSE; 1425 : } 1426 : - 1427 1997 : if (!gst_tensor_dimension_is_valid (meta->dimension)) { + 1427 1996 : if (!gst_tensor_dimension_is_valid (meta->dimension)) { 1428 1 : gchar *dim_str = gst_tensor_get_dimension_string (meta->dimension); 1429 1 : nns_logd ("Failed to validate tensor meta info. Given dimension: %s", 1430 : dim_str); @@ -1494,19 +1494,19 @@ 1432 1 : return FALSE; 1433 : } 1434 : - 1435 1996 : if (meta->format >= _NNS_TENSOR_FORMAT_END) { + 1435 1995 : if (meta->format >= _NNS_TENSOR_FORMAT_END) { 1436 1 : nns_logd ("Failed to validate tensors meta info. format: %s. ", 1437 : _STR_NULL (gst_tensor_get_format_string (meta->format))); 1438 1 : return FALSE; 1439 : } 1440 : - 1441 1995 : if (meta->media_type > _NNS_TENSOR) { + 1441 1994 : if (meta->media_type > _NNS_TENSOR) { 1442 1 : nns_logd ("Failed to validate tensor meta info. invalid media type: %d.", 1443 : meta->media_type); 1444 1 : return FALSE; 1445 : } 1446 : - 1447 1994 : return TRUE; + 1447 1993 : return TRUE; 1448 : } 1449 : 1450 : /** @@ -1515,16 +1515,16 @@ 1453 : * @return Header size for meta info (0 if meta is invalid) 1454 : */ 1455 : gsize - 1456 61735 : gst_tensor_meta_info_get_header_size (GstTensorMetaInfo * meta) + 1456 61535 : gst_tensor_meta_info_get_header_size (GstTensorMetaInfo * meta) 1457 : { - 1458 61735 : g_return_val_if_fail (meta != NULL, 0); + 1458 61535 : g_return_val_if_fail (meta != NULL, 0); 1459 : - 1460 61734 : if (!GST_TENSOR_META_IS_VALID (meta)) + 1460 61534 : if (!GST_TENSOR_META_IS_VALID (meta)) 1461 2 : return 0; 1462 : 1463 : /* return fixed size for meta version */ - 1464 61732 : if (GST_TENSOR_META_IS_V1 (meta->version)) { - 1465 61732 : return 128; + 1464 61532 : if (GST_TENSOR_META_IS_V1 (meta->version)) { + 1465 61532 : return 128; 1466 : } 1467 : 1468 0 : return 0; @@ -1586,32 +1586,32 @@ 1524 : * @return TRUE if successfully set the meta 1525 : */ 1526 : gboolean - 1527 53673 : gst_tensor_meta_info_parse_header (GstTensorMetaInfo * meta, gpointer header) + 1527 53479 : gst_tensor_meta_info_parse_header (GstTensorMetaInfo * meta, gpointer header) 1528 : { - 1529 53673 : uint32_t *val = (uint32_t *) header; + 1529 53479 : uint32_t *val = (uint32_t *) header; 1530 : - 1531 53673 : g_return_val_if_fail (header != NULL, FALSE); - 1532 53672 : g_return_val_if_fail (meta != NULL, FALSE); + 1531 53479 : g_return_val_if_fail (header != NULL, FALSE); + 1532 53478 : g_return_val_if_fail (meta != NULL, FALSE); 1533 : - 1534 53671 : gst_tensor_meta_info_init (meta); + 1534 53477 : gst_tensor_meta_info_init (meta); 1535 : - 1536 53671 : meta->magic = val[0]; - 1537 53671 : meta->version = val[1]; - 1538 53671 : meta->type = val[2]; - 1539 53671 : memcpy (meta->dimension, &val[3], sizeof (uint32_t) * NNS_TENSOR_RANK_LIMIT); - 1540 53671 : meta->format = val[19]; - 1541 53671 : meta->media_type = val[20]; + 1536 53477 : meta->magic = val[0]; + 1537 53477 : meta->version = val[1]; + 1538 53477 : meta->type = val[2]; + 1539 53477 : memcpy (meta->dimension, &val[3], sizeof (uint32_t) * NNS_TENSOR_RANK_LIMIT); + 1540 53477 : meta->format = val[19]; + 1541 53477 : meta->media_type = val[20]; 1542 : - 1543 53671 : switch ((tensor_format) meta->format) { + 1543 53477 : switch ((tensor_format) meta->format) { 1544 204 : case _NNS_TENSOR_FORMAT_SPARSE: 1545 204 : meta->sparse_info.nnz = val[21]; 1546 204 : break; - 1547 53467 : default: - 1548 53467 : break; + 1547 53273 : default: + 1548 53273 : break; 1549 : } 1550 : 1551 : /** @todo update meta info for each version */ - 1552 53671 : return gst_tensor_meta_info_validate (meta); + 1552 53477 : return gst_tensor_meta_info_validate (meta); 1553 : } 1554 : 1555 : /** @@ -1645,19 +1645,19 @@ 1583 : * @param key The key string value 1584 : */ 1585 : gint - 1586 12638 : find_key_strv (const gchar ** strv, const gchar * key) + 1586 12680 : find_key_strv (const gchar ** strv, const gchar * key) 1587 : { - 1588 12638 : gint cursor = 0; + 1588 12680 : gint cursor = 0; 1589 : - 1590 12638 : if (strv == NULL) { + 1590 12680 : if (strv == NULL) { 1591 0 : ml_logf_stacktrace 1592 : ("find_key_strv is called with a null pointer. Possible internal logic errors.\n"); 1593 0 : return -1; 1594 : } - 1595 15137 : while (strv[cursor] && key) { - 1596 13648 : if (g_ascii_strcasecmp (strv[cursor], key) == 0) - 1597 11149 : return cursor; - 1598 2499 : cursor++; + 1595 15216 : while (strv[cursor] && key) { + 1596 13727 : if (g_ascii_strcasecmp (strv[cursor], key) == 0) + 1597 11191 : return cursor; + 1598 2536 : cursor++; 1599 : } 1600 : 1601 1489 : return -1; /* Not Found */ diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_subplugin.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_subplugin.c.func-c.html index 9631ccb4e..6f6793d27 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_subplugin.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_subplugin.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_subplugin.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_subplugin.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -79,70 +79,70 @@ fini_subplugin - 668 + 669 init_subplugin - 668 + 669 get_all_subplugins - 799 + 800 _close_handle - 1979 + 1983 _search_subplugin - 1979 + 1983 get_subplugin - 2862 + 2866 _spdata_destroy - 3212 + 3217 unregister_subplugin - 3887 + 3893 register_subplugin - 3888 + 3894 _get_subplugin_data - 9038 + 9052 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_subplugin.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_subplugin.c.func.html index de13b3003..d83615494 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_subplugin.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_subplugin.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_subplugin.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_subplugin.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -65,63 +65,63 @@ _close_handle - 1979 + 1983 _get_subplugin_data - 9038 + 9052 _search_subplugin - 1979 + 1983 _spdata_destroy - 3212 + 3217 fini_subplugin - 668 + 669 get_all_subplugins - 799 + 800 get_subplugin - 2862 + 2866 init_subplugin - 668 + 669 register_subplugin - 3888 + 3894 @@ -142,7 +142,7 @@ unregister_subplugin - 3887 + 3893 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_subplugin.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_subplugin.c.gcov.html index 71bce7c14..0a117b152 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_subplugin.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_subplugin.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_subplugin.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_subplugin.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 91.7 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -113,15 +113,15 @@ 51 : 52 : /** @brief Private function for g_hash_table data destructor, GDestroyNotify */ 53 : static void - 54 3212 : _spdata_destroy (gpointer _data) + 54 3217 : _spdata_destroy (gpointer _data) 55 : { - 56 3212 : subpluginData *data = _data; + 56 3217 : subpluginData *data = _data; 57 : - 58 3212 : g_datalist_clear (&data->custom_dlist); + 58 3217 : g_datalist_clear (&data->custom_dlist); 59 : - 60 3212 : g_free (data->name); - 61 3212 : g_free (data); - 62 3212 : } + 60 3217 : g_free (data->name); + 61 3217 : g_free (data); + 62 3217 : } 63 : 64 : typedef enum 65 : { @@ -146,48 +146,48 @@ 84 : * @brief Internal function to get sub-plugin data. 85 : */ 86 : static subpluginData * - 87 9038 : _get_subplugin_data (subpluginType type, const gchar * name) + 87 9052 : _get_subplugin_data (subpluginType type, const gchar * name) 88 : { - 89 9038 : subpluginData *spdata = NULL; + 89 9052 : subpluginData *spdata = NULL; 90 : - 91 9038 : G_LOCK (splock); - 92 9038 : if (subplugins[type] == NULL) { - 93 1244 : subplugins[type] = - 94 1244 : g_hash_table_new_full (g_str_hash, g_str_equal, g_free, + 91 9052 : G_LOCK (splock); + 92 9052 : if (subplugins[type] == NULL) { + 93 1246 : subplugins[type] = + 94 1246 : g_hash_table_new_full (g_str_hash, g_str_equal, g_free, 95 : _spdata_destroy); 96 : } else { - 97 7794 : spdata = g_hash_table_lookup (subplugins[type], name); + 97 7806 : spdata = g_hash_table_lookup (subplugins[type], name); 98 : } - 99 9038 : G_UNLOCK (splock); + 99 9052 : G_UNLOCK (splock); 100 : - 101 9038 : return spdata; + 101 9052 : return spdata; 102 : } 103 : 104 : /** 105 : * @brief Internal function to scan sub-plugin. 106 : */ 107 : static subpluginData * - 108 1979 : _search_subplugin (subpluginType type, const gchar * name, const gchar * path) + 108 1983 : _search_subplugin (subpluginType type, const gchar * name, const gchar * path) 109 : { - 110 1979 : subpluginData *spdata = NULL; + 110 1983 : subpluginData *spdata = NULL; 111 : GModule *module; 112 : - 113 1979 : g_return_val_if_fail (name != NULL, NULL); - 114 1979 : g_return_val_if_fail (path != NULL, NULL); + 113 1983 : g_return_val_if_fail (name != NULL, NULL); + 114 1983 : g_return_val_if_fail (path != NULL, NULL); 115 : - 116 1979 : module = g_module_open (path, G_MODULE_BIND_LOCAL); + 116 1983 : module = g_module_open (path, G_MODULE_BIND_LOCAL); 117 : /* If this is a correct subplugin, it will register itself */ - 118 1979 : if (module == NULL) { + 118 1983 : if (module == NULL) { 119 0 : ml_loge ("Cannot open %s(%s) with error %s.", name, path, 120 : g_module_error ()); 121 0 : return NULL; 122 : } 123 : - 124 1979 : spdata = _get_subplugin_data (type, name); - 125 1979 : if (spdata) { - 126 1979 : G_LOCK (splock); - 127 1979 : g_ptr_array_add (handles, (gpointer) module); - 128 1979 : G_UNLOCK (splock); + 124 1983 : spdata = _get_subplugin_data (type, name); + 125 1983 : if (spdata) { + 126 1983 : G_LOCK (splock); + 127 1983 : g_ptr_array_add (handles, (gpointer) module); + 128 1983 : G_UNLOCK (splock); 129 : } else { 130 0 : ml_loge 131 : ("nnstreamer_subplugin of %s(%s) is broken. It does not call register_subplugin with its init function.", @@ -195,32 +195,32 @@ 133 0 : g_module_close (module); 134 : } 135 : - 136 1979 : return spdata; + 136 1983 : return spdata; 137 : } 138 : 139 : /** @brief Public function defined in the header */ 140 : const void * - 141 2862 : get_subplugin (subpluginType type, const char *name) + 141 2866 : get_subplugin (subpluginType type, const char *name) 142 : { - 143 2862 : subpluginData *spdata = NULL; + 143 2866 : subpluginData *spdata = NULL; 144 : - 145 2862 : g_return_val_if_fail (name, NULL); + 145 2866 : g_return_val_if_fail (name, NULL); 146 : - 147 2857 : if (searchAlgorithm[type] == NNS_SEARCH_GETALL) { - 148 437 : nnsconf_type_path conf_type = (nnsconf_type_path) type; + 147 2861 : if (searchAlgorithm[type] == NNS_SEARCH_GETALL) { + 148 438 : nnsconf_type_path conf_type = (nnsconf_type_path) type; 149 : subplugin_info_s info; 150 : guint i; - 151 437 : guint ret = nnsconf_get_subplugin_info (conf_type, &info); + 151 438 : guint ret = nnsconf_get_subplugin_info (conf_type, &info); 152 : - 153 2185 : for (i = 0; i < ret; i++) { - 154 1748 : _search_subplugin (type, info.names[i], info.paths[i]); + 153 2190 : for (i = 0; i < ret; i++) { + 154 1752 : _search_subplugin (type, info.names[i], info.paths[i]); 155 : } 156 : - 157 437 : searchAlgorithm[type] = NNS_SEARCH_NO_OP; + 157 438 : searchAlgorithm[type] = NNS_SEARCH_NO_OP; 158 : } 159 : - 160 2857 : spdata = _get_subplugin_data (type, name); - 161 2857 : if (spdata == NULL && searchAlgorithm[type] == NNS_SEARCH_FILENAME) { + 160 2861 : spdata = _get_subplugin_data (type, name); + 161 2861 : if (spdata == NULL && searchAlgorithm[type] == NNS_SEARCH_FILENAME) { 162 : /** Search and register if found with the conf */ 163 378 : nnsconf_type_path conf_type = (nnsconf_type_path) type; 164 378 : const gchar *fullpath = nnsconf_get_fullpath (name, conf_type); @@ -230,72 +230,72 @@ 168 : } 169 : } 170 : - 171 2857 : return (spdata != NULL) ? spdata->data : NULL; + 171 2861 : return (spdata != NULL) ? spdata->data : NULL; 172 : } 173 : 174 : /** @brief Public function defined in the header */ 175 : gchar ** - 176 799 : get_all_subplugins (subpluginType type) + 176 800 : get_all_subplugins (subpluginType type) 177 : { 178 : GString *names; 179 : subplugin_info_s info; - 180 799 : gchar **list = NULL; + 180 800 : gchar **list = NULL; 181 : gchar *name; 182 : guint i, total; 183 : - 184 799 : names = g_string_new (NULL); + 184 800 : names = g_string_new (NULL); 185 : 186 : /* get registered subplugins */ - 187 799 : G_LOCK (splock); - 188 799 : if (subplugins[type]) { + 187 800 : G_LOCK (splock); + 188 800 : if (subplugins[type]) { 189 226 : list = (gchar **) g_hash_table_get_keys_as_array (subplugins[type], NULL); 190 : } - 191 799 : G_UNLOCK (splock); + 191 800 : G_UNLOCK (splock); 192 : - 193 799 : if (list) { + 193 800 : if (list) { 194 226 : name = g_strjoinv (",", list); 195 : g_string_append (names, name); 196 226 : g_free (name); 197 : } 198 : 199 : /* get subplugins from configuration */ - 200 799 : total = nnsconf_get_subplugin_info ((nnsconf_type_path) type, &info); + 200 800 : total = nnsconf_get_subplugin_info ((nnsconf_type_path) type, &info); 201 : - 202 5990 : for (i = 0; i < total; i++) { - 203 5191 : name = info.names[i]; + 202 5995 : for (i = 0; i < total; i++) { + 203 5195 : name = info.names[i]; 204 : - 205 5191 : if (!list || !g_strv_contains ((const gchar * const *) list, name)) { - 206 4868 : if (list || i > 0) - 207 8590 : g_string_append (names, ","); + 205 5195 : if (!list || !g_strv_contains ((const gchar * const *) list, name)) { + 206 4872 : if (list || i > 0) + 207 8596 : g_string_append (names, ","); 208 : 209 : g_string_append (names, name); 210 : } 211 : } 212 : - 213 799 : g_free (list); + 213 800 : g_free (list); 214 : 215 : /* finally get the list of subplugins */ - 216 799 : name = g_string_free (names, FALSE); - 217 799 : list = g_strsplit (name, ",", -1); - 218 799 : g_free (name); + 216 800 : name = g_string_free (names, FALSE); + 217 800 : list = g_strsplit (name, ",", -1); + 218 800 : g_free (name); 219 : - 220 799 : return list; + 220 800 : return list; 221 : } 222 : 223 : /** @brief Public function defined in the header */ 224 : gboolean - 225 3888 : register_subplugin (subpluginType type, const char *name, const void *data) + 225 3894 : register_subplugin (subpluginType type, const char *name, const void *data) 226 : { 227 : /** @todo data out of scope at add */ - 228 3888 : subpluginData *spdata = NULL; - 229 3888 : gchar *sp_name = NULL; + 228 3894 : subpluginData *spdata = NULL; + 229 3894 : gchar *sp_name = NULL; 230 : gboolean ret; 231 : - 232 3888 : g_return_val_if_fail (name, FALSE); - 233 3887 : g_return_val_if_fail (data, FALSE); + 232 3894 : g_return_val_if_fail (name, FALSE); + 233 3893 : g_return_val_if_fail (data, FALSE); 234 : - 235 3887 : switch (type) { - 236 3887 : case NNS_SUBPLUGIN_FILTER: + 235 3893 : switch (type) { + 236 3893 : case NNS_SUBPLUGIN_FILTER: 237 : case NNS_SUBPLUGIN_DECODER: 238 : case NNS_EASY_CUSTOM_FILTER: 239 : case NNS_SUBPLUGIN_CONVERTER: @@ -303,68 +303,68 @@ 241 : case NNS_CUSTOM_DECODER: 242 : case NNS_IF_CUSTOM: 243 : case NNS_CUSTOM_CONVERTER: - 244 3887 : break; + 244 3893 : break; 245 0 : default: 246 : /* unknown sub-plugin type */ 247 0 : return FALSE; 248 : } 249 : 250 : /* check the sub-pugin name */ - 251 3887 : if (g_ascii_strcasecmp (name, "any") == 0 || - 252 3884 : g_ascii_strcasecmp (name, "auto") == 0) { + 251 3893 : if (g_ascii_strcasecmp (name, "any") == 0 || + 252 3890 : g_ascii_strcasecmp (name, "auto") == 0) { 253 4 : ml_loge ("Failed, the name %s is not allowed.", name); 254 4 : return FALSE; 255 : } 256 : - 257 3883 : spdata = _get_subplugin_data (type, name); - 258 3883 : if (spdata) { + 257 3889 : spdata = _get_subplugin_data (type, name); + 258 3889 : if (spdata) { 259 : /* already exists */ 260 3 : ml_logw ("Subplugin %s is already registered.", name); 261 3 : return FALSE; 262 : } 263 : - 264 3880 : spdata = g_new0 (subpluginData, 1); - 265 3880 : if (spdata == NULL) { + 264 3886 : spdata = g_new0 (subpluginData, 1); + 265 3886 : if (spdata == NULL) { 266 0 : ml_loge ("Failed to allocate memory for subplugin registration."); 267 0 : return FALSE; 268 : } 269 : - 270 3880 : spdata->name = g_strdup (name); - 271 3880 : spdata->data = data; - 272 3880 : g_datalist_init (&spdata->custom_dlist); + 270 3886 : spdata->name = g_strdup (name); + 271 3886 : spdata->data = data; + 272 3886 : g_datalist_init (&spdata->custom_dlist); 273 : - 274 3880 : G_LOCK (splock); - 275 3880 : sp_name = g_strdup (name); - 276 3880 : ret = g_hash_table_insert (subplugins[type], sp_name, spdata); - 277 3880 : if (!ret) { + 274 3886 : G_LOCK (splock); + 275 3886 : sp_name = g_strdup (name); + 276 3886 : ret = g_hash_table_insert (subplugins[type], sp_name, spdata); + 277 3886 : if (!ret) { 278 0 : _spdata_destroy (spdata); 279 0 : g_free (sp_name); 280 0 : ml_loge ("Failed to add subplugin data into the table."); 281 : } - 282 3880 : G_UNLOCK (splock); + 282 3886 : G_UNLOCK (splock); 283 : - 284 3880 : return ret; + 284 3886 : return ret; 285 : } 286 : 287 : /** @brief Public function defined in the header */ 288 : gboolean - 289 3887 : unregister_subplugin (subpluginType type, const char *name) + 289 3893 : unregister_subplugin (subpluginType type, const char *name) 290 : { 291 : gboolean ret; 292 : - 293 3887 : g_return_val_if_fail (name, FALSE); - 294 3884 : g_return_val_if_fail (subplugins[type], FALSE); + 293 3893 : g_return_val_if_fail (name, FALSE); + 294 3890 : g_return_val_if_fail (subplugins[type], FALSE); 295 : - 296 3884 : G_LOCK (splock); - 297 3884 : ret = g_hash_table_remove (subplugins[type], name); - 298 3884 : G_UNLOCK (splock); + 296 3890 : G_LOCK (splock); + 297 3890 : ret = g_hash_table_remove (subplugins[type], name); + 298 3890 : G_UNLOCK (splock); 299 : - 300 3884 : return ret; + 300 3890 : return ret; 301 : } 302 : 303 : /** @brief dealloc function for handles */ 304 : static void - 305 1979 : _close_handle (gpointer data) + 305 1983 : _close_handle (gpointer data) 306 : { 307 : /** 308 : * Ubuntu 16.04 / GLIBC 2.23 Workaround @@ -380,9 +380,9 @@ 318 : UNUSED (data); 319 : return; /* Do not call close and return */ 320 : #else - 321 1979 : g_module_close ((GModule *) data); + 321 1983 : g_module_close ((GModule *) data); 322 : #endif - 323 1979 : } + 323 1983 : } 324 : 325 : /** 326 : * @brief common interface to set custom property description of a sub-plugin. @@ -434,26 +434,26 @@ 372 : 373 : /** @brief Create handles at the start of library */ 374 : static void - 375 668 : init_subplugin (void) + 375 669 : init_subplugin (void) 376 : { - 377 668 : G_LOCK (splock); - 378 668 : g_assert (NULL == handles); /** Internal error (duplicated init call?) */ - 379 668 : handles = g_ptr_array_new_full (16, _close_handle); - 380 668 : G_UNLOCK (splock); - 381 668 : } + 377 669 : G_LOCK (splock); + 378 669 : g_assert (NULL == handles); /** Internal error (duplicated init call?) */ + 379 669 : handles = g_ptr_array_new_full (16, _close_handle); + 380 669 : G_UNLOCK (splock); + 381 669 : } 382 : 383 : /** @brief Free handles at the start of library */ 384 : static void - 385 668 : fini_subplugin (void) + 385 669 : fini_subplugin (void) 386 : { - 387 668 : G_LOCK (splock); - 388 668 : g_assert (handles); /** Internal error (init not called?) */ + 387 669 : G_LOCK (splock); + 388 669 : g_assert (handles); /** Internal error (init not called?) */ 389 : 390 : /* iterate and call close by calling g_array_clear */ - 391 668 : g_ptr_array_free (handles, TRUE); - 392 668 : handles = NULL; - 393 668 : G_UNLOCK (splock); - 394 668 : } + 391 669 : g_ptr_array_free (handles, TRUE); + 392 669 : handles = NULL; + 393 669 : G_UNLOCK (splock); + 394 669 : } diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_watchdog.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_watchdog.c.func-c.html index c73702a3a..7abc1f834 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_watchdog.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_watchdog.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_watchdog.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_watchdog.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 84.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_watchdog.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_watchdog.c.func.html index d43cee4d9..1591928a3 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_watchdog.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_watchdog.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_watchdog.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_watchdog.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 84.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_watchdog.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_watchdog.c.gcov.html index 8640f3848..06415c77f 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_watchdog.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_watchdog.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_watchdog.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/nnstreamer_watchdog.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 84.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/registerer/index-sort-f.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/registerer/index-sort-f.html index 52aaabfc5..2469e64e6 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/registerer/index-sort-f.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/registerer/index-sort-f.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/registerer + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/registerer @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 66.7 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/registerer/index-sort-l.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/registerer/index-sort-l.html index afe69ea30..0ff26771d 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/registerer/index-sort-l.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/registerer/index-sort-l.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/registerer + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/registerer @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 66.7 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/registerer/index.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/registerer/index.html index 86a955557..21ae5e6b0 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/registerer/index.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/registerer/index.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/registerer + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/registerer @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 66.7 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/registerer/nnstreamer.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/registerer/nnstreamer.c.func-c.html index 98925941e..b440440db 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/registerer/nnstreamer.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/registerer/nnstreamer.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/registerer/nnstreamer.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/registerer/nnstreamer.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 66.7 % @@ -65,14 +65,14 @@ gst_nnstreamer_init - 449 + 450 gst_plugin_nnstreamer_get_desc - 449 + 450 @@ -86,7 +86,7 @@ gst_plugin_nnstreamer_get_desc - 449 + 450 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/registerer/nnstreamer.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/registerer/nnstreamer.c.func.html index 67a0f0a60..62d49082a 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/registerer/nnstreamer.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/registerer/nnstreamer.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/registerer/nnstreamer.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/registerer/nnstreamer.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 66.7 % @@ -65,21 +65,21 @@ gst_nnstreamer_init - 449 + 450 gst_plugin_nnstreamer_get_desc - 449 + 450 gst_plugin_nnstreamer_get_desc - 449 + 450 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/registerer/nnstreamer.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/registerer/nnstreamer.c.gcov.html index 97e92aa6f..dae9f6ca8 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/registerer/nnstreamer.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/registerer/nnstreamer.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/registerer/nnstreamer.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/registerer/nnstreamer.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 66.7 % @@ -151,43 +151,43 @@ 89 : * @brief Function to initialize all nnstreamer elements 90 : */ 91 : static gboolean - 92 449 : gst_nnstreamer_init (GstPlugin * plugin) + 92 450 : gst_nnstreamer_init (GstPlugin * plugin) 93 : { - 94 449 : NNSTREAMER_INIT (plugin, aggregator, AGGREGATOR); - 95 449 : NNSTREAMER_INIT (plugin, converter, CONVERTER); - 96 449 : NNSTREAMER_INIT (plugin, crop, CROP); - 97 449 : NNSTREAMER_INIT (plugin, debug, DEBUG); - 98 449 : NNSTREAMER_INIT (plugin, decoder, DECODER); - 99 449 : NNSTREAMER_INIT (plugin, demux, DEMUX); - 100 449 : NNSTREAMER_INIT (plugin, filter, FILTER); - 101 449 : NNSTREAMER_INIT (plugin, merge, MERGE); - 102 449 : NNSTREAMER_INIT (plugin, mux, MUX); - 103 449 : NNSTREAMER_INIT (plugin, reposink, REPOSINK); - 104 449 : NNSTREAMER_INIT (plugin, reposrc, REPOSRC); - 105 449 : NNSTREAMER_INIT (plugin, sink, SINK); - 106 449 : NNSTREAMER_INIT (plugin, sparse_enc, SPARSE_ENC); - 107 449 : NNSTREAMER_INIT (plugin, sparse_dec, SPARSE_DEC); - 108 449 : NNSTREAMER_INIT (plugin, split, SPLIT); - 109 449 : NNSTREAMER_INIT (plugin, transform, TRANSFORM); - 110 449 : NNSTREAMER_INIT (plugin, if, IF); - 111 449 : NNSTREAMER_INIT (plugin, rate, RATE); - 112 449 : NNSTREAMER_INIT (plugin, trainer, TRAINER); + 94 450 : NNSTREAMER_INIT (plugin, aggregator, AGGREGATOR); + 95 450 : NNSTREAMER_INIT (plugin, converter, CONVERTER); + 96 450 : NNSTREAMER_INIT (plugin, crop, CROP); + 97 450 : NNSTREAMER_INIT (plugin, debug, DEBUG); + 98 450 : NNSTREAMER_INIT (plugin, decoder, DECODER); + 99 450 : NNSTREAMER_INIT (plugin, demux, DEMUX); + 100 450 : NNSTREAMER_INIT (plugin, filter, FILTER); + 101 450 : NNSTREAMER_INIT (plugin, merge, MERGE); + 102 450 : NNSTREAMER_INIT (plugin, mux, MUX); + 103 450 : NNSTREAMER_INIT (plugin, reposink, REPOSINK); + 104 450 : NNSTREAMER_INIT (plugin, reposrc, REPOSRC); + 105 450 : NNSTREAMER_INIT (plugin, sink, SINK); + 106 450 : NNSTREAMER_INIT (plugin, sparse_enc, SPARSE_ENC); + 107 450 : NNSTREAMER_INIT (plugin, sparse_dec, SPARSE_DEC); + 108 450 : NNSTREAMER_INIT (plugin, split, SPLIT); + 109 450 : NNSTREAMER_INIT (plugin, transform, TRANSFORM); + 110 450 : NNSTREAMER_INIT (plugin, if, IF); + 111 450 : NNSTREAMER_INIT (plugin, rate, RATE); + 112 450 : NNSTREAMER_INIT (plugin, trainer, TRAINER); 113 : #if defined(ENABLE_NNSTREAMER_EDGE) - 114 449 : NNSTREAMER_INIT (plugin, query_serversrc, QUERY_SERVERSRC); - 115 449 : NNSTREAMER_INIT (plugin, query_serversink, QUERY_SERVERSINK); - 116 449 : NNSTREAMER_INIT (plugin, query_client, QUERY_CLIENT); + 114 450 : NNSTREAMER_INIT (plugin, query_serversrc, QUERY_SERVERSRC); + 115 450 : NNSTREAMER_INIT (plugin, query_serversink, QUERY_SERVERSINK); + 116 450 : NNSTREAMER_INIT (plugin, query_client, QUERY_CLIENT); 117 : #endif 118 : #ifdef _ENABLE_SRC_IIO - 119 449 : NNSTREAMER_INIT (plugin, src_iio, SRC_IIO); + 119 450 : NNSTREAMER_INIT (plugin, src_iio, SRC_IIO); 120 : #endif - 121 449 : return TRUE; + 121 450 : return TRUE; 122 : } 123 : 124 : #ifndef PACKAGE 125 : #define PACKAGE "nnstreamer" 126 : #endif 127 : - 128 449 : GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, + 128 450 : GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, 129 : GST_VERSION_MINOR, 130 : nnstreamer, 131 : "NNStreamer plugin library allows neural networks in GStreamer pipelines. Use nnstreamer-check utility for more information of the current NNStreamer installation.", diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_allocator.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_allocator.c.func-c.html index a83dc75cc..f205c9d23 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_allocator.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_allocator.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_allocator.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_allocator.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 94.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_allocator.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_allocator.c.func.html index 262b24dca..a677db03b 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_allocator.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_allocator.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_allocator.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_allocator.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 94.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_allocator.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_allocator.c.gcov.html index 440e99518..7b37580f9 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_allocator.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_allocator.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_allocator.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_allocator.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 94.9 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_data.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_data.c.func-c.html index 6c307273e..523d46fa1 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_data.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_data.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_data.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_data.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 88.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -114,7 +114,7 @@ gst_tensor_data_typecast - 4007479 + 4007404 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_data.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_data.c.func.html index aacf2b88a..9f70b16c5 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_data.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_data.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_data.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_data.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 88.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -114,7 +114,7 @@ gst_tensor_data_typecast - 4007479 + 4007404 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_data.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_data.c.gcov.html index f236dbdfd..14d837720 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_data.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_data.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_data.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_data.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 88.6 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -262,14 +262,14 @@ 200 : * @return TRUE if no error 201 : */ 202 : gboolean - 203 4007479 : gst_tensor_data_typecast (tensor_data_s * td, tensor_type type) + 203 4007404 : gst_tensor_data_typecast (tensor_data_s * td, tensor_type type) 204 : { 205 : gboolean is_float; 206 : - 207 4007479 : g_return_val_if_fail (td != NULL, FALSE); + 207 4007404 : g_return_val_if_fail (td != NULL, FALSE); 208 : 209 : /* do nothing when transform to same type */ - 210 4007479 : if (td->type != type) { + 210 4007404 : if (td->type != type) { 211 3687398 : is_float = (td->type == _NNS_FLOAT32 || td->type == _NNS_FLOAT64 212 7594826 : || td->type == _NNS_FLOAT16); 213 : @@ -337,7 +337,7 @@ 275 3907428 : td->type = type; 276 : } 277 : - 278 4007479 : return TRUE; + 278 4007404 : return TRUE; 279 : } 280 : 281 : /** diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/index-sort-f.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/index-sort-f.html index 078379ea0..a8ec2ae78 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/index-sort-f.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/index-sort-f.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 81.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 96.9 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/index-sort-l.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/index-sort-l.html index f9b2ad3c6..ab5d20286 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/index-sort-l.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/index-sort-l.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 81.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 96.9 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/index.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/index.html index 276a1d82a..92ed390fe 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/index.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/index.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 81.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 96.9 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter.c.func-c.html index f5580d086..a86cd9552 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 83.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -177,7 +177,7 @@ gst_tensor_filter_sink_event - 685 + 689 @@ -198,14 +198,14 @@ gst_tensor_filter_src_event - 1905 + 1928 gst_tensor_filter_get_type - 2059 + 2061 @@ -219,112 +219,112 @@ gst_tensor_filter_get_type_once - 449 + 450 gst_tensor_filter_get_type - 1464 + 1465 gst_tensor_filter_query - 2700 + 2713 gst_tensor_filter_transform_caps - 2718 + 2734 _gst_tensor_filter_transform_update_outbuf - 23150 + 23052 _gst_tensor_filter_transform_check_invoke_result - 23170 + 23072 _gst_tensor_filter_transform_get_output_data - 23171 + 23073 _gst_tensor_filter_transform_prepare_output_tensors - 23171 + 23073 _gst_tensor_filter_transform_get_all_input_data - 23173 + 23075 _gst_tensor_filter_transform_get_invoke_tensors - 23173 + 23075 _gst_tensor_filter_transform_validate - 23321 + 23223 gst_tensor_filter_check_throttling_delay - 23321 + 23223 gst_tensor_filter_transform - 23321 + 23223 gst_tensor_filter_transform_size - 23321 + 23223 _gst_tensor_filter_convert_meta - 23641 + 23543 gst_tensor_filter_get_tensor_size - 47185 + 46989 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter.c.func.html index b0e8d3712..617b86eb8 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 83.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -65,7 +65,7 @@ _gst_tensor_filter_convert_meta - 23641 + 23543 @@ -79,49 +79,49 @@ _gst_tensor_filter_transform_check_invoke_result - 23170 + 23072 _gst_tensor_filter_transform_get_all_input_data - 23173 + 23075 _gst_tensor_filter_transform_get_invoke_tensors - 23173 + 23075 _gst_tensor_filter_transform_get_output_data - 23171 + 23073 _gst_tensor_filter_transform_prepare_output_tensors - 23171 + 23073 _gst_tensor_filter_transform_update_outbuf - 23150 + 23052 _gst_tensor_filter_transform_validate - 23321 + 23223 @@ -135,7 +135,7 @@ gst_tensor_filter_check_throttling_delay - 23321 + 23223 @@ -184,14 +184,14 @@ gst_tensor_filter_get_tensor_size - 47185 + 46989 gst_tensor_filter_get_type - 2059 + 2061 @@ -205,14 +205,14 @@ gst_tensor_filter_get_type - 1464 + 1465 gst_tensor_filter_get_type_once - 449 + 450 @@ -233,7 +233,7 @@ gst_tensor_filter_query - 2700 + 2713 @@ -254,14 +254,14 @@ gst_tensor_filter_sink_event - 685 + 689 gst_tensor_filter_src_event - 1905 + 1928 @@ -282,21 +282,21 @@ gst_tensor_filter_transform - 23321 + 23223 gst_tensor_filter_transform_caps - 2718 + 2734 gst_tensor_filter_transform_size - 23321 + 23223 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter.c.gcov.html index 6eec9aba3..7c1927540 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 83.5 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -165,7 +165,7 @@ 103 : GST_STATIC_CAPS (CAPS_STRING)); 104 : 105 : #define gst_tensor_filter_parent_class parent_class - 106 2059 : G_DEFINE_TYPE (GstTensorFilter, gst_tensor_filter, GST_TYPE_BASE_TRANSFORM); + 106 2061 : G_DEFINE_TYPE (GstTensorFilter, gst_tensor_filter, GST_TYPE_BASE_TRANSFORM); 107 : 108 : /** 109 : * @brief Headroom (extra duration) added to actual latency estimate reported @@ -336,27 +336,27 @@ 274 : * @return tensor buffer size 275 : */ 276 : static gsize - 277 47185 : gst_tensor_filter_get_tensor_size (GstTensorFilter * self, guint index, + 277 46989 : gst_tensor_filter_get_tensor_size (GstTensorFilter * self, guint index, 278 : gboolean is_input) 279 : { 280 : GstTensorFilterPrivate *priv; 281 : GstTensorsInfo *info; 282 : - 283 47185 : priv = &self->priv; - 284 47185 : if (is_input) - 285 23638 : info = &priv->prop.input_meta; + 283 46989 : priv = &self->priv; + 284 46989 : if (is_input) + 285 23540 : info = &priv->prop.input_meta; 286 : else - 287 23547 : info = &priv->prop.output_meta; + 287 23449 : info = &priv->prop.output_meta; 288 : 289 : /* Internal Logic Error: out of bound */ - 290 47185 : if (index >= info->num_tensors) { + 290 46989 : if (index >= info->num_tensors) { 291 0 : GST_ELEMENT_ERROR_BTRACE (self, STREAM, FAILED, 292 : ("tensor_filter's core has inconsistent data. Please report to https://github.com/nnstreamer/nnstreamer/issues . The index argument (%u) of tensors is greater-than or equal-to the number of tensors (%u)", 293 : index, info->num_tensors)); 294 0 : return 0; 295 : } 296 : - 297 47185 : return gst_tensor_info_get_size (gst_tensors_info_get_nth_info (info, index)); + 297 46989 : return gst_tensor_info_get_size (gst_tensors_info_get_nth_info (info, index)); 298 : } 299 : 300 : /** @@ -595,18 +595,18 @@ 533 : * @brief Check throttling delay and send qos overflow event to upstream elements 534 : */ 535 : static gboolean - 536 23321 : gst_tensor_filter_check_throttling_delay (GstBaseTransform * trans, + 536 23223 : gst_tensor_filter_check_throttling_delay (GstBaseTransform * trans, 537 : GstBuffer * inbuf) 538 : { 539 : GstTensorFilter *self; 540 : GstTensorFilterPrivate *priv; 541 : - 542 23321 : self = GST_TENSOR_FILTER_CAST (trans); - 543 23321 : priv = &self->priv; + 542 23223 : self = GST_TENSOR_FILTER_CAST (trans); + 543 23223 : priv = &self->priv; 544 : - 545 23321 : GST_OBJECT_LOCK (trans); + 545 23223 : GST_OBJECT_LOCK (trans); 546 : - 547 23321 : if (self->throttling_delay != 0) { + 547 23223 : if (self->throttling_delay != 0) { 548 297 : GstClockTime curr_ts = GST_BUFFER_PTS (inbuf); 549 297 : GstClockTime prev_ts = self->prev_ts; 550 : @@ -644,22 +644,22 @@ 582 : } 583 : } 584 : - 585 23173 : GST_OBJECT_UNLOCK (trans); - 586 23173 : return FALSE; + 585 23075 : GST_OBJECT_UNLOCK (trans); + 586 23075 : return FALSE; 587 : } 588 : 589 : /** 590 : * @brief Check input parameters for gst_tensor_filter_transform (); 591 : */ 592 : static GstFlowReturn - 593 23321 : _gst_tensor_filter_transform_validate (GstBaseTransform * trans, + 593 23223 : _gst_tensor_filter_transform_validate (GstBaseTransform * trans, 594 : GstBuffer * inbuf, GstBuffer * outbuf) 595 : { - 596 23321 : GstTensorFilter *self = GST_TENSOR_FILTER_CAST (trans); - 597 23321 : GstTensorFilterPrivate *priv = &self->priv; - 598 23321 : GstTensorFilterProperties *prop = &priv->prop; + 596 23223 : GstTensorFilter *self = GST_TENSOR_FILTER_CAST (trans); + 597 23223 : GstTensorFilterPrivate *priv = &self->priv; + 598 23223 : GstTensorFilterProperties *prop = &priv->prop; 599 : - 600 23321 : if (G_UNLIKELY (!priv->configured)) { + 600 23223 : if (G_UNLIKELY (!priv->configured)) { 601 0 : GST_ELEMENT_ERROR_BTRACE (self, STREAM, TYPE_NOT_FOUND, 602 : ("The tensor_filter instance is not configured (pad caps not negotiated). Property info (framework = '%s', framework_opened = %d, model[0] = '%s', num-models = %d, custom_properties = '%s'.", 603 : prop ? prop->fwname : "property info is NULL.", @@ -669,7 +669,7 @@ 607 : prop ? prop->custom_properties : "property info is NULL.")); 608 0 : return GST_FLOW_NOT_NEGOTIATED; 609 : } - 610 23321 : if (G_UNLIKELY (!priv->fw)) { + 610 23223 : if (G_UNLIKELY (!priv->fw)) { 611 : /** 612 : * This is fatal; if framework is not configured until this stage, 613 : * it means that an extension is missing or not configured. @@ -683,43 +683,43 @@ 621 : prop->fwname); 622 0 : return GST_FLOW_ERROR; 623 : } - 624 23321 : if (G_UNLIKELY (!priv->fw->run_without_model) && - 625 23229 : G_UNLIKELY (!(prop->model_files && + 624 23223 : if (G_UNLIKELY (!priv->fw->run_without_model) && + 625 23131 : G_UNLIKELY (!(prop->model_files && 626 : prop->num_models > 0 && prop->model_files[0]))) { 627 0 : GST_ELEMENT_ERROR_BTRACE (self, STREAM, FAILED, 628 : ("For the framework='%s', its model filepath is not provided and this framework requires a model file. Thus, we cannot proceed with tensor_filter for inferences. Please provide a valid model file path.", 629 : prop->fwname)); 630 0 : return GST_FLOW_ERROR; 631 : } - 632 23321 : if ((GST_TF_FW_V0 (priv->fw) && G_UNLIKELY (!priv->fw->invoke_NN)) || - 633 23321 : (GST_TF_FW_V1 (priv->fw) && G_UNLIKELY (!priv->fw->invoke))) { + 632 23223 : if ((GST_TF_FW_V0 (priv->fw) && G_UNLIKELY (!priv->fw->invoke_NN)) || + 633 23223 : (GST_TF_FW_V1 (priv->fw) && G_UNLIKELY (!priv->fw->invoke))) { 634 0 : GST_ELEMENT_ERROR_BTRACE (self, STREAM, FAILED, 635 : ("The tensor-filter subplugin for the framework='%s' does not have its mandatory methods (or callback functions). It appears that your subplugin implementation of '%s' is not completed. There is no 'invoke_NN (v1)' or 'invoke (v2)' methods available.", 636 : prop->fwname, prop->fwname)); 637 0 : return GST_FLOW_ERROR; 638 : } 639 : - 640 23321 : silent_debug (self, "Invoking %s with %s model\n", prop->fwname, + 640 23223 : silent_debug (self, "Invoking %s with %s model\n", prop->fwname, 641 : GST_STR_NULL (prop->model_files[0])); 642 : 643 : /* skip input data when throttling delay is set */ - 644 23321 : if (gst_tensor_filter_check_throttling_delay (trans, inbuf)) + 644 23223 : if (gst_tensor_filter_check_throttling_delay (trans, inbuf)) 645 148 : return GST_BASE_TRANSFORM_FLOW_DROPPED; 646 : - 647 23173 : if (!outbuf) { + 647 23075 : if (!outbuf) { 648 0 : GST_ELEMENT_ERROR_BTRACE (self, STREAM, FAILED, 649 : ("The output buffer for the instance of tensor-filter subplugin (%s / %s) is null. Cannot proceed.", 650 : prop->fwname, TF_MODELNAME (prop))); 651 0 : return GST_FLOW_ERROR; 652 : } - 653 23173 : if (gst_buffer_get_size (outbuf) != 0) { + 653 23075 : if (gst_buffer_get_size (outbuf) != 0) { 654 0 : GST_ELEMENT_ERROR_BTRACE (self, STREAM, FAILED, 655 : ("The output buffer for the instance of tensor-filter subplugin (%s / %s) already has a content (buffer size = %zu). It should be 0.", 656 : prop->fwname, TF_MODELNAME (prop), gst_buffer_get_size (outbuf))); 657 0 : return GST_FLOW_ERROR; 658 : } 659 : - 660 23173 : return GST_FLOW_OK; + 660 23075 : return GST_FLOW_OK; 661 : } 662 : 663 : /** @@ -743,14 +743,14 @@ 681 : * @brief Internal function to convert tensor meta and get header size of flexible tensor. 682 : */ 683 : static gsize - 684 23641 : _gst_tensor_filter_convert_meta (FilterTransformData * trans_data, + 684 23543 : _gst_tensor_filter_convert_meta (FilterTransformData * trans_data, 685 : GstTensorsInfo * info, guint idx) 686 : { - 687 23641 : gsize header_size = 0; + 687 23543 : gsize header_size = 0; 688 : GstTensorMetaInfo *_meta; 689 : GstTensorInfo *_info; 690 : - 691 23641 : if (trans_data->is_flexible) { + 691 23543 : if (trans_data->is_flexible) { 692 31 : _meta = &trans_data->meta[idx]; 693 31 : _info = gst_tensors_info_get_nth_info (info, idx); 694 : @@ -759,38 +759,38 @@ 697 31 : gst_tensor_meta_info_convert (_meta, _info); 698 : } 699 : - 700 23641 : return header_size; + 700 23543 : return header_size; 701 : } 702 : 703 : /** 704 : * @brief Internal function to get input tensors. 705 : */ 706 : static FilterTransformData * - 707 23173 : _gst_tensor_filter_transform_get_all_input_data (GstBaseTransform * trans, + 707 23075 : _gst_tensor_filter_transform_get_all_input_data (GstBaseTransform * trans, 708 : GstBuffer * buf) 709 : { - 710 23173 : GstTensorFilter *self = GST_TENSOR_FILTER_CAST (trans); - 711 23173 : GstTensorFilterPrivate *priv = &self->priv; - 712 23173 : GstTensorFilterProperties *prop = &priv->prop; + 710 23075 : GstTensorFilter *self = GST_TENSOR_FILTER_CAST (trans); + 711 23075 : GstTensorFilterPrivate *priv = &self->priv; + 712 23075 : GstTensorFilterProperties *prop = &priv->prop; 713 : guint i; 714 : gsize hsize; - 715 23173 : FilterTransformData *trans_data = NULL; + 715 23075 : FilterTransformData *trans_data = NULL; 716 : - 717 23173 : trans_data = g_new0 (FilterTransformData, 1); + 717 23075 : trans_data = g_new0 (FilterTransformData, 1); 718 : - 719 23173 : if (!trans_data) { + 719 23075 : if (!trans_data) { 720 0 : ml_loge 721 : ("Failed to allocate memory for internal data of tensor filter transform input data."); 722 0 : return NULL; 723 : } 724 : - 725 23173 : trans_data->num_tensors = gst_tensor_buffer_get_count (buf); - 726 23173 : trans_data->is_flexible = - 727 23173 : gst_tensor_pad_caps_is_flexible (GST_BASE_TRANSFORM_SINK_PAD (trans)); + 725 23075 : trans_data->num_tensors = gst_tensor_buffer_get_count (buf); + 726 23075 : trans_data->is_flexible = + 727 23075 : gst_tensor_pad_caps_is_flexible (GST_BASE_TRANSFORM_SINK_PAD (trans)); 728 : - 729 46814 : for (i = 0; i < trans_data->num_tensors; i++) { - 730 23641 : trans_data->mem[i] = gst_tensor_buffer_get_nth_memory (buf, i); - 731 23641 : if (!gst_memory_map (trans_data->mem[i], &trans_data->info[i], + 729 46618 : for (i = 0; i < trans_data->num_tensors; i++) { + 730 23543 : trans_data->mem[i] = gst_tensor_buffer_get_nth_memory (buf, i); + 731 23543 : if (!gst_memory_map (trans_data->mem[i], &trans_data->info[i], 732 : GST_MAP_READ)) { 733 0 : ml_logf_stacktrace 734 : ("gst_tensor_filter_transform: For the given input buffer, tensor-filter (%s : %s) cannot map input memory from the buffer for reading. The %u-th memory chunk (%u-th tensor) has failed for memory map.\n", @@ -800,45 +800,45 @@ 738 0 : return NULL; 739 : } 740 : - 741 23641 : hsize = _gst_tensor_filter_convert_meta (trans_data, &prop->input_meta, i); + 741 23543 : hsize = _gst_tensor_filter_convert_meta (trans_data, &prop->input_meta, i); 742 : - 743 23641 : trans_data->tensors[i].data = trans_data->info[i].data + hsize; - 744 23641 : trans_data->tensors[i].size = trans_data->info[i].size - hsize; + 743 23543 : trans_data->tensors[i].data = trans_data->info[i].data + hsize; + 744 23543 : trans_data->tensors[i].size = trans_data->info[i].size - hsize; 745 : } 746 : - 747 23173 : return trans_data; + 747 23075 : return trans_data; 748 : } 749 : 750 : /** 751 : * @brief Internal function to get invoke tensors. 752 : */ 753 : static GstTensorMemory * - 754 23173 : _gst_tensor_filter_transform_get_invoke_tensors (GstBaseTransform * trans, + 754 23075 : _gst_tensor_filter_transform_get_invoke_tensors (GstBaseTransform * trans, 755 : FilterTransformData * trans_data) 756 : { - 757 23173 : GstTensorFilter *self = GST_TENSOR_FILTER_CAST (trans); - 758 23173 : GstTensorFilterPrivate *priv = &self->priv; - 759 23173 : GstTensorFilterProperties *prop = &priv->prop; + 757 23075 : GstTensorFilter *self = GST_TENSOR_FILTER_CAST (trans); + 758 23075 : GstTensorFilterPrivate *priv = &self->priv; + 759 23075 : GstTensorFilterProperties *prop = &priv->prop; 760 : guint i; 761 : gsize expected; - 762 23173 : GstTensorMemory *invoke_tensors = NULL; - 763 23173 : guint invoke_num_tensors = 0; + 762 23075 : GstTensorMemory *invoke_tensors = NULL; + 763 23075 : guint invoke_num_tensors = 0; 764 : - 765 23173 : if (priv->combi.in_combi_defined) { + 765 23075 : if (priv->combi.in_combi_defined) { 766 1 : invoke_num_tensors = g_list_length (priv->combi.in_combi); 767 : } else { - 768 23172 : if (trans_data->num_tensors != prop->input_meta.num_tensors) { + 768 23074 : if (trans_data->num_tensors != prop->input_meta.num_tensors) { 769 1 : ml_loge_stacktrace 770 : ("gst_tensor_filter_transform: Input buffer has invalid number of memory blocks (%u), which is expected to be %u (the number of tensors). Maybe, the pad capability is not consistent with the actual input stream.\n", 771 : prop->input_meta.num_tensors, prop->input_meta.num_tensors); 772 1 : return NULL; 773 : } - 774 23171 : invoke_num_tensors = trans_data->num_tensors; + 774 23073 : invoke_num_tensors = trans_data->num_tensors; 775 : } 776 : - 777 23172 : invoke_tensors = g_new0 (GstTensorMemory, invoke_num_tensors); + 777 23074 : invoke_tensors = g_new0 (GstTensorMemory, invoke_num_tensors); 778 : - 779 23172 : if (!invoke_tensors) { + 779 23074 : if (!invoke_tensors) { 780 0 : ml_loge 781 : ("Failed to allocate memory for internal data of tensor filter transform invoke tensors. The number of invoke tensors: %u", 782 : invoke_num_tensors); @@ -846,7 +846,7 @@ 784 : } 785 : 786 : /* Prepare tensors to invoke. */ - 787 23172 : if (priv->combi.in_combi_defined) { + 787 23074 : if (priv->combi.in_combi_defined) { 788 : GList *list; 789 1 : guint info_idx = 0; 790 : @@ -874,9 +874,9 @@ 812 1 : invoke_tensors[info_idx++] = trans_data->tensors[i]; 813 : } 814 : } else { - 815 46807 : for (i = 0; i < prop->input_meta.num_tensors; i++) { - 816 23637 : expected = gst_tensor_filter_get_tensor_size (self, i, TRUE); - 817 23637 : if (expected != trans_data->tensors[i].size) { + 815 46611 : for (i = 0; i < prop->input_meta.num_tensors; i++) { + 816 23539 : expected = gst_tensor_filter_get_tensor_size (self, i, TRUE); + 817 23539 : if (expected != trans_data->tensors[i].size) { 818 1 : ml_loge_stacktrace 819 : ("gst_tensor_filter_transform: Input buffer size (%u'th memory chunk: %zd) is invalid, which is expected to be %zd, which is the frame size of the corresponding tensor. Maybe, the pad capability is not consistent with the actual input stream; if the size is supposed to change dynamically and the given neural network, framework, and the subpluigins can handle it, please consider using format=flexible.\n", 820 : i, trans_data->tensors[i].size, expected); @@ -884,68 +884,68 @@ 822 1 : return NULL; 823 : } 824 : - 825 23636 : invoke_tensors[i] = trans_data->tensors[i]; + 825 23538 : invoke_tensors[i] = trans_data->tensors[i]; 826 : } 827 : } 828 : - 829 23171 : return invoke_tensors; + 829 23073 : return invoke_tensors; 830 : } 831 : 832 : /** 833 : * @brief Internal function to get output tensors. 834 : */ 835 : static FilterTransformData * - 836 23171 : _gst_tensor_filter_transform_get_output_data (GstBaseTransform * trans) + 836 23073 : _gst_tensor_filter_transform_get_output_data (GstBaseTransform * trans) 837 : { - 838 23171 : GstTensorFilter *self = GST_TENSOR_FILTER_CAST (trans); - 839 23171 : GstTensorFilterPrivate *priv = &self->priv; - 840 23171 : GstTensorFilterProperties *prop = &priv->prop; - 841 23171 : FilterTransformData *trans_data = NULL; + 838 23073 : GstTensorFilter *self = GST_TENSOR_FILTER_CAST (trans); + 839 23073 : GstTensorFilterPrivate *priv = &self->priv; + 840 23073 : GstTensorFilterProperties *prop = &priv->prop; + 841 23073 : FilterTransformData *trans_data = NULL; 842 : - 843 23171 : trans_data = g_new0 (FilterTransformData, 1); + 843 23073 : trans_data = g_new0 (FilterTransformData, 1); 844 : - 845 23171 : if (!trans_data) { + 845 23073 : if (!trans_data) { 846 0 : ml_loge 847 : ("Failed to allocate memory for internal data of tensor filter transform output data."); 848 0 : return NULL; 849 : } 850 : - 851 23171 : trans_data->num_tensors = prop->output_meta.num_tensors; - 852 23171 : trans_data->allocate_in_invoke = gst_tensor_filter_allocate_in_invoke (priv); - 853 23171 : trans_data->is_flexible = - 854 23171 : gst_tensor_pad_caps_is_flexible (GST_BASE_TRANSFORM_SRC_PAD (trans)); + 851 23073 : trans_data->num_tensors = prop->output_meta.num_tensors; + 852 23073 : trans_data->allocate_in_invoke = gst_tensor_filter_allocate_in_invoke (priv); + 853 23073 : trans_data->is_flexible = + 854 23073 : gst_tensor_pad_caps_is_flexible (GST_BASE_TRANSFORM_SRC_PAD (trans)); 855 : - 856 23171 : if (prop->invoke_dynamic && !trans_data->is_flexible) { + 856 23073 : if (prop->invoke_dynamic && !trans_data->is_flexible) { 857 0 : ml_loge 858 : ("Dynamic Invoke of tensor filter is activated but the output of tensor filter is static tensors. Currently, only flexible tensors is supported as output of dynamic invoke. If you don't want to dynamic invoke, remove the invoke-dynamic option of tensor filter."); 859 0 : g_free (trans_data); 860 0 : return NULL; 861 : } 862 : - 863 23171 : return trans_data; + 863 23073 : return trans_data; 864 : } 865 : 866 : /** 867 : * @brief Internal function to get output tensors. 868 : */ 869 : static GstFlowReturn - 870 23171 : _gst_tensor_filter_transform_prepare_output_tensors (GstBaseTransform * trans, + 870 23073 : _gst_tensor_filter_transform_prepare_output_tensors (GstBaseTransform * trans, 871 : FilterTransformData * trans_data) 872 : { - 873 23171 : GstTensorFilter *self = GST_TENSOR_FILTER_CAST (trans); - 874 23171 : GstTensorFilterPrivate *priv = &self->priv; - 875 23171 : GstTensorFilterProperties *prop = &priv->prop; + 873 23073 : GstTensorFilter *self = GST_TENSOR_FILTER_CAST (trans); + 874 23073 : GstTensorFilterPrivate *priv = &self->priv; + 875 23073 : GstTensorFilterProperties *prop = &priv->prop; 876 : GstTensorInfo *_info; 877 : guint i; 878 : gsize hsize; 879 : - 880 46717 : for (i = 0; i < prop->output_meta.num_tensors; i++) { - 881 23547 : trans_data->tensors[i].data = NULL; - 882 23547 : trans_data->tensors[i].size = - 883 23547 : gst_tensor_filter_get_tensor_size (self, i, FALSE); + 880 46521 : for (i = 0; i < prop->output_meta.num_tensors; i++) { + 881 23449 : trans_data->tensors[i].data = NULL; + 882 23449 : trans_data->tensors[i].size = + 883 23449 : gst_tensor_filter_get_tensor_size (self, i, FALSE); 884 : - 885 23547 : hsize = 0; - 886 23547 : if (trans_data->is_flexible && !prop->invoke_dynamic) { + 885 23449 : hsize = 0; + 886 23449 : if (trans_data->is_flexible && !prop->invoke_dynamic) { 887 2 : _info = gst_tensors_info_get_nth_info (&prop->output_meta, i); 888 2 : if (!gst_tensor_info_convert_to_meta (_info, &trans_data->meta[i])) { 889 1 : ml_loge_stacktrace @@ -957,16 +957,16 @@ 895 : } 896 : 897 : /* allocate memory if allocate_in_invoke is FALSE */ - 898 23546 : if (!trans_data->allocate_in_invoke) { - 899 23503 : trans_data->mem[i] = - 900 23503 : gst_allocator_alloc (NULL, trans_data->tensors[i].size + hsize, NULL); - 901 23503 : if (!trans_data->mem[i]) { + 898 23448 : if (!trans_data->allocate_in_invoke) { + 899 23405 : trans_data->mem[i] = + 900 23405 : gst_allocator_alloc (NULL, trans_data->tensors[i].size + hsize, NULL); + 901 23405 : if (!trans_data->mem[i]) { 902 0 : ml_loge_stacktrace 903 : ("gst_tensor_filter_transform: cannot allocate memory for the output buffer (%u'th memory chunk for %u'th tensor), which requires %zd bytes. gst_allocate_alloc has returned Null. Out of memory?", 904 : i, i, trans_data->tensors[i].size + hsize); 905 0 : return GST_FLOW_ERROR; 906 : } - 907 23503 : if (!gst_memory_map (trans_data->mem[i], &trans_data->info[i], + 907 23405 : if (!gst_memory_map (trans_data->mem[i], &trans_data->info[i], 908 : GST_MAP_WRITE)) { 909 0 : ml_loge_stacktrace 910 : ("gst_tensor_filter_transform: For the given output buffer, allocated by gst_tensor_filter_transform, it cannot map output memory buffer for the %u'th memory chunk (%u'th output tensor) for write.\n", @@ -974,10 +974,10 @@ 912 0 : return GST_FLOW_ERROR; 913 : } 914 : - 915 23503 : trans_data->tensors[i].data = trans_data->info[i].data + hsize; + 915 23405 : trans_data->tensors[i].data = trans_data->info[i].data + hsize; 916 : 917 : /* append header */ - 918 23503 : if (trans_data->is_flexible) { + 918 23405 : if (trans_data->is_flexible) { 919 1 : if (FALSE == gst_tensor_meta_info_update_header 920 1 : (&trans_data->meta[i], trans_data->info[i].data)) { 921 0 : ml_loge_stacktrace @@ -988,60 +988,60 @@ 926 : } 927 : } 928 : } - 929 23170 : return GST_FLOW_OK; + 929 23072 : return GST_FLOW_OK; 930 : } 931 : 932 : /** 933 : * @brief Internal function to check the invoke result. 934 : */ 935 : static GstFlowReturn - 936 23170 : _gst_tensor_filter_transform_check_invoke_result (GstBaseTransform * trans, + 936 23072 : _gst_tensor_filter_transform_check_invoke_result (GstBaseTransform * trans, 937 : FilterTransformData * in_trans_data, FilterTransformData * out_trans_data, 938 : gint invoke_res) 939 : { - 940 23170 : GstTensorFilter *self = GST_TENSOR_FILTER_CAST (trans); - 941 23170 : GstTensorFilterPrivate *priv = &self->priv; - 942 23170 : GstTensorFilterProperties *prop = &priv->prop; + 940 23072 : GstTensorFilter *self = GST_TENSOR_FILTER_CAST (trans); + 941 23072 : GstTensorFilterPrivate *priv = &self->priv; + 942 23072 : GstTensorFilterProperties *prop = &priv->prop; 943 : guint i; 944 : - 945 46807 : for (i = 0; i < in_trans_data->num_tensors; i++) { - 946 23637 : gst_memory_unmap (in_trans_data->mem[i], &in_trans_data->info[i]); - 947 23637 : if (invoke_res != 0) + 945 46611 : for (i = 0; i < in_trans_data->num_tensors; i++) { + 946 23539 : gst_memory_unmap (in_trans_data->mem[i], &in_trans_data->info[i]); + 947 23539 : if (invoke_res != 0) 948 20 : gst_memory_unref (in_trans_data->mem[i]); 949 : } 950 : - 951 23170 : if (!out_trans_data->allocate_in_invoke) { - 952 46628 : for (i = 0; i < prop->output_meta.num_tensors; i++) { - 953 23503 : gst_memory_unmap (out_trans_data->mem[i], &out_trans_data->info[i]); - 954 23503 : if (invoke_res != 0) + 951 23072 : if (!out_trans_data->allocate_in_invoke) { + 952 46432 : for (i = 0; i < prop->output_meta.num_tensors; i++) { + 953 23405 : gst_memory_unmap (out_trans_data->mem[i], &out_trans_data->info[i]); + 954 23405 : if (invoke_res != 0) 955 20 : gst_memory_unref (out_trans_data->mem[i]); 956 : } 957 : } 958 : - 959 23170 : if (invoke_res < 0) { + 959 23072 : if (invoke_res < 0) { 960 0 : ml_loge_stacktrace 961 : ("Calling invoke function (inference instance) of the tensor-filter subplugin (%s for %s) has failed with error code (%d).\n", 962 : prop->fwname, TF_MODELNAME (prop), invoke_res); 963 0 : return GST_FLOW_ERROR; - 964 23170 : } else if (invoke_res > 0) { + 964 23072 : } else if (invoke_res > 0) { 965 : /* drop this buffer */ 966 20 : return GST_BASE_TRANSFORM_FLOW_DROPPED; 967 : } 968 : - 969 23150 : return GST_FLOW_OK; + 969 23052 : return GST_FLOW_OK; 970 : } 971 : 972 : /** 973 : * @brief Internal function to make output buffer. 974 : */ 975 : static void - 976 23150 : _gst_tensor_filter_transform_update_outbuf (GstBaseTransform * trans, + 976 23052 : _gst_tensor_filter_transform_update_outbuf (GstBaseTransform * trans, 977 : FilterTransformData * in_trans_data, FilterTransformData * out_trans_data, 978 : GstBuffer * outbuf) 979 : { - 980 23150 : GstTensorFilter *self = GST_TENSOR_FILTER_CAST (trans); - 981 23150 : GstTensorFilterPrivate *priv = &self->priv; - 982 23150 : GstTensorFilterProperties *prop = &priv->prop; + 980 23052 : GstTensorFilter *self = GST_TENSOR_FILTER_CAST (trans); + 981 23052 : GstTensorFilterPrivate *priv = &self->priv; + 982 23052 : GstTensorFilterProperties *prop = &priv->prop; 983 : GstMemory *mem; 984 : guint i; 985 : GList *list; @@ -1049,7 +1049,7 @@ 987 : gsize hsize; 988 : 989 : /* If output combination is defined, append input tensors first */ - 990 23150 : if (priv->combi.out_combi_i_defined) { + 990 23052 : if (priv->combi.out_combi_i_defined) { 991 2 : for (list = priv->combi.out_combi_i; list != NULL; list = list->next) { 992 1 : i = GPOINTER_TO_UINT (list->data); 993 : @@ -1072,14 +1072,14 @@ 1010 : } 1011 : } 1012 : - 1013 46767 : for (i = 0; i < in_trans_data->num_tensors; i++) { - 1014 23617 : if (in_trans_data->mem[i]) { - 1015 23617 : gst_memory_unref (in_trans_data->mem[i]); + 1013 46571 : for (i = 0; i < in_trans_data->num_tensors; i++) { + 1014 23519 : if (in_trans_data->mem[i]) { + 1015 23519 : gst_memory_unref (in_trans_data->mem[i]); 1016 : } 1017 : } 1018 : - 1019 46678 : for (i = 0; i < prop->output_meta.num_tensors; i++) { - 1020 23528 : if (priv->combi.out_combi_o_defined) { + 1019 46482 : for (i = 0; i < prop->output_meta.num_tensors; i++) { + 1020 23430 : if (priv->combi.out_combi_o_defined) { 1021 1 : gboolean out_combi = FALSE; 1022 : 1023 1 : for (list = priv->combi.out_combi_o; list != NULL; list = list->next) { @@ -1101,7 +1101,7 @@ 1039 : } 1040 : } 1041 : - 1042 23528 : if (prop->invoke_dynamic) { + 1042 23430 : if (prop->invoke_dynamic) { 1043 : GstTensorMetaInfo meta; 1044 : GstMemory *flex_mem; 1045 : @@ -1119,7 +1119,7 @@ 1057 18 : out_trans_data->mem[i] = 1058 18 : gst_tensor_meta_info_append_header (&meta, flex_mem); 1059 18 : gst_memory_unref (flex_mem); - 1060 23510 : } else if (out_trans_data->allocate_in_invoke) { + 1060 23412 : } else if (out_trans_data->allocate_in_invoke) { 1061 : /* prepare memory block if successfully done */ 1062 27 : out_trans_data->mem[i] = mem = gst_tensor_filter_get_wrapped_mem (self, 1063 : out_trans_data->tensors[i].data, out_trans_data->tensors[i].size); @@ -1133,10 +1133,10 @@ 1071 : } 1072 : 1073 : /* append the memory block to outbuf */ - 1074 23528 : gst_tensor_buffer_append_memory (outbuf, out_trans_data->mem[i], - 1075 23528 : gst_tensors_info_get_nth_info (&prop->output_meta, i)); + 1074 23430 : gst_tensor_buffer_append_memory (outbuf, out_trans_data->mem[i], + 1075 23430 : gst_tensors_info_get_nth_info (&prop->output_meta, i)); 1076 : } - 1077 23150 : } + 1077 23052 : } 1078 : 1079 : /** 1080 : * @brief Called when there is no input within suspend time specified by the user. @@ -1156,20 +1156,20 @@ 1094 : * @brief non-ip transform. required vmethod of GstBaseTransform. 1095 : */ 1096 : static GstFlowReturn - 1097 23321 : gst_tensor_filter_transform (GstBaseTransform * trans, + 1097 23223 : gst_tensor_filter_transform (GstBaseTransform * trans, 1098 : GstBuffer * inbuf, GstBuffer * outbuf) 1099 : { - 1100 23321 : GstTensorFilter *self = GST_TENSOR_FILTER_CAST (trans); - 1101 23321 : GstTensorFilterPrivate *priv = &self->priv; - 1102 23321 : gint invoke_res = -1; + 1100 23223 : GstTensorFilter *self = GST_TENSOR_FILTER_CAST (trans); + 1101 23223 : GstTensorFilterPrivate *priv = &self->priv; + 1102 23223 : gint invoke_res = -1; 1103 : gboolean need_profiling; - 1104 23321 : GstFlowReturn retval = GST_FLOW_OK; - 1105 23321 : FilterTransformData *in_trans_data = NULL; - 1106 23321 : FilterTransformData *out_trans_data = NULL; - 1107 23321 : GstTensorMemory *invoke_tensors = NULL; + 1104 23223 : GstFlowReturn retval = GST_FLOW_OK; + 1105 23223 : FilterTransformData *in_trans_data = NULL; + 1106 23223 : FilterTransformData *out_trans_data = NULL; + 1107 23223 : GstTensorMemory *invoke_tensors = NULL; 1108 : 1109 : /** Reset suspend timeout */ - 1110 23321 : if (priv->prop.suspend != 0) { + 1110 23223 : if (priv->prop.suspend != 0) { 1111 2 : GST_OBJECT_LOCK (self); 1112 2 : nnstreamer_watchdog_release (priv->watchdog_h); 1113 2 : GST_OBJECT_UNLOCK (self); @@ -1177,57 +1177,57 @@ 1115 : } 1116 : 1117 : /* 0. Check all properties. */ - 1118 23321 : retval = _gst_tensor_filter_transform_validate (trans, inbuf, outbuf); - 1119 23321 : if (retval != GST_FLOW_OK) + 1118 23223 : retval = _gst_tensor_filter_transform_validate (trans, inbuf, outbuf); + 1119 23223 : if (retval != GST_FLOW_OK) 1120 148 : return retval; 1121 : 1122 : in_trans_data = - 1123 23173 : _gst_tensor_filter_transform_get_all_input_data (trans, inbuf); - 1124 23173 : if (!in_trans_data) { + 1123 23075 : _gst_tensor_filter_transform_get_all_input_data (trans, inbuf); + 1124 23075 : if (!in_trans_data) { 1125 0 : return GST_FLOW_ERROR; 1126 : } 1127 : 1128 : invoke_tensors = - 1129 23173 : _gst_tensor_filter_transform_get_invoke_tensors (trans, in_trans_data); - 1130 23173 : if (!invoke_tensors) { + 1129 23075 : _gst_tensor_filter_transform_get_invoke_tensors (trans, in_trans_data); + 1130 23075 : if (!invoke_tensors) { 1131 2 : goto mem_map_error; 1132 : } 1133 : - 1134 23171 : out_trans_data = _gst_tensor_filter_transform_get_output_data (trans); - 1135 23171 : if (!out_trans_data) { + 1134 23073 : out_trans_data = _gst_tensor_filter_transform_get_output_data (trans); + 1135 23073 : if (!out_trans_data) { 1136 0 : goto mem_map_error; 1137 : } 1138 : 1139 : retval = - 1140 23171 : _gst_tensor_filter_transform_prepare_output_tensors (trans, + 1140 23073 : _gst_tensor_filter_transform_prepare_output_tensors (trans, 1141 : out_trans_data); - 1142 23171 : if (retval != GST_FLOW_OK) { + 1142 23073 : if (retval != GST_FLOW_OK) { 1143 1 : goto mem_map_error; 1144 : } 1145 : - 1146 46187 : need_profiling = (priv->latency_mode > 0 || priv->throughput_mode > 0 || - 1147 23017 : priv->latency_reporting); - 1148 23170 : if (need_profiling) + 1146 45991 : need_profiling = (priv->latency_mode > 0 || priv->throughput_mode > 0 || + 1147 22919 : priv->latency_reporting); + 1148 23072 : if (need_profiling) 1149 160 : prepare_statistics (priv); 1150 : - 1151 23170 : GST_TF_FW_INVOKE_COMPAT (priv, invoke_res, invoke_tensors, + 1151 23072 : GST_TF_FW_INVOKE_COMPAT (priv, invoke_res, invoke_tensors, 1152 : out_trans_data->tensors); - 1153 23170 : if (need_profiling) { + 1153 23072 : if (need_profiling) { 1154 160 : record_statistics (priv); 1155 160 : track_latency (self); 1156 : } 1157 : 1158 : retval = - 1159 23170 : _gst_tensor_filter_transform_check_invoke_result (trans, in_trans_data, + 1159 23072 : _gst_tensor_filter_transform_check_invoke_result (trans, in_trans_data, 1160 : out_trans_data, invoke_res); - 1161 23170 : if (retval != GST_FLOW_OK) { + 1161 23072 : if (retval != GST_FLOW_OK) { 1162 20 : goto done; 1163 : } 1164 : - 1165 23150 : _gst_tensor_filter_transform_update_outbuf (trans, in_trans_data, + 1165 23052 : _gst_tensor_filter_transform_update_outbuf (trans, in_trans_data, 1166 : out_trans_data, outbuf); 1167 : - 1168 23150 : goto done; + 1168 23052 : goto done; 1169 : 1170 3 : mem_map_error: 1171 3 : retval = GST_FLOW_ERROR; @@ -1243,7 +1243,7 @@ 1181 : 1182 2 : done: 1183 : /** Set suspend timeout */ - 1184 23173 : if (retval == GST_FLOW_OK && priv->prop.suspend != 0) { + 1184 23075 : if (retval == GST_FLOW_OK && priv->prop.suspend != 0) { 1185 2 : GST_OBJECT_LOCK (self); 1186 2 : if (!nnstreamer_watchdog_feed (priv->watchdog_h, 1187 : gst_tensor_filter_watchdog_trigger, priv->prop.suspend, priv)) { @@ -1252,11 +1252,11 @@ 1190 2 : GST_OBJECT_UNLOCK (self); 1191 : } 1192 : - 1193 23173 : g_free (in_trans_data); - 1194 23173 : g_free (out_trans_data); - 1195 23173 : g_free (invoke_tensors); + 1193 23075 : g_free (in_trans_data); + 1194 23075 : g_free (out_trans_data); + 1195 23075 : g_free (invoke_tensors); 1196 : - 1197 23173 : return retval; + 1197 23075 : return retval; 1198 : } 1199 : 1200 : /** @@ -1464,7 +1464,7 @@ 1402 : * Be careful not to fix/set caps at this stage. Negotiation not completed yet. 1403 : */ 1404 : static GstCaps * - 1405 2718 : gst_tensor_filter_transform_caps (GstBaseTransform * trans, + 1405 2734 : gst_tensor_filter_transform_caps (GstBaseTransform * trans, 1406 : GstPadDirection direction, GstCaps * caps, GstCaps * filter) 1407 : { 1408 : GstTensorFilter *self; @@ -1474,26 +1474,26 @@ 1412 : GstPad *pad; 1413 : GstCaps *result; 1414 : GstStructure *structure; - 1415 2718 : gboolean configured = FALSE; + 1415 2734 : gboolean configured = FALSE; 1416 : - 1417 2718 : self = GST_TENSOR_FILTER_CAST (trans); - 1418 2718 : priv = &self->priv; - 1419 2718 : prop = &priv->prop; + 1417 2734 : self = GST_TENSOR_FILTER_CAST (trans); + 1418 2734 : priv = &self->priv; + 1419 2734 : prop = &priv->prop; 1420 : 1421 : /* Not ready */ - 1422 2718 : if (priv->fw == NULL) - 1423 2718 : return NULL; + 1422 2734 : if (priv->fw == NULL) + 1423 2734 : return NULL; 1424 : - 1425 2654 : gst_tensors_config_init (&in_config); - 1426 2654 : gst_tensors_config_init (&out_config); + 1425 2670 : gst_tensors_config_init (&in_config); + 1426 2670 : gst_tensors_config_init (&out_config); 1427 : - 1428 2654 : silent_debug_caps (self, caps, "from"); - 1429 2654 : silent_debug_caps (self, filter, "filter"); + 1428 2670 : silent_debug_caps (self, caps, "from"); + 1429 2670 : silent_debug_caps (self, filter, "filter"); 1430 : - 1431 2654 : if (direction == GST_PAD_SINK) - 1432 1339 : pad = GST_BASE_TRANSFORM_SRC_PAD (trans); + 1431 2670 : if (direction == GST_PAD_SINK) + 1432 1346 : pad = GST_BASE_TRANSFORM_SRC_PAD (trans); 1433 : else - 1434 1315 : pad = GST_BASE_TRANSFORM_SINK_PAD (trans); + 1434 1324 : pad = GST_BASE_TRANSFORM_SINK_PAD (trans); 1435 : 1436 : /** 1437 : * GstTensorFilter has to parse the tensor dimension and type from NN model. @@ -1503,25 +1503,25 @@ 1441 : * 1442 : * @todo how to set the framerate of output tensors 1443 : */ - 1444 2654 : gst_tensor_filter_load_tensor_info (&self->priv); + 1444 2670 : gst_tensor_filter_load_tensor_info (&self->priv); 1445 : - 1446 2654 : structure = gst_caps_get_structure (caps, 0); - 1447 2654 : gst_tensors_config_from_structure (&in_config, structure); + 1446 2670 : structure = gst_caps_get_structure (caps, 0); + 1447 2670 : gst_tensors_config_from_structure (&in_config, structure); 1448 : 1449 : /* set framerate from input config */ - 1450 2654 : out_config.rate_n = in_config.rate_n; - 1451 2654 : out_config.rate_d = in_config.rate_d; + 1450 2670 : out_config.rate_n = in_config.rate_n; + 1451 2670 : out_config.rate_d = in_config.rate_d; 1452 : - 1453 2654 : if (direction == GST_PAD_SINK) { + 1453 2670 : if (direction == GST_PAD_SINK) { 1454 : GstTensorsInfo out_info; 1455 : - 1456 1339 : gst_tensors_info_init (&out_info); + 1456 1346 : gst_tensors_info_init (&out_info); 1457 : 1458 : /* caps: sink pad. get src pad info */ - 1459 1339 : if (prop->output_configured) { + 1459 1346 : if (prop->output_configured) { 1460 : /* caps with sub-plugin's tensor info */ - 1461 805 : gst_tensors_info_copy (&out_info, &prop->output_meta); - 1462 805 : configured = TRUE; + 1461 812 : gst_tensors_info_copy (&out_info, &prop->output_meta); + 1462 812 : configured = TRUE; 1463 : } else { 1464 : /* check in-tensor info to call setInputDimension */ 1465 534 : configured = gst_tensor_filter_common_get_out_info (priv, @@ -1529,32 +1529,32 @@ 1467 : } 1468 : 1469 : /* If output combination option is given, reconfigure tensor info */ - 1470 1339 : if (configured) - 1471 1042 : configured = gst_tensor_filter_common_get_combined_out_info (priv, + 1470 1346 : if (configured) + 1471 1049 : configured = gst_tensor_filter_common_get_combined_out_info (priv, 1472 : &in_config.info, &out_info, &out_config.info); 1473 : - 1474 1339 : gst_tensors_info_free (&out_info); + 1474 1346 : gst_tensors_info_free (&out_info); 1475 : } else { 1476 : /* caps: src pad. get sink pad info */ - 1477 1315 : if (prop->input_configured && !priv->combi.in_combi_defined) { + 1477 1324 : if (prop->input_configured && !priv->combi.in_combi_defined) { 1478 : /* caps with sub-plugin's tensor info */ - 1479 837 : gst_tensors_info_copy (&out_config.info, &prop->input_meta); - 1480 837 : configured = TRUE; + 1479 846 : gst_tensors_info_copy (&out_config.info, &prop->input_meta); + 1480 846 : configured = TRUE; 1481 : } 1482 : } 1483 : - 1484 2654 : if (configured) { + 1484 2670 : if (configured) { 1485 : /* output info may be configured */ - 1486 1877 : result = gst_tensor_pad_possible_caps_from_config (pad, &out_config); + 1486 1893 : result = gst_tensor_pad_possible_caps_from_config (pad, &out_config); 1487 : 1488 : /* Update dimension for src pad caps. */ - 1489 1877 : if (direction == GST_PAD_SINK) { - 1490 1040 : GstCaps *peer = gst_pad_peer_query_caps (pad, NULL); + 1489 1893 : if (direction == GST_PAD_SINK) { + 1490 1047 : GstCaps *peer = gst_pad_peer_query_caps (pad, NULL); 1491 : - 1492 1040 : if (peer) { - 1493 1040 : if (!gst_caps_is_any (peer)) - 1494 458 : gst_tensor_caps_update_dimension (result, peer); - 1495 1040 : gst_caps_unref (peer); + 1492 1047 : if (peer) { + 1493 1047 : if (!gst_caps_is_any (peer)) + 1494 465 : gst_tensor_caps_update_dimension (result, peer); + 1495 1047 : gst_caps_unref (peer); 1496 : } 1497 : } 1498 : } else { @@ -1562,7 +1562,7 @@ 1500 777 : result = gst_caps_from_string (CAPS_STRING); 1501 : } 1502 : - 1503 2654 : if (filter && gst_caps_get_size (filter) > 0) { + 1503 2670 : if (filter && gst_caps_get_size (filter) > 0) { 1504 : GstCaps *intersection; 1505 : 1506 : /** @@ -1571,16 +1571,16 @@ 1509 : * For now, we assume that if caps-size is 0, filter is "ANY". 1510 : */ 1511 : intersection = - 1512 507 : gst_caps_intersect_full (result, filter, GST_CAPS_INTERSECT_FIRST); + 1512 514 : gst_caps_intersect_full (result, filter, GST_CAPS_INTERSECT_FIRST); 1513 : - 1514 507 : gst_caps_unref (result); - 1515 507 : result = intersection; + 1514 514 : gst_caps_unref (result); + 1515 514 : result = intersection; 1516 : } 1517 : - 1518 2654 : silent_debug_caps (self, result, "to"); - 1519 2654 : gst_tensors_config_free (&in_config); - 1520 2654 : gst_tensors_config_free (&out_config); - 1521 2654 : return result; + 1518 2670 : silent_debug_caps (self, result, "to"); + 1519 2670 : gst_tensors_config_free (&in_config); + 1520 2670 : gst_tensors_config_free (&out_config); + 1521 2670 : return result; 1522 : } 1523 : 1524 : /** @@ -1682,30 +1682,30 @@ 1620 : * @brief query handling, optional vmethod of GstBaseTransform. 1621 : */ 1622 : static gboolean - 1623 2700 : gst_tensor_filter_query (GstBaseTransform * trans, + 1623 2713 : gst_tensor_filter_query (GstBaseTransform * trans, 1624 : GstPadDirection direction, GstQuery * query) 1625 : { 1626 : GstTensorFilter *self; 1627 : GstTensorFilterPrivate *priv; - 1628 2700 : gboolean res = FALSE; + 1628 2713 : gboolean res = FALSE; 1629 : 1630 : UNUSED (direction); - 1631 2700 : self = GST_TENSOR_FILTER_CAST (trans); - 1632 2700 : priv = &self->priv; + 1631 2713 : self = GST_TENSOR_FILTER_CAST (trans); + 1632 2713 : priv = &self->priv; 1633 : - 1634 2700 : switch (GST_QUERY_TYPE (query)) { - 1635 341 : case GST_QUERY_LATENCY: + 1634 2713 : switch (GST_QUERY_TYPE (query)) { + 1635 338 : case GST_QUERY_LATENCY: 1636 : { 1637 : GstClockTime min, max; 1638 : gboolean live; 1639 : gint estimated; 1640 : gdouble latency; 1641 : - 1642 341 : GST_OBJECT_LOCK (self); - 1643 341 : estimated = (gint) priv->prop.latency; - 1644 341 : GST_OBJECT_UNLOCK (self); + 1642 338 : GST_OBJECT_LOCK (self); + 1643 338 : estimated = (gint) priv->prop.latency; + 1644 338 : GST_OBJECT_UNLOCK (self); 1645 : - 1646 341 : if ((priv->latency_reporting) && (estimated > 0)) { + 1646 338 : if ((priv->latency_reporting) && (estimated > 0)) { 1647 1 : if ((res = gst_pad_peer_query (GST_BASE_TRANSFORM (self)->sinkpad, 1648 : query))) { 1649 1 : gst_query_parse_latency (query, &live, &min, &max); @@ -1729,21 +1729,21 @@ 1667 1 : gst_query_set_latency (query, live, min, max); 1668 : } 1669 : } - 1670 341 : if (!res) { + 1670 338 : if (!res) { 1671 : res = - 1672 340 : GST_BASE_TRANSFORM_CLASS (parent_class)->query (trans, direction, + 1672 337 : GST_BASE_TRANSFORM_CLASS (parent_class)->query (trans, direction, 1673 : query); 1674 : } - 1675 341 : break; + 1675 338 : break; 1676 : } - 1677 2359 : default: + 1677 2375 : default: 1678 : res = - 1679 2359 : GST_BASE_TRANSFORM_CLASS (parent_class)->query (trans, direction, + 1679 2375 : GST_BASE_TRANSFORM_CLASS (parent_class)->query (trans, direction, 1680 : query); - 1681 2359 : break; + 1681 2375 : break; 1682 : } 1683 : - 1684 2700 : return res; + 1684 2713 : return res; 1685 : } 1686 : 1687 : /** @@ -1753,7 +1753,7 @@ 1691 : * This is called when non-ip mode is used. 1692 : */ 1693 : static gboolean - 1694 23321 : gst_tensor_filter_transform_size (GstBaseTransform * trans, + 1694 23223 : gst_tensor_filter_transform_size (GstBaseTransform * trans, 1695 : GstPadDirection direction, GstCaps * caps, gsize size, 1696 : GstCaps * othercaps, gsize * othersize) 1697 : { @@ -1763,16 +1763,16 @@ 1701 : UNUSED (caps); 1702 : UNUSED (size); 1703 : UNUSED (othercaps); - 1704 23321 : self = GST_TENSOR_FILTER_CAST (trans); - 1705 23321 : priv = &self->priv; + 1704 23223 : self = GST_TENSOR_FILTER_CAST (trans); + 1705 23223 : priv = &self->priv; 1706 : /** Internal Logic Error. Cannot proceed without configured pipeline */ - 1707 23321 : g_assert (priv->configured); + 1707 23223 : g_assert (priv->configured); 1708 : /** 1709 : * Consider multi-tensors. 1710 : * Set each memory block in transform() 1711 : */ - 1712 23321 : *othersize = 0; - 1713 23321 : return TRUE; + 1712 23223 : *othersize = 0; + 1713 23223 : return TRUE; 1714 : } 1715 : 1716 : /** @@ -1782,13 +1782,13 @@ 1720 : * @return TRUE if there is no error. 1721 : */ 1722 : static gboolean - 1723 685 : gst_tensor_filter_sink_event (GstBaseTransform * trans, GstEvent * event) + 1723 689 : gst_tensor_filter_sink_event (GstBaseTransform * trans, GstEvent * event) 1724 : { 1725 : GstTensorFilter *self; 1726 : GstTensorFilterPrivate *priv; - 1727 685 : self = GST_TENSOR_FILTER_CAST (trans); - 1728 685 : priv = &self->priv; - 1729 685 : switch (GST_EVENT_TYPE (event)) { + 1727 689 : self = GST_TENSOR_FILTER_CAST (trans); + 1728 689 : priv = &self->priv; + 1729 689 : switch (GST_EVENT_TYPE (event)) { 1730 0 : case GST_EVENT_CUSTOM_DOWNSTREAM: 1731 : { 1732 0 : const GstStructure *structure = gst_event_get_structure (event); @@ -1808,12 +1808,12 @@ 1746 0 : gst_event_unref (event); 1747 0 : return (ret == 0); 1748 : } - 1749 685 : default: - 1750 685 : break; + 1749 689 : default: + 1750 689 : break; 1751 : } 1752 : 1753 : /** other events are handled in the default event handler */ - 1754 685 : return GST_BASE_TRANSFORM_CLASS (parent_class)->sink_event (trans, event); + 1754 689 : return GST_BASE_TRANSFORM_CLASS (parent_class)->sink_event (trans, event); 1755 : } 1756 : 1757 : /** @@ -1823,16 +1823,16 @@ 1761 : * @return TRUE if there is no error. 1762 : */ 1763 : static gboolean - 1764 1905 : gst_tensor_filter_src_event (GstBaseTransform * trans, GstEvent * event) + 1764 1928 : gst_tensor_filter_src_event (GstBaseTransform * trans, GstEvent * event) 1765 : { - 1766 1905 : GstTensorFilter *self = GST_TENSOR_FILTER_CAST (trans); - 1767 1905 : switch (GST_EVENT_TYPE (event)) { - 1768 1540 : case GST_EVENT_QOS: + 1766 1928 : GstTensorFilter *self = GST_TENSOR_FILTER_CAST (trans); + 1767 1928 : switch (GST_EVENT_TYPE (event)) { + 1768 1565 : case GST_EVENT_QOS: 1769 : { 1770 : GstQOSType type; 1771 : GstClockTimeDiff diff; - 1772 1540 : gst_event_parse_qos (event, &type, NULL, &diff, NULL); - 1773 1540 : if (type == GST_QOS_TYPE_THROTTLE && diff > 0) { + 1772 1565 : gst_event_parse_qos (event, &type, NULL, &diff, NULL); + 1773 1565 : if (type == GST_QOS_TYPE_THROTTLE && diff > 0) { 1774 50 : GST_OBJECT_LOCK (trans); 1775 50 : if (self->throttling_delay != 0) 1776 : /* set to more tight framerate */ @@ -1848,11 +1848,11 @@ 1786 : } 1787 : /* fall-through */ 1788 : default: - 1789 1855 : break; + 1789 1878 : break; 1790 : } 1791 : 1792 : /** other events are handled in the default event handler */ - 1793 1855 : return GST_BASE_TRANSFORM_CLASS (parent_class)->src_event (trans, event); + 1793 1878 : return GST_BASE_TRANSFORM_CLASS (parent_class)->src_event (trans, event); 1794 : } 1795 : 1796 : /** diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_common.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_common.c.func-c.html index 88dea3209..4e51ce1e5 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_common.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_common.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_common.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_common.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 79.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 95.9 % @@ -506,63 +506,63 @@ gst_tensor_filter_common_get_combined_out_info - 1190 + 1197 nnstreamer_filter_exit - 1709 + 1711 nnstreamer_filter_probe - 1719 + 1721 nnstreamer_filter_validate - 1719 + 1721 gst_tensor_filter_properties_init - 1942 + 1944 - gst_tensor_filter_load_tensor_info + gst_tensor_filter_common_open_fw - 2849 + 2859 - gst_tensor_filter_common_open_fw + gst_tensor_filter_load_tensor_info - 2859 + 2865 gst_tensors_layout_init - 3884 + 3888 gst_tensors_rank_init - 3884 + 3888 @@ -576,7 +576,7 @@ gst_tensor_filter_allocate_in_invoke - 23179 + 23081 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_common.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_common.c.func.html index 25b9688f4..6d762cb68 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_common.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_common.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_common.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_common.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 79.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 95.9 % @@ -226,7 +226,7 @@ gst_tensor_filter_allocate_in_invoke - 23179 + 23081 @@ -261,7 +261,7 @@ gst_tensor_filter_common_get_combined_out_info - 1190 + 1197 @@ -380,7 +380,7 @@ gst_tensor_filter_load_tensor_info - 2849 + 2865 @@ -401,7 +401,7 @@ gst_tensor_filter_properties_init - 1942 + 1944 @@ -436,7 +436,7 @@ gst_tensors_layout_init - 3884 + 3888 @@ -450,7 +450,7 @@ gst_tensors_rank_init - 3884 + 3888 @@ -471,7 +471,7 @@ nnstreamer_filter_exit - 1709 + 1711 @@ -492,7 +492,7 @@ nnstreamer_filter_probe - 1719 + 1721 @@ -534,7 +534,7 @@ nnstreamer_filter_validate - 1719 + 1721 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_common.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_common.c.gcov.html index 098250e2b..d4505eeea 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_common.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_common.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_common.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_common.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 79.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 95.9 % @@ -167,26 +167,26 @@ 105 : * @brief Initialize the tensors layout. 106 : */ 107 : static void - 108 3884 : gst_tensors_layout_init (tensors_layout layout) + 108 3888 : gst_tensors_layout_init (tensors_layout layout) 109 : { 110 : int i; 111 : - 112 998188 : for (i = 0; i < NNS_TENSOR_SIZE_LIMIT; i++) { - 113 994304 : layout[i] = _NNS_LAYOUT_ANY; + 112 999216 : for (i = 0; i < NNS_TENSOR_SIZE_LIMIT; i++) { + 113 995328 : layout[i] = _NNS_LAYOUT_ANY; 114 : } - 115 3884 : } + 115 3888 : } 116 : 117 : /** 118 : * @brief Initialize the tensors ranks 119 : */ 120 : static void - 121 3884 : gst_tensors_rank_init (unsigned int ranks[]) + 121 3888 : gst_tensors_rank_init (unsigned int ranks[]) 122 : { 123 : int i; - 124 998188 : for (i = 0; i < NNS_TENSOR_SIZE_LIMIT; ++i) { - 125 994304 : ranks[i] = 0; + 124 999216 : for (i = 0; i < NNS_TENSOR_SIZE_LIMIT; ++i) { + 125 995328 : ranks[i] = 0; 126 : } - 127 3884 : } + 127 3888 : } 128 : 129 : /** 130 : * @brief Get tensor layout from string input. @@ -569,19 +569,19 @@ 507 : * @brief Initialize the GstTensorFilterProperties object 508 : */ 509 : static void - 510 1942 : gst_tensor_filter_properties_init (GstTensorFilterProperties * prop) + 510 1944 : gst_tensor_filter_properties_init (GstTensorFilterProperties * prop) 511 : { 512 : /* init null */ - 513 1942 : memset (prop, 0, sizeof (GstTensorFilterProperties)); + 513 1944 : memset (prop, 0, sizeof (GstTensorFilterProperties)); 514 : - 515 1942 : gst_tensors_info_init (&prop->input_meta); - 516 1942 : gst_tensors_layout_init (prop->input_layout); - 517 1942 : gst_tensors_rank_init (prop->input_ranks); + 515 1944 : gst_tensors_info_init (&prop->input_meta); + 516 1944 : gst_tensors_layout_init (prop->input_layout); + 517 1944 : gst_tensors_rank_init (prop->input_ranks); 518 : - 519 1942 : gst_tensors_info_init (&prop->output_meta); - 520 1942 : gst_tensors_layout_init (prop->output_layout); - 521 1942 : gst_tensors_rank_init (prop->output_ranks); - 522 1942 : } + 519 1944 : gst_tensors_info_init (&prop->output_meta); + 520 1944 : gst_tensors_layout_init (prop->output_layout); + 521 1944 : gst_tensors_rank_init (prop->output_ranks); + 522 1944 : } 523 : 524 : /** 525 : * @brief Initialize the GstTensorFilterFrameworkInfo object @@ -619,41 +619,41 @@ 557 : * @brief Validate filter sub-plugin's data. 558 : */ 559 : static gboolean - 560 1719 : nnstreamer_filter_validate (const GstTensorFilterFramework * tfsp) + 560 1721 : nnstreamer_filter_validate (const GstTensorFilterFramework * tfsp) 561 : { - 562 1719 : if (GST_TF_FW_V0 (tfsp)) { - 563 874 : if (!tfsp->name) { + 562 1721 : if (GST_TF_FW_V0 (tfsp)) { + 563 875 : if (!tfsp->name) { 564 : /* invalid fw name */ 565 1 : return FALSE; 566 : } 567 : - 568 873 : if (!tfsp->invoke_NN) { + 568 874 : if (!tfsp->invoke_NN) { 569 : /* no invoke function */ 570 1 : return FALSE; 571 : } 572 : - 573 872 : if (!(tfsp->getInputDimension && tfsp->getOutputDimension) && + 573 873 : if (!(tfsp->getInputDimension && tfsp->getOutputDimension) && 574 5 : !tfsp->setInputDimension) { 575 : /* no method to get tensor info */ 576 1 : return FALSE; 577 : } - 578 1685 : } else if (GST_TF_FW_V1 (tfsp)) { + 578 1687 : } else if (GST_TF_FW_V1 (tfsp)) { 579 : GstTensorFilterFrameworkInfo info; 580 : GstTensorFilterProperties prop; 581 : - 582 844 : if (!tfsp->invoke || !tfsp->getFrameworkInfo || !tfsp->getModelInfo || - 583 843 : !tfsp->eventHandler) { + 582 845 : if (!tfsp->invoke || !tfsp->getFrameworkInfo || !tfsp->getModelInfo || + 583 844 : !tfsp->eventHandler) { 584 : /** Mandatory callbacks are not defined */ 585 4 : return FALSE; 586 : } 587 : - 588 842 : gst_tensor_filter_properties_init (&prop); - 589 842 : if (tfsp->getFrameworkInfo (tfsp, &prop, NULL, &info) != 0) { + 588 843 : gst_tensor_filter_properties_init (&prop); + 589 843 : if (tfsp->getFrameworkInfo (tfsp, &prop, NULL, &info) != 0) { 590 : /* unable to get framework info */ 591 1 : return FALSE; 592 : } 593 : - 594 841 : if (!info.name) { + 594 842 : if (!info.name) { 595 : /* invalid fw name */ 596 1 : return FALSE; 597 : } @@ -661,7 +661,7 @@ 599 1 : return FALSE; 600 : } 601 : - 602 1711 : return TRUE; + 602 1713 : return TRUE; 603 : } 604 : 605 : /** @@ -670,26 +670,26 @@ 608 : * @return TRUE if registered. FALSE is failed or duplicated. 609 : */ 610 : int - 611 1719 : nnstreamer_filter_probe (GstTensorFilterFramework * tfsp) + 611 1721 : nnstreamer_filter_probe (GstTensorFilterFramework * tfsp) 612 : { 613 : GstTensorFilterFrameworkInfo info; 614 : GstTensorFilterProperties prop; - 615 1719 : const char *name = NULL; + 615 1721 : const char *name = NULL; 616 : - 617 3430 : g_return_val_if_fail (nnstreamer_filter_validate (tfsp), FALSE); + 617 3434 : g_return_val_if_fail (nnstreamer_filter_validate (tfsp), FALSE); 618 : - 619 1711 : if (GST_TF_FW_V0 (tfsp)) { - 620 871 : name = tfsp->name; - 621 840 : } else if (GST_TF_FW_V1 (tfsp)) { - 622 840 : gst_tensor_filter_properties_init (&prop); - 623 840 : if (0 != tfsp->getFrameworkInfo (tfsp, &prop, NULL, &info)) { + 619 1713 : if (GST_TF_FW_V0 (tfsp)) { + 620 872 : name = tfsp->name; + 621 841 : } else if (GST_TF_FW_V1 (tfsp)) { + 622 841 : gst_tensor_filter_properties_init (&prop); + 623 841 : if (0 != tfsp->getFrameworkInfo (tfsp, &prop, NULL, &info)) { 624 0 : ml_loge ("getFrameworkInfo() failed.\n"); 625 0 : return FALSE; 626 : } - 627 840 : name = info.name; + 627 841 : name = info.name; 628 : } 629 : - 630 1711 : return register_subplugin (NNS_SUBPLUGIN_FILTER, name, tfsp); + 630 1713 : return register_subplugin (NNS_SUBPLUGIN_FILTER, name, tfsp); 631 : } 632 : 633 : /** @@ -697,10 +697,10 @@ 635 : * @param[in] name The name of filter sub-plugin. 636 : */ 637 : void - 638 1709 : nnstreamer_filter_exit (const char *name) + 638 1711 : nnstreamer_filter_exit (const char *name) 639 : { - 640 1709 : unregister_subplugin (NNS_SUBPLUGIN_FILTER, name); - 641 1709 : } + 640 1711 : unregister_subplugin (NNS_SUBPLUGIN_FILTER, name); + 641 1711 : } 642 : 643 : /** 644 : * @brief set custom property description for tensor filter sub-plugin @@ -816,16 +816,16 @@ 754 : * @return TRUE if valid, FALSE on error 755 : */ 756 : gboolean - 757 23179 : gst_tensor_filter_allocate_in_invoke (GstTensorFilterPrivate * priv) + 757 23081 : gst_tensor_filter_allocate_in_invoke (GstTensorFilterPrivate * priv) 758 : { - 759 23179 : int allocate_in_invoke = 0; + 759 23081 : int allocate_in_invoke = 0; 760 : - 761 23179 : if (priv->prop.invoke_dynamic) + 761 23081 : if (priv->prop.invoke_dynamic) 762 18 : return TRUE; 763 : - 764 23161 : if (GST_TF_FW_V0 (priv->fw)) { - 765 23097 : allocate_in_invoke = priv->fw->allocate_in_invoke; - 766 23097 : if (allocate_in_invoke == TRUE && priv->fw->allocateInInvoke) { + 764 23063 : if (GST_TF_FW_V0 (priv->fw)) { + 765 22999 : allocate_in_invoke = priv->fw->allocate_in_invoke; + 766 22999 : if (allocate_in_invoke == TRUE && priv->fw->allocateInInvoke) { 767 919 : if (priv->fw->allocateInInvoke (&priv->privateData) == 0) { 768 24 : allocate_in_invoke = TRUE; 769 : } else { @@ -836,7 +836,7 @@ 774 64 : allocate_in_invoke = priv->info.allocate_in_invoke; 775 : } 776 : - 777 23161 : return allocate_in_invoke; + 777 23063 : return allocate_in_invoke; 778 : } 779 : 780 : /** @@ -2374,20 +2374,20 @@ 2312 : * @brief Configure output tensor info with combi option. 2313 : */ 2314 : gboolean - 2315 1190 : gst_tensor_filter_common_get_combined_out_info (GstTensorFilterPrivate * priv, + 2315 1197 : gst_tensor_filter_common_get_combined_out_info (GstTensorFilterPrivate * priv, 2316 : const GstTensorsInfo * in, const GstTensorsInfo * out, 2317 : GstTensorsInfo * combined) 2318 : { 2319 : GList *list; - 2320 1190 : guint i, idx = 0; + 2320 1197 : guint i, idx = 0; 2321 : - 2322 1190 : g_return_val_if_fail (in != NULL, FALSE); - 2323 1190 : g_return_val_if_fail (out != NULL, FALSE); - 2324 1190 : g_return_val_if_fail (combined != NULL, FALSE); + 2322 1197 : g_return_val_if_fail (in != NULL, FALSE); + 2323 1197 : g_return_val_if_fail (out != NULL, FALSE); + 2324 1197 : g_return_val_if_fail (combined != NULL, FALSE); 2325 : - 2326 1190 : gst_tensors_info_init (combined); + 2326 1197 : gst_tensors_info_init (combined); 2327 : - 2328 1190 : if (priv->combi.out_combi_i_defined || priv->combi.out_combi_o_defined) { + 2328 1197 : if (priv->combi.out_combi_i_defined || priv->combi.out_combi_o_defined) { 2329 6 : if (priv->combi.out_combi_i_defined) { 2330 10 : for (list = priv->combi.out_combi_i; list != NULL; list = list->next) { 2331 6 : i = GPOINTER_TO_UINT (list->data); @@ -2419,10 +2419,10 @@ 2357 4 : combined->num_tensors = idx; 2358 4 : combined->format = out->format; 2359 : } else { - 2360 1184 : gst_tensors_info_copy (combined, out); + 2360 1191 : gst_tensors_info_copy (combined, out); 2361 : } 2362 : - 2363 1188 : return TRUE; + 2363 1195 : return TRUE; 2364 : 2365 2 : error: 2366 2 : gst_tensors_info_free (combined); @@ -2468,19 +2468,19 @@ 2406 : * (both input and output tensor) 2407 : */ 2408 : void - 2409 2849 : gst_tensor_filter_load_tensor_info (GstTensorFilterPrivate * priv) + 2409 2865 : gst_tensor_filter_load_tensor_info (GstTensorFilterPrivate * priv) 2410 : { 2411 : GstTensorFilterProperties *prop; 2412 : GstTensorsInfo in_info, out_info; - 2413 2849 : int res_in = -1, res_out = -1; + 2413 2865 : int res_in = -1, res_out = -1; 2414 : - 2415 2849 : prop = &priv->prop; + 2415 2865 : prop = &priv->prop; 2416 : - 2417 2849 : gst_tensors_info_init (&in_info); - 2418 2849 : gst_tensors_info_init (&out_info); + 2417 2865 : gst_tensors_info_init (&in_info); + 2418 2865 : gst_tensors_info_init (&out_info); 2419 : - 2420 2849 : if (GST_TF_FW_V1 (priv->fw)) { - 2421 703 : if (!prop->input_configured || !prop->output_configured) { + 2420 2865 : if (GST_TF_FW_V1 (priv->fw)) { + 2421 719 : if (!prop->input_configured || !prop->output_configured) { 2422 185 : gst_tensor_filter_v1_call (priv, res_in, getModelInfo, GET_IN_OUT_INFO, 2423 : &in_info, &out_info); 2424 185 : res_out = res_in; @@ -2493,7 +2493,7 @@ 2431 : } 2432 : 2433 : /* supposed fixed in-tensor info if getInputDimension was success. */ - 2434 2849 : if (!prop->input_configured && res_in == 0) { + 2434 2865 : if (!prop->input_configured && res_in == 0) { 2435 272 : g_assert (in_info.num_tensors > 0); 2436 : 2437 : /** if set-property called and already has info, verify it! */ @@ -2516,9 +2516,9 @@ 2454 : } 2455 : 2456 : /** In case of dynamic invoke, output tensors info is determined after invoke. */ - 2457 2716 : if (prop->invoke_dynamic) { - 2458 119 : prop->output_configured = TRUE; - 2459 2597 : } else if (!prop->output_configured && res_out == 0) { + 2457 2732 : if (prop->invoke_dynamic) { + 2458 134 : prop->output_configured = TRUE; + 2459 2598 : } else if (!prop->output_configured && res_out == 0) { 2460 : /* supposed fixed out-tensor info if getOutputDimension was success. */ 2461 191 : g_assert (out_info.num_tensors > 0); 2462 : @@ -2541,10 +2541,10 @@ 2479 132 : silent_debug_info (&out_info, "output tensor"); 2480 : } 2481 : - 2482 2538 : done: - 2483 2849 : gst_tensors_info_free (&in_info); - 2484 2849 : gst_tensors_info_free (&out_info); - 2485 2849 : } + 2482 2539 : done: + 2483 2865 : gst_tensors_info_free (&in_info); + 2484 2865 : gst_tensors_info_free (&out_info); + 2485 2865 : } 2486 : 2487 : /** 2488 : * @brief Open NN framework. diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom.c.func-c.html index d08c3ab21..383d8a7ed 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 79.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -121,14 +121,14 @@ fini_filter_custom - 668 + 669 init_filter_custom - 668 + 669 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom.c.func.html index d2f0af913..af8b907c0 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 79.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -135,14 +135,14 @@ fini_filter_custom - 668 + 669 init_filter_custom - 668 + 669 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom.c.gcov.html index a411db93f..2d66830f8 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 79.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -387,17 +387,17 @@ 325 : 326 : /** @brief Initialize this object for tensor_filter subplugin runtime register */ 327 : void - 328 668 : init_filter_custom (void) + 328 669 : init_filter_custom (void) 329 : { - 330 668 : nnstreamer_filter_probe (&NNS_support_custom); - 331 668 : } + 330 669 : nnstreamer_filter_probe (&NNS_support_custom); + 331 669 : } 332 : 333 : /** @brief Destruct the subplugin */ 334 : void - 335 668 : fini_filter_custom (void) + 335 669 : fini_filter_custom (void) 336 : { - 337 668 : nnstreamer_filter_exit (NNS_support_custom.name); - 338 668 : } + 337 669 : nnstreamer_filter_exit (NNS_support_custom.name); + 338 669 : } diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom_easy.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom_easy.c.func-c.html index 55826c3ee..f91e723a7 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom_easy.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom_easy.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom_easy.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom_easy.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 82.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -128,21 +128,21 @@ fini_filter_custom_easy - 668 + 669 init_filter_custom_easy - 668 + 669 custom_getFrameworkInfo - 1349 + 1351 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom_easy.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom_easy.c.func.html index 8ee049b5d..27f829790 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom_easy.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom_easy.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom_easy.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom_easy.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 82.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -107,7 +107,7 @@ custom_getFrameworkInfo - 1349 + 1351 @@ -135,14 +135,14 @@ fini_filter_custom_easy - 668 + 669 init_filter_custom_easy - 668 + 669 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom_easy.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom_easy.c.gcov.html index 21d2f8201..d2d36ec60 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom_easy.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom_easy.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom_easy.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_custom_easy.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 82.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % @@ -337,22 +337,22 @@ 275 : * @brief V1 tensor-filter wrapper callback function, "getFrameworkInfo" 276 : */ 277 : static int - 278 1349 : custom_getFrameworkInfo (const GstTensorFilterFramework * self, + 278 1351 : custom_getFrameworkInfo (const GstTensorFilterFramework * self, 279 : const GstTensorFilterProperties * prop, void *private_data, 280 : GstTensorFilterFrameworkInfo * fw_info) 281 : { 282 : UNUSED (self); 283 : UNUSED (prop); 284 : UNUSED (private_data); - 285 1349 : fw_info->name = fw_name; - 286 1349 : fw_info->allow_in_place = 0; - 287 1349 : fw_info->allocate_in_invoke = 0; - 288 1349 : fw_info->run_without_model = 1; - 289 1349 : fw_info->verify_model_path = 0; - 290 1349 : fw_info->hw_list = NULL; - 291 1349 : fw_info->num_hw = 0; + 285 1351 : fw_info->name = fw_name; + 286 1351 : fw_info->allow_in_place = 0; + 287 1351 : fw_info->allocate_in_invoke = 0; + 288 1351 : fw_info->run_without_model = 1; + 289 1351 : fw_info->verify_model_path = 0; + 290 1351 : fw_info->hw_list = NULL; + 291 1351 : fw_info->num_hw = 0; 292 : - 293 1349 : return 0; + 293 1351 : return 0; 294 : } 295 : 296 : /** @@ -404,17 +404,17 @@ 342 : 343 : /** @brief Initialize this object for tensor_filter subplugin runtime register */ 344 : void - 345 668 : init_filter_custom_easy (void) + 345 669 : init_filter_custom_easy (void) 346 : { - 347 668 : nnstreamer_filter_probe (&NNS_support_custom_easy); - 348 668 : } + 347 669 : nnstreamer_filter_probe (&NNS_support_custom_easy); + 348 669 : } 349 : 350 : /** @brief Destruct the subplugin */ 351 : void - 352 668 : fini_filter_custom_easy (void) + 352 669 : fini_filter_custom_easy (void) 353 : { - 354 668 : nnstreamer_filter_exit (NNS_support_custom_easy.name); - 355 668 : } + 354 669 : nnstreamer_filter_exit (NNS_support_custom_easy.name); + 355 669 : } diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_single.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_single.c.func-c.html index 02a5a73f7..544797c20 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_single.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_single.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_single.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_single.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 90.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_single.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_single.c.func.html index 9a81f267a..d256b6ca5 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_single.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_single.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_single.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_single.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 90.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_single.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_single.c.gcov.html index 122b8d896..6367b95e8 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_single.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_single.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_single.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_single.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 90.2 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_support_cc.cc.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_support_cc.cc.func-c.html index a1ca8ab86..cb5433acf 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_support_cc.cc.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_support_cc.cc.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_support_cc.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_support_cc.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 80.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 81.8 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_support_cc.cc.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_support_cc.cc.func.html index d02df2fae..eaf83efed 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_support_cc.cc.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_support_cc.cc.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_support_cc.cc - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_support_cc.cc - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 80.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 81.8 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_support_cc.cc.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_support_cc.cc.gcov.html index b913df8b1..08584c3da 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_support_cc.cc.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_support_cc.cc.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_support_cc.cc + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_filter/tensor_filter_support_cc.cc @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 80.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 81.8 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_meta.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_meta.c.func-c.html index 4abfb9093..12957a79b 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_meta.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_meta.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_meta.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_meta.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 95.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_meta.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_meta.c.func.html index b6f951ca1..5f2b31b0f 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_meta.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_meta.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_meta.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_meta.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 95.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_meta.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_meta.c.gcov.html index 0ad119463..a5a15b680 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_meta.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_meta.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_meta.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_meta.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 95.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/index-sort-f.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/index-sort-f.html index e1227dc1d..d62043027 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/index-sort-f.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/index-sort-f.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 76.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 93.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/index-sort-l.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/index-sort-l.html index cc54d127d..54f73c6e6 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/index-sort-l.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/index-sort-l.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 76.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 93.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/index.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/index.html index c4e5d7466..e66ccf4c1 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/index.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/index.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 76.4 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 93.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_client.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_client.c.func-c.html index 884baae9e..757789516 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_client.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_client.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_client.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_client.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 80.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 93.8 % @@ -135,7 +135,7 @@ _nns_edge_event_cb - 109 + 108 @@ -156,7 +156,7 @@ gst_tensor_query_client_get_type - 1281 + 1283 @@ -170,14 +170,14 @@ gst_tensor_query_client_get_type_once - 449 + 450 gst_tensor_query_client_get_type - 802 + 803 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_client.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_client.c.func.html index 70dabf7d7..688b17aff 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_client.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_client.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_client.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_client.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 80.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 93.8 % @@ -65,7 +65,7 @@ _nns_edge_event_cb - 109 + 108 @@ -114,7 +114,7 @@ gst_tensor_query_client_get_type - 1281 + 1283 @@ -128,14 +128,14 @@ gst_tensor_query_client_get_type - 802 + 803 gst_tensor_query_client_get_type_once - 449 + 450 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_client.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_client.c.gcov.html index f05f2d2dc..0c4e95aec 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_client.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_client.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_client.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_client.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 80.3 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 93.8 % @@ -139,7 +139,7 @@ 77 : GST_STATIC_CAPS_ANY); 78 : 79 : #define gst_tensor_query_client_parent_class parent_class - 80 1281 : G_DEFINE_TYPE (GstTensorQueryClient, gst_tensor_query_client, GST_TYPE_ELEMENT); + 80 1283 : G_DEFINE_TYPE (GstTensorQueryClient, gst_tensor_query_client, GST_TYPE_ELEMENT); 81 : 82 : static void gst_tensor_query_client_finalize (GObject * object); 83 : static void gst_tensor_query_client_set_property (GObject * object, @@ -286,8 +286,8 @@ 224 11 : g_free (self->in_caps_str); 225 11 : self->in_caps_str = NULL; 226 : - 227 17 : while ((data_h = g_async_queue_try_pop (self->msg_queue))) { - 228 6 : nns_edge_data_destroy (data_h); + 227 18 : while ((data_h = g_async_queue_try_pop (self->msg_queue))) { + 228 7 : nns_edge_data_destroy (data_h); 229 : } 230 : 231 11 : if (self->msg_queue) { @@ -494,18 +494,18 @@ 432 : * @brief nnstreamer-edge event callback. 433 : */ 434 : static int - 435 109 : _nns_edge_event_cb (nns_edge_event_h event_h, void *user_data) + 435 108 : _nns_edge_event_cb (nns_edge_event_h event_h, void *user_data) 436 : { 437 : nns_edge_event_e event_type; - 438 109 : int ret = NNS_EDGE_ERROR_NONE; - 439 109 : GstTensorQueryClient *self = (GstTensorQueryClient *) user_data; + 438 108 : int ret = NNS_EDGE_ERROR_NONE; + 439 108 : GstTensorQueryClient *self = (GstTensorQueryClient *) user_data; 440 : - 441 109 : if (NNS_EDGE_ERROR_NONE != nns_edge_event_get_type (event_h, &event_type)) { + 441 108 : if (NNS_EDGE_ERROR_NONE != nns_edge_event_get_type (event_h, &event_type)) { 442 0 : nns_loge ("Failed to get event type!"); - 443 109 : return NNS_EDGE_ERROR_NOT_SUPPORTED; + 443 108 : return NNS_EDGE_ERROR_NOT_SUPPORTED; 444 : } 445 : - 446 109 : switch (event_type) { + 446 108 : switch (event_type) { 447 11 : case NNS_EDGE_EVENT_CAPABILITY: 448 : { 449 : GstCaps *server_caps, *client_caps; @@ -561,19 +561,19 @@ 499 11 : g_free (caps_str); 500 11 : break; 501 : } - 502 89 : case NNS_EDGE_EVENT_NEW_DATA_RECEIVED: + 502 88 : case NNS_EDGE_EVENT_NEW_DATA_RECEIVED: 503 : { 504 : nns_edge_data_h data; 505 : - 506 89 : nns_edge_event_parse_new_data (event_h, &data); - 507 89 : g_async_queue_push (self->msg_queue, data); - 508 89 : break; + 506 88 : nns_edge_event_parse_new_data (event_h, &data); + 507 88 : g_async_queue_push (self->msg_queue, data); + 508 88 : break; 509 : } 510 9 : default: 511 9 : break; 512 : } 513 : - 514 109 : return ret; + 514 108 : return ret; 515 : } 516 : 517 : /** @@ -748,91 +748,91 @@ 686 : UNUSED (pad); 687 : 688 150 : if (self->max_request > 0 && self->requested_num > self->max_request) { - 689 37 : nns_logi + 689 38 : nns_logi 690 : ("The processing speed of the query server is too slow. Drop the input buffer."); - 691 37 : goto try_pop; + 691 38 : goto try_pop; 692 : } 693 : - 694 113 : ret = nns_edge_data_create (&data_h); - 695 113 : if (ret != NNS_EDGE_ERROR_NONE) { + 694 112 : ret = nns_edge_data_create (&data_h); + 695 112 : if (ret != NNS_EDGE_ERROR_NONE) { 696 0 : nns_loge ("Failed to create data handle in client chain."); 697 0 : goto try_pop; 698 : } 699 : - 700 113 : num_tensors = gst_tensor_buffer_get_count (buf); - 701 226 : for (i = 0; i < num_tensors; i++) { - 702 113 : mem[i] = gst_tensor_buffer_get_nth_memory (buf, i); - 703 113 : if (!gst_memory_map (mem[i], &map[i], GST_MAP_READ)) { + 700 112 : num_tensors = gst_tensor_buffer_get_count (buf); + 701 224 : for (i = 0; i < num_tensors; i++) { + 702 112 : mem[i] = gst_tensor_buffer_get_nth_memory (buf, i); + 703 112 : if (!gst_memory_map (mem[i], &map[i], GST_MAP_READ)) { 704 0 : ml_loge ("Cannot map the %uth memory in gst-buffer.", i); 705 0 : gst_memory_unref (mem[i]); 706 0 : num_tensors = i; 707 0 : goto try_pop; 708 : } - 709 113 : nns_edge_data_add (data_h, map[i].data, map[i].size, NULL); + 709 112 : nns_edge_data_add (data_h, map[i].data, map[i].size, NULL); 710 : } 711 : - 712 113 : nns_edge_get_info (self->edge_h, "client_id", &val); - 713 113 : nns_edge_data_set_info (data_h, "client_id", val); - 714 113 : g_free (val); + 712 112 : nns_edge_get_info (self->edge_h, "client_id", &val); + 713 112 : nns_edge_data_set_info (data_h, "client_id", val); + 714 112 : g_free (val); 715 : - 716 113 : ret = nns_edge_send (self->edge_h, data_h); - 717 113 : if (ret == NNS_EDGE_ERROR_NONE) { - 718 95 : self->requested_num++; + 716 112 : ret = nns_edge_send (self->edge_h, data_h); + 717 112 : if (ret == NNS_EDGE_ERROR_NONE) { + 718 94 : self->requested_num++; 719 : } else { 720 18 : nns_loge ("Failed to publish to server node."); 721 : } 722 : 723 150 : try_pop: 724 150 : if (data_h) - 725 113 : nns_edge_data_destroy (data_h); + 725 112 : nns_edge_data_destroy (data_h); 726 : 727 300 : data_h = g_async_queue_timeout_pop (self->msg_queue, 728 150 : self->timeout * G_TIME_SPAN_MILLISECOND); 729 150 : if (data_h) { - 730 81 : if (self->requested_num > 0) - 731 81 : self->requested_num--; - 732 81 : ret = nns_edge_data_get_count (data_h, &num_data); + 730 79 : if (self->requested_num > 0) + 731 79 : self->requested_num--; + 732 79 : ret = nns_edge_data_get_count (data_h, &num_data); 733 : - 734 81 : if (ret == NNS_EDGE_ERROR_NONE && num_data > 0) { + 734 79 : if (ret == NNS_EDGE_ERROR_NONE && num_data > 0) { 735 : GstMemory *new_mem; 736 : GstTensorInfo *_info; 737 : - 738 81 : out_buf = gst_buffer_new (); + 738 79 : out_buf = gst_buffer_new (); 739 : - 740 162 : for (i = 0; i < num_data; i++) { - 741 81 : void *data = NULL; + 740 158 : for (i = 0; i < num_data; i++) { + 741 79 : void *data = NULL; 742 : nns_size_t data_len; 743 : gpointer new_data; 744 : - 745 81 : nns_edge_data_get (data_h, i, &data, &data_len); - 746 81 : new_data = _g_memdup (data, data_len); + 745 79 : nns_edge_data_get (data_h, i, &data, &data_len); + 746 79 : new_data = _g_memdup (data, data_len); 747 : - 748 81 : new_mem = gst_memory_new_wrapped (0, new_data, data_len, 0, data_len, + 748 79 : new_mem = gst_memory_new_wrapped (0, new_data, data_len, 0, data_len, 749 : new_data, g_free); 750 : - 751 81 : if (self->is_tensor) { - 752 72 : _info = gst_tensors_info_get_nth_info (&self->config.info, i); - 753 72 : gst_tensor_buffer_append_memory (out_buf, new_mem, _info); + 751 79 : if (self->is_tensor) { + 752 70 : _info = gst_tensors_info_get_nth_info (&self->config.info, i); + 753 70 : gst_tensor_buffer_append_memory (out_buf, new_mem, _info); 754 : } else { 755 9 : gst_buffer_append_memory (out_buf, new_mem); 756 : } 757 : } 758 : 759 : /* metadata from incoming buffer */ - 760 81 : gst_buffer_copy_into (out_buf, buf, GST_BUFFER_COPY_METADATA, 0, -1); + 760 79 : gst_buffer_copy_into (out_buf, buf, GST_BUFFER_COPY_METADATA, 0, -1); 761 : - 762 81 : res = gst_pad_push (self->srcpad, out_buf); + 762 79 : res = gst_pad_push (self->srcpad, out_buf); 763 : } else { 764 0 : nns_loge ("Failed to get the number of memories of the edge data."); 765 0 : res = GST_FLOW_ERROR; 766 : } 767 : - 768 81 : nns_edge_data_destroy (data_h); + 768 79 : nns_edge_data_destroy (data_h); 769 : } 770 : - 771 263 : for (i = 0; i < num_tensors; i++) { - 772 113 : gst_memory_unmap (mem[i], &map[i]); - 773 113 : gst_memory_unref (mem[i]); + 771 262 : for (i = 0; i < num_tensors; i++) { + 772 112 : gst_memory_unmap (mem[i], &map[i]); + 773 112 : gst_memory_unref (mem[i]); 774 : } 775 : 776 150 : gst_buffer_unref (buf); diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_common.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_common.c.func-c.html index 47194e65b..c06424920 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_common.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_common.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_common.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_common.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_common.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_common.c.func.html index ef1e7a9e5..0b61d2127 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_common.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_common.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_common.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_common.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_common.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_common.c.gcov.html index 6a5c74147..8c07cd180 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_common.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_common.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_common.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_common.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 100.0 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 100.0 % diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_server.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_server.c.func-c.html index 083845575..b1d83993f 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_server.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_server.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_server.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_server.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 66.1 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 91.7 % @@ -135,14 +135,14 @@ fini_queryserver - 476 + 477 init_queryserver - 476 + 477 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_server.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_server.c.func.html index 16eb0dc8a..2dc66a12c 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_server.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_server.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_server.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_server.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 66.1 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 91.7 % @@ -72,7 +72,7 @@ fini_queryserver - 476 + 477 @@ -142,7 +142,7 @@ init_queryserver - 476 + 477 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_server.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_server.c.gcov.html index 605103824..58ee54fec 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_server.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_server.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_server.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_server.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 66.1 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 91.7 % @@ -431,27 +431,27 @@ 369 : * @brief Initialize the query server. 370 : */ 371 : static void - 372 476 : init_queryserver (void) + 372 477 : init_queryserver (void) 373 : { - 374 476 : G_LOCK (query_server_table); - 375 476 : g_assert (NULL == _qs_table); /** Internal error (duplicated init call?) */ - 376 476 : _qs_table = g_hash_table_new_full (g_direct_hash, g_direct_equal, NULL, + 374 477 : G_LOCK (query_server_table); + 375 477 : g_assert (NULL == _qs_table); /** Internal error (duplicated init call?) */ + 376 477 : _qs_table = g_hash_table_new_full (g_direct_hash, g_direct_equal, NULL, 377 : _release_server_data); - 378 476 : G_UNLOCK (query_server_table); - 379 476 : } + 378 477 : G_UNLOCK (query_server_table); + 379 477 : } 380 : 381 : /** 382 : * @brief Destruct the query server. 383 : */ 384 : static void - 385 476 : fini_queryserver (void) + 385 477 : fini_queryserver (void) 386 : { - 387 476 : G_LOCK (query_server_table); - 388 476 : g_assert (_qs_table); /** Internal error (init not called?) */ - 389 476 : g_hash_table_destroy (_qs_table); - 390 476 : _qs_table = NULL; - 391 476 : G_UNLOCK (query_server_table); - 392 476 : } + 387 477 : G_LOCK (query_server_table); + 388 477 : g_assert (_qs_table); /** Internal error (init not called?) */ + 389 477 : g_hash_table_destroy (_qs_table); + 390 477 : _qs_table = NULL; + 391 477 : G_UNLOCK (query_server_table); + 392 477 : } diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversink.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversink.c.func-c.html index 3a9f49763..cf5835abd 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversink.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversink.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversink.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversink.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 79.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 92.3 % @@ -135,7 +135,7 @@ gst_tensor_query_serversink_get_type - 958 + 960 @@ -149,14 +149,14 @@ gst_tensor_query_serversink_get_type_once - 449 + 450 gst_tensor_query_serversink_get_type - 490 + 491 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversink.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversink.c.func.html index d90cfc881..e46c016c6 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversink.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversink.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversink.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversink.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 79.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 92.3 % @@ -107,7 +107,7 @@ gst_tensor_query_serversink_get_type - 958 + 960 @@ -121,14 +121,14 @@ gst_tensor_query_serversink_get_type - 490 + 491 gst_tensor_query_serversink_get_type_once - 449 + 450 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversink.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversink.c.gcov.html index 99e7448c9..9c6d1a01b 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversink.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversink.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversink.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversink.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 79.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 92.3 % @@ -102,7 +102,7 @@ 40 : }; 41 : 42 : #define gst_tensor_query_serversink_parent_class parent_class - 43 958 : G_DEFINE_TYPE (GstTensorQueryServerSink, gst_tensor_query_serversink, + 43 960 : G_DEFINE_TYPE (GstTensorQueryServerSink, gst_tensor_query_serversink, 44 : GST_TYPE_BASE_SINK); 45 : static GstStateChangeReturn gst_tensor_query_serversink_change_state (GstElement 46 : * element, GstStateChange transition); diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversrc.c.func-c.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversrc.c.func-c.html index f9442d369..e1df64433 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversrc.c.func-c.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversrc.c.func-c.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversrc.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversrc.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 75.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 93.3 % @@ -149,7 +149,7 @@ gst_tensor_query_serversrc_get_type - 987 + 989 @@ -163,14 +163,14 @@ gst_tensor_query_serversrc_get_type_once - 449 + 450 gst_tensor_query_serversrc_get_type - 518 + 519 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversrc.c.func.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversrc.c.func.html index 835ec499d..c0eefcf6c 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversrc.c.func.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversrc.c.func.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversrc.c - functions + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversrc.c - functions @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 75.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 93.3 % @@ -128,7 +128,7 @@ gst_tensor_query_serversrc_get_type - 987 + 989 @@ -142,14 +142,14 @@ gst_tensor_query_serversrc_get_type - 518 + 519 gst_tensor_query_serversrc_get_type_once - 449 + 450 diff --git a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversrc.c.gcov.html b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversrc.c.gcov.html index 5cb7780c2..ac79bd7fe 100644 --- a/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversrc.c.gcov.html +++ b/testresult/nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversrc.c.gcov.html @@ -4,7 +4,7 @@ - LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversrc.c + LCOV - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 - nnstreamer-2.4.2/gst/nnstreamer/tensor_query/tensor_query_serversrc.c @@ -28,7 +28,7 @@ Test: - nnstreamer 2.4.2-0 nnstreamer/nnstreamer#15b4999d2f1bc70ebad334c23ca3c3edb6fea900 + nnstreamer 2.4.2-0 nnstreamer/nnstreamer#9c50e98599574d9fe29059bd8662427132d691d1 Lines: 75.8 % @@ -37,7 +37,7 @@ Test Date: - 2024-12-04 05:36:24 + 2024-12-11 05:37:32 Functions: 93.3 % @@ -117,7 +117,7 @@ 55 : }; 56 : 57 : #define gst_tensor_query_serversrc_parent_class parent_class - 58 987 : G_DEFINE_TYPE (GstTensorQueryServerSrc, gst_tensor_query_serversrc, + 58 989 : G_DEFINE_TYPE (GstTensorQueryServerSrc, gst_tensor_query_serversrc, 59 : GST_TYPE_PUSH_SRC); 60 : 61 : static GstStateChangeReturn gst_tensor_query_serversrc_change_state (GstElement