#include "camera_activity.hpp"
|
enum | ErrorCode {
NO_ERROR =0,
ERROR_WRONG_FRAME_SIZE,
ERROR_WRONG_POINTER_CAMERA_WRAPPER,
ERROR_CAMERA_CONNECTED,
ERROR_CANNOT_OPEN_CAMERA_WRAPPER_LIB,
ERROR_CANNOT_GET_FUNCTION_FROM_CAMERA_WRAPPER_LIB,
ERROR_CANNOT_INITIALIZE_CONNECTION,
ERROR_ISNT_CONNECTED,
ERROR_JAVA_VM_CANNOT_GET_CLASS,
ERROR_JAVA_VM_CANNOT_GET_FIELD,
ERROR_CANNOT_SET_PREVIEW_DISPLAY,
ERROR_UNKNOWN =255
} |
|
Enumerator |
---|
NO_ERROR |
|
ERROR_WRONG_FRAME_SIZE |
|
ERROR_WRONG_POINTER_CAMERA_WRAPPER |
|
ERROR_CAMERA_CONNECTED |
|
ERROR_CANNOT_OPEN_CAMERA_WRAPPER_LIB |
|
ERROR_CANNOT_GET_FUNCTION_FROM_CAMERA_WRAPPER_LIB |
|
ERROR_CANNOT_INITIALIZE_CONNECTION |
|
ERROR_ISNT_CONNECTED |
|
ERROR_JAVA_VM_CANNOT_GET_CLASS |
|
ERROR_JAVA_VM_CANNOT_GET_FIELD |
|
ERROR_CANNOT_SET_PREVIEW_DISPLAY |
|
ERROR_UNKNOWN |
|
CameraActivity::CameraActivity |
( |
| ) |
|
virtual CameraActivity::~CameraActivity |
( |
| ) |
|
|
virtual |
void CameraActivity::applyProperties |
( |
| ) |
|
ErrorCode CameraActivity::connect |
( |
int |
cameraId = 0 | ) |
|
void CameraActivity::disconnect |
( |
| ) |
|
int CameraActivity::getFrameHeight |
( |
| ) |
|
int CameraActivity::getFrameWidth |
( |
| ) |
|
double CameraActivity::getProperty |
( |
int |
propIdx | ) |
|
bool CameraActivity::isConnected |
( |
| ) |
const |
virtual bool CameraActivity::onFrameBuffer |
( |
void * |
buffer, |
|
|
int |
bufferSize |
|
) |
| |
|
virtual |
static void CameraActivity::setPathLibFolder |
( |
const char * |
path | ) |
|
|
static |
void CameraActivity::setProperty |
( |
int |
propIdx, |
|
|
double |
value |
|
) |
| |
The documentation for this class was generated from the following file: