BitmapToolkit Scol plugin
|
#include <CameraInputAndroid-old.h>
Classes | |
struct | jmethodbox |
Public Types | |
typedef std::vector< cv::Size > | PreviewSizes |
Public Member Functions | |
CameraBackendAndroid () | |
~CameraBackendAndroid () | |
void | startPreview (int width, int height, int index, bool recordingHint) |
void | stopPreview () |
void | torchOn () |
void | torchOff () |
bool | isCameraOpened () |
int | getDeviceOrientation () |
bool | isPortrait () |
bool | isOpen () |
bool | setPreviewSize (int width, int height) |
cv::Size | getPreviewSize () |
cv::Size | getSize () |
PreviewSizes | getSupportedPreviewSizes () |
bool | setFocusPoint (int x, int y) |
cv::Mat | grabFrame () |
void | UpdateThread () |
CameraBackendAndroid () | |
~CameraBackendAndroid () | |
void | startPreview (int width, int height, int index) |
void | stopPreview () |
void | torchOn () |
void | torchOff () |
bool | isCameraOpened () |
int | getDeviceOrientation () |
bool | isPortrait () |
bool | isOpen () |
cv::Size | getPreviewSize () |
cv::Size | getSize () |
bool | setFocusPoint (int x, int y) |
cv::Mat | grabFrame () |
Static Public Attributes | |
static const int | CAMERA_FACING_BACK = 0 |
static const int | CAMERA_FACING_FRONT = 1 |
static const std::string | android_package = "org/imaginer/scol/CameraBackend" |
Protected Member Functions | |
void | initJava () |
jmethodbox | grabMethod (JNIEnv *env, const char *name, const char *signature) |
void | initJava () |
jmethodbox | grabMethod (JNIEnv *env, const char *name, const char *signature) |
Protected Attributes | |
cv::Mat | mFrameBuffer |
cv::Mat | mFrameCached |
cv::Mat | mFrameRGB |
Detailed Description
Definition at line 13 of file CameraInputAndroid-old.h.
Member Typedef Documentation
◆ PreviewSizes
typedef std::vector<cv::Size> CameraBackendAndroid::PreviewSizes |
Definition at line 19 of file CameraInputAndroid-old.h.
Constructor & Destructor Documentation
◆ CameraBackendAndroid() [1/2]
CameraBackendAndroid::CameraBackendAndroid | ( | ) |
Definition at line 42 of file CameraInputAndroid-napi.cpp.
◆ ~CameraBackendAndroid() [1/2]
CameraBackendAndroid::~CameraBackendAndroid | ( | ) |
Definition at line 83 of file CameraInputAndroid-napi.cpp.
◆ CameraBackendAndroid() [2/2]
CameraBackendAndroid::CameraBackendAndroid | ( | ) |
◆ ~CameraBackendAndroid() [2/2]
CameraBackendAndroid::~CameraBackendAndroid | ( | ) |
Member Function Documentation
◆ getDeviceOrientation() [1/2]
int CameraBackendAndroid::getDeviceOrientation | ( | ) |
Definition at line 248 of file CameraInputAndroid-napi.cpp.
◆ getDeviceOrientation() [2/2]
int CameraBackendAndroid::getDeviceOrientation | ( | ) |
◆ getPreviewSize() [1/2]
cv::Size CameraBackendAndroid::getPreviewSize | ( | ) |
Definition at line 312 of file CameraInputAndroid-napi.cpp.
◆ getPreviewSize() [2/2]
cv::Size CameraBackendAndroid::getPreviewSize | ( | ) |
◆ getSize() [1/2]
cv::Size CameraBackendAndroid::getSize | ( | ) |
Definition at line 484 of file CameraInputAndroid-napi.cpp.
◆ getSize() [2/2]
cv::Size CameraBackendAndroid::getSize | ( | ) |
◆ getSupportedPreviewSizes()
CameraBackendAndroid::PreviewSizes CameraBackendAndroid::getSupportedPreviewSizes | ( | ) |
Definition at line 454 of file CameraInputAndroid-old.cpp.
◆ grabFrame() [1/2]
cv::Mat CameraBackendAndroid::grabFrame | ( | ) |
Definition at line 352 of file CameraInputAndroid-napi.cpp.
◆ grabFrame() [2/2]
cv::Mat CameraBackendAndroid::grabFrame | ( | ) |
◆ grabMethod() [1/2]
|
protected |
Definition at line 58 of file CameraInputAndroid-napi.cpp.
◆ grabMethod() [2/2]
|
protected |
◆ initJava() [1/2]
|
protected |
Definition at line 50 of file CameraInputAndroid-napi.cpp.
◆ initJava() [2/2]
|
protected |
◆ isCameraOpened() [1/2]
bool CameraBackendAndroid::isCameraOpened | ( | ) |
Definition at line 283 of file CameraInputAndroid-napi.cpp.
◆ isCameraOpened() [2/2]
bool CameraBackendAndroid::isCameraOpened | ( | ) |
◆ isOpen() [1/2]
bool CameraBackendAndroid::isOpen | ( | ) |
Definition at line 307 of file CameraInputAndroid-napi.cpp.
◆ isOpen() [2/2]
bool CameraBackendAndroid::isOpen | ( | ) |
◆ isPortrait() [1/2]
bool CameraBackendAndroid::isPortrait | ( | ) |
Definition at line 274 of file CameraInputAndroid-napi.cpp.
◆ isPortrait() [2/2]
bool CameraBackendAndroid::isPortrait | ( | ) |
◆ setFocusPoint() [1/2]
bool CameraBackendAndroid::setFocusPoint | ( | int | x, |
int | y | ||
) |
Definition at line 457 of file CameraInputAndroid-napi.cpp.
◆ setFocusPoint() [2/2]
bool CameraBackendAndroid::setFocusPoint | ( | int | x, |
int | y | ||
) |
◆ setPreviewSize()
bool CameraBackendAndroid::setPreviewSize | ( | int | width, |
int | height | ||
) |
Definition at line 376 of file CameraInputAndroid-old.cpp.
◆ startPreview() [1/2]
void CameraBackendAndroid::startPreview | ( | int | width, |
int | height, | ||
int | index | ||
) |
Definition at line 91 of file CameraInputAndroid-napi.cpp.
◆ startPreview() [2/2]
void CameraBackendAndroid::startPreview | ( | int | width, |
int | height, | ||
int | index, | ||
bool | recordingHint | ||
) |
Definition at line 156 of file CameraInputAndroid-old.cpp.
◆ stopPreview() [1/2]
void CameraBackendAndroid::stopPreview | ( | ) |
Definition at line 171 of file CameraInputAndroid-napi.cpp.
◆ stopPreview() [2/2]
void CameraBackendAndroid::stopPreview | ( | ) |
◆ torchOff() [1/2]
void CameraBackendAndroid::torchOff | ( | ) |
Definition at line 224 of file CameraInputAndroid-napi.cpp.
◆ torchOff() [2/2]
void CameraBackendAndroid::torchOff | ( | ) |
◆ torchOn() [1/2]
void CameraBackendAndroid::torchOn | ( | ) |
Definition at line 200 of file CameraInputAndroid-napi.cpp.
◆ torchOn() [2/2]
void CameraBackendAndroid::torchOn | ( | ) |
◆ UpdateThread()
void CameraBackendAndroid::UpdateThread | ( | ) |
Member Data Documentation
◆ android_package
|
static |
Definition at line 18 of file CameraInputAndroid-old.h.
◆ CAMERA_FACING_BACK
|
static |
Definition at line 16 of file CameraInputAndroid-old.h.
◆ CAMERA_FACING_FRONT
|
static |
Definition at line 17 of file CameraInputAndroid-old.h.
◆ mFrameBuffer
|
protected |
Definition at line 30 of file CameraInputAndroid-old.h.
◆ mFrameCached
|
protected |
Definition at line 31 of file CameraInputAndroid-old.h.
◆ mFrameRGB
|
protected |
Definition at line 32 of file CameraInputAndroid-old.h.
The documentation for this class was generated from the following files:
- include/CameraInputAndroid-old.h
- include/CameraInputAndroid.h
- src/CameraInputAndroid-napi.cpp
- src/CameraInputAndroid-old.cpp
- src/CameraInputAndroid.cpp
Generated by 1.9.8