libdc1394: API version 2: Format_7


dc1394_format7_get_max_image_size()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394video_mode_t:mode:The format_7 video mode
uint_t:*h_size:maximum horizontal image size
uint_t:*v_size:maximum vertical image size
Returns:   dc1394error_t (error code)

dc1394_format7_get_unit_size()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394video_mode_t:mode:The format_7 video mode
uint_t:*h_unit:horizontal size multiple
uint_t:*v_unit:vertical size multiple
Returns:   dc1394error_t (error code)

dc1394_format7_get_image_size()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394video_mode_t:mode:The format_7 video mode
uint_t:*width:width of the region of interest
uint_t:*height:height of the region of interest
Returns:   dc1394error_t (error code)

dc1394_format7_set_image_size()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394video_mode_t:mode:The format_7 video mode
uint_t:width:width of the region of interest
uint_t:height:height of the region of interest
Returns:   dc1394error_t (error code)

dc1394_format7_get_image_position()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394video_mode_t:mode:The format_7 video mode
uint_t:*left:horizontal coordinate of the upper left corner of the region of interest
uint_t:*top:vertical coordinate of the upper left corner of the region of interest
Returns:   dc1394error_t (error code)

dc1394_format7_set_image_position()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394video_mode_t:mode:The format_7 video mode
uint_t:left:horizontal coordinate of the upper left corner of the region of interest
uint_t:top:vertical coordinate of the upper left corner of the region of interest
Returns:   dc1394error_t (error code)

dc1394_format7_get_unit_position()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394video_mode_t:mode:The format_7 video mode
uint_t:*h_unit_pos:horizontal position multiple
uint_t:*v_unit_pos:vertical position multiple
Returns:   dc1394error_t (error code)

dc1394_format7_get_color_coding()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394video_mode_t:mode:The format_7 video mode
uint_t:*color_coding:the current color coding
Returns:   dc1394error_t (error code)

dc1394_format7_get_color_codings()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394video_mode_t:mode:The format_7 video mode
dc1394colorcodings_t:*color_codings:a list of available color coding
Returns:   dc1394error_t (error code)

dc1394_format7_set_color_coding()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394video_mode_t:mode:The format_7 video mode
uint_t:color_coding:the color coding
Returns:   dc1394error_t (error code)

dc1394_format7_set_color_filter()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394video_mode_t:mode:The format_7 video mode
uint_t:filter_id:the bayer pattern filter type
Returns:   dc1394error_t (error code)

dc1394_format7_get_color_filter()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394video_mode_t:mode:The format_7 video mode
uint_t:*filter_id:the bayer pattern filter type
Returns:   dc1394error_t (error code)

dc1394_format7_get_packet_parameters()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394video_mode_t:mode:The format_7 video mode
uint_t:*min_bytes:the minimum number of bytes per packet
uint_t:*max_bytes:the maximum number of bytes per packet
Returns:   dc1394error_t (error code)

dc1394_format7_get_packet_size()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394video_mode_t:mode:The format_7 video mode
uint_t:*packet_bytes:the current number of bytes per packet
Returns:   dc1394error_t (error code)

dc1394_format7_set_packet_size()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394video_mode_t:mode:The format_7 video mode
uint_t:packet_bytes:the number of bytes per packet
Returns:   dc1394error_t (error code)

dc1394_format7_get_recommended_packet_size()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394video_mode_t:mode:The format_7 video mode
uint_t:*bpp:the number of recommended bytes per packet
Returns:   dc1394error_t (error code)

dc1394_format7_get_packets_per_frame()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394video_mode_t:mode:The format_7 video mode
uint_t:*ppf:the number of packets per frame
Returns:   dc1394error_t (error code)

dc1394_format7_get_data_depth()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394video_mode_t:mode:The format_7 video mode
uint_t:*data_depth:the number of bits per pixel
Returns:   dc1394error_t (error code)

dc1394_format7_get_frame_interval()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394video_mode_t:mode:The format_7 video mode
float:*interval:the time interval between frames
Returns:   dc1394error_t (error code)

dc1394_format7_get_pixel_number()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394video_mode_t:mode:The format_7 video mode
uint_t:*pixnum:the number of pixels per frame
Returns:   dc1394error_t (error code)

dc1394_format7_get_total_bytes()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394video_mode_t:mode:The format_7 video mode
uint64_t:*total_bytes:the total number of bytes per frame
Returns:   dc1394error_t (error code)

dc1394_format7_get_modeset()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394format7modeset_t:*info:a pointer to a structure containing the information about all format7 modes
Returns:   dc1394error_t (error code)

dc1394_format7_get_mode_info()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394video_mode_t:mode_id:The format_7 video mode
dc1394format7mode_t:*mode:a pointer to a structure containing the infromation about a mode
Returns:   dc1394error_t (error code)

dc1394_format7_set_roi()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394video_mode_t:video_mode:
dc1394color_coding_t:color_coding:
int:bytes_per_packet:
int:left:
int:top:
int:width:
int:height:
Returns:   dc1394error_t (error code)

dc1394_format7_get_roi()

Arguments:
dc1394camera_t:*camera:A pointer to an initialized camera structure
dc1394video_mode_t:video_mode:
dc1394color_coding_t:*color_coding:
int:*bytes_per_packet:
int:*left:
int:*top:
int:*width:
int:*height:
Returns:   dc1394error_t (error code)