kn::V4L2WebcamParams Struct Reference

Default parameters for a V4L2 webcam. More...

#include <LIN_V4L2Webcam.hpp>

Inherits kn::CameraParams.

Collaboration diagram for kn::V4L2WebcamParams:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 V4L2WebcamParams (const std::string &dn="/dev/video0", const size_t &expectedwidth=320, const size_t &expectedheight=240, const WebcamFormat &wf=FMT_YUYV, const GrabMethod &gm=MMAP_METHOD, const unsigned int &fps=30, const bool &f=false)
 Default constructor.

Public Attributes

WebcamFormat fmt
 Format for webcam captures.
GrabMethod grab
 Images grabbing method.
unsigned int framerate
 Framerate of the webcam.
bool force
 Force.


Detailed Description

Default parameters for a V4L2 webcam.

A V4L2 webcam defines capture format, grabbing method and framerate parameters in addition to default parameters

Author:
Frankoi

Definition at line 76 of file LIN_V4L2Webcam.hpp.


Constructor & Destructor Documentation

kn::V4L2WebcamParams::V4L2WebcamParams ( const std::string &  dn = "/dev/video0",
const size_t &  expectedwidth = 320,
const size_t &  expectedheight = 240,
const WebcamFormat wf = FMT_YUYV,
const GrabMethod gm = MMAP_METHOD,
const unsigned int &  fps = 30,
const bool &  f = false 
) [inline]

Default constructor.

Definition at line 102 of file LIN_V4L2Webcam.hpp.


Member Data Documentation

Format for webcam captures.

Definition at line 82 of file LIN_V4L2Webcam.hpp.

Force.

Definition at line 97 of file LIN_V4L2Webcam.hpp.

Framerate of the webcam.

Definition at line 92 of file LIN_V4L2Webcam.hpp.

Images grabbing method.

Definition at line 87 of file LIN_V4L2Webcam.hpp.


The documentation for this struct was generated from the following file:

Generated on Thu Nov 12 16:06:36 2009 for OpenKraken-controller by  doxygen 1.5.8