Changeset 338 in flair-src for trunk/lib/FlairSensorActuator/src/V4LCamera.h
- Timestamp:
- Oct 17, 2019, 2:49:35 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to
/branches/sanscv merged eligible
-
Property svn:mergeinfo
set to
-
trunk/lib/FlairSensorActuator/src/V4LCamera.h
r330 r338 23 23 namespace flair { 24 24 namespace core { 25 class cvimage;25 class Image; 26 26 } 27 27 namespace gui { … … 55 55 V4LCamera(std::string name, 56 56 uint8_t camera_index, uint16_t width, uint16_t height, 57 core:: cvimage::Type::Format format, uint8_t priority);57 core::Image::Type::Format format, uint8_t priority); 58 58 59 59 /*! … … 151 151 void SetProperty(int property,float value); 152 152 float GetProperty(int property); 153 void GrabFrame(void); 154 int read_frame_v4l2(void); 155 char *RetrieveRawFrame(void); 153 int GrabFrame(void); 156 154 int AllocBuffers(void); 155 int QueueBuffer(int index); 157 156 struct video_mmap *mmaps; 158 157 int bufferIndex; 159 struct v4l2_requestbuffers requestbuffers;160 158 struct buffer { 161 159 void * start; 162 160 size_t length; 163 161 }; 164 buffer buffers[MAX_V4L_BUFFERS + 1];162 buffer buffers[MAX_V4L_BUFFERS]; 165 163 char* frame; 164 int nbBuffers; 166 165 }; 167 166 } // end namespace sensor
Note:
See TracChangeset
for help on using the changeset viewer.