FastCV Sample Application  1.7.1
ImageGradient.h
00001 #ifndef IMAGEGRADIENT_H
00002 #define IMAGEGRADIENT_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 Image Gradient 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_ImageGradient_setGradientOrientation
00026   (
00027     JNIEnv*  env,
00028     jobject  obj,
00029     int gradientOrientation
00030   );
00031 
00032   //------------------------------------------------------------------------------
00035   //------------------------------------------------------------------------------
00036   JNIEXPORT void JNICALL Java_com_qualcomm_fastcvdemo_apis_imageProcessing_ImageGradient_setGradientType
00037   (
00038     JNIEnv*  env,
00039     jobject  obj,
00040     int gradientType
00041   );
00042 
00043   //------------------------------------------------------------------------------
00048   //------------------------------------------------------------------------------
00049   JNIEXPORT void JNICALL Java_com_qualcomm_fastcvdemo_apis_imageProcessing_ImageGradient_update
00050   (
00051     JNIEnv*     env,
00052     jobject     obj,
00053     jbyteArray  img,
00054     jint        w,
00055     jint        h
00056   );
00057 
00058   //---------------------------------------------------------------------------
00060   //---------------------------------------------------------------------------
00061   JNIEXPORT void JNICALL Java_com_qualcomm_fastcvdemo_apis_imageProcessing_ImageGradient_cleanup
00062   (
00063     JNIEnv * env,
00064     jobject obj
00065   );
00066 
00067 }
00068 
00069 #endif // IMAGEGRADIENT_H
 All Data Structures Functions Variables