FastCV Sample Application  1.7.1
Scale.h
00001 #ifndef SCALE_H
00002 #define SCALE_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 Scale 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   //------------------------------------------------------------------------------
00026   //------------------------------------------------------------------------------
00027   JNIEXPORT void JNICALL Java_com_qualcomm_fastcvdemo_apis_imageTransformation_Scale_setScaling
00028   (
00029     JNIEnv*  env,
00030     jobject  obj,
00031     int scaleFactor
00032   );
00033 
00034 
00035   //------------------------------------------------------------------------------
00040   //------------------------------------------------------------------------------
00041   JNIEXPORT void JNICALL Java_com_qualcomm_fastcvdemo_apis_imageTransformation_Scale_update
00042   (
00043     JNIEnv*     env,
00044     jobject     obj,
00045     jbyteArray  img,
00046     jint        w,
00047     jint        h
00048   );
00049 
00050   //---------------------------------------------------------------------------
00053   //---------------------------------------------------------------------------
00054   JNIEXPORT void JNICALL Java_com_qualcomm_fastcvdemo_apis_imageTransformation_Scale_cleanup
00055   (
00056     JNIEnv * env,
00057     jobject obj
00058   );
00059 
00060 }
00061 
00062 #endif // SCALE_H
 All Data Structures Functions Variables