basler_sff.h File Reference

No docs yet. More...

`#include <stdint.h>`

## Data Structures

struct | dc1394basler_sff_extended_data_stream_t
struct | dc1394basler_sff_frame_counter_t
struct | dc1394basler_sff_cycle_time_stamp_t
struct | dc1394basler_dcam_csr_value_t
struct | dc1394basler_dcam_whitebalance_csr_value_t
struct | dc1394basler_sff_dcam_values_t
struct | dc1394basler_sff_crc_checksum_t

## Typedefs

typedef enum dc1394basler_sff_feature_t | dc1394basler_sff_feature_t
typedef struct dc1394basler_sff_extended_data_stream_t | dc1394basler_sff_extended_data_stream_t
typedef struct dc1394basler_sff_frame_counter_t | dc1394basler_sff_frame_counter_t
typedef struct dc1394basler_sff_cycle_time_stamp_t | dc1394basler_sff_cycle_time_stamp_t
typedef struct dc1394basler_dcam_csr_value_t | dc1394basler_dcam_csr_value_t
typedef struct dc1394basler_dcam_whitebalance_csr_value_t | dc1394basler_dcam_whitebalance_csr_value_t
typedef struct dc1394basler_sff_dcam_values_t | dc1394basler_sff_dcam_values_t
typedef struct dc1394basler_sff_crc_checksum_t | dc1394basler_sff_crc_checksum_t

## Enumerations

enum

dc1394basler_sff_feature_t { ,
DC1394_BASLER_SFF_EXTENDED_DATA_STREAM = 0, DC1394_BASLER_SFF_FRAME_COUNTER, DC1394_BASLER_SFF_CYCLE_TIME_STAMP, DC1394_BASLER_SFF_DCAM_VALUES,
DC1394_BASLER_SFF_CRC_CHECKSUM, DC1394_BASLER_SFF_TEST_IMAGES, DC1394_BASLER_SFF_EXTENDED_VERSION_INFO, DC1394_BASLER_SFF_LOOKUP_TABLE,
DC1394_BASLER_SFF_TRIGGER_FLAG_AND_COUNTER, DC1394_BASLER_SFF_OUTPUT_PORT_0_CONFIGURATION, DC1394_BASLER_SFF_OUTPUT_PORT_1_CONFIGURATION, DC1394_BASLER_SFF_OUTPUT_PORT_2_CONFIGURATION,
DC1394_BASLER_SFF_OUTPUT_PORT_3_CONFIGURATION
}

## Detailed Description

No docs yet.

More details soon

## Typedef Documentation

## dc1394basler_dcam_csr_value_t

typedef struct dc1394basler_dcam_csr_value_t dc1394basler_dcam_csr_value_t

No Docs

## dc1394basler_dcam_whitebalance_csr_value_t

typedef struct dc1394basler_dcam_whitebalance_csr_value_t dc1394basler_dcam_whitebalance_csr_value_t

No Docs

## dc1394basler_sff_crc_checksum_t

typedef struct dc1394basler_sff_crc_checksum_t dc1394basler_sff_crc_checksum_t

No Docs

## dc1394basler_sff_cycle_time_stamp_t

typedef struct dc1394basler_sff_cycle_time_stamp_t dc1394basler_sff_cycle_time_stamp_t

No Docs

## dc1394basler_sff_dcam_values_t

typedef struct dc1394basler_sff_dcam_values_t dc1394basler_sff_dcam_values_t

No Docs

## dc1394basler_sff_extended_data_stream_t

typedef struct dc1394basler_sff_extended_data_stream_t dc1394basler_sff_extended_data_stream_t

This structure is used to capture the SFF extended data stream chunk. According to the Basler manuals the extended data stream chunk also contains to members pixel_data and gap of variable size; these members are ignored in this API because they can be obtained from other sources. The pixel_data member which is the actual image frame is all data from the beginning of the frame buffer until width*height*bytes_per_pixel bytes. The gap is required on some cameras for technical reason but not used otherwise. The size of the gap can be computed by computing frame_size - sizeof all chunks - image_size.

## dc1394basler_sff_feature_t

typedef enum dc1394basler_sff_feature_t dc1394basler_sff_feature_t

SFF feature IDs

## dc1394basler_sff_frame_counter_t

typedef struct dc1394basler_sff_frame_counter_t dc1394basler_sff_frame_counter_t

No Docs

## Enumeration Type Documentation

## dc1394basler_sff_feature_t

enum dc1394basler_sff_feature_t

SFF feature IDs

Enumerator
DC1394_BASLER_SFF_EXTENDED_DATA_STREAM | SFF Extended data stream, this feature must be enabled in order to use any other smart feature. Please refer to struct dc1394basler_sff_extended_data_stream for more information.
DC1394_BASLER_SFF_FRAME_COUNTER | The frame counter feature numbers images sequentially as they are captured, the counter starts at 0 and wraps at 2^32-1. The counter increments by one for each captured frame. Whenever the camera is powered off, the counter resets to 0. Please refer to struct dc1394basler_sff_frame_counter_t for more information.
DC1394_BASLER_SFF_CYCLE_TIME_STAMP | The cycle time stamp feature adds a chunk to each image frame containing the value of the IEEE1394 bus cycle timer. These counters are sampled at the start of exposure of each image. Please refer to struct dc1394basler_sff_cycle_time_stamp for more information.
DC1394_BASLER_SFF_DCAM_VALUES | The DCAM values smart features adds a chunk to each image containing the current settings for some standard DCAM features. The settings are sampled at the start of exposure of each image. Please refer to struct dc1394basler_sff_dcam_values_t for more information.
DC1394_BASLER_SFF_CRC_CHECKSUM | The CRC checksum feature adds a chunk to each image frame containing a 16bit CRC checksum computed using the Z-modem algorithm. The checksum is computed for all the image data and all other SFF chunks except the CRC checksum chunk. Please refer to the function dc1394_basler_validate_checksum() for more information

DC1394_BASLER_SFF_TEST_IMAGES

The test images feature is used to check the camera's basic functionality and its ability to transmit an image via the video data cable. The test image can be used for service purposes and for failure diagnostics. In test mode the image is generated with a software program and the camera's digital devices and does not use the optics the pixel array or the ADCs.

This feature is not implemented

DC1394_BASLER_SFF_EXTENDED_VERSION_INFO | Basler cameras include a register that contains version numbers for the camera's internal software. For troubleshooting purposes, Basler technical support may ask you to read this register and to supply the results. This feature is not implemented
DC1394_BASLER_SFF_LOOKUP_TABLE | This feature is not implemented
DC1394_BASLER_SFF_TRIGGER_FLAG_AND_COUNTER | This feature is not implemented
DC1394_BASLER_SFF_OUTPUT_PORT_0_CONFIGURATION | This feature is not implemented
DC1394_BASLER_SFF_OUTPUT_PORT_1_CONFIGURATION | This feature is not implemented
DC1394_BASLER_SFF_OUTPUT_PORT_2_CONFIGURATION | This feature is not implemented
DC1394_BASLER_SFF_OUTPUT_PORT_3_CONFIGURATION | This feature is not implemented