24#ifndef _FIREVISION_FVUTILS_WRITERS_FVRAW_H_
25#define _FIREVISION_FVUTILS_WRITERS_FVRAW_H_
27#include <fvutils/writers/writer.h>
39 colorspace_t colorspace,
40 unsigned char *buffer);
61 unsigned char *buffer;
FvRaw Writer implementation.
static const unsigned int FILE_IDENTIFIER
File identifier for FvRaw images.
FvRawWriter()
Constructor.
virtual void set_dimensions(unsigned int width, unsigned int height)
Set dimensions of image in pixels.
virtual void write()
Write to file.
virtual unsigned char * get_write_buffer()
Get write buffer.
virtual void set_buffer(colorspace_t cspace, unsigned char *buffer)
Set image buffer.
virtual ~FvRawWriter()
Destructor.
Interface to write images.
unsigned int width
The width of the image.
colorspace_t cspace
The colorspace of the image.
unsigned int height
The height of the image.
char * filename
The complete filename.