1#ifndef __BTK_CAMERAINPUT_ANDROID_H__
2#define __BTK_CAMERAINPUT_ANDROID_H__
4#include <opencv2/opencv.hpp>
7#include <boost/bind.hpp>
25 struct android_app* mApp;
48 void startPreview(
int width,
int height,
int index,
bool recordingHint);
86 virtual void SetSize(
int width,
int height);
bool setFocusPoint(int x, int y)
void startPreview(int width, int height, int index, bool recordingHint)
PreviewSizes getSupportedPreviewSizes()
static const int CAMERA_FACING_FRONT
static const int CAMERA_FACING_BACK
std::vector< cv::Size > PreviewSizes
bool setPreviewSize(int width, int height)
jmethodbox grabMethod(JNIEnv *env, const char *name, const char *signature)
static const std::string android_package
cv::Size getPreviewSize()
int getDeviceOrientation()