Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Functions

internal used namespace for libdc1394 dependent help functions and classes More...

Classes

class  DCFrameQueue
 Internal used utility class for fast handling of DMA buffers. More...
class  DCGrabberThread
 Internally spawned thread class to provide continuous grabbing without drop frames. More...

Functions

std::string to_string (dc1394video_mode_t vm)
 translate a dc1394video_mode_t into a string representation
std::string to_string (dc1394framerate_t fr)
 translate a dc1394framerate_t into a string representation
std::string to_string (dc1394color_filter_t f)
 translate a dc1394color_filter_t into a string representation
std::string to_string (dc1394bayer_method_t bm)
 translate a dc1394bayer_method_t into a string representation
std::string to_string (dc1394feature_t f)
 translate a dc1394feature_t into a string representation
dc1394video_mode_t videomode_from_string (const std::string &s)
 translate a dc1394video_mode_t from a string representation
dc1394framerate_t framerate_from_string (const std::string &s)
 translate a dc1394framerate_t from a string representation
dc1394bayer_method_t bayermethod_from_string (const std::string &s)
 translate a dc1394bayer_method_t from a string representation
dc1394feature_t feature_from_string (const std::string &s)
 translate a dc1394feature_t from a string representation
const std::vector< std::string > & getListOfAllFeatures ()
 returns a list of all currently implemented dc1394 features
void initialize_dc_cam (dc1394camera_t *c, int nDMABuffers, DCDeviceOptions *options)
 (TODO) sets up a camera to some useful defaults dependent on its model id
void release_dc_cam (dc1394camera_t *c)
 stops the capturing and streaming process
void set_streaming (dc1394camera_t *c, bool on)
 ensures iso streaming of the given camera to have the given state (on or off)
dc1394video_frame_t * get_newest_frame (dc1394camera_t *c)
 gets the newest frame from a given camera
dc1394video_frame_t * get_a_frame (dc1394camera_t *c)
 gets a new frame from the given camera
void extract_image_to (dc1394video_frame_t *f, dc1394color_filter_t bayerLayout, core::ImgBase **ppoDst, const utils::Size &desiredSizeHint, core::format desiredFormatHint, core::depth desiredDepthHint, std::vector< icl8u > &dataBuffer, dc1394bayer_method_t bayerMethod)
 converts a grabbed frame
void extract_image_to_2 (dc1394video_frame_t *f, dc1394color_filter_t bayerLayout, core::ImgBase **ppoDst, std::vector< icl8u > &dataBuffer, dc1394bayer_method_t bayerMethod)
 extracts the given frame (in most appropiate way)
bool can_extract_image_to (dc1394video_frame_t *f, const utils::Size &desiredSizeHint, core::format desiredFormatHint, core::depth desiredDepthHint)
 determins if the desired parameters can be fullfilled by extract_image_to(..)
void install_signal_handler ()
 creates a signal handler for the SIGINT signal
void bayer2gray (icl8u *src, icl8u *dst, int w, int h)
 internally used bayer conversion function
dc1394_t * get_static_context ()
 since rc9 of libdc, a libary context was introduced
void free_static_context ()
 (since rc 9 of libdc) releases the static dc-context
bool is_dc800_capable (dc1394camera_t *cam)
 returns whether the given camera supports firewire B
void set_iso_speed (dc1394camera_t *cam, int mbits)
 sets iso transmission speed for the wrapped dc1394 context

Detailed Description

internal used namespace for libdc1394 dependent help functions and classes


Function Documentation

void icl::io::dc::bayer2gray ( icl8u *  src,
icl8u *  dst,
int  w,
int  h 
)

internally used bayer conversion function

void icl::io::dc::extract_image_to_2 ( dc1394video_frame_t *  f,
dc1394color_filter_t  bayerLayout,
core::ImgBase **  ppoDst,
std::vector< icl8u > &  dataBuffer,
dc1394bayer_method_t  bayerMethod 
)

extracts the given frame (in most appropiate way)

here, no desired params are necessary

since rc9 of libdc, a libary context was introduced

bool icl::io::dc::is_dc800_capable ( dc1394camera_t *  cam)

returns whether the given camera supports firewire B

the results depends on the camera and the PC's firewire card

void icl::io::dc::set_iso_speed ( dc1394camera_t *  cam,
int  mbits 
)

sets iso transmission speed for the wrapped dc1394 context

Parameters:
camThe dc camera
mbitsmbits value (usefull might be 800 whereby 400 is default) values that do not make sense are ignored. The current libdc library documentation lists the following available speed values: 100, 200, 400, 800, 1600, 3200. But please note, that 1600 and 3200 are not supported by any camera yet. These values are only reserved for later technologies
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines