From: Alexander Smorkalov Date: Fri, 5 Apr 2013 08:17:45 +0000 (+0400) Subject: Waning fixes for Android samples X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~1314^2~1353^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f89cc191a462ecf360a59aa072c9df3c8b19aaaf;p=platform%2Fupstream%2Fopencv.git Waning fixes for Android samples --- diff --git a/samples/android/native-activity/jni/native.cpp b/samples/android/native-activity/jni/native.cpp index 38dda06..66bc006 100644 --- a/samples/android/native-activity/jni/native.cpp +++ b/samples/android/native-activity/jni/native.cpp @@ -28,7 +28,7 @@ struct Engine cv::Ptr capture; }; -cv::Size calc_optimal_camera_resolution(const char* supported, int width, int height) +static cv::Size calc_optimal_camera_resolution(const char* supported, int width, int height) { int frame_width = 0; int frame_height = 0; diff --git a/samples/android/tutorial-2-mixedprocessing/jni/jni_part.cpp b/samples/android/tutorial-2-mixedprocessing/jni/jni_part.cpp index e7ed75d..f8e3ada 100644 --- a/samples/android/tutorial-2-mixedprocessing/jni/jni_part.cpp +++ b/samples/android/tutorial-2-mixedprocessing/jni/jni_part.cpp @@ -8,7 +8,7 @@ using namespace std; using namespace cv; extern "C" { -JNIEXPORT void JNICALL Java_org_opencv_samples_tutorial2_Tuturial2Activity_FindFeatures(JNIEnv*, jobject, jlong addrGray, jlong addrRgba); +JNIEXPORT void JNICALL Java_org_opencv_samples_tutorial2_Tutorial2Activity_FindFeatures(JNIEnv*, jobject, jlong addrGray, jlong addrRgba); JNIEXPORT void JNICALL Java_org_opencv_samples_tutorial2_Tutorial2Activity_FindFeatures(JNIEnv*, jobject, jlong addrGray, jlong addrRgba) {