📄 dc1394_vendor_avt.h
字号:
/************************************************************************//* Set Trigger delay *//*----------------------------------------------------------------------*//* Set trigger delay on/off and the trigger delay value *//************************************************************************/dc1394error_t dc1394_avt_set_trigger_delay(dc1394camera_t *camera, dc1394bool_t on_off, uint_t DelayTime);/************************************************************************/ /* Get Mirror *//*----------------------------------------------------------------------*//* Get mirror mode *//************************************************************************/dc1394error_t dc1394_avt_get_mirror(dc1394camera_t *camera, dc1394bool_t *on_off);/************************************************************************//* Set Mirror *//*----------------------------------------------------------------------*//* Set mirror mode *//************************************************************************/dc1394error_t dc1394_avt_set_mirror(dc1394camera_t *camera, dc1394bool_t on_off);/************************************************************************//* Get DSNU *//*----------------------------------------------------------------------*//* Get DSNU mode and num of frames used for computing dsnu correction *//************************************************************************/dc1394error_t dc1394_avt_get_dsnu(dc1394camera_t *camera, dc1394bool_t *on_off, uint_t *frame_nb);/************************************************************************//* Set DSNU *//*----------------------------------------------------------------------*//* Set DSNU mode, number of frames used for computing *//* and launch the the computation of the dsnu frame *//************************************************************************/dc1394error_t dc1394_avt_set_dsnu(dc1394camera_t *camera, dc1394bool_t on_off, dc1394bool_t compute, uint_t frame_nb); /************************************************************************//* Get BLEMISH *//*----------------------------------------------------------------------*//* Get Blemish mode and num of frames used for computing the correction *//************************************************************************/dc1394error_t dc1394_avt_get_blemish(dc1394camera_t *camera, dc1394bool_t *on_off, uint_t *frame_nb); /************************************************************************//* Set BLEMISH *//*----------------------------------------------------------------------*//* Set Blemish mode, num of frames used for computing *//* and launch the the computation of the blemish correction *//************************************************************************/dc1394error_t dc1394_avt_set_blemish(dc1394camera_t *camera, dc1394bool_t on_off, dc1394bool_t compute, uint_t frame_nb);/************************************************************************//* Get IO REG_CAMERA_IO_INP_CTRLx or REG_CAMERA_IO_OUTP_CTRLx *//*----------------------------------------------------------------------*//* Get the polarity, the mode, the state of the IO *//************************************************************************/dc1394error_t dc1394_avt_get_io(dc1394camera_t *camera, uint_t IO, dc1394bool_t *polarity, uint_t *mode, dc1394bool_t *pinstate);/************************************************************************//* Set IO REG_CAMERA_IO_INP_CTRLx or REG_CAMERA_IO_OUTP_CTRLx *//*----------------------------------------------------------------------*//* Set the polarity and the mode of the IO *//************************************************************************/dc1394error_t dc1394_avt_set_io(dc1394camera_t *camera,uint_t IO, dc1394bool_t polarity, uint_t mode); /************************************************************************//* BusReset IEEE1394 *//*----------------------------------------------------------------------*//* Reset the bus and the fpga *//************************************************************************/dc1394error_t dc1394_avt_reset(dc1394camera_t *camera);/************************************************************************//* Get Lookup Tables (LUT) *//*----------------------------------------------------------------------*//* Get on/off and the num of the current lut loaded *//************************************************************************/dc1394error_t dc1394_avt_get_lut(dc1394camera_t *camera, dc1394bool_t *on_off, uint_t *lutnb ); /************************************************************************//* Set Lookup Tables (LUT) *//*----------------------------------------------------------------------*//* Set on/off and the num of the current lut to load *//************************************************************************/dc1394error_t dc1394_avt_set_lut(dc1394camera_t *camera, dc1394bool_t on_off, uint_t lutnb);/************************************************************************//* Get LUT ctrl *//*----------------------------------------------------------------------*//* Get access mode of a lut *//************************************************************************/dc1394error_t dc1394_avt_get_lut_mem_ctrl(dc1394camera_t *camera, dc1394bool_t *en_write, uint_t * AccessLutNo, uint_t *addroffset);/************************************************************************//* Set LUT ctrl *//*----------------------------------------------------------------------*//* Set access mode of a lut *//************************************************************************/dc1394error_t dc1394_avt_set_lut_mem_ctrl(dc1394camera_t *camera, dc1394bool_t en_write, uint_t AccessLutNo, uint_t addroffset); /************************************************************************//* Get LUT info *//*----------------------------------------------------------------------*//* Get num of luts present and the max size *//************************************************************************/dc1394error_t dc1394_avt_get_lut_info(dc1394camera_t *camera, uint_t *NumOfLuts, uint_t *MaxLutSize);/************************************************************************//* Get Automatic white balance with Area Of Interest AOI *//*----------------------------------------------------------------------*//* Get on/off and area *//************************************************************************/dc1394error_t dc1394_avt_get_aoi(dc1394camera_t *camera, dc1394bool_t *on_off, int *left, int *top, int *width, int *height);/************************************************************************//* Set Automatic white balance with Area Of Interest AOI *//*----------------------------------------------------------------------*//* Set on/off and area *//************************************************************************/dc1394error_t dc1394_avt_set_aoi(dc1394camera_t *camera, dc1394bool_t on_off,int left, int top, int width, int height);/************************************************************************//* Get test_images *//*----------------------------------------------------------------------*//* Get current test image *//************************************************************************/dc1394error_t dc1394_avt_get_test_images(dc1394camera_t *camera, uint_t *image_no);/************************************************************************//* Set test_images *//*----------------------------------------------------------------------*//* Set num of test image *//************************************************************************/dc1394error_t dc1394_avt_set_test_images(dc1394camera_t *camera, uint_t image_no);/************************************************************************//* Get frame info *//*----------------------------------------------------------------------*//* Get the number of captured frames *//************************************************************************/dc1394error_t dc1394_avt_get_frame_info(dc1394camera_t *camera, uint_t *framecounter);/************************************************************************//* Reset frame info *//*----------------------------------------------------------------------*//* Reset frame counter *//************************************************************************/dc1394error_t dc1394_avt_reset_frame_info(dc1394camera_t *camera); /************************************************************************//* Get GPData info *//*----------------------------------------------------------------------*//* Get the size of the buffer *//************************************************************************/dc1394error_t dc1394_avt_get_gpdata_info(dc1394camera_t *camera, uint_t *BufferSize); /************************************************************************//* Get Deferred image transport *//*----------------------------------------------------------------------*//* Get the fifo control mode *//************************************************************************/dc1394error_t dc1394_avt_get_deferred_trans(dc1394camera_t *camera, dc1394bool_t *HoldImage, dc1394bool_t * FastCapture, uint_t *FifoSize, uint_t *NumOfImages ); /************************************************************************//* Set Deferred image transport *//*----------------------------------------------------------------------*//* Set the fifo control mode *//************************************************************************/dc1394error_t dc1394_avt_set_deferred_trans(dc1394camera_t *camera, dc1394bool_t HoldImage, dc1394bool_t FastCapture, uint_t FifoSize, uint_t NumOfImages, dc1394bool_t SendImage );/************************************************************************//* Get pdata_buffer : DOESNT WORK *//*----------------------------------------------------------------------*//* will Get the buffer ... *//************************************************************************/dc1394error_t dc1394_avt_get_pdata_buffer(dc1394camera_t *camera, uint_t *buff);/************************************************************************//* Set pdata_buffer : DOESNT WORK *//*----------------------------------------------------------------------*//* will Set the buffer ... *//************************************************************************/dc1394error_t dc1394_avt_set_pdata_buffer(dc1394camera_t *camera, unsigned long buff);#ifdef __cplusplus}#endif#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -