64 DeviceState deviceState;
69 char* cameraParamBuffer;
70 size_t cameraParamBufferLen;
73 char* videoConfiguration;
78 AR_PIXEL_FORMAT pixelFormat;
80 int m_captureFrameWaitCount;
87 void setError(
int error);
89 pthread_rwlock_t m_frameBufferLock;
91 static void openCallback(
void *userData);
93 static void open2CparamCallback(
const ARParam *cparam_p,
void *userdata);
94 bool open3(
const ARParam *cparam_p);
114 bool isRunning()
const;
124 void configure(
const char* vconf,
bool noCpara,
const char* cparaName,
const char* cparaBuff,
size_t cparaBuffLen);
136 int getVideoWidth()
const;
142 int getVideoHeight()
const;
148 AR_PIXEL_FORMAT getPixelFormat()
const;
191 void checkinFrame(
void);
207 bool getFrameTextureRGBA32(uint32_t *buffer);
209#if ARX_TARGET_PLATFORM_ANDROID
210 jint androidVideoPushInit(JNIEnv *env, jobject obj, jint width, jint height,
const char *pixelFormat, jint camera_index, jint camera_face);
211 jint androidVideoPush1(JNIEnv *env, jobject obj, jbyteArray buf, jint bufSize);
212 jint androidVideoPush2(JNIEnv *env, jobject obj,
213 jobject buf0, jint buf0PixelStride, jint buf0RowStride,
214 jobject buf1, jint buf1PixelStride, jint buf1RowStride,
215 jobject buf2, jint buf2PixelStride, jint buf2RowStride,
216 jobject buf3, jint buf3PixelStride, jint buf3RowStride);
217 jint androidVideoPushFinal(JNIEnv *env, jobject obj);
artoolkitX core routines.
A video source provides video frames to the artoolkitX tracking module.
Definition: ARVideoSource.h:53
A structure which carries information about a video frame retrieved by the video library.
Definition: ar.h:148
A structure to hold a timestamp in seconds and microseconds, with arbitrary epoch.
Definition: ar.h:139
Structure holding camera parameters, including image size, projection matrix and lens distortion para...
Definition: param.h:99
Structure holding camera parameters, in lookup table form.
Definition: param.h:151