From 7e916a6d5541f91c2b746f7e55aedfee8cc4a8fe Mon Sep 17 00:00:00 2001 From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674> Date: 星期五, 23 六月 2017 13:38:58 +0800 Subject: [PATCH] --- FaceServer/face_daemon_proto.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/FaceServer/face_daemon_proto.h b/FaceServer/face_daemon_proto.h index 63d5741..4bc6e34 100644 --- a/FaceServer/face_daemon_proto.h +++ b/FaceServer/face_daemon_proto.h @@ -30,7 +30,11 @@ int16_t width; int16_t height; uint8_t buff[0]; + + void hton(); + void ntoh(); }; +//sizeof(FDP_Image)=10 struct FDP_FaceDetectPB { @@ -40,6 +44,7 @@ {} void hton(); + void ntoh(); }; struct FDP_FaceDetectResult @@ -51,6 +56,7 @@ {} void hton(); + void ntoh(); }; #pragma pack() -- Gitblit v1.8.0