Fawkes API  Fawkes Development Version
reader.cpp
1 
2 /***************************************************************************
3  * reader.cpp - Reader interface
4  *
5  * Generated: Thu Mar 29 01:21:19 2007
6  * Copyright 2005-2007 Tim Niemueller [www.niemueller.de]
7  *
8  ****************************************************************************/
9 
10 /* This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version. A runtime exception applies to
14  * this software (see LICENSE.GPL_WRE file mentioned below for details).
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU Library General Public License for more details.
20  *
21  * Read the full text in the LICENSE.GPL_WRE file in the doc directory.
22  */
23 
24 #include <fvutils/readers/reader.h>
25 
26 namespace firevision {
27 #if 0 /* just to make Emacs auto-indent happy */
28 }
29 #endif
30 
31 /** @class Reader <fvutils/readers/reader.h>
32  * Image reader interface.
33  *
34  * @fn void Reader::set_buffer(unsigned char *yuv422planar_buffer)
35  * Set buffer that the read image should be written to.
36  * @param yuv422planar_buffer buffer to write image to. The reader must ensure
37  * that it does the proper conversion (if needed) to YUV 422 planar format.
38  *
39  * @fn colorspace_t Reader::colorspace()
40  * Get colorspace from the just read image.
41  * @return colorspace
42  *
43  * @fn unsigned int Reader::pixel_width()
44  * Get width of read image in pixels.
45  * @return width of image
46  *
47  * @fn unsigned int Reader::pixel_height()
48  * Get height of read image in pixels.
49  * @return height of image
50  *
51  * @fn void Reader::read()
52  * Read data from file.
53  */
54 
55 /** Virtual empty destructor. */
57 {
58 }
59 
60 } // end namespace firevision
virtual ~Reader()
Virtual empty destructor.
Definition: reader.cpp:56