FastCV Sample Application  1.7.1
ImgDiff.h
00001 #ifndef IMGDIFF_H
00002 #define IMGDIFF_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 Diff 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     //---------------------------------------------------------------------------
00023     //---------------------------------------------------------------------------
00024     JNIEXPORT void JNICALL Java_com_qualcomm_fastcvdemo_apis_imageProcessing_ImgDiff_cleanup
00025     (
00026             JNIEnv * env,
00027             jobject obj
00028     );
00029 
00030    //------------------------------------------------------------------------------
00034    //------------------------------------------------------------------------------
00035    JNIEXPORT void JNICALL Java_com_qualcomm_fastcvdemo_apis_imageProcessing_ImgDiff_update
00036    (
00037       JNIEnv*     env,
00038       jobject     obj,
00039       jbyteArray  img,
00040       jint        w,
00041       jint        h
00042    );
00043 
00044    //---------------------------------------------------------------------------
00046    //---------------------------------------------------------------------------
00047    JNIEXPORT void JNICALL
00048     Java_com_qualcomm_fastcvdemo_apis_imageProcessing_ImgDiff_takeReferenceFrame();
00049 
00050    //---------------------------------------------------------------------------
00052    //---------------------------------------------------------------------------
00053    JNIEXPORT void JNICALL
00054     Java_com_qualcomm_fastcvdemo_apis_imageProcessing_ImgDiff_resetReferenceFrame();
00055 };
00056 
00057 #endif // IMGDIFF_H
 All Data Structures Functions Variables