FastCV Sample Application
1.7.1
|
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] |
The main activity for the FastCV FAST Corner sample app.
void com.qualcomm.fastcorner.FastCVSample.bringControlsToFront | ( | ) | [inline, protected] |
Brings the controls to the foreground
native float com.qualcomm.fastcorner.FastCVSample.getCameraFPS | ( | ) |
Native function declarations
native void com.qualcomm.fastcorner.FastCVSample.init | ( | ) |
Initializes native processing
void com.qualcomm.fastcorner.FastCVSample.onCreate | ( | Bundle | savedInstanceState | ) | [inline] |
Called when the activity is first created.
boolean com.qualcomm.fastcorner.FastCVSample.onCreateOptionsMenu | ( | Menu | menu | ) | [inline] |
Creates the options menu
menu |
boolean com.qualcomm.fastcorner.FastCVSample.onOptionsItemSelected | ( | MenuItem | item | ) | [inline] |
User Option selection menu
item | The 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
void com.qualcomm.fastcorner.FastCVSample.requestRender | ( | ) | [inline] |
Request render for on demand rendering.
void com.qualcomm.fastcorner.FastCVSample.setCallback | ( | ) | [inline] |
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.
data | Byte buffer for data. |
w | Width of data |
h | Height of data |
void com.qualcomm.fastcorner.FastCVSample.updatePreferences | ( | ) | [inline, protected] |
Retrieves shared preferences and places them in member variables for use.