You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
545 B
17 lines
545 B
#ifndef _CAMERA_CAPTURE_H_
|
|
#define _CAMERA_CAPTURE_H_
|
|
|
|
#include "camera_device.h"
|
|
#include "camera_memory.h"
|
|
#include "logger/log.h"
|
|
|
|
typedef void (*CaptureCallBack)(int, int, void*, int);
|
|
|
|
int read_frame(struct capture_info* cap_info);
|
|
int read_frame(int handler, int index, struct capture_info* cap_info, CaptureCallBack callback);
|
|
void stop_capturing(struct capture_info* cap_info);
|
|
void start_capturing(struct capture_info* cap_info);
|
|
void uninit_device(struct capture_info* cap_info);
|
|
int init_device(struct capture_info* cap_info);
|
|
|
|
#endif |