public static interface CameraGLSurfaceView.CameraTextureListener
| Modifier and Type | Method and Description |
|---|---|
boolean |
onCameraTexture(int texIn,
int texOut,
int width,
int height)
This method is invoked when a new preview frame from Camera is ready.
|
void |
onCameraViewStarted(int width,
int height)
This method is invoked when camera preview has started.
|
void |
onCameraViewStopped()
This method is invoked when camera preview has been stopped for some reason.
|
boolean onCameraTexture(int texIn,
int texOut,
int width,
int height)
texIn - - the OpenGL texture ID that contains frame in RGBA formattexOut - - the OpenGL texture ID that can be used to store modified frame image t displaywidth - - the width of the frameheight - - the height of the framevoid onCameraViewStarted(int width,
int height)
width - - the width of the frames that will be deliveredheight - - the height of the frames that will be deliveredvoid onCameraViewStopped()
Generated on 2023-06-28 12:47:21 / OpenCV 4.8.0