Ignore:
Timestamp:
02/19/20 10:18:36 (2 years ago)
Author:
Sanahuja Guillaume
Message:

modifs v4l2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSensorActuator/src/V4LCamera.h

    r348 r349  
    1919#include <linux/videodev2.h>
    2020#include <libv4l1-videodev.h>
    21 #define MAX_V4L_BUFFERS 10
     21
     22#define DEFAULT_V4L_BUFFERS 4
    2223
    2324namespace flair {
     
    149150  int device;
    150151  bool hasProblems;
    151   struct video_mmap *mmaps;
    152   void* buffers[MAX_V4L_BUFFERS];
     152  void* buffers[DEFAULT_V4L_BUFFERS];
    153153  int nbBuffers;
    154154  int bufferIndex;
     
    166166
    167167int cvGrabFrame(void);
    168 
    169168int read_frame_v4l2(void);
    170169void cvRetrieveRawFrame(void);
Note: See TracChangeset for help on using the changeset viewer.