FastCV Sample Application  1.7.1
com.qualcomm.fastcvdemo.apis.imageTransformation.ScaleDownMN 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 ()

Protected Member Functions

void initTitle ()
void onResume ()
void setupCamera ()
native void setScaling (int scale)
native void setPreview (boolean pre)
native void setScalePref (boolean scaleP)

Protected Attributes

ToggleButton tBtnPreviewSwitch

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.ScaleDownMN.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