libdc1394: API version 2: Features


dc1394_feature_get_all()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394featureset_t:*features:A pointer to a feature set structure
Returns:   dc1394error_t (error code)

dc1394_feature_get()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394feature_info_t:*feature:A pointer to a feature structure
Returns:   dc1394error_t (error code)

dc1394_feature_print()

Arguments:
dc1394feature_info_t:*feature:A pointer to a feature structure
Returns:   dc1394error_t (error code)

dc1394_feature_print_all()

Arguments:
dc1394featureset_t:*features:A pointer to a feature set structure
Returns:   dc1394error_t (error code)

dc1394_feature_whitebalance_get_value()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
uint_t:*u_b_value:The blue or U (for YUV) channel
uint_t:*v_r_value:The red or V (for YUV) channel
Returns:   dc1394error_t (error code)

dc1394_feature_whitebalance_set_value()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
uint_t:u_b_value:The blue or U (for YUV) channel
uint_t:v_r_value:The red or V (for YUV) channel
Returns:   dc1394error_t (error code)

dc1394_feature_temperature_get_value()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
uint_t:*target_temperature:The current target temperature
uint_t:*temperature:The current temperature in the camera or for the sensor
Returns:   dc1394error_t (error code)

dc1394_feature_temperature_set_value()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
uint_t:target_temp:The target temperature
Returns:   dc1394error_t (error code)

dc1394_feature_whiteshading_get_value()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
uint_t:*r_value:Red value
uint_t:*g_value:Green value
uint_t:*b_value:Blue value
Returns:   dc1394error_t (error code)

dc1394_feature_whiteshading_set_value()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
uint_t:r_value:Red value
uint_t:g_value:Green value
uint_t:b_value:Blue value
Returns:   dc1394error_t (error code)

dc1394_feature_get_value()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394feature_t:feature:The feature identifier (DC1394_FEATURE_SHUTTER,...)
uint_t:*value:the feature value
Returns:   dc1394error_t (error code)

dc1394_feature_set_value()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394feature_t:feature:The feature identifier (DC1394_FEATURE_SHUTTER,...)
uint_t:value:the feature value
Returns:   dc1394error_t (error code)

dc1394_feature_is_present()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394feature_t:feature:The feature identifier (DC1394_FEATURE_SHUTTER,...)
dc1394bool_t:*value:whether the feature is available or not
Returns:   dc1394error_t (error code)

dc1394_feature_is_readable()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394feature_t:feature:The feature identifier (DC1394_FEATURE_SHUTTER,...)
dc1394bool_t:*value:whether you can read the feature or not
Returns:   dc1394error_t (error code)

dc1394_feature_get_boundaries()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394feature_t:feature:The feature identifier (DC1394_FEATURE_SHUTTER,...)
uint_t:*min:the minimal value of the feature
uint_t:*max:the maximal value of the feature
Returns:   dc1394error_t (error code)

dc1394_feature_is_switchable()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394feature_t:feature:The feature identifier (DC1394_FEATURE_SHUTTER,...)
dc1394bool_t:*value:whether the feature can be switched on and off or is always on.
Returns:   dc1394error_t (error code)

dc1394_feature_get_power()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394feature_t:feature:The feature identifier (DC1394_FEATURE_SHUTTER,...)
dc1394switch_t:*pwr:whether the feature is on or off
Returns:   dc1394error_t (error code)

dc1394_feature_set_power()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394feature_t:feature:The feature identifier (DC1394_FEATURE_SHUTTER,...)
dc1394switch_t:pwr:sets the feature on/off
Returns:   dc1394error_t (error code)

dc1394_feature_get_modes()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394feature_t:feature:The feature identifier (DC1394_FEATURE_SHUTTER,...)
dc1394feature_modes_t:*modes:Mode list
Returns:   dc1394error_t (error code)

dc1394_feature_get_mode()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394feature_t:feature:The feature identifier (DC1394_FEATURE_SHUTTER,...)
dc1394feature_mode_t:*mode:gets the current control mode of the feature
Returns:   dc1394error_t (error code)

dc1394_feature_set_mode()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394feature_t:feature:The feature identifier (DC1394_FEATURE_SHUTTER,...)
dc1394feature_mode_t:mode:sets the current control mode of the feature
Returns:   dc1394error_t (error code)

dc1394_feature_has_absolute_control()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394feature_t:feature:The feature identifier (DC1394_FEATURE_SHUTTER,...)
dc1394bool_t:*value:whether the feature has a absolute control available
Returns:   dc1394error_t (error code)

dc1394_feature_get_absolute_boundaries()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394feature_t:feature:The feature identifier (DC1394_FEATURE_SHUTTER,...)
float:*min:lower value
float:*max:higher value
Returns:   dc1394error_t (error code)

dc1394_feature_get_absolute_value()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394feature_t:feature:The feature identifier (DC1394_FEATURE_SHUTTER,...)
float:*value:gets the current absolute value
Returns:   dc1394error_t (error code)

dc1394_feature_set_absolute_value()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394feature_t:feature:The feature identifier (DC1394_FEATURE_SHUTTER,...)
float:value:sets the current absolute value
Returns:   dc1394error_t (error code)

dc1394_feature_get_absolute_control()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394feature_t:feature:The feature identifier (DC1394_FEATURE_SHUTTER,...)
dc1394switch_t:*pwr:whether the feature control is in absolute mode or not
Returns:   dc1394error_t (error code)

dc1394_feature_set_absolute_control()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394feature_t:feature:The feature identifier (DC1394_FEATURE_SHUTTER,...)
dc1394switch_t:pwr:sets the feature in absolute mode or not
Returns:   dc1394error_t (error code)