Fawkes API Fawkes Development Version
|
Firewire camera. More...
#include <>>
Public Member Functions | |
FirewireCamera (dc1394framerate_t framerate=DC1394_FRAMERATE_30, dc1394video_mode_t mode=DC1394_VIDEO_MODE_640x480_YUV422, dc1394speed_t speed=DC1394_ISO_SPEED_400, int num_buffers=8) | |
Constructor. More... | |
FirewireCamera (const CameraArgumentParser *cap) | |
Constructor. More... | |
virtual | ~FirewireCamera () |
Empty destructor. More... | |
virtual void | open_device () |
Open the desired device. More... | |
virtual void | open () |
Open the camera. More... | |
virtual void | start () |
Start image transfer from the camera. More... | |
virtual void | stop () |
Stop image transfer from the camera. More... | |
virtual void | close () |
Close camera. More... | |
virtual void | flush () |
Flush image queue. More... | |
virtual void | capture () |
Capture an image. More... | |
virtual void | print_info () |
Print out camera information. More... | |
virtual bool | ready () |
Camera is ready for taking pictures. More... | |
virtual unsigned char * | buffer () |
Get access to current image buffer. More... | |
virtual unsigned int | buffer_size () |
Size of buffer. More... | |
virtual void | dispose_buffer () |
Dispose current buffer. More... | |
virtual unsigned int | pixel_width () |
Width of image in pixels. More... | |
virtual unsigned int | pixel_height () |
Height of image in pixels. More... | |
virtual colorspace_t | colorspace () |
Colorspace of returned image. More... | |
virtual void | set_image_number (unsigned int n) |
Set image number to retrieve. More... | |
bool | iso_mode_enabled () |
Check if ISO mode is enabled. More... | |
virtual bool | auto_focus () |
Check if auto focus is enabled. More... | |
virtual void | set_auto_focus (bool enabled) |
Enable or disable auto focus. More... | |
virtual unsigned int | focus () |
Get current focus value. More... | |
virtual void | set_focus (unsigned int focus) |
Set new focus value. More... | |
virtual unsigned int | focus_min () |
Get minimum focus value. More... | |
virtual unsigned int | focus_max () |
Get maximum focus value. More... | |
virtual bool | auto_shutter () |
Get status of auto shutter. More... | |
virtual void | set_auto_shutter (bool enabled) |
Set status of auto shutter. More... | |
virtual unsigned int | shutter () |
Get shutter value. More... | |
virtual void | set_shutter (unsigned int shutter) |
Set shutter value. More... | |
virtual bool | auto_white_balance () |
Get status of auto white balance. More... | |
virtual void | set_auto_white_balance (bool enabled) |
Set status of auto white balance. More... | |
virtual void | white_balance (unsigned int *ub, unsigned int *vr) |
Get white balance values. More... | |
virtual void | set_white_balance (unsigned int ub, unsigned int vr) |
Set white balance values. More... | |
virtual void | set_gain (unsigned int gain) |
Set the gain. More... | |
virtual void | parse_set_focus (const char *focus) |
Parse focus and set value. More... | |
virtual void | parse_set_white_balance (const char *white_balance) |
Parse white balance and set value. More... | |
virtual void | parse_set_shutter (const char *shutter) |
Parse shutter and set value. More... | |
virtual uint64_t | guid () const |
Get Firewire GUID of camera. More... | |
virtual const char * | model () const |
Get camera model. More... | |
dc1394_t * | cobj () const |
Get underlying libdc1394 C handle. More... | |
dc1394camera_t * | camera_cobj () const |
Get underlying libdc1394 camera C handle. More... | |
![]() | |
virtual | ~Camera () |
Virtual empty destructor. More... | |
virtual void | open ()=0 |
Open the camera. More... | |
virtual void | start ()=0 |
Start image transfer from the camera. More... | |
virtual void | stop ()=0 |
Stop image transfer from the camera. More... | |
virtual void | close ()=0 |
Close camera. More... | |
virtual void | capture ()=0 |
Capture an image. More... | |
virtual void | flush ()=0 |
Flush image queue. More... | |
virtual bool | ready ()=0 |
Camera is ready for taking pictures. More... | |
virtual void | print_info ()=0 |
Print out camera information. More... | |
virtual unsigned char * | buffer ()=0 |
Get access to current image buffer. More... | |
virtual unsigned int | buffer_size ()=0 |
Size of buffer. More... | |
virtual void | dispose_buffer ()=0 |
Dispose current buffer. More... | |
virtual unsigned int | pixel_width ()=0 |
Width of image in pixels. More... | |
virtual unsigned int | pixel_height ()=0 |
Height of image in pixels. More... | |
virtual colorspace_t | colorspace ()=0 |
Colorspace of returned image. More... | |
virtual fawkes::Time * | capture_time () |
Get the Time of the last successfully captured image. More... | |
virtual void | set_image_number (unsigned int n)=0 |
Set image number to retrieve. More... | |
![]() | |
virtual | ~CameraControlFocus () |
Empty virtual destructor. More... | |
virtual bool | auto_focus ()=0 |
Check if auto focus is enabled. More... | |
virtual void | set_auto_focus (bool enabled)=0 |
Enable or disable auto focus. More... | |
virtual unsigned int | focus ()=0 |
Get current focus value. More... | |
virtual void | set_focus (unsigned int focus)=0 |
Set new focus value. More... | |
virtual unsigned int | focus_min ()=0 |
Get minimum focus value. More... | |
virtual unsigned int | focus_max ()=0 |
Get maximum focus value. More... | |
![]() | |
virtual | ~CameraControl () |
Virtual empty destructor. More... | |
Static Public Member Functions | |
static void | print_available_fwcams () |
Print list of cameras. More... | |
Protected Attributes | |
int | _num_buffers |
Number of DMA buffers. More... | |
bool | _device_opened |
true if device has been opened, false otherwise More... | |
bool | _opened |
true if camera has been opened, false otherwise More... | |
bool | _started |
true if camera has been started, false otherwise More... | |
bool | _auto_focus |
true if auto focus is enabled, false if disabled More... | |
bool | _auto_shutter |
true if auto shutter is enabled, false if disabled More... | |
bool | _auto_white_balance |
true if auto white balance is enabled, false if disabled More... | |
bool | _valid_frame_received |
true, if a valid frame has been received, false otherwise More... | |
bool | _do_set_shutter |
true if the shutter should actually be set, false otherwise More... | |
bool | _do_set_white_balance |
true if the white balance should actually be set, false otherwise More... | |
bool | _do_set_focus |
true if the focus should actually be set, false otherwise More... | |
dc1394_t * | _dc1394 |
DC1394 main context. More... | |
dc1394video_mode_t | _mode |
DC1394 video mode. More... | |
bool | _format7_mode_enabled |
Indicator of Format7 status. More... | |
dc1394speed_t | _speed |
DC1394 speed. More... | |
dc1394framerate_t | _framerate |
DC1394 framerate. More... | |
dc1394camera_t * | _camera |
DC1394 camera handle. More... | |
dc1394video_frame_t * | _frame |
Last captured DC1394 video frame. More... | |
dc1394color_coding_t | _format7_coding |
Format7 color coding. More... | |
int | _format7_bpp |
Format7 bytes per packet. More... | |
int | _format7_width |
Format7 width. More... | |
int | _format7_height |
Format7 height. More... | |
int | _format7_startx |
Format7 ROI Start X coordinate. More... | |
int | _format7_starty |
Format7 ROI Start Y coordinate. More... | |
unsigned int | _white_balance_ub |
White balance U/B value. More... | |
unsigned int | _white_balance_vr |
White balance V/R value. More... | |
unsigned int | _shutter |
Shutter value. More... | |
unsigned int | _focus |
Focus value. More... | |
unsigned int | _gain |
Gain value. More... | |
bool | _auto_gain |
True, if gain is set automatically. More... | |
char * | _model |
Camera model, used in open to identify the camera, if empty first found camera is used. More... | |
Firewire camera.
This camera implementation allows for access to IEEE1394 cameras via libdc1394.
Definition at line 40 of file firewire.h.
firevision::FirewireCamera::FirewireCamera | ( | dc1394framerate_t | framerate = DC1394_FRAMERATE_30 , |
dc1394video_mode_t | mode = DC1394_VIDEO_MODE_640x480_YUV422 , |
||
dc1394speed_t | speed = DC1394_ISO_SPEED_400 , |
||
int | num_buffers = 8 |
||
) |
Constructor.
framerate | desired framerate |
mode | desired mode |
speed | IEEE 1394 speed |
num_buffers | number of DMA buffers |
Definition at line 56 of file firewire.cpp.
References _auto_focus, _auto_gain, _auto_shutter, _auto_white_balance, _camera, _dc1394, _do_set_focus, _do_set_shutter, _do_set_white_balance, _format7_bpp, _format7_height, _format7_mode_enabled, _format7_startx, _format7_starty, _format7_width, _framerate, _gain, _mode, _model, _num_buffers, _opened, _speed, _started, _valid_frame_received, _white_balance_ub, and _white_balance_vr.
firevision::FirewireCamera::FirewireCamera | ( | const CameraArgumentParser * | cap | ) |
Constructor.
Initialize and take parameters from camera argument parser. The following arguments are supported:
cap | camera argument parser |
Definition at line 841 of file firewire.cpp.
References _auto_focus, _auto_gain, _auto_shutter, _auto_white_balance, _camera, _dc1394, _do_set_focus, _do_set_shutter, _do_set_white_balance, _format7_bpp, _format7_coding, _format7_height, _format7_mode_enabled, _format7_startx, _format7_starty, _format7_width, _framerate, _gain, _mode, _model, _num_buffers, _opened, _shutter, _speed, _started, _valid_frame_received, _white_balance_ub, _white_balance_vr, firevision::CameraArgumentParser::cam_id(), firevision::CameraArgumentParser::get(), firevision::CameraArgumentParser::has(), parse_set_focus(), parse_set_shutter(), and parse_set_white_balance().
|
virtual |
|
virtual |
Check if auto focus is enabled.
NotImplementedException | Not implemented by this control |
Implements firevision::CameraControlFocus.
Definition at line 538 of file firewire.cpp.
References _auto_focus.
|
virtual |
Get status of auto shutter.
Definition at line 602 of file firewire.cpp.
References _auto_shutter.
|
virtual |
Get status of auto white balance.
Definition at line 649 of file firewire.cpp.
References _auto_white_balance.
|
virtual |
Get access to current image buffer.
This will return a pointer to the current buffer. The buffer contains an image of the given colorspace, width and height.
Implements firevision::Camera.
Reimplemented in firevision::Bumblebee2Camera.
Definition at line 364 of file firewire.cpp.
References _frame, and _valid_frame_received.
|
virtual |
Size of buffer.
Gets the size in bytes of the buffer returned by buffer().
Implements firevision::Camera.
Definition at line 374 of file firewire.cpp.
References _frame, and _valid_frame_received.
Referenced by firevision::Bumblebee2Camera::open().
|
inline |
Get underlying libdc1394 camera C handle.
Definition at line 116 of file firewire.h.
References _camera.
|
virtual |
Capture an image.
Although cameras shall operate with a continuous image flow where possible sometimes capturing an image means copying a buffer or advancing a buffer list pointer. This shall be done in this method. For a camera-using application it is mandatory to call capture() just before accessing the image buffer.
Implements firevision::Camera.
Reimplemented in firevision::Bumblebee2Camera.
Definition at line 329 of file firewire.cpp.
References _camera, _frame, _model, _opened, _started, _valid_frame_received, and iso_mode_enabled().
Referenced by firevision::Bumblebee2Camera::capture(), and flush().
|
virtual |
Close camera.
This closes the camera device. The camera must have been stopped before calling close().
Implements firevision::Camera.
Reimplemented in firevision::Bumblebee2Camera.
Definition at line 384 of file firewire.cpp.
References _camera, _dc1394, _opened, _started, and stop().
Referenced by firevision::Bumblebee2Camera::close(), and ~FirewireCamera().
|
inline |
Get underlying libdc1394 C handle.
Definition at line 108 of file firewire.h.
References _dc1394.
|
virtual |
Colorspace of returned image.
Implements firevision::Camera.
Definition at line 452 of file firewire.cpp.
References _format7_coding, and _mode.
|
virtual |
Dispose current buffer.
Some cameras need disposal of the current buffer (for example to free space in a queue to retrieve the next image). This is done with this method. It has to be called after all work has been done on the image as desired. After dispose_buffer() has been called no further access may happen to the image buffer or undesired behavior may happen.
Implements firevision::Camera.
Definition at line 400 of file firewire.cpp.
References _camera, _frame, and _valid_frame_received.
Referenced by flush(), and Bumblebee2Thread::loop().
|
virtual |
Flush image queue.
Some cameras may have an image buffer queue. With this it can happen that if the processing of an image took longer than desired it is needed to flush this buffer queue.
Implements firevision::Camera.
Definition at line 355 of file firewire.cpp.
References capture(), and dispose_buffer().
|
virtual |
Get current focus value.
Implements firevision::CameraControlFocus.
Definition at line 544 of file firewire.cpp.
References _camera, and focus().
Referenced by focus(), parse_set_focus(), and set_focus().
|
virtual |
Get maximum focus value.
Implements firevision::CameraControlFocus.
Definition at line 573 of file firewire.cpp.
References _camera.
|
virtual |
Get minimum focus value.
Implements firevision::CameraControlFocus.
Definition at line 561 of file firewire.cpp.
References _camera.
|
virtual |
Get Firewire GUID of camera.
Definition at line 306 of file firewire.cpp.
References _camera, and _opened.
Referenced by firevision::TriclopsStereoProcessor::generate_rectification_lut(), firevision::Bumblebee2Camera::print_info(), and firevision::Bumblebee2Camera::verify_guid().
bool firevision::FirewireCamera::iso_mode_enabled | ( | ) |
Check if ISO mode is enabled.
Exception | thrown if the transmission status could not be determined |
Definition at line 268 of file firewire.cpp.
References _camera.
|
virtual |
Get camera model.
Definition at line 319 of file firewire.cpp.
References _camera, and _opened.
Referenced by firevision::TriclopsStereoProcessor::generate_rectification_lut().
|
virtual |
Open the camera.
The camera is opened, but image transfer not yet started. This can be used to detect general problems with the camera while delaying the real transfer startup until it is needed.
Implements firevision::Camera.
Reimplemented in firevision::Bumblebee2Camera, and firevision::PikeCamera.
Definition at line 147 of file firewire.cpp.
References _auto_focus, _auto_gain, _auto_shutter, _auto_white_balance, _camera, _device_opened, _do_set_focus, _do_set_shutter, _do_set_white_balance, _focus, _format7_bpp, _format7_coding, _format7_height, _format7_mode_enabled, _format7_startx, _format7_starty, _format7_width, _framerate, _gain, _mode, _opened, _shutter, _speed, _white_balance_ub, _white_balance_vr, iso_mode_enabled(), open_device(), set_auto_focus(), set_auto_shutter(), set_auto_white_balance(), set_focus(), set_gain(), set_shutter(), and set_white_balance().
Referenced by firevision::Bumblebee2Camera::open(), and firevision::PikeCamera::open().
|
virtual |
Open the desired device.
This only opens the device but does not do any initialization.
Reimplemented in firevision::Bumblebee2Camera.
Definition at line 105 of file firewire.cpp.
References _camera, _dc1394, _device_opened, and _model.
Referenced by open().
|
virtual |
Parse focus and set value.
Parses the given string for a valid focus value and sets it.
focus | string representation of value |
Definition at line 713 of file firewire.cpp.
References _auto_focus, _do_set_focus, _focus, and focus().
Referenced by firevision::Bumblebee2Camera::Bumblebee2Camera(), and FirewireCamera().
|
virtual |
Parse shutter and set value.
Parses the given string for a valid shutter value and sets it.
shutter | string representation of value |
Definition at line 780 of file firewire.cpp.
References _auto_shutter, _do_set_shutter, _shutter, and shutter().
Referenced by firevision::Bumblebee2Camera::Bumblebee2Camera(), and FirewireCamera().
|
virtual |
Parse white balance and set value.
Parses the given string for a valid white balance value and sets it.
white_balance | string representation of value |
Definition at line 739 of file firewire.cpp.
References _auto_white_balance, _do_set_white_balance, _white_balance_ub, _white_balance_vr, and white_balance().
Referenced by firevision::Bumblebee2Camera::Bumblebee2Camera(), and FirewireCamera().
|
virtual |
Height of image in pixels.
Implements firevision::Camera.
Definition at line 430 of file firewire.cpp.
References _camera, _frame, _mode, _model, _opened, and _valid_frame_received.
Referenced by firevision::Bumblebee2Camera::decode_bayer(), firevision::Bumblebee2Camera::deinterlace_stereo(), Bumblebee2Thread::init(), firevision::Bumblebee2Camera::open(), and firevision::TriclopsStereoProcessor::TriclopsStereoProcessor().
|
virtual |
Width of image in pixels.
Implements firevision::Camera.
Definition at line 408 of file firewire.cpp.
References _camera, _frame, _mode, _model, _opened, and _valid_frame_received.
Referenced by firevision::Bumblebee2Camera::decode_bayer(), firevision::Bumblebee2Camera::deinterlace_stereo(), Bumblebee2Thread::init(), firevision::Bumblebee2Camera::open(), and firevision::TriclopsStereoProcessor::TriclopsStereoProcessor().
|
static |
Print list of cameras.
Prints a list of available cameras to stdout.
Definition at line 984 of file firewire.cpp.
|
virtual |
Print out camera information.
Shall print out camera information and current setup information on stdout.
Implements firevision::Camera.
Reimplemented in firevision::Bumblebee2Camera, and firevision::PikeCamera.
Definition at line 279 of file firewire.cpp.
References _auto_focus, _auto_shutter, _auto_white_balance, _camera, _do_set_shutter, _do_set_white_balance, _opened, _shutter, _valid_frame_received, _white_balance_ub, and _white_balance_vr.
Referenced by firevision::Bumblebee2Camera::print_info(), and firevision::PikeCamera::print_info().
|
virtual |
Camera is ready for taking pictures.
The camera has been opened and started correctly and may now provide images.
Implements firevision::Camera.
Definition at line 508 of file firewire.cpp.
References _started.
|
virtual |
Enable or disable auto focus.
enabled | if true, enable auto focus, otherwise disable |
NotImplementedException | Not implemented by this control |
Implements firevision::CameraControlFocus.
Definition at line 521 of file firewire.cpp.
References _auto_focus, _camera, and _model.
Referenced by open().
|
virtual |
Set status of auto shutter.
enabled | true to enable auto shutter, false to disable. |
Definition at line 588 of file firewire.cpp.
References _auto_shutter, and _camera.
Referenced by open().
|
virtual |
Set status of auto white balance.
enabled | true to enable auto white balance, false to disable. |
Definition at line 635 of file firewire.cpp.
References _auto_white_balance, and _camera.
Referenced by open().
|
virtual |
Set new focus value.
focus | new focus value |
Implements firevision::CameraControlFocus.
Definition at line 555 of file firewire.cpp.
References _camera, and focus().
Referenced by open().
|
virtual |
Set the gain.
gain | the gain value |
Definition at line 686 of file firewire.cpp.
References _camera.
Referenced by open().
|
virtual |
Set image number to retrieve.
If a camera is able to retrieve several images this method can be used to select the image to be retrieved with the next call to capture().
n | image number to set |
Implements firevision::Camera.
Reimplemented in firevision::Bumblebee2Camera.
Definition at line 514 of file firewire.cpp.
|
virtual |
Set shutter value.
shutter | shutter value |
Definition at line 611 of file firewire.cpp.
References _camera, and shutter().
Referenced by open().
|
virtual |
Set white balance values.
ub | U/B value |
vr | V/R value |
Definition at line 675 of file firewire.cpp.
References _camera.
Referenced by open().
|
virtual |
Get shutter value.
Definition at line 622 of file firewire.cpp.
References _camera, and _shutter.
Referenced by parse_set_shutter(), and set_shutter().
|
virtual |
Start image transfer from the camera.
For many cameras opening the camera and starting transmission of images are two tasks. This method will simply initiate the transfer after the camera as been opened. And exception shall be thrown if the camera has not been opened.
Implements firevision::Camera.
Definition at line 224 of file firewire.cpp.
References _camera, _num_buffers, _opened, and _started.
Referenced by Bumblebee2Thread::init().
|
virtual |
Stop image transfer from the camera.
This will stop the image transfer initiated with start(). This can be used to start and stop the image transfer at will without opening and closing operations inbetween.
Implements firevision::Camera.
Definition at line 254 of file firewire.cpp.
References _camera, and _started.
Referenced by close(), and Bumblebee2Thread::finalize().
|
virtual |
Get white balance values.
ub | contains U/B value upon return |
vr | contains V/R value upon return |
Definition at line 659 of file firewire.cpp.
References _camera, _white_balance_ub, and _white_balance_vr.
Referenced by parse_set_white_balance().
|
protected |
true if auto focus is enabled, false if disabled
Definition at line 131 of file firewire.h.
Referenced by auto_focus(), FirewireCamera(), open(), parse_set_focus(), print_info(), and set_auto_focus().
|
protected |
True, if gain is set automatically.
Definition at line 186 of file firewire.h.
Referenced by FirewireCamera(), and open().
|
protected |
true if auto shutter is enabled, false if disabled
Definition at line 133 of file firewire.h.
Referenced by auto_shutter(), FirewireCamera(), open(), parse_set_shutter(), print_info(), and set_auto_shutter().
|
protected |
true if auto white balance is enabled, false if disabled
Definition at line 135 of file firewire.h.
Referenced by auto_white_balance(), FirewireCamera(), open(), parse_set_white_balance(), print_info(), and set_auto_white_balance().
|
protected |
DC1394 camera handle.
Definition at line 156 of file firewire.h.
Referenced by camera_cobj(), capture(), close(), dispose_buffer(), FirewireCamera(), focus(), focus_max(), focus_min(), guid(), firevision::Bumblebee2Camera::is_bumblebee2(), iso_mode_enabled(), model(), firevision::Bumblebee2Camera::open(), open(), firevision::Bumblebee2Camera::open_device(), open_device(), pixel_height(), pixel_width(), print_info(), firevision::PikeCamera::print_info(), firevision::Bumblebee2Camera::serial_no(), set_auto_focus(), set_auto_shutter(), set_auto_white_balance(), firevision::PikeCamera::set_autofunction_aoi(), set_focus(), set_gain(), set_shutter(), set_white_balance(), shutter(), start(), stop(), white_balance(), and firevision::Bumblebee2Camera::write_triclops_config_from_camera_to_file().
|
protected |
DC1394 main context.
Definition at line 146 of file firewire.h.
Referenced by close(), cobj(), FirewireCamera(), firevision::Bumblebee2Camera::open_device(), and open_device().
|
protected |
true if device has been opened, false otherwise
Definition at line 125 of file firewire.h.
Referenced by open(), firevision::Bumblebee2Camera::open_device(), and open_device().
|
protected |
true if the focus should actually be set, false otherwise
Definition at line 143 of file firewire.h.
Referenced by FirewireCamera(), open(), and parse_set_focus().
|
protected |
true if the shutter should actually be set, false otherwise
Definition at line 139 of file firewire.h.
Referenced by FirewireCamera(), open(), parse_set_shutter(), and print_info().
|
protected |
true if the white balance should actually be set, false otherwise
Definition at line 141 of file firewire.h.
Referenced by FirewireCamera(), open(), parse_set_white_balance(), and print_info().
|
protected |
Focus value.
Definition at line 181 of file firewire.h.
Referenced by open(), and parse_set_focus().
|
protected |
Format7 bytes per packet.
Definition at line 162 of file firewire.h.
Referenced by FirewireCamera(), and open().
|
protected |
Format7 color coding.
Definition at line 160 of file firewire.h.
Referenced by firevision::Bumblebee2Camera::Bumblebee2Camera(), colorspace(), FirewireCamera(), and open().
|
protected |
Format7 height.
Definition at line 166 of file firewire.h.
Referenced by firevision::Bumblebee2Camera::Bumblebee2Camera(), FirewireCamera(), and open().
|
protected |
Indicator of Format7 status.
Definition at line 150 of file firewire.h.
Referenced by FirewireCamera(), and open().
|
protected |
Format7 ROI Start X coordinate.
Definition at line 168 of file firewire.h.
Referenced by firevision::Bumblebee2Camera::Bumblebee2Camera(), FirewireCamera(), and open().
|
protected |
Format7 ROI Start Y coordinate.
Definition at line 170 of file firewire.h.
Referenced by firevision::Bumblebee2Camera::Bumblebee2Camera(), FirewireCamera(), and open().
|
protected |
Format7 width.
Definition at line 164 of file firewire.h.
Referenced by firevision::Bumblebee2Camera::Bumblebee2Camera(), FirewireCamera(), and open().
|
protected |
Last captured DC1394 video frame.
Definition at line 158 of file firewire.h.
Referenced by buffer(), buffer_size(), firevision::Bumblebee2Camera::capture(), capture(), firevision::Bumblebee2Camera::deinterlace_stereo(), dispose_buffer(), pixel_height(), and pixel_width().
|
protected |
DC1394 framerate.
Definition at line 154 of file firewire.h.
Referenced by FirewireCamera(), and open().
|
protected |
|
protected |
DC1394 video mode.
Definition at line 148 of file firewire.h.
Referenced by colorspace(), FirewireCamera(), open(), pixel_height(), and pixel_width().
|
protected |
Camera model, used in open to identify the camera, if empty first found camera is used.
Definition at line 189 of file firewire.h.
Referenced by firevision::Bumblebee2Camera::Bumblebee2Camera(), capture(), FirewireCamera(), firevision::Bumblebee2Camera::open_device(), open_device(), pixel_height(), pixel_width(), set_auto_focus(), and ~FirewireCamera().
|
protected |
Number of DMA buffers.
Definition at line 123 of file firewire.h.
Referenced by firevision::Bumblebee2Camera::Bumblebee2Camera(), FirewireCamera(), and start().
|
protected |
true if camera has been opened, false otherwise
Definition at line 127 of file firewire.h.
Referenced by capture(), firevision::Bumblebee2Camera::close(), close(), FirewireCamera(), guid(), firevision::Bumblebee2Camera::is_bumblebee2(), model(), firevision::Bumblebee2Camera::open(), open(), firevision::PikeCamera::open(), pixel_height(), pixel_width(), print_info(), firevision::Bumblebee2Camera::serial_no(), firevision::PikeCamera::set_autofunction_aoi(), start(), and firevision::Bumblebee2Camera::verify_guid().
|
protected |
Shutter value.
Definition at line 178 of file firewire.h.
Referenced by FirewireCamera(), open(), parse_set_shutter(), print_info(), and shutter().
|
protected |
DC1394 speed.
Definition at line 152 of file firewire.h.
Referenced by FirewireCamera(), and open().
|
protected |
true if camera has been started, false otherwise
Definition at line 129 of file firewire.h.
Referenced by capture(), close(), FirewireCamera(), ready(), start(), and stop().
|
protected |
true, if a valid frame has been received, false otherwise
Definition at line 137 of file firewire.h.
Referenced by buffer(), buffer_size(), capture(), dispose_buffer(), FirewireCamera(), pixel_height(), pixel_width(), and print_info().
|
protected |
White balance U/B value.
Definition at line 173 of file firewire.h.
Referenced by FirewireCamera(), open(), parse_set_white_balance(), print_info(), and white_balance().
|
protected |
White balance V/R value.
Definition at line 175 of file firewire.h.
Referenced by FirewireCamera(), open(), parse_set_white_balance(), print_info(), and white_balance().