14 #ifndef WEBCAMVIDEOV4L_H 15 #define WEBCAMVIDEOV4L_H 19 #if defined(HAVE_VIDEO4LINUX) && !defined(CPPPARSER) 23 class WebcamVideoCursorV4L;
32 friend class WebcamVideoCursorV4L;
33 friend void find_all_webcams_v4l();
34 static void add_options_for_size(
int fd,
const std::string &dev,
const char *name,
35 unsigned width,
unsigned height,
36 unsigned pixelformat);
45 static void init_type() {
46 WebcamVideo::init_type();
48 WebcamVideo::get_class_type());
51 return get_class_type();
53 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
59 #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.
Allows you to open a webcam or other video capture device as a video stream.
A MovieVideo is actually any source that provides a sequence of video frames.
TypeHandle is the identifier used to differentiate C++ class types.