diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-06 08:05:57 +0100 | 
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-06 08:11:01 +0100 | 
| commit | 3fd39cf892250545b4510065fe16e39d494faa44 (patch) | |
| tree | 7f52c9a4a5257778cdd8cb3c46e038a368eb2768 /tracker-rs | |
| parent | 94600f2c5f234dddf826c9d6d9db91952832220a (diff) | |
cruft only
Diffstat (limited to 'tracker-rs')
| -rw-r--r-- | tracker-rs/ftnoir_tracker_rs_worker.cpp | 1 | ||||
| -rw-r--r-- | tracker-rs/rs_impl/ftnoir_tracker_rs_impl.cpp | 2 | ||||
| -rw-r--r-- | tracker-rs/rs_impl/ftnoir_tracker_rs_impl.h | 15 | 
3 files changed, 7 insertions, 11 deletions
diff --git a/tracker-rs/ftnoir_tracker_rs_worker.cpp b/tracker-rs/ftnoir_tracker_rs_worker.cpp index 0e2c86f4..15843824 100644 --- a/tracker-rs/ftnoir_tracker_rs_worker.cpp +++ b/tracker-rs/ftnoir_tracker_rs_worker.cpp @@ -7,6 +7,7 @@  #include "ftnoir_tracker_rs_worker.h"  #include "rs_impl/ftnoir_tracker_rs_impl.h" +#include <cstdlib>  #include <QImage>  #include <QDebug> diff --git a/tracker-rs/rs_impl/ftnoir_tracker_rs_impl.cpp b/tracker-rs/rs_impl/ftnoir_tracker_rs_impl.cpp index 41406193..3230ef56 100644 --- a/tracker-rs/rs_impl/ftnoir_tracker_rs_impl.cpp +++ b/tracker-rs/rs_impl/ftnoir_tracker_rs_impl.cpp @@ -14,6 +14,8 @@  #include <pxcfacemodule.h>  #include <pxcfaceconfiguration.h> +#include <cstdlib> +  const size_t kPreviewStreamWidth = 640;  const size_t kPreviewStreamHeight = 480; diff --git a/tracker-rs/rs_impl/ftnoir_tracker_rs_impl.h b/tracker-rs/rs_impl/ftnoir_tracker_rs_impl.h index a4c03ce8..c71f30fa 100644 --- a/tracker-rs/rs_impl/ftnoir_tracker_rs_impl.h +++ b/tracker-rs/rs_impl/ftnoir_tracker_rs_impl.h @@ -6,15 +6,8 @@   */  #pragma once -#ifdef EXPORT_RS_IMPL -#define RSTRACKERIMPL_VISIBILITY   __declspec( dllexport )  -#else -#define RSTRACKERIMPL_VISIBILITY   -#endif -extern "C" {                 -    RSTRACKERIMPL_VISIBILITY int rs_tracker_impl_start(); -    RSTRACKERIMPL_VISIBILITY int rs_tracker_impl_update_pose(double *pose); -    RSTRACKERIMPL_VISIBILITY int rs_tracker_impl_get_preview(void* data, int width, int height); -    RSTRACKERIMPL_VISIBILITY int rs_tracker_impl_end(); -} +int rs_tracker_impl_start(); +int rs_tracker_impl_update_pose(double *pose); +int rs_tracker_impl_get_preview(void* data, int width, int height); +int rs_tracker_impl_end();  | 
