2019-05-26 01:16:24 +11:00
|
|
|
/*
|
|
|
|
* V4L2 functions - header file
|
|
|
|
*/
|
|
|
|
|
|
|
|
int open_device(char *dev_name);
|
|
|
|
|
2019-08-11 03:37:52 +11:00
|
|
|
int init_device(int notused);
|
|
|
|
|
|
|
|
/* --------------------------------------------------------------------- */
|
|
|
|
|
2019-08-15 14:50:40 +11:00
|
|
|
int x_add_rgb2fimg(unsigned char *src, int w, int h, FloatImg *d);
|
|
|
|
|
2019-08-11 03:37:52 +11:00
|
|
|
int x_rgb2fimg(unsigned char *src, int w, int h, FloatImg *d);
|
|
|
|
int x_rgb2file(unsigned char *src, int w, int h, char *fname);
|
|
|
|
|
|
|
|
/* --------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
|