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

Definition at line 29 of file vidl2_ffmpeg_ostream.h.
Public Member Functions | |
| vidl2_ffmpeg_ostream () | |
| Constructor. | |
| vidl2_ffmpeg_ostream (const vcl_string &filename, const vidl2_ffmpeg_ostream_params ¶ms) | |
| Constructor - opens a stream. | |
| virtual | ~vidl2_ffmpeg_ostream () |
| Destructor. | |
| virtual bool | open () |
| Open the stream. | |
| virtual void | close () |
| Close the stream. | |
| virtual bool | is_open () const |
| Return true if the stream is open for writing. | |
| virtual bool | write_frame (const vidl2_frame_sptr &frame) |
| Write and image to the stream. | |
| void | set_filename (const vcl_string &filename) |
| Set the filename. | |
| void | set_params (const vidl2_ffmpeg_ostream_params ¶ms) |
| Set the parameters. | |
| vcl_string | filename () const |
| Access the filename. | |
| const vidl2_ffmpeg_ostream_params & | params () const |
| Access the parameters. | |
| void | ref () |
| Increment reference count. | |
| void | unref () |
| Decrement reference count. | |
| int | ref_count () const |
| Number of objects referring to this data. | |
Private Attributes | |
| pimpl * | os_ |
| vcl_string | filename_ |
| The filename to open. | |
| vidl2_ffmpeg_ostream_params | params_ |
| The parameters. | |
Classes | |
| struct | pimpl |
| vidl2_ffmpeg_ostream::vidl2_ffmpeg_ostream | ( | ) |
| vidl2_ffmpeg_ostream::vidl2_ffmpeg_ostream | ( | const vcl_string & | filename, | |
| const vidl2_ffmpeg_ostream_params & | params | |||
| ) |
| vidl2_ffmpeg_ostream::~vidl2_ffmpeg_ostream | ( | ) | [virtual] |
| bool vidl2_ffmpeg_ostream::open | ( | ) | [virtual] |
| void vidl2_ffmpeg_ostream::close | ( | ) | [virtual] |
Close the stream.
Implements vidl2_ostream.
Definition at line 51 of file vidl2_ffmpeg_ostream_stub.txx.
| bool vidl2_ffmpeg_ostream::is_open | ( | ) | const [virtual] |
Return true if the stream is open for writing.
Implements vidl2_ostream.
Definition at line 58 of file vidl2_ffmpeg_ostream_stub.txx.
| bool vidl2_ffmpeg_ostream::write_frame | ( | const vidl2_frame_sptr & | frame | ) | [virtual] |
Write and image to the stream.
| false | if the image could not be written |
Implements vidl2_ostream.
Definition at line 66 of file vidl2_ffmpeg_ostream_stub.txx.
| void vidl2_ffmpeg_ostream::set_filename | ( | const vcl_string & | filename | ) | [inline] |
| void vidl2_ffmpeg_ostream::set_params | ( | const vidl2_ffmpeg_ostream_params & | params | ) | [inline] |
| vcl_string vidl2_ffmpeg_ostream::filename | ( | ) | const [inline] |
| const vidl2_ffmpeg_ostream_params& vidl2_ffmpeg_ostream::params | ( | ) | const [inline] |
| void vidl2_ostream::ref | ( | ) | [inline, inherited] |
| void vidl2_ostream::unref | ( | ) | [inline, inherited] |
| int vidl2_ostream::ref_count | ( | ) | const [inline, inherited] |
pimpl* vidl2_ffmpeg_ostream::os_ [private] |
Definition at line 72 of file vidl2_ffmpeg_ostream.h.
vcl_string vidl2_ffmpeg_ostream::filename_ [private] |
1.5.1