|
Valkka
1.6.1
OpenSource Video Management
|


Public Member Functions | |
| V4LDevice (USBCameraConnectionContext camera_ctx) | |
| Default constructor. More... | |
| const v4l_status | getStatus () |
| const std::string | getName () |
| virtual bool | isPlaying () |
| virtual void | open_ () |
| Init camera device with some parameters. More... | |
| virtual void | close_ () |
| virtual int | pull () |
| Populates basicframe, sends it through the filter. | |
| virtual void | play () |
| virtual void | stop () |
Public Member Functions inherited from USBDevice | |
| USBDevice (FrameFilter *framefilter) | |
| int | getFd () |
| void | setupFrame (SetupFrame frame) |
| sets the setupframe and writes it to the framefilter | |
Protected Attributes | |
| USBCameraConnectionContext | camera_ctx |
| v4l_status | status |
| State of the device. | |
| struct v4l2_buffer | buf |
| std::vector< BasicFrame * > | ring_buffer |
| SetupFrame | setup_frame |
| FrameFilter * | timestampfilter |
| FrameFilter * | inputfilter |
Protected Attributes inherited from USBDevice | |
| int | fd |
| FrameFilter * | framefilter |
| Output FrameFilter. | |
| SetupFrame | setupframe |
| This frame is used to send subsession information. | |
| BasicFrame | basicframe |
| Data is being copied into this frame. | |
| bool | playing |
| Is currently streaming or not. | |
Static Protected Attributes | |
| static const int | n_ring_buffer = 5 |
| V4LDevice::V4LDevice | ( | USBCameraConnectionContext | camera_ctx | ) |
Default constructor.
Open the device, query its capabilities
|
virtual |