public static interface PreviewBuffer.FrameHandler
| Modifier and Type | Method and Description |
|---|---|
boolean |
handleFrame(byte[] frame,
int width,
int height,
int frameOrientation)
Invoked for every new camera preview frame
|
boolean handleFrame(byte[] frame,
int width,
int height,
int frameOrientation)
frame - image in NV21 formatwidth - width of the imageheight - height of the imageframeOrientation - orientation of the image (in degrees)true if frame should be considered as "intercepted", i.e. no further
processing should be performed on it. false to allow other frame handlers to
process this frame.