From b96e8c8ba2bc11461d1ea6c80a167392ef09cb8a Mon Sep 17 00:00:00 2001 From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674> Date: 星期一, 24 四月 2017 15:11:27 +0800 Subject: [PATCH] --- FaceServer/face_daemon_proto.h | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/FaceServer/face_daemon_proto.h b/FaceServer/face_daemon_proto.h index 029beb2..eb475b6 100644 --- a/FaceServer/face_daemon_proto.h +++ b/FaceServer/face_daemon_proto.h @@ -25,11 +25,23 @@ struct FDP_Image { - int32_t school_id; + int32_t db_id; int16_t mb_type; // MB_Frame::MBFType int16_t width; int16_t height; uint8_t buff[0]; + + void hton();//#todo +}; + +struct FDP_FaceDetectPB +{ + int32_t db_id; + + FDP_FaceDetectPB(int32_t _db_id) : db_id(_db_id) + {} + + void hton();//#todo }; struct FDP_FaceDetectResult @@ -39,6 +51,8 @@ FDP_FaceDetectResult(int32_t _db_id, int32_t _st_id) : db_id(_db_id), st_id(_st_id) {} + + void hton();//#todo }; #pragma pack() -- Gitblit v1.8.0