📄 dsydef.h
字号:
YXI_Src1_EndFrame,
YXI_Src2_EndFrame,
YXI_Src3_EndFrame,
YXI_Src4_EndFrame,
YXI_Src5_EndFrame,
YXI_Src6_EndFrame,
YXI_Src7_EndFrame,
YXI_Src8_EndFrame,
YXI_Src9_EndFrame,
YXI_Src10_EndFrame,
YXI_Src11_EndFrame,
YXI_Src12_EndFrame,
YXI_Src13_EndFrame,
YXI_Src14_EndFrame,
YXI_Src15_EndFrame,
*/
YXI_Last,
YXI_All=YXI_Last
};
/** BUS interrupts.
* @ingroup InterruptsStuff
*/
enum _LvBusIT {
BusI_First=0x600,
BusI_FrameDone00=BusI_First, /**< Image transfer completed on 1st sub-grabber (0). */
BusI_FrameDone01, /**< Image transfer completed on 2nd sub-grabber (1). */
BusI_FrameDone02, /**< Image transfer completed on 3rd sub-grabber (2). */
BusI_FrameDone03, /**< Image transfer completed on 4th sub-grabber (3). */
BusI_FrameDone04, /**< Image transfer completed on 5th sub-grabber (4). */
BusI_FrameDone05, /**< Image transfer completed on 6th sub-grabber (5). */
BusI_FrameDone06, /**< Image transfer completed on 7th sub-grabber (6). */
BusI_FrameDone07, /**< Image transfer completed on 8th sub-grabber (7). */
BusI_FrameDone08, /**< Image transfer completed on 9th sub-grabber (8). */
BusI_FrameDone09, /**< Image transfer completed on 10th sub-grabber (9). */
BusI_FrameDone10, /**< Image transfer completed on 11th sub-grabber (10). */
BusI_FrameDone11, /**< Image transfer completed on 12th sub-grabber (11). */
BusI_FrameDone12, /**< Image transfer completed on 13th sub-grabber (12). */
BusI_FrameDone13, /**< Image transfer completed on 14th sub-grabber (13). */
BusI_FrameDone14, /**< Image transfer completed on 15th sub-grabber (14). */
BusI_FrameDone15, /**< Image transfer completed on 16th sub-grabber (15). */
BusI_FrameDone16, /**< Image transfer completed on 17th sub-grabber (16). */
BusI_FrameDone17, /**< Image transfer completed on 18th sub-grabber (17). */
BusI_FrameDone18, /**< Image transfer completed on 19th sub-grabber (18). */
BusI_FrameDone19, /**< Image transfer completed on 20th sub-grabber (19). */
BusI_FrameDone20, /**< Image transfer completed on 21st sub-grabber (20). */
BusI_FrameDone21, /**< Image transfer completed on 22nd sub-grabber (21). */
BusI_FrameDone22, /**< Image transfer completed on 23rd sub-grabber (22). */
BusI_FrameDone23, /**< Image transfer completed on 24th sub-grabber (23). */
BusI_FrameDone24, /**< Image transfer completed on 25th sub-grabber (24). */
BusI_FrameDone25, /**< Image transfer completed on 26th sub-grabber (25). */
BusI_FrameDone26, /**< Image transfer completed on 27th sub-grabber (26). */
BusI_FrameDone27, /**< Image transfer completed on 28th sub-grabber (27). */
BusI_FrameDone28, /**< Image transfer completed on 29th sub-grabber (28). */
BusI_FrameDone29, /**< Image transfer completed on 30th sub-grabber (29). */
BusI_FrameDone30, /**< Image transfer completed on 31st sub-grabber (30). */
BusI_FrameDone31, /**< Image transfer completed on 32nd sub-grabber (31). */
BusI_Last,
BusI_All=BusI_Last
};
/** @defgroup PicPort_InterruptType PicPort Interrupt definitions.
* @ingroup InterruptsStuff
* @sa LvGrabberNode::AddInterruptNotify(), LvGrabberNode::GetInterruptCount()
*/
//@{
/** Start of even field. */
#define Int_EvenField 0x0000L
/** Start of odd field. */
#define Int_OddField 0x0001L
/** Vertical sync, start of each field. */
#define Int_VSync 0x0002L
/** Status change in general port I/O 0. */
#define Int_GPIO0 0x0003L
/** Status change in general port I/O 1. */
#define Int_GPIO1 0x0004L
/** Status change in general port I/O 2. */
#define Int_GPIO2 0x0005L
/** Status change in general port I/O 3. */
#define Int_GPIO3 0x0006L
/** Interrupt generated by RPS 0. */
#define Int_RPS0 0x0007L
/** Interrupt generated by RPS 1. */
#define Int_RPS0Error 0x0008L
/** RPS 0 timeout. */
#define Int_RPS0TOut 0x0009L
/** RPS 1 interrupt. */
#define Int_RPS1 0x000aL
/** RPS 1 error. */
#define Int_RPS1Error 0x000bL
/** RPS 1 timeout. */
#define Int_RPS1TOut 0x000cL
/** Event counter 0. */
#define Int_EC0 0x000dL
/** Event counter 1. */
#define Int_EC1 0x000eL
/** Event counter 2. */
#define Int_EC2 0x000fL
/** Event counter 3. */
#define Int_EC3 0x0010L
/** Event counter 4. */
#define Int_EC4 0x0011L
/** Event counter 5. */
#define Int_EC5 0x0012L
//@}
/** @defgroup ROIColorFormat ROIColorFormat - color format definitions for ROI
* @ingroup DaisyDefines
* @sa LvGrabberNode::StoreROI(), LvROI::GetColorFormat(), LvROI::SetColorFormat()
*/
//@{
/** RGB Red 8 bit Green 8 bit Blue 8 bit Alpha 8 bit. */
#define ColF_RGB_888a 0x00
/** RGB Red 5 bit Green 5 bit Blue 5 bit Alpha 1 bit. */
#define ColF_RGB_555a 0x01
/** RGB Red 5 bit Green 6 bit Blue 5 bit. */
#define ColF_RGB_565 0x02
/** Monochrome (256 grey scale). */
#define ColF_Mono_8 0x03
/** RGB Red 8 bit Green 8 bit Blue 8 bit. */
#define ColF_RGB_888 0x04
/** YUV 4:2:2. */
#define ColF_YUV_422 0x05
/** Monochrome with 16 significant bits. */
#define ColF_Mono_16 0x06
/** Monochrome with 15 significant bits. */
#define ColF_Mono_15 0x07
/** Monochrome with 14 significant bits. */
#define ColF_Mono_14 0x08
/** Monochrome with 13 significant bits. */
#define ColF_Mono_13 0x09
/** Monochrome with 12 significant bits. */
#define ColF_Mono_12 0x0a
/** Monochrome with 11 significant bits. */
#define ColF_Mono_11 0x0b
/** Monochrome with 10 significant bits. */
#define ColF_Mono_10 0x0c
/** Monochrome with 9 significant bits. */
#define ColF_Mono_9 0x0d
/** 8bit RGB planar mode.
* When the framegrabber supports RGB splitting (see GetGrabberCapability() return values) there
* is possibility to select the desired planar mode in the ROI object using LvROI::SetColorFormat()
* function.
* If the grabber card supports RGB splitting modes and it supports 8bit RGB planar mode
* use this definition to select it using LvROI::SetColorFormat() function.
*/
#define ColF_RGB_Planar_8 0x0e
/** 10bit RGB planar mode.
* When the framegrabber supports RGB splitting (see GetGrabberCapability() return values) there
* is possibility to select the desired planar mode in the ROI object using LvROI::SetColorFormat()
* function.
* If the grabber card supports RGB splitting modes and it supports 10bit RGB planar mode
* use this definition to select it using LvROI::SetColorFormat() function.
*/
#define ColF_RGB_Planar_10 0x0f
/** 12bit RGB planar mode.
* When the framegrabber supports RGB splitting (see GetGrabberCapability() return values) there
* is possibility to select the desired planar mode in the ROI object using LvROI::SetColorFormat()
* function.
* If the grabber card supports RGB splitting modes and it supports 12bit RGB planar mode
* use this definition to select it using LvROI::SetColorFormat() function.
*/
#define ColF_RGB_Planar_12 0x10
#define ColF_Last 0x13
/** Default definition for the StoreROI() function for its last parameter.
* The default definition.
*/
#define ColF_Output 0xff
#define ColF_Invalid 0xfe
//@}
/*? @defgroup ROIHRes ROIHRes - horizontal resolution definitions for ROI
* @ingroup DaisyDefines
*/
#define HRes_1024 0x00 /* 1024 x 768. */
#define HRes_800 0x01 /* 800 x 600. */
#define HRes_640 0x02 /* 640 x 480. */
#define HRes_1280 0x03 /* 1280 x 1024. */
#define HRes_1600 0x04 /* 1600 x 1200. */
#define HRes_Last 0x05
/*? @defgroup ROIStartPosition ROIStartPosition - start position definition
* @ingroup DaisyDefines
*/
#define SPos_BottomLeft 0x00 /* Defines the bottom left part of the video memory. */
#define SPos_BottomRight 0x01 /* Defines the bottom right part of the video memory. */
#define SPos_Last 0x02
/** @defgroup ROIAcqMode ROIAcqMode - Roi acquisition mode definitions
* @ingroup DaisyDefines
* @sa LvROI::SetAcquisitionMode()
*/
//@{
/** Acquire in standard mode. */
#define AcqMode_Plain 0x0000
/** Acquire clipping Windows colors.
* Instructs Daisy to clip the Windows
* colors while transferring the image. This flag should be used to acquire
* images that will be transferred directly or indirectly to the Windows screen
* when this is set to 256 colors.
*/
#define AcqMode_ClipWinColor 0x0001
//@}
/*? @defgroup RPSStatus RPSStatus - RPS Status codes */
/* The RPS is in unknown state. */
#define Rps_UnknownState 0x00
/* The RPS is running. */
#define Rps_Running 0x01
/* The RPS is timed out. */
#define Rps_TimedOut 0x02
/* The RPS has been aborted. */
#define Rps_Aborted 0x02
/* The RPS is safely terminated. */
#define Rps_Terminated 0x03
/* A mismatch is detected in the RPS protocol. */
#define Rps_Running_NotControlled 0x04
enum _RxxIntColF {
RxxColF_Packed_8x3,
RxxColF_Packed_8x4,
RxxColF_12,
RxxColF_Packed_12x2,
RxxColF_16,
RxxColF_Packed_16x2,
RxxColF_24,
RxxColF_RGB,
RxxColF_YUV422,
RxxColF_YUV444,
RxxColF_RGB12,
RxxColF_Last
};
// Name remap of IO signals
#define SigCeSig_GpioIn_0 SigCeSig_AuxIn_0
#define SigCeSig_GpioIn_1 SigCeSig_AuxIn_1
#define SigCeSig_GpioIn_2 SigCeSig_AuxIn_2
#define SigCeSig_GpioIn_3 SigCeSig_AuxIn_3
#define SigCeSig_GpioIn_4 SigCeSig_AuxIn_4
#define SigCeSig_GpioIn_5 SigCeSig_AuxIn_5
#define SigCeSig_GpioIn_6 SigCeSig_AuxIn_6
#define SigCeSig_GpioIn_7 SigCeSig_AuxIn_7
#define SigCeSig_GpioOut_0 SigCeSig_AuxOut_0
#define SigCeSig_GpioOut_1 SigCeSig_AuxOut_1
#define SigCeSig_GpioOut_2 SigCeSig_AuxOut_2
#define SigCeSig_GpioOut_3 SigCeSig_AuxOut_3
#define SigCeSig_GpioOut_4 SigCeSig_AuxOut_4
#define SigCeSig_GpioOut_5 SigCeSig_AuxOut_5
#define SigCeSig_GpioOut_6 SigCeSig_AuxOut_6
#define SigCeSig_GpioOut_7 SigCeSig_AuxOut_7
/** @defgroup ImageInfoFlag ImageInfoFlag - properties of acquired images
* @ingroup DaisyDefines
* @sa LvAcquiredImageInfo
*/
//@{
/** Frame had been aborted.
* The grabber is able to detect incomplete frame and stop the transfer. The actual
* frame dimensions are reported in @ref LvAcquiredImageInfo::AcquiredWidth and @ref LvAcquiredImageInfo::AcquiredHeight fields.
*/
#define ImgInfoFlg_UseFrameAbort 0x00000001
/** The Bayer encoded image has been decoded in hardware.
* The flag is set if the camera data have been bayer-decoded in hardware.
*/
#define ImgInfoFlg_BayerDecoded 0x00000002
/* internal */
#define ImgInfoFlg_SwTrack 0x00008000
/** Image error.
* An error has been detected in the current frame, it should be considered invalid.
* Currently used only with PicSight
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -