23#include <fvcams/buffer.h>
49 buffer_ = malloc_buffer(cspace, width, height);
50 buffer_size_ = colorspace_buffer_size(cspace, width, height);
BufferCamera(colorspace_t cspace, unsigned int width, unsigned int height)
Constructor.
virtual void set_image_number(unsigned int n)
Set image number to retrieve.
virtual void open()
Open the camera.
virtual void flush()
Flush image queue.
virtual unsigned int pixel_width()
Width of image in pixels.
virtual void dispose_buffer()
Dispose current buffer.
virtual void print_info()
Print out camera information.
virtual void stop()
Stop image transfer from the camera.
virtual void start()
Start image transfer from the camera.
virtual colorspace_t colorspace()
Colorspace of returned image.
virtual unsigned int buffer_size()
Size of buffer.
virtual unsigned int pixel_height()
Height of image in pixels.
virtual bool ready()
Camera is ready for taking pictures.
virtual void capture()
Capture an image.
~BufferCamera()
Destructor.
virtual void close()
Close camera.
virtual unsigned char * buffer()
Get access to current image buffer.
Fawkes library namespace.