14 #ifndef WEBCAMVIDEOCURSORV4L_H 15 #define WEBCAMVIDEOCURSORV4L_H 19 #if defined(HAVE_VIDEO4LINUX) && !defined(CPPPARSER) 24 #include <linux/videodev2.h> 29 #pragma push_macro("INLINE") 37 #pragma pop_macro("INLINE") 48 WebcamVideoCursorV4L(WebcamVideoV4L *src);
49 virtual ~WebcamVideoCursorV4L();
50 virtual PT(
Buffer) fetch_buffer();
57 struct v4l2_format _format;
59 struct jpeg_decompress_struct _cinfo;
66 static void init_type() {
67 MovieVideoCursor::init_type();
69 MovieVideoCursor::get_class_type());
72 return get_class_type();
74 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
80 #endif // HAVE_VIDEO4LINUX PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A MovieVideo is actually any source that provides a sequence of video frames.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.