• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_METERINGTEST_H
18 #define JNI_CAMERAANALYZER_METERINGTEST_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_MeteringTest_createMeteringTest(
29         JNIEnv*      env,
30         jobject      thiz);
31 
32 JNIEXPORT void JNICALL
33 Java_com_android_cts_verifier_camera_analyzer_MeteringTest_createMeteringClass(
34         JNIEnv *env,
35         jobject thiz,
36         jlong inputAddress,
37         jlong handlerAddress,
38         jlong checkercenterAddress,
39         jlong checkerradiusAddress);
40 
41 JNIEXPORT void JNICALL
42 Java_com_android_cts_verifier_camera_analyzer_MeteringTest_processMeteringTest(
43         JNIEnv*      env,
44         jobject      thiz,
45         jlong        handlerAddress,
46         jbooleanArray    tempArray);
47 
48 JNIEXPORT void JNICALL
49 Java_com_android_cts_verifier_camera_analyzer_MeteringTest_findGreyCoordinates(
50         JNIEnv*      env,
51         jobject      thiz,
52         jintArray    greyCoordinates,
53         jlong        checkercenterAddress,
54         jlong        checkerradiusAddress);
55 
56 #ifdef __cplusplus
57 }
58 #endif
59 
60 #endif
61