diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2011-03-22 09:08:56 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2011-03-22 09:08:56 +0000 |
commit | be57b6b8d3f8339980df08f196d23415f7974418 (patch) | |
tree | f77ed10035c76e6f3e617253bee09c99bb03e25d /FTNoIR_Tracker_Base | |
parent | 7eeb8dfaede7bb54b37b8ea538135914a43ab011 (diff) |
First success merging 3.2.6
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@55 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FTNoIR_Tracker_Base')
-rw-r--r-- | FTNoIR_Tracker_Base/ftnoir_tracker_sm_types.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/FTNoIR_Tracker_Base/ftnoir_tracker_sm_types.h b/FTNoIR_Tracker_Base/ftnoir_tracker_sm_types.h new file mode 100644 index 00000000..9ebfd173 --- /dev/null +++ b/FTNoIR_Tracker_Base/ftnoir_tracker_sm_types.h @@ -0,0 +1,23 @@ +//
+// Definitions for the Shared Memory to send the data to FaceTrackNoIR
+//
+static const char* SM_MM_DATA = "SM_SharedMem";
+static const char* SM_FACEAPI = "SM_FaceAPI";
+static const char* SM_MUTEX = "SM_Mutex";
+
+#include "sm_api.h"
+
+struct TFaceData {
+ int DataID;
+ smEngineHeadPoseData new_pose;
+};
+typedef TFaceData * PFaceData;
+
+struct SMMemMap {
+ int command; // Command from FaceTrackNoIR
+ int status; // Status from faceAPI
+ TFaceData data;
+ HANDLE handle;
+};
+typedef SMMemMap * PSMMemMap;
+
|