Changeset 349 in flair-src for trunk/lib/FlairSensorActuator/src/V4LCamera.h
- Timestamp:
- 02/19/20 10:18:36 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSensorActuator/src/V4LCamera.h
r348 r349 19 19 #include <linux/videodev2.h> 20 20 #include <libv4l1-videodev.h> 21 #define MAX_V4L_BUFFERS 10 21 22 #define DEFAULT_V4L_BUFFERS 4 22 23 23 24 namespace flair { … … 149 150 int device; 150 151 bool hasProblems; 151 struct video_mmap *mmaps; 152 void* buffers[MAX_V4L_BUFFERS]; 152 void* buffers[DEFAULT_V4L_BUFFERS]; 153 153 int nbBuffers; 154 154 int bufferIndex; … … 166 166 167 167 int cvGrabFrame(void); 168 169 168 int read_frame_v4l2(void); 170 169 void cvRetrieveRawFrame(void);
Note:
See TracChangeset
for help on using the changeset viewer.