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

Inherits com.qualcomm.fastcvdemo.base.GraphicalActivity.

Public Member Functions

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

Static Public Attributes

static final int NO_SCALE = 0
static final int SCALE_DOWN_BY2 = 1
static final int SCALE_DOWN_BY4 = 2
static final int SCALE_DOWN_BY2_GAUS = 3
static final int SCALE_UP_BY2_GAUS = 4

Protected Member Functions

void initTitle ()
void setupCamera ()

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

Sets up camera configuration parameters

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

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

Function to pass camera frame for native, FastCV processing.

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