FastCV Sample Application  1.7.1
com.qualcomm.fastcorner.FastCVSample Class Reference

Inherits Activity.

Public Member Functions

void onCreate (Bundle savedInstanceState)
boolean onCreateOptionsMenu (Menu menu)
boolean onOptionsItemSelected (MenuItem item)
void setCallback ()
native float getCameraFPS ()
native void init ()
native void update (byte[] data, int w, int h)
void requestRender ()

Protected Member Functions

void onResume ()
void updatePreferences ()
void bringControlsToFront ()
void onPause ()

Static Package Functions

 [static initializer]

Detailed Description

The main activity for the FastCV FAST Corner sample app.

Member Function Documentation

Brings the controls to the foreground

Native function declarations

Initializes native processing

void com.qualcomm.fastcorner.FastCVSample.onCreate ( Bundle  savedInstanceState) [inline]

Called when the activity is first created.

Creates the options menu


User Option selection menu

itemThe menu item
void com.qualcomm.fastcorner.FastCVSample.onPause ( ) [inline, protected]

Suspends camera preview, cleans up the renderer

void com.qualcomm.fastcorner.FastCVSample.onResume ( ) [inline, protected]

Resumes camera preview

Request render for on demand rendering.

Sets the Camera preview callback

native void com.qualcomm.fastcorner.FastCVSample.update ( byte[]  data,
int  w,
int  h 

Function to pass camera frame for native, FastCV processing.

dataByte buffer for data.
wWidth of data
hHeight of data

Retrieves shared preferences and places them in member variables for use.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables