FastCV Sample Application  1.7.1
Corner.h
00001 #ifndef CORNER_H
00002 #define CORNER_H
00003 
00004 /*
00005  * Copyright (c) 2012 Qualcomm Technologies Incorporated. All Rights Reserved.
00006  * Qualcomm Technologies Proprietary and Confidential.
00007  *
00008  *
00009  * @file Definition of FastCV Corner Detection Sample Java Native Interface (JNI).
00010  *
00011  */
00012 
00013 //==============================================================================
00014 // Include Files
00015 //==============================================================================
00016 #include <jni.h>
00017 
00018 //==============================================================================
00019 // Declarations
00020 //==============================================================================
00021 extern "C" {
00022 
00023     //---------------------------------------------------------------------------
00026     //---------------------------------------------------------------------------
00027     JNIEXPORT void JNICALL Java_com_qualcomm_fastcvdemo_apis_featureDetection_Corner_cleanup
00028     (
00029             JNIEnv * env,
00030             jobject obj
00031     );
00032 
00033    //---------------------------------------------------------------------------
00042    //---------------------------------------------------------------------------
00043    JNIEXPORT void JNICALL Java_com_qualcomm_fastcvdemo_util_FastCVRenderer_render
00044    (
00045       JNIEnv * env,
00046       jobject obj,
00047       jbyteArray img,
00048       jint w,
00049       jint h
00050    );
00051 
00052    //------------------------------------------------------------------------------
00059    //------------------------------------------------------------------------------
00060    JNIEXPORT void JNICALL Java_com_qualcomm_fastcvdemo_apis_featureDetection_Corner_update
00061    (
00062       JNIEnv*     env,
00063       jobject     obj,
00064       jbyteArray  img,
00065       jint        w,
00066       jint        h
00067    );
00068 
00069    //------------------------------------------------------------------------------
00073    //------------------------------------------------------------------------------
00074    JNIEXPORT int JNICALL Java_com_qualcomm_fastcvdemo_apis_featureDetection_Corner_getNumCorners
00075    (
00076       JNIEnv*  env,
00077       jobject  obj
00078    );
00079 
00080    //------------------------------------------------------------------------------
00085    //------------------------------------------------------------------------------
00086    JNIEXPORT void JNICALL Java_com_qualcomm_fastcvdemo_apis_featureDetection_Corner_setScaling
00087    (
00088       JNIEnv*  env,
00089       jobject  obj,
00090       int scaleFactor
00091    );
00092 
00093    //------------------------------------------------------------------------------
00097    //------------------------------------------------------------------------------
00098    JNIEXPORT void JNICALL Java_com_qualcomm_fastcvdemo_apis_featureDetection_Corner_setFastCornerThreshold
00099    (
00100       JNIEnv*  env,
00101       jobject  obj,
00102       int threshold
00103    );
00104 
00105    //------------------------------------------------------------------------------
00112    //------------------------------------------------------------------------------
00113    JNIEXPORT void JNICALL Java_com_qualcomm_fastcvdemo_apis_featureDetection_Corner_setViewFinderEnable
00114    (
00115       JNIEnv*  env,
00116       jobject  obj,
00117       jboolean disableViewFinder
00118    );
00119 
00120    //------------------------------------------------------------------------------
00128    //------------------------------------------------------------------------------
00129    JNIEXPORT void JNICALL Java_com_qualcomm_fastcvdemo_apis_featureDetection_Corner_setOverlayPixelsEnable
00130    (
00131       JNIEnv*  env,
00132       jobject  obj,
00133       jboolean enableOverlayPixels
00134    );
00135 
00136    //------------------------------------------------------------------------------
00144    //------------------------------------------------------------------------------
00145    JNIEXPORT void JNICALL Java_com_qualcomm_fastcvdemo_apis_featureDetection_Corner_setGaussianEnable
00146    (
00147       JNIEnv*  env,
00148       jobject  obj,
00149       jboolean enableGaussian
00150    );
00151 
00152    //------------------------------------------------------------------------------
00157    //------------------------------------------------------------------------------
00158    JNIEXPORT void JNICALL Java_com_qualcomm_fastcvdemo_apis_featureDetection_Corner_setDetection
00159    (
00160       JNIEnv*  env,
00161       jobject  obj,
00162       int detectionSwitch
00163    );
00164 
00165    //------------------------------------------------------------------------------
00169    //------------------------------------------------------------------------------
00170    JNIEXPORT jstring JNICALL Java_com_qualcomm_fastcvdemo_apis_featureDetection_Corner_detectionMethod
00171    (
00172       JNIEnv*  env,
00173       jobject  obj
00174    );
00175 
00176    //------------------------------------------------------------------------------
00181    //------------------------------------------------------------------------------
00182    JNIEXPORT void
00183       JNICALL Java_com_qualcomm_fastcvdemo_apis_featureDetection_Corner_init
00184    (
00185       JNIEnv*  env,
00186       jobject  obj,
00187       int  width,
00188       int height
00189    );
00190 
00191    //------------------------------------------------------------------------------
00194    //------------------------------------------------------------------------------
00195    JNIEXPORT void
00196       JNICALL Java_com_qualcomm_fastcvdemo_apis_featureDetection_Corner_deinit
00197    (
00198       JNIEnv*  env,
00199       jobject  obj
00200    );
00201 };
00202 
00203 #endif // CORNER_H
 All Data Structures Functions Variables