#include <vidl2_v4l_istream.h>
Inheritance diagram for vidl2_v4l_istream:

Definition at line 40 of file vidl2_v4l_istream.h.
Public Member Functions | |
| vidl2_v4l_istream () | |
| Constructor. | |
| vidl2_v4l_istream (const vcl_string &device_name) | |
| vidl2_v4l_istream (const vcl_string &device_name, const vidl2_v4l_params p) | |
| virtual | ~vidl2_v4l_istream () |
| Destructor. | |
| virtual bool | is_open () const |
| Return true if the stream is open for reading. | |
| virtual bool | is_valid () const |
| Return true if the stream is in a valid state. | |
| virtual bool | is_seekable () const |
| Return true if the stream support seeking. | |
| virtual unsigned int | frame_number () const |
| Return the current frame number. | |
| bool | open (const vcl_string &device_name) |
| Open. | |
| virtual void | close () |
| Close the stream. | |
| bool | set_params (const vidl2_v4l_params &p) |
| set the params for the device. | |
| vidl2_v4l_params | get_params () |
| virtual bool | advance () |
| Advance to the next frame (but don't acquire an image). | |
| virtual vidl2_frame_sptr | read_frame () |
| Read the next frame from the stream (advance and acquire). | |
| virtual vidl2_frame_sptr | current_frame () |
| Return the current frame in the stream. | |
| virtual bool | seek_frame (unsigned int frame_number) |
| Seek to the given frame number. | |
| void | ref () |
| Increment reference count. | |
| void | unref () |
| Decrement reference count. | |
| int | ref_count () const |
| Number of objects referring to this data. | |
Private Attributes | |
| video_capability | vc |
| video_window | vw |
| video_picture | vp |
| video_mbuf | vm |
| video_mmap | mm |
| vidl2_frame_sptr | cur_frame_ |
| vidl2_v4l_params | defaults_ |
| vidl2_v4l_params | params_ |
| int | fd_ |
| unsigned int | frame_number_ |
| void * | buf |
|
|
Constructor.
Definition at line 44 of file vidl2_v4l_istream.h. |
|
|
Definition at line 49 of file vidl2_v4l_istream.h. |
|
||||||||||||
|
Definition at line 54 of file vidl2_v4l_istream.h. |
|
|
Destructor.
Definition at line 17 of file vidl2_v4l_istream.cxx. |
|
|
Advance to the next frame (but don't acquire an image). I'm quite confused by this description - I don't even know what it means. I'm using the vidl2_dc1394_istream as a model here which clearly advances and acquires - contrary to the first sentence description Implements vidl2_istream. Definition at line 214 of file vidl2_v4l_istream.cxx. |
|
|
Close the stream.
Implements vidl2_istream. Definition at line 105 of file vidl2_v4l_istream.cxx. |
|
|
Return the current frame in the stream.
Implements vidl2_istream. Definition at line 93 of file vidl2_v4l_istream.h. |
|
|
Return the current frame number.
Implements vidl2_istream. Definition at line 74 of file vidl2_v4l_istream.h. |
|
|
Definition at line 84 of file vidl2_v4l_istream.h. |
|
|
Return true if the stream is open for reading.
Implements vidl2_istream. Definition at line 93 of file vidl2_v4l_istream.cxx. |
|
|
Return true if the stream support seeking.
Implements vidl2_istream. Definition at line 71 of file vidl2_v4l_istream.h. |
|
|
Return true if the stream is in a valid state.
Implements vidl2_istream. Definition at line 99 of file vidl2_v4l_istream.cxx. |
|
|
Open.
Definition at line 23 of file vidl2_v4l_istream.cxx. |
|
|
Read the next frame from the stream (advance and acquire). Not sure why this one is needed ... Implements vidl2_istream. Definition at line 247 of file vidl2_v4l_istream.cxx. |
|
|
Increment reference count.
Definition at line 63 of file vidl2_istream.h. |
|
|
Number of objects referring to this data.
Definition at line 69 of file vidl2_istream.h. |
|
|
Seek to the given frame number.
Implements vidl2_istream. Definition at line 97 of file vidl2_v4l_istream.h. |
|
|
set the params for the device. If all the parameters are set as requested, return true; else return false Definition at line 113 of file vidl2_v4l_istream.cxx. |
|
|
Decrement reference count.
Definition at line 66 of file vidl2_istream.h. |
|
|
Definition at line 109 of file vidl2_v4l_istream.h. |
|
|
Definition at line 104 of file vidl2_v4l_istream.h. |
|
|
Definition at line 105 of file vidl2_v4l_istream.h. |
|
|
Definition at line 107 of file vidl2_v4l_istream.h. |
|
|
Definition at line 108 of file vidl2_v4l_istream.h. |
|
|
Definition at line 103 of file vidl2_v4l_istream.h. |
|
|
Definition at line 106 of file vidl2_v4l_istream.h. |
|
|
Definition at line 99 of file vidl2_v4l_istream.h. |
|
|
Definition at line 102 of file vidl2_v4l_istream.h. |
|
|
Definition at line 101 of file vidl2_v4l_istream.h. |
|
|
Definition at line 100 of file vidl2_v4l_istream.h. |
1.4.4