Fix for devices affected by the OpenCV 1244 bug.

This commit is contained in:
2013-01-19 11:34:07 -04:30
parent bf0bc39ac0
commit 99849c90f2
184 changed files with 1575 additions and 1541 deletions

View File

@@ -8,7 +8,7 @@ using namespace std;
using namespace cv;
extern "C" {
JNIEXPORT void JNICALL Java_com_lego_minddroid_SampleView_FindLight(JNIEnv* env, jobject thiz, jint width, jint height, jbyteArray yuv, jintArray bgra, jdoubleArray array)
JNIEXPORT void JNICALL Java_com_lego_minddroid_CameraGLRenderer_FindLight(JNIEnv* env, jobject thiz, jint width, jint height, jbyteArray yuv, jintArray bgra, jdoubleArray array)
{
jbyte* _yuv = env->GetByteArrayElements(yuv, 0);
jint* _bgra = env->GetIntArrayElements(bgra, 0);