Logo Search packages:      
Sourcecode: libdc1394-22 version File versions  Download package

control.h File Reference


Detailed Description

Diverse controls of camera features.

Author:
Gord Peters: main writer

Chris Urmson: some additions

Damien Douxchamps: some additions

Peter Antoniac: documentation maintainer

Rudolf Leitgeb: documentation writer

This is the main include file of the library. It lists most of the library functions, enumerations and data structures.

Definition in file control.h.

#include <dc1394/log.h>

Go to the source code of this file.

Classes

struct  __dc1394feature_info_t_struct
struct  __dc1394featureset_t
struct  dc1394feature_modes_t
struct  dc1394trigger_modes_t
struct  dc1394trigger_sources_t

Defines

#define DC1394_FEATURE_MAX   DC1394_FEATURE_CAPTURE_QUALITY
#define DC1394_FEATURE_MIN   DC1394_FEATURE_BRIGHTNESS
#define DC1394_FEATURE_MODE_MAX   DC1394_FEATURE_MODE_ONE_PUSH_AUTO
#define DC1394_FEATURE_MODE_MIN   DC1394_FEATURE_MODE_MANUAL
#define DC1394_FEATURE_MODE_NUM   (DC1394_FEATURE_MODE_MAX - DC1394_FEATURE_MODE_MIN + 1)
#define DC1394_FEATURE_NUM   (DC1394_FEATURE_MAX - DC1394_FEATURE_MIN + 1)
#define DC1394_TRIGGER_ACTIVE_MAX   DC1394_TRIGGER_ACTIVE_HIGH
#define DC1394_TRIGGER_ACTIVE_MIN   DC1394_TRIGGER_ACTIVE_LOW
#define DC1394_TRIGGER_ACTIVE_NUM   (DC1394_TRIGGER_ACTIVE_MAX - DC1394_TRIGGER_ACTIVE_MIN + 1)
#define DC1394_TRIGGER_MODE_MAX   DC1394_TRIGGER_MODE_15
#define DC1394_TRIGGER_MODE_MIN   DC1394_TRIGGER_MODE_0
#define DC1394_TRIGGER_MODE_NUM   (DC1394_TRIGGER_MODE_MAX - DC1394_TRIGGER_MODE_MIN + 1)
#define DC1394_TRIGGER_SOURCE_MAX   DC1394_TRIGGER_SOURCE_SOFTWARE
#define DC1394_TRIGGER_SOURCE_MIN   DC1394_TRIGGER_SOURCE_0
#define DC1394_TRIGGER_SOURCE_NUM   (DC1394_TRIGGER_SOURCE_MAX - DC1394_TRIGGER_SOURCE_MIN + 1)

Typedefs

typedef struct
__dc1394feature_info_t_struct 
dc1394feature_info_t
typedef struct __dc1394featureset_t dc1394featureset_t

Enumerations

enum  dc1394feature_mode_t { DC1394_FEATURE_MODE_MANUAL = 736, DC1394_FEATURE_MODE_AUTO, DC1394_FEATURE_MODE_ONE_PUSH_AUTO }
enum  dc1394feature_t {
  DC1394_FEATURE_BRIGHTNESS = 416, DC1394_FEATURE_EXPOSURE, DC1394_FEATURE_SHARPNESS, DC1394_FEATURE_WHITE_BALANCE,
  DC1394_FEATURE_HUE, DC1394_FEATURE_SATURATION, DC1394_FEATURE_GAMMA, DC1394_FEATURE_SHUTTER,
  DC1394_FEATURE_GAIN, DC1394_FEATURE_IRIS, DC1394_FEATURE_FOCUS, DC1394_FEATURE_TEMPERATURE,
  DC1394_FEATURE_TRIGGER, DC1394_FEATURE_TRIGGER_DELAY, DC1394_FEATURE_WHITE_SHADING, DC1394_FEATURE_FRAME_RATE,
  DC1394_FEATURE_ZOOM, DC1394_FEATURE_PAN, DC1394_FEATURE_TILT, DC1394_FEATURE_OPTICAL_FILTER,
  DC1394_FEATURE_CAPTURE_SIZE, DC1394_FEATURE_CAPTURE_QUALITY
}
enum  dc1394trigger_mode_t {
  DC1394_TRIGGER_MODE_0 = 384, DC1394_TRIGGER_MODE_1, DC1394_TRIGGER_MODE_2, DC1394_TRIGGER_MODE_3,
  DC1394_TRIGGER_MODE_4, DC1394_TRIGGER_MODE_5, DC1394_TRIGGER_MODE_14, DC1394_TRIGGER_MODE_15
}
enum  dc1394trigger_polarity_t { DC1394_TRIGGER_ACTIVE_LOW = 704, DC1394_TRIGGER_ACTIVE_HIGH }
enum  dc1394trigger_source_t {
  DC1394_TRIGGER_SOURCE_0 = 576, DC1394_TRIGGER_SOURCE_1, DC1394_TRIGGER_SOURCE_2, DC1394_TRIGGER_SOURCE_3,
  DC1394_TRIGGER_SOURCE_SOFTWARE
}

Functions

dc1394error_t dc1394_camera_reset (dc1394camera_t *camera)
dc1394error_t dc1394_camera_set_power (dc1394camera_t *camera, dc1394switch_t pwr)
dc1394error_t dc1394_external_trigger_get_mode (dc1394camera_t *camera, dc1394trigger_mode_t *mode)
dc1394error_t dc1394_external_trigger_get_polarity (dc1394camera_t *camera, dc1394trigger_polarity_t *polarity)
dc1394error_t dc1394_external_trigger_get_power (dc1394camera_t *camera, dc1394switch_t *pwr)
dc1394error_t dc1394_external_trigger_get_source (dc1394camera_t *camera, dc1394trigger_source_t *source)
dc1394error_t dc1394_external_trigger_get_supported_sources (dc1394camera_t *camera, dc1394trigger_sources_t *sources)
dc1394error_t dc1394_external_trigger_has_polarity (dc1394camera_t *camera, dc1394bool_t *polarity_capable)
dc1394error_t dc1394_external_trigger_set_mode (dc1394camera_t *camera, dc1394trigger_mode_t mode)
dc1394error_t dc1394_external_trigger_set_polarity (dc1394camera_t *camera, dc1394trigger_polarity_t polarity)
dc1394error_t dc1394_external_trigger_set_power (dc1394camera_t *camera, dc1394switch_t pwr)
dc1394error_t dc1394_external_trigger_set_source (dc1394camera_t *camera, dc1394trigger_source_t source)
dc1394error_t dc1394_feature_get (dc1394camera_t *camera, dc1394feature_info_t *feature)
dc1394error_t dc1394_feature_get_absolute_boundaries (dc1394camera_t *camera, dc1394feature_t feature, float *min, float *max)
dc1394error_t dc1394_feature_get_absolute_control (dc1394camera_t *camera, dc1394feature_t feature, dc1394switch_t *pwr)
dc1394error_t dc1394_feature_get_absolute_value (dc1394camera_t *camera, dc1394feature_t feature, float *value)
dc1394error_t dc1394_feature_get_all (dc1394camera_t *camera, dc1394featureset_t *features)
dc1394error_t dc1394_feature_get_boundaries (dc1394camera_t *camera, dc1394feature_t feature, uint32_t *min, uint32_t *max)
dc1394error_t dc1394_feature_get_mode (dc1394camera_t *camera, dc1394feature_t feature, dc1394feature_mode_t *mode)
dc1394error_t dc1394_feature_get_modes (dc1394camera_t *camera, dc1394feature_t feature, dc1394feature_modes_t *modes)
dc1394error_t dc1394_feature_get_power (dc1394camera_t *camera, dc1394feature_t feature, dc1394switch_t *pwr)
dc1394error_t dc1394_feature_get_value (dc1394camera_t *camera, dc1394feature_t feature, uint32_t *value)
dc1394error_t dc1394_feature_has_absolute_control (dc1394camera_t *camera, dc1394feature_t feature, dc1394bool_t *value)
dc1394error_t dc1394_feature_is_present (dc1394camera_t *camera, dc1394feature_t feature, dc1394bool_t *value)
dc1394error_t dc1394_feature_is_readable (dc1394camera_t *camera, dc1394feature_t feature, dc1394bool_t *value)
dc1394error_t dc1394_feature_is_switchable (dc1394camera_t *camera, dc1394feature_t feature, dc1394bool_t *value)
dc1394error_t dc1394_feature_print (dc1394feature_info_t *feature, FILE *fd)
dc1394error_t dc1394_feature_print_all (dc1394featureset_t *features, FILE *fd)
dc1394error_t dc1394_feature_set_absolute_control (dc1394camera_t *camera, dc1394feature_t feature, dc1394switch_t pwr)
dc1394error_t dc1394_feature_set_absolute_value (dc1394camera_t *camera, dc1394feature_t feature, float value)
dc1394error_t dc1394_feature_set_mode (dc1394camera_t *camera, dc1394feature_t feature, dc1394feature_mode_t mode)
dc1394error_t dc1394_feature_set_power (dc1394camera_t *camera, dc1394feature_t feature, dc1394switch_t pwr)
dc1394error_t dc1394_feature_set_value (dc1394camera_t *camera, dc1394feature_t feature, uint32_t value)
dc1394error_t dc1394_feature_temperature_get_value (dc1394camera_t *camera, uint32_t *target_temperature, uint32_t *temperature)
dc1394error_t dc1394_feature_temperature_set_value (dc1394camera_t *camera, uint32_t target_temperature)
dc1394error_t dc1394_feature_whitebalance_get_value (dc1394camera_t *camera, uint32_t *u_b_value, uint32_t *v_r_value)
dc1394error_t dc1394_feature_whitebalance_set_value (dc1394camera_t *camera, uint32_t u_b_value, uint32_t v_r_value)
dc1394error_t dc1394_feature_whiteshading_get_value (dc1394camera_t *camera, uint32_t *r_value, uint32_t *g_value, uint32_t *b_value)
dc1394error_t dc1394_feature_whiteshading_set_value (dc1394camera_t *camera, uint32_t r_value, uint32_t g_value, uint32_t b_value)
dc1394error_t dc1394_memory_busy (dc1394camera_t *camera, dc1394bool_t *value)
dc1394error_t dc1394_memory_load (dc1394camera_t *camera, uint32_t channel)
dc1394error_t dc1394_memory_save (dc1394camera_t *camera, uint32_t channel)
dc1394error_t dc1394_pio_get (dc1394camera_t *camera, uint32_t *value)
dc1394error_t dc1394_pio_set (dc1394camera_t *camera, uint32_t value)
dc1394error_t dc1394_software_trigger_get_power (dc1394camera_t *camera, dc1394switch_t *pwr)
dc1394error_t dc1394_software_trigger_set_power (dc1394camera_t *camera, dc1394switch_t pwr)


Generated by  Doxygen 1.6.0   Back to index