From 91bcfe2c50c8732c1ccf792ca1f8964966808352 Mon Sep 17 00:00:00 2001
From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期二, 10 一月 2017 17:25:40 +0800
Subject: [PATCH] add face daemon

---
 RtspFace/ev_proto.h |   29 ++++++++++++++++++++++++++---
 1 files changed, 26 insertions(+), 3 deletions(-)

diff --git a/RtspFace/ev_proto.h b/RtspFace/ev_proto.h
index ab71518..6dc27be 100644
--- a/RtspFace/ev_proto.h
+++ b/RtspFace/ev_proto.h
@@ -11,8 +11,22 @@
 	enum EVPC
 	{
 		EVPC__FIRST,
-		EVPC_SENSETIMEFACEDETECT,
-		EVPC__LAST,
+		EVPC_STATUS = 1,
+		EVPC_USER_DEFINE = 128,
+		EVPC__LAST
+	};
+};
+
+struct EVPStatus
+{
+	enum EVPS
+	{
+		EVPS__FIRST,
+		EVPS_OK = 1,
+		EVPS_ERROR = 128,
+		EVPS_INTERNAL_ERROR,
+		EVPS_PARAMETER_ERROR,
+		EVPS__LAST
 	};
 };
 
@@ -22,12 +36,21 @@
 	uint32_t size;	// sizeof(EVPHeader)+sizeof(subcmd)
 };
 
+struct EVP_Status
+{
+	int16_t status;
+};
+
 struct EVP_VariableBuffer
 {
-	int16_t mb_type; // MB_Frame::MBFType
+	int16_t type;
 	uint8_t buff[0];
 };
 
+//#todo
+template<typename TPacket>
+void endian_convert(TPacket& packet);
+
 #pragma pack()
 
 #endif

--
Gitblit v1.8.0