14 #define BIASFLAT_BUFFER_SIZE (128*1024)
15 #define BIASFLAT_TRANSMISSION_BUFFER_SIZE (BIASFLAT_BUFFER_SIZE+4)
17 #define BIASFLAT_TRANSMISSION_BUFFER_SIZE_USHORT (BIASFLAT_TRANSMISSION_BUFFER_SIZE/sizeof(unsigned short))
19 #define NB_AMPLIFIER 8
21 #define PIXELS_PER_AMPLIFIER_NORMAL (OCAM2_PIXELS_RAW_NORMAL/NB_AMPLIFIER)
23 #define PIXELS_PER_AMPLIFIER_BINNING (OCAM2_PIXELS_RAW_BINNING/NB_AMPLIFIER)
void(* ocam2_descramble_func_t)(unsigned int *number, short *image, const short *imageRaw)
int ocam2_isIdValid(ocam2_id id)
ocam2_descramble_func_t pfuncDescrbl
ocam2_serialOut_func_t cbSerialOut
struct ocam2_camInfo ocam2_camInfo
int ocam2_fsize(FILE *fp)
void ocam2_printf(ocam2_printf_sev severity, const char *format,...)
unsigned short * biasFlatBufferTx
int ocam2_id
Library camera identifier.
ocam2_camFirmVer
Camera firmware release For firmware build date before 18/03/2015, use OCAM2_FIRM_V1 else OCAM2_FIRM_...
enum workMode ocam2_mode
typedef of ocam2 camera mode
void(* ocam2_serialOut_func_t)(void *p, const char *buffer, int number)
Callback used to send characters to the serial port.