Home | History | Annotate | Download | only in cameraanalyzer
      1 /*
      2  * Copyright (C) 2011 The Android Open Source Project
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15  */
     16 
     17 #ifndef JNI_CAMERAANALYZER_CAMERATESTS_H
     18 #define JNI_CAMERAANALYZER_CAMERATESTS_H
     19 
     20 #include <jni.h>
     21 #include <stdio.h>
     22 
     23 #ifdef __cplusplus
     24 extern "C" {
     25 #endif
     26 
     27 JNIEXPORT jlong JNICALL
     28 Java_com_android_cts_verifier_camera_analyzer_CameraTests_findNative(
     29         JNIEnv *env,
     30         jobject thiz,
     31         jobject inputBitmap);
     32 
     33 JNIEXPORT jlong JNICALL
     34 Java_com_android_cts_verifier_camera_analyzer_CameraTests_createImageTestHandler(
     35         JNIEnv*      env,
     36         jobject      thiz,
     37         jint         debugHeight,
     38         jint         debugWidth);
     39 
     40 JNIEXPORT void JNICALL
     41 Java_com_android_cts_verifier_camera_analyzer_CameraTests_cleanUpHandler(
     42         JNIEnv*      env,
     43         jobject      thiz,
     44         jlong        inputHandlerAddress);
     45 
     46 JNIEXPORT void JNICALL
     47 Java_com_android_cts_verifier_camera_analyzer_CameraTests_displayHandlerDebugOutput(
     48         JNIEnv*      env,
     49         jobject      thiz,
     50         jlong        inputHandlerAddress);
     51 
     52 
     53 #ifdef __cplusplus
     54 }
     55 #endif
     56 
     57 #endif
     58