My Project
 All Classes Namespaces Files Functions Variables
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Package Functions | Package Attributes
org.opencv.samples.tutorial2.Preview Class Reference
Inheritance diagram for org.opencv.samples.tutorial2.Preview:
Inheritance graph
[legend]
Collaboration diagram for org.opencv.samples.tutorial2.Preview:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void setCamera (Camera camera)
void switchCamera (Camera camera)
void surfaceCreated (SurfaceHolder holder)
void surfaceDestroyed (SurfaceHolder holder)
void surfaceChanged (SurfaceHolder holder, int format, int w, int h)

Static Public Member Functions

static void decodeYUV420SP (int[] rgb, byte[] yuv420sp, int width, int height)

Public Attributes

AutoFocusCallBack autoFocusCallBack = new AutoFocusCallBack()
int[] pixels

Protected Member Functions

void onMeasure (int widthMeasureSpec, int heightMeasureSpec)
void onLayout (boolean changed, int l, int t, int r, int b)

Package Functions

 Preview (Context context)

Package Attributes

SurfaceView mSurfaceView
SurfaceHolder mHolder
Size mPreviewSize
List< Size > mSupportedPreviewSizes
Camera mCamera

Constructor & Destructor Documentation

org.opencv.samples.tutorial2.Preview.Preview ( Context  context) [package]

Member Function Documentation

static void org.opencv.samples.tutorial2.Preview.decodeYUV420SP ( int[]  rgb,
byte[]  yuv420sp,
int  width,
int  height 
) [static]
void org.opencv.samples.tutorial2.Preview.onLayout ( boolean  changed,
int  l,
int  t,
int  r,
int  b 
) [protected]
void org.opencv.samples.tutorial2.Preview.onMeasure ( int  widthMeasureSpec,
int  heightMeasureSpec 
) [protected]
void org.opencv.samples.tutorial2.Preview.surfaceChanged ( SurfaceHolder  holder,
int  format,
int  w,
int  h 
)

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables