Image Component Library (ICL)
|
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 More... | |
std::string | to_string (dc1394framerate_t fr) |
translate a dc1394framerate_t into a string representation More... | |
std::string | to_string (dc1394color_filter_t f) |
translate a dc1394color_filter_t into a string representation More... | |
std::string | to_string (dc1394bayer_method_t bm) |
translate a dc1394bayer_method_t into a string representation More... | |
std::string | to_string (dc1394feature_t f) |
translate a dc1394feature_t into a string representation More... | |
dc1394video_mode_t | videomode_from_string (const std::string &s) |
translate a dc1394video_mode_t from a string representation More... | |
dc1394framerate_t | framerate_from_string (const std::string &s) |
translate a dc1394framerate_t from a string representation More... | |
dc1394bayer_method_t | bayermethod_from_string (const std::string &s) |
translate a dc1394bayer_method_t from a string representation More... | |
dc1394feature_t | feature_from_string (const std::string &s) |
translate a dc1394feature_t from a string representation More... | |
const std::vector< std::string > & | getListOfAllFeatures () |
returns a list of all currently implemented dc1394 features More... | |
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 More... | |
void | release_dc_cam (dc1394camera_t *c) |
stops the capturing and streaming process More... | |
void | set_streaming (dc1394camera_t *c, bool on) |
ensures iso streaming of the given camera to have the given state (on or off) More... | |
dc1394video_frame_t * | get_newest_frame (dc1394camera_t *c) |
gets the newest frame from a given camera More... | |
dc1394video_frame_t * | get_a_frame (dc1394camera_t *c) |
gets a new frame from the given camera More... | |
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 More... | |
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) More... | |
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(..) More... | |
void | install_signal_handler () |
creates a signal handler for the SIGINT signal More... | |
void | bayer2gray (icl8u *src, icl8u *dst, int w, int h) |
internally used bayer conversion function More... | |
dc1394_t * | get_static_context () |
since rc9 of libdc, a libary context was introduced More... | |
void | free_static_context () |
(since rc 9 of libdc) releases the static dc-context More... | |
bool | is_dc800_capable (dc1394camera_t *cam) |
returns whether the given camera supports firewire B More... | |
void | set_iso_speed (dc1394camera_t *cam, int mbits) |
sets iso transmission speed for the wrapped dc1394 context More... | |
internal used namespace for libdc1394 dependent help functions and classes
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
dc1394_t* icl::io::dc::get_static_context | ( | ) |
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
cam | The dc camera |
mbits | mbits 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 |