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_EXPOSURECOMPENSATIONTEST_H 18 #define JNI_CAMERAANALYZER_EXPOSURECOMPENSATIONTEST_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_ExposureCompensationTest_createExposureCompensationTest( 29 JNIEnv* env, 30 jobject thiz, 31 jint debugHeight, 32 jint debugWidth); 33 34 JNIEXPORT void JNICALL 35 Java_com_android_cts_verifier_camera_analyzer_ExposureCompensationTest_createExposureCompensationClass( 36 JNIEnv* env, 37 jobject thiz, 38 jlong inputImageAddress, 39 jlong inputHandlerAddress, 40 jlong checkerCenterAddress, 41 jlong checkerRadiusAddress, 42 jfloat exposureValue); 43 44 45 JNIEXPORT jstring JNICALL 46 Java_com_android_cts_verifier_camera_analyzer_ExposureCompensationTest_processExposureCompensationTest( 47 JNIEnv* env, 48 jobject thiz, 49 jlong inputHandlerAddress); 50 #ifdef __cplusplus 51 } 52 #endif 53 54 #endif 55