mirror of
https://github.com/opencv/opencv.git
synced 2024-12-17 02:48:01 +08:00
38 lines
927 B
C++
38 lines
927 B
C++
|
#include "OpenCVLibraryInfo.h"
|
||
|
|
||
|
JNIEXPORT jlong JNICALL Java_org_opencv_engine_OpenCVLibraryInfo_open
|
||
|
(JNIEnv * env, jobject, jstring)
|
||
|
{
|
||
|
return 255;
|
||
|
}
|
||
|
|
||
|
JNIEXPORT jstring JNICALL Java_org_opencv_engine_OpenCVLibraryInfo_getPackageName
|
||
|
(JNIEnv* env, jobject, jlong)
|
||
|
{
|
||
|
return env->NewStringUTF("org.opencv.lib_v24_tegra3");
|
||
|
}
|
||
|
|
||
|
JNIEXPORT jstring JNICALL Java_org_opencv_engine_OpenCVLibraryInfo_getPublicName
|
||
|
(JNIEnv* env, jobject, jlong)
|
||
|
{
|
||
|
return env->NewStringUTF("OpenCV library for Tegra3");
|
||
|
}
|
||
|
|
||
|
JNIEXPORT jstring JNICALL Java_org_opencv_engine_OpenCVLibraryInfo_getLibraryList
|
||
|
(JNIEnv* env, jobject, jlong)
|
||
|
{
|
||
|
return env->NewStringUTF("");
|
||
|
}
|
||
|
|
||
|
JNIEXPORT jstring JNICALL Java_org_opencv_engine_OpenCVLibraryInfo_getVersionName
|
||
|
(JNIEnv* env, jobject, jlong)
|
||
|
{
|
||
|
return env->NewStringUTF("9.9");
|
||
|
}
|
||
|
|
||
|
JNIEXPORT void JNICALL Java_org_opencv_engine_OpenCVLibraryInfo_close
|
||
|
(JNIEnv* env, jobject, jlong)
|
||
|
{
|
||
|
|
||
|
}
|