From 168af40fe9a3cc81c6ee16b3e81f154780c36bdb Mon Sep 17 00:00:00 2001
From: Scheaven <xuepengqiang>
Date: 星期四, 03 六月 2021 15:03:27 +0800
Subject: [PATCH] up new v4

---
 lib/detecter_tools/darknet/http_stream.h |   74 ++++++++++++++++++------------------
 1 files changed, 37 insertions(+), 37 deletions(-)

diff --git a/lib/detecter_tools/darknet/http_stream.h b/lib/detecter_tools/darknet/http_stream.h
index 2a4aa32..aace9d7 100644
--- a/lib/detecter_tools/darknet/http_stream.h
+++ b/lib/detecter_tools/darknet/http_stream.h
@@ -1,37 +1,37 @@
-#ifndef HTTP_STREAM_H
-#define HTTP_STREAM_H
-#include "darknet.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-#include "image.h"
-#include <stdint.h>
-
-void send_json(detection *dets, int nboxes, int classes, char **names, long long int frame_id, int port, int timeout);
-
-#ifdef OPENCV
-void send_mjpeg(mat_cv* mat, int port, int timeout, int quality);
-
-int send_http_post_request(char *http_post_host, int server_port, const char *videosource,
-    detection *dets, int nboxes, int classes, char **names, long long int frame_id, int ext_output, int timeout);
-
-#endif  // OPENCV
-
-typedef void* custom_thread_t;
-typedef void* custom_attr_t;
-
-int custom_create_thread(custom_thread_t * tid, const custom_attr_t * attr, void *(*func) (void *), void *arg);
-int custom_join(custom_thread_t thread, void **value_ptr);
-
-int custom_atomic_load_int(volatile int* obj);
-void custom_atomic_store_int(volatile int* obj, int desr);
-int get_num_threads();
-void this_thread_sleep_for(int ms_time);
-void this_thread_yield();
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif // HTTP_STREAM_H
+#ifndef HTTP_STREAM_H
+#define HTTP_STREAM_H
+#include "darknet.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+#include "image.h"
+#include <stdint.h>
+
+void send_json(detection *dets, int nboxes, int classes, char **names, long long int frame_id, int port, int timeout);
+
+#ifdef OPENCV
+void send_mjpeg(mat_cv* mat, int port, int timeout, int quality);
+
+int send_http_post_request(char *http_post_host, int server_port, const char *videosource,
+    detection *dets, int nboxes, int classes, char **names, long long int frame_id, int ext_output, int timeout);
+
+#endif  // OPENCV
+
+typedef void* custom_thread_t;
+typedef void* custom_attr_t;
+
+int custom_create_thread(custom_thread_t * tid, const custom_attr_t * attr, void *(*func) (void *), void *arg);
+int custom_join(custom_thread_t thread, void **value_ptr);
+
+int custom_atomic_load_int(volatile int* obj);
+void custom_atomic_store_int(volatile int* obj, int desr);
+int get_num_threads();
+void this_thread_sleep_for(int ms_time);
+void this_thread_yield();
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // HTTP_STREAM_H

--
Gitblit v1.8.0