全部博文(776)
分类: LINUX
2013-08-01 08:05:43
19 | 19 | /* V4L2 capturing support */ |
---|---|---|
20 | 20 | #cmakedefine HAVE_CAMV4L2 |
21 | ||
22 | /* V4L/V4L2 capturing support via libv4l */ | |
23 | #cmakedefine HAVE_LIBV4L | |
21 | 24 | |
22 | 25 | /* Carbon windowing environment */ |
174 | 174 | return capture; |
---|---|---|
175 | 175 | #endif |
176 | #if defined (HAVE_CAMV4L) && defined (HAVE_CAMV4L2) | |
176 | #if defined HAVE_LIBV4L || (defined (HAVE_CAMV4L) && defined (HAVE_CAMV4L2) ) | |
177 | 177 | capture = cvCreateCameraCapture_V4L (index); |
178 | 178 | if (capture) |
225 | 225 | #include "precomp.hpp" |
---|---|---|
226 | 226 | |
227 | #if !defined WIN32 && defined HAVE_CAMV4L && defined HAVE_CAMV4L2 | |
227 | #if !defined WIN32 && defined HAVE_ LIBV4L | |
228 | 228 | |
229 | 229 | #define CLEAR(x) memset (&(x), 0, sizeof (x)) |
242 | 242 |
#include |
243 | 243 | |
244 | #ifdef HAVE_CAMV4L | |
244 | 245 |
#include |
246 | #endif | |
247 | #ifdef HAVE_CAMV4L2 | |
245 | 248 |
#include |
249 | #endif | |
246 | 250 | |
247 | 251 |
#include |