FaceServer/face_daemon_proto.h
@@ -25,11 +25,26 @@ 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(); void ntoh(); }; //sizeof(FDP_Image)=10 struct FDP_FaceDetectPB { int32_t db_id; FDP_FaceDetectPB(int32_t _db_id) : db_id(_db_id) {} void hton(); void ntoh(); }; struct FDP_FaceDetectResult @@ -39,6 +54,9 @@ FDP_FaceDetectResult(int32_t _db_id, int32_t _st_id) : db_id(_db_id), st_id(_st_id) {} void hton(); void ntoh(); }; #pragma pack()