Support UVC cameras somewhat
This commit is contained in:
@@ -75,17 +75,23 @@ typedef struct _lmp_camera libmegapixels_camera;
|
||||
|
||||
struct _lmp_device_config {
|
||||
char *path;
|
||||
char *make;
|
||||
char *model;
|
||||
const char *make;
|
||||
const char *model;
|
||||
int count;
|
||||
int loaded_config;
|
||||
int loaded_uvc;
|
||||
libmegapixels_camera **cameras;
|
||||
};
|
||||
typedef struct _lmp_device_config libmegapixels_devconfig;
|
||||
|
||||
EXPORT int
|
||||
libmegapixels_init(libmegapixels_devconfig **config);
|
||||
|
||||
EXPORT int
|
||||
libmegapixels_load_file(libmegapixels_devconfig **config, const char *file);
|
||||
libmegapixels_load_file(libmegapixels_devconfig *config, const char *file);
|
||||
|
||||
EXPORT int
|
||||
libmegapixels_load_uvc(libmegapixels_devconfig *config);
|
||||
|
||||
EXPORT int
|
||||
libmegapixels_open(libmegapixels_camera *camera);
|
||||
|
Reference in New Issue
Block a user