FastCV Sample Application
1.7.1
|
00001 #ifndef FILTER_H 00002 #define FILTER_H 00003 00004 /* 00005 * Copyright (c) 2012 Qualcomm Technologies Incorporated. All Rights Reserved. 00006 * Qualcomm Technologies Proprietary and Confidential. 00007 * 00008 * @file Definition of FastCV Filter Sample Java Native Interface (JNI). 00009 */ 00010 00011 //============================================================================== 00012 // Include Files 00013 //============================================================================== 00014 #include <jni.h> 00015 00016 //============================================================================== 00017 // Declarations 00018 //============================================================================== 00019 extern "C" { 00020 00021 //------------------------------------------------------------------------------ 00024 //------------------------------------------------------------------------------ 00025 JNIEXPORT void JNICALL Java_com_qualcomm_fastcvdemo_apis_imageProcessing_Filter_setFilter 00026 ( 00027 JNIEnv* env, 00028 jobject obj, 00029 int filterType 00030 ); 00031 00032 //------------------------------------------------------------------------------ 00037 //------------------------------------------------------------------------------ 00038 JNIEXPORT void JNICALL Java_com_qualcomm_fastcvdemo_apis_imageProcessing_Filter_update 00039 ( 00040 JNIEnv* env, 00041 jobject obj, 00042 jbyteArray img, 00043 jint w, 00044 jint h 00045 ); 00046 00047 //--------------------------------------------------------------------------- 00049 //--------------------------------------------------------------------------- 00050 JNIEXPORT void JNICALL Java_com_qualcomm_fastcvdemo_apis_imageProcessing_Filter_cleanup 00051 ( 00052 JNIEnv * env, 00053 jobject obj 00054 ); 00055 00056 } 00057 00058 #endif // FILTER_H