#include <image_mplayeroutput.h>
Inheritance diagram for mimas::image_mplayeroutput< T >:


Public Member Functions | |
| image_mplayeroutput (int _width, int _height) throw (mimasexception) | |
| Constructor. | |
| virtual | ~image_mplayeroutput (void) |
| Destructor. | |
| virtual void | write (const const_image_ref< T > &image) |
| Write image to arbitrary sink. | |
| template<> | |
| void | write (const const_image_ref< rgba< unsigned char > > &image) |
| template<> | |
| void | write (const const_image_ref< unsigned char > &image) |
Protected Attributes | |
| int | width |
| Width of display. | |
| int | height |
| Height of display. | |
| std::string | pipename |
| int | imgpipe |
| The pipe for images. | |
| FILE * | mplayer |
| The pipe for opening MPlayer. | |
Definition at line 20 of file image_mplayeroutput.h.
| mimas::image_mplayeroutput< T >::image_mplayeroutput | ( | int | _width, | |
| int | _height | |||
| ) | throw (mimasexception) |
Constructor.
| _width | Width of display. | |
| _height | Height of display. |
| virtual mimas::image_mplayeroutput< T >::~image_mplayeroutput | ( | void | ) | [virtual] |
Destructor.
| virtual void mimas::image_mplayeroutput< T >::write | ( | const const_image_ref< T > & | image | ) | [virtual] |
Write image to arbitrary sink.
This function is virtual and has to be overriden by the inheriting class.
| image | The image to write to the sink. |
Implements mimas::image_output< T >.
| void mimas::image_mplayeroutput< rgba< unsigned char > >::write | ( | const const_image_ref< rgba< unsigned char > > & | image | ) |
| void mimas::image_mplayeroutput< unsigned char >::write | ( | const const_image_ref< unsigned char > & | image | ) |
int mimas::image_mplayeroutput< T >::width [protected] |
int mimas::image_mplayeroutput< T >::height [protected] |
std::string mimas::image_mplayeroutput< T >::pipename [protected] |
Definition at line 38 of file image_mplayeroutput.h.
int mimas::image_mplayeroutput< T >::imgpipe [protected] |
FILE* mimas::image_mplayeroutput< T >::mplayer [protected] |