Waning fixes for Android samples

This commit is contained in:
Alexander Smorkalov 2013-04-05 12:17:45 +04:00
parent 5163986e7d
commit f89cc191a4
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ struct Engine
cv::Ptr<cv::VideoCapture> 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;

View File

@ -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)
{