FastCV Sample Application  1.7.1
com.qualcomm.fastcvdemo.apis.imageTransformation.Affine Class Reference

Inherits com.qualcomm.fastcvdemo.base.GraphicalActivity.

Public Member Functions

boolean onCreateOptionsMenu (Menu menu)
boolean onOptionsItemSelected (MenuItem item)
native void update (byte[] data, int w, int h)
native void cleanup ()

Static Public Attributes

static final int NO_AFFINE = 0
static final int AFFINE_U8 = 1
static final int AFFINE_8X8 = 2

Protected Member Functions

void initTitle ()
void onResume ()
void setupCamera ()
native void setAffine (int affineType)

Static Package Functions

 [static initializer]

Member Function Documentation

Performs native cleanup routines for application exit.

Implements com.qualcomm.fastcvdemo.base.GraphicalActivity.

Called when the option menu is created.

Reimplemented from com.qualcomm.fastcvdemo.base.GraphicalActivity.

User Option selection menu

Resumes camera preview

Reimplemented from com.qualcomm.fastcvdemo.base.GraphicalActivity.

Sets up camera configuration parameters

Reimplemented from com.qualcomm.fastcvdemo.base.GraphicalActivity.

native void com.qualcomm.fastcvdemo.apis.imageTransformation.Affine.update ( byte[]  data,
int  w,
int  h 
) [virtual]

Function to pass camera frame for native, FastCV processing.

Parameters:
dataByte buffer for data.
wWidth of data
hHeight of data

Implements com.qualcomm.fastcvdemo.base.GraphicalActivity.


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