|
|
|
@ -23,10 +23,10 @@ import android.view.SurfaceView; |
|
|
|
|
* The main responsibility of it - is to control when camera can be enabled, process the frame, |
|
|
|
|
* call external listener to make any adjustments to the frame and then draw the resulting |
|
|
|
|
* frame to the screen. |
|
|
|
|
* The clients shall implement CvCameraViewListener |
|
|
|
|
* TODO: add method to control the format in which the frames will be delivered to CvCameraViewListener |
|
|
|
|
* The clients shall implement CvCameraViewListener. |
|
|
|
|
*/ |
|
|
|
|
public abstract class CameraBridgeViewBase extends SurfaceView implements SurfaceHolder.Callback { |
|
|
|
|
//TODO: add method to control the format in which the frames will be delivered to CvCameraViewListener
|
|
|
|
|
|
|
|
|
|
private static final int MAX_UNSPECIFIED = -1; |
|
|
|
|
|
|
|
|
|