⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dc1394_vendor_avt.h

📁 This library provides functionality to control any camera that conforms to the 1394-Based Digital C
💻 H
📖 第 1 页 / 共 2 页
字号:
/* * 1394-Based Digital Camera Control Library * Allied Vision Technologies (AVT) specific extensions * Copyright (C) 2005 Inria Sophia-Antipolis * * Written by Pierre MOOS <pierre.moos@gmail.com>  * Version : 16/02/2005  * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */#ifndef __DC1394_VENDOR_AVT_H__#define __DC1394_VENDOR_AVT_H__#include "dc1394_control.h"#include "dc1394_register.h"typedef struct __dc1394_avt_adv_feature_info_struct {  uint_t feature_id;  dc1394bool_t features_requested;  dc1394bool_t MaxResolution;  dc1394bool_t TimeBase;  dc1394bool_t ExtdShutter;  dc1394bool_t TestImage;  dc1394bool_t FrameInfo;  dc1394bool_t Sequences;  dc1394bool_t VersionInfo;  dc1394bool_t Lookup_Tables;  dc1394bool_t Shading;  dc1394bool_t DeferredTrans;  dc1394bool_t HDR_Mode;  dc1394bool_t DSNU;  dc1394bool_t TriggerDelay;      dc1394bool_t GP_Buffer;  dc1394bool_t Input_1;      dc1394bool_t Input_2;          dc1394bool_t Output_1;      dc1394bool_t Output_2;          dc1394bool_t IntEnaDelay;          } dc1394_avt_adv_feature_info_t;#ifdef __cplusplusextern "C" {#endif/************************************************************************//* Get Version  	(Read Only)					*//*----------------------------------------------------------------------*//* Retrieve the firmware version, FPGA version and the camera ID	*/	 /************************************************************************/dc1394error_t dc1394_avt_get_version(dc1394camera_t *camera, 				     uint_t *Version, uint_t *Camera_ID,				     uint_t *FPGA_Version);/************************************************************************//* Get Advanced feature inquiry						*//*----------------------------------------------------------------------*//* Retrieve the supported features					*/	 /************************************************************************/dc1394error_t dc1394_avt_get_advanced_feature_inquiry(dc1394camera_t *camera,						      dc1394_avt_adv_feature_info_t *adv_feature);/************************************************************************//* Print Advanced feature 						*//*----------------------------------------------------------------------*//* Print the supported features requested 				*/	 /************************************************************************/dc1394error_t dc1394_avt_print_advanced_feature(dc1394_avt_adv_feature_info_t *adv_feature);/************************************************************************//* Get the shading mode							*//*----------------------------------------------------------------------*//* Retrieve if shading is on and the number of frames used to compute 	*/	 /* The shading reference frame						*//************************************************************************/int dc1394_avt_get_shading(dc1394camera_t *camera, 			   dc1394bool_t *on_off, uint_t *frame_nb);/************************************************************************//* Set the shading mode							*//*----------------------------------------------------------------------*//* Set the shading to on/off and the number of frames used to compute 	*/	 /* The shading reference frame						*//************************************************************************/int dc1394_avt_set_shading(dc1394camera_t *camera,			   dc1394bool_t on_off, dc1394bool_t compute,			   uint_t frame_nb);				/************************************************************************//* Get shading  mem ctrl						*//*----------------------------------------------------------------------*//* Retrieve write and read access mode of the shading reference frame	*//************************************************************************/dc1394error_t dc1394_avt_get_shading_mem_ctrl(dc1394camera_t *camera, 					      dc1394bool_t *en_write,					      dc1394bool_t *en_read, 					      uint_t *addroffset);/************************************************************************//* Set shading mem ctrl							*//*----------------------------------------------------------------------*//* Set write and read access mode of the shading reference frame	*//************************************************************************/dc1394error_t dc1394_avt_set_shading_mem_ctrl(dc1394camera_t *camera,					      dc1394bool_t en_write, 					      dc1394bool_t en_read, 					      uint_t addroffset);/************************************************************************//* Get shading  info							*//*----------------------------------------------------------------------*//* Retrieve the max size of a shading image				*//************************************************************************/dc1394error_t dc1394_avt_get_shading_info(dc1394camera_t *camera, 					  uint_t *MaxImageSize);/************************************************************************//* Get Multiple slope parameters					*//*----------------------------------------------------------------------*//* Retrieve if on/off, the nb of kneepoints used and the 		*//* kneepoints values							*//************************************************************************/dc1394error_t dc1394_avt_get_multiple_slope(dc1394camera_t *camera, 					    dc1394bool_t *on_off,					    uint_t *points_nb, 					    uint_t *kneepoint1,					    uint_t *kneepoint2, 					    uint_t *kneepoint3);/************************************************************************//* Set Multiple slope parameters					*//*----------------------------------------------------------------------*//* Set on/off, the nb of kneepoints to use and the 			*//* kneepoints values							*//************************************************************************/dc1394error_t dc1394_avt_set_multiple_slope(dc1394camera_t *camera, 					    dc1394bool_t on_off,					    uint_t points_nb, 					    uint_t kneepoint1,					    uint_t kneepoint2, 					    uint_t kneepoint3);/************************************************************************//* Get Shutter Timebase 						*//*----------------------------------------------------------------------*//* Get the timebase value with an Id. See Manual for correspondance	*//************************************************************************/dc1394error_t dc1394_avt_get_timebase(dc1394camera_t *camera, 				      uint_t *timebase_id);/************************************************************************//* Set Shutter Timebase 						*//*----------------------------------------------------------------------*//* Set the timebase value with an Id. See Manual for correspondance	*//************************************************************************/dc1394error_t dc1394_avt_set_timebase(dc1394camera_t *camera,				      uint_t timebase_id);/************************************************************************//* Get Extented Shutter  						*//*----------------------------------------------------------------------*//* Get the extented shutter value in us					*//************************************************************************/dc1394error_t dc1394_avt_get_extented_shutter(dc1394camera_t *camera, 					      uint_t *timebase_id);/************************************************************************//* Set Extented shutter							*//*----------------------------------------------------------------------*//* Set the extented shutter value in us					*//************************************************************************/dc1394error_t dc1394_avt_set_extented_shutter(dc1394camera_t *camera, 					      uint_t timebase_id);/************************************************************************//* Get MaxResolution  	(Read Only)					*//*----------------------------------------------------------------------*//* Get the Max reachable resolution 					*//************************************************************************/dc1394error_t dc1394_avt_get_MaxResolution(dc1394camera_t *camera, 					   uint_t *MaxHeight,					   uint_t *MaxWidth);/************************************************************************//* Get Auto Shutter  							*//*----------------------------------------------------------------------*//* Get min and max shutter values for autoshutter			*//************************************************************************/dc1394error_t dc1394_avt_get_auto_shutter(dc1394camera_t *camera, 					  uint_t *MinValue,					  uint_t *MaxValue);/************************************************************************//* Set Auto shutter							*//*----------------------------------------------------------------------*//* Set min and max shutter values for autoshutter			*//************************************************************************/dc1394error_t dc1394_avt_set_auto_shutter(dc1394camera_t *camera,					  uint_t MinValue,					  uint_t MaxValue);/************************************************************************//* Get Auto gain							*//*----------------------------------------------------------------------*//* Get min and max gain values for autogain				*//************************************************************************/dc1394error_t dc1394_avt_get_auto_gain(dc1394camera_t *camera, 				       uint_t *MinValue,				       uint_t *MaxValue);/************************************************************************//* Set Auto gain							*//*----------------------------------------------------------------------*//* Set min and max gain values for autogain				*//************************************************************************/dc1394error_t dc1394_avt_set_auto_gain(dc1394camera_t *camera,				       uint_t MinValue,				       uint_t MaxValue);/************************************************************************//* Get Trigger delay							*//*----------------------------------------------------------------------*//* Get if trigger delay on and the trigger delay			*//************************************************************************/dc1394error_t dc1394_avt_get_trigger_delay(dc1394camera_t *camera, 					   dc1394bool_t *on_off,					   uint_t *DelayTime);		

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -