20 #include "SapClassBasic.h" 27 #define ALLOW_LOADING_FIRMWARE TRUE 30 #define EXPANSION_RTPRO_ROTATION_STR "Rotation using Expansion Rtpro" 38 coreco(
bool is_use_fpga);
44 static void XferCallback(SapXferCallbackInfo *pInfo);
45 static void SignalCallback(SapAcqCallbackInfo *pInfo);
61 SapAcquisition *m_Acq;
70 bool m_IsSignalDetected;
82 virtual bool initialize(
int size_x,
int size_y);
84 virtual bool initialize(
int size_x,
int size_y,
bool is_force_size);
87 SapAcquisition *makeAcquision();
90 int acq_device_number;
91 SapLocation *sap_location;
97 void setPin(
char *pinstr,
int val);
104 bool getFrame(
void *mem_ptr,
unsigned int *coreco_timestamp);
105 bool getFrame(
void *copy_memory,
unsigned int *coreco_timestamp,
int nbytes);
122 volatile bool is_double_width;
124 static volatile long frames_to_cpu;
125 static volatile long frame_count;
126 static volatile long missed_frames;
127 static volatile long recent_missed_frames;
128 static volatile bool is_missed_frame;
130 static volatile int sap_buffer_count;
131 volatile int sensor_width;
132 volatile int sensor_height;
133 volatile int num_buffers;
137 char camera_format_file[256];
139 char acq_server_name[256];
140 char device_name[256];
143 static coreco *mycard;
147 unsigned short *image_address;
150 #endif // !defined(AFX_ANCROTATIONDEMODLG_H__82BFE149_F01E_11D1_AF74_00A0C91AC0FB__INCLUDED_)
virtual int getGrabberType()=0
Virtual class to represent any vendor frame grabber.
Definition: grabberInterface.h:13
virtual int getHeight(void)=0
virtual void setConfigFileName(char *name)=0
name
Definition: makeDbAndEdl.py:232
virtual long getRecentMissedFrames(void)=0
virtual void setCamController(void *cc)=0
virtual bool DestroyObjects()=0
virtual long getTotalMissedFrames(void)=0
virtual bool isMissedFrame(void)=0
virtual void resetBufferCount(void)=0
virtual bool DestroyObjectsNoDelete()=0
virtual void clearMissedFrames(void)=0
virtual int getNumBuffers(void)=0
virtual int getNumFreeBuffers(void)=0
virtual bool getFrame(void *mem_ptr)=0
virtual bool CreateObjects()=0
virtual void setNumBuffers(int b)=0
virtual void incMissedFrames(void)=0
virtual void setDoubleWidth(int isdw)=0
virtual void GetSignalStatus()=0
virtual int getWidth(void)=0
virtual bool initialize(int size_x, int size_y)=0
virtual bool isFrameAvailable(void)=0
virtual void setPin(char *pinstr, int val)=0
virtual void makeView(void)=0