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

Definition at line 23 of file mvl2_video_writer.h.
Public Member Functions | |
| mvl2_video_writer () | |
| Dflt ctor. | |
| virtual | ~mvl2_video_writer () |
| Destructor. | |
| virtual bool | set_codec (char, char, char, char)=0 |
| Set the video codec fourcc. | |
| virtual bool | open (int width, int height, vcl_string format, vcl_string file_name)=0 |
| Initialize the file (format can be Grey, RGB, or more complex). | |
| virtual void | close () |
| Tidy up and close the file. | |
| virtual bool | is_opened () |
| Check whether camera is initialised. | |
| virtual int | get_width () |
| Return width of image (in pixels). | |
| virtual int | get_height () |
| Return height of image (in pixels). | |
| virtual int | get_frame_number () |
| Return the index of the current frame. | |
| virtual double | get_frame_rate () |
| Return the frame rate in frames per second. | |
| virtual void | set_frame_rate (double frame_rate)=0 |
| Set the frame rate in frames per second. | |
| virtual void | set_quality (int qual)=0 |
| Set the quality of the recorded video. | |
| virtual void | write_frame (vil_image_view< vxl_byte > &image)=0 |
| Put frame data into the given image. | |
| virtual vcl_string | is_a () const |
| Name of the class. | |
| virtual mvl2_video_writer * | clone () const =0 |
| Create a copy on the heap and return base class pointer. | |
Protected Attributes | |
| bool | use_colour_ |
| bool | is_initialized_ |
| int | current_frame_ |
| double | frame_rate_ |
| int | width_ |
| int | height_ |
| int | quality_ |
| bool | firstcall_ |
|
|
Dflt ctor.
Definition at line 28 of file mvl2_video_writer.h. |
|
|
Destructor.
Definition at line 31 of file mvl2_video_writer.h. |
|
|
Create a copy on the heap and return base class pointer.
Implemented in mvl2_video_to_avi, and mvl2_video_to_avi. |
|
|
Tidy up and close the file.
Reimplemented in mvl2_video_to_avi, and mvl2_video_to_avi. Definition at line 42 of file mvl2_video_writer.h. |
|
|
Return the index of the current frame.
Definition at line 54 of file mvl2_video_writer.h. |
|
|
Return the frame rate in frames per second.
Reimplemented in mvl2_video_to_avi, and mvl2_video_to_avi. Definition at line 57 of file mvl2_video_writer.h. |
|
|
Return height of image (in pixels).
Reimplemented in mvl2_video_to_avi, and mvl2_video_to_avi. Definition at line 51 of file mvl2_video_writer.h. |
|
|
Return width of image (in pixels).
Reimplemented in mvl2_video_to_avi, and mvl2_video_to_avi. Definition at line 48 of file mvl2_video_writer.h. |
|
|
Name of the class.
Reimplemented in mvl2_video_to_avi, and mvl2_video_to_avi. Definition at line 69 of file mvl2_video_writer.h. |
|
|
Check whether camera is initialised.
Reimplemented in mvl2_video_to_avi, and mvl2_video_to_avi. Definition at line 45 of file mvl2_video_writer.h. |
|
||||||||||||||||||||
|
Initialize the file (format can be Grey, RGB, or more complex).
Implemented in mvl2_video_to_avi, and mvl2_video_to_avi. |
|
||||||||||||||||||||
|
Set the video codec fourcc. return true if it is a correct codec Implemented in mvl2_video_to_avi, and mvl2_video_to_avi. |
|
|
Set the frame rate in frames per second.
Implemented in mvl2_video_to_avi, and mvl2_video_to_avi. |
|
|
Set the quality of the recorded video.
Implemented in mvl2_video_to_avi, and mvl2_video_to_avi. |
|
|
Put frame data into the given image.
Implemented in mvl2_video_to_avi, and mvl2_video_to_avi. |
|
|
Definition at line 78 of file mvl2_video_writer.h. |
|
|
Definition at line 83 of file mvl2_video_writer.h. |
|
|
Reimplemented in mvl2_video_to_avi. Definition at line 79 of file mvl2_video_writer.h. |
|
|
Definition at line 81 of file mvl2_video_writer.h. |
|
|
Definition at line 77 of file mvl2_video_writer.h. |
|
|
Definition at line 82 of file mvl2_video_writer.h. |
|
|
Definition at line 76 of file mvl2_video_writer.h. |
|
|
Definition at line 80 of file mvl2_video_writer.h. |
1.4.4