mirror of
https://github.com/opencv/opencv.git
synced 2025-08-04 21:36:35 +08:00
Fix for building with old V4L
This commit is contained in:
parent
977d2c4330
commit
b231e91d87
@ -258,6 +258,10 @@ make & enjoy!
|
|||||||
#define V4L2_CID_IRIS_ABSOLUTE (V4L2_CID_CAMERA_CLASS_BASE+17)
|
#define V4L2_CID_IRIS_ABSOLUTE (V4L2_CID_CAMERA_CLASS_BASE+17)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef V4L2_PIX_FMT_Y10
|
||||||
|
#define V4L2_PIX_FMT_Y10 v4l2_fourcc('Y', '1', '0', ' ')
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Defaults - If your board can do better, set it here. Set for the most common type inputs. */
|
/* Defaults - If your board can do better, set it here. Set for the most common type inputs. */
|
||||||
#define DEFAULT_V4L_WIDTH 640
|
#define DEFAULT_V4L_WIDTH 640
|
||||||
#define DEFAULT_V4L_HEIGHT 480
|
#define DEFAULT_V4L_HEIGHT 480
|
||||||
|
Loading…
Reference in New Issue
Block a user