2012-06-21 22:50:05 +08:00
|
|
|
#ifndef __ENGINE_COMMON_H__
|
|
|
|
#define __ENGINE_COMMON_H__
|
|
|
|
|
|
|
|
// Global tag for Logcat output
|
|
|
|
#undef LOG_TAG
|
2012-07-12 21:12:16 +08:00
|
|
|
#define LOG_TAG "OpenCVEngine"
|
2012-06-21 22:50:05 +08:00
|
|
|
|
2012-11-22 16:39:06 +08:00
|
|
|
// OpenCV Engine API version
|
2012-06-21 22:50:05 +08:00
|
|
|
#ifndef OPEN_CV_ENGINE_VERSION
|
2012-10-31 19:20:49 +08:00
|
|
|
#define OPEN_CV_ENGINE_VERSION 2
|
2012-06-21 22:50:05 +08:00
|
|
|
#endif
|
|
|
|
|
2012-10-02 19:02:04 +08:00
|
|
|
#define LIB_OPENCV_INFO_NAME "libopencv_info.so"
|
|
|
|
|
2012-11-22 16:39:06 +08:00
|
|
|
// OpenCV Manager package name
|
|
|
|
#define OPENCV_ENGINE_PACKAGE "org.opencv.engine"
|
|
|
|
// Class name of OpenCV engine binder object. Is needned for connection to service
|
|
|
|
#define OPECV_ENGINE_CLASSNAME "org.opencv.engine.OpenCVEngineInterface"
|
|
|
|
|
2012-12-20 16:28:30 +08:00
|
|
|
typedef const char* (*InfoFunctionType)();
|
|
|
|
|
2012-06-21 22:50:05 +08:00
|
|
|
#endif
|