Private definition for libocam2sdk. More...
Go to the source code of this file.
Classes | |
struct | ocam2_camInfo |
Macros | |
#define | BIASFLAT_BUFFER_SIZE (128*1024) /* 128KBytes */ |
#define | BIASFLAT_TRANSMISSION_BUFFER_SIZE (BIASFLAT_BUFFER_SIZE+4) /* bias/flat buffer + checksum(4) */ |
#define | BIASFLAT_TRANSMISSION_BUFFER_SIZE_USHORT (BIASFLAT_TRANSMISSION_BUFFER_SIZE/sizeof(unsigned short)) |
#define | NB_AMPLIFIER 8 |
#define | PIXELS_PER_AMPLIFIER_NORMAL (OCAM2_PIXELS_RAW_NORMAL/NB_AMPLIFIER) |
#define | PIXELS_PER_AMPLIFIER_BINNING (OCAM2_PIXELS_RAW_BINNING/NB_AMPLIFIER) |
Typedefs | |
typedef void(* | ocam2_descramble_func_t) (unsigned int *number, short *image, const short *imageRaw) |
typedef struct ocam2_camInfo | ocam2_camInfo |
Enumerations | |
enum | ocam2_printf_sev { OCAM2_SEV_INFO =0 , OCAM2_SEV_WARNING =1 , OCAM2_SEV_ERROR =2 } |
enum | ocam2_ImgType { OCAM2_BIAS =0 , OCAM2_FLAT =1 } |
Functions | |
void | ocam2_printf (ocam2_printf_sev severity, const char *format,...) |
int | ocam2_isIdValid (ocam2_id id) |
int | ocam2_fsize (FILE *fp) |
struct ocam2_camInfo |
Definition at line 43 of file ocam2_pvt.h.
Class Members | ||
---|---|---|
unsigned short * | biasFlatBufferTx | |
ocam2_camFirmVer | camVer | |
ocam2_serialOut_func_t | cbSerialOut | |
short * | imgBiasFlat | |
short * | imgBiasFlatRaw | |
ocam2_mode | mode | |
void * | p | |
ocam2_descramble_func_t | pfuncDescrbl |
#define BIASFLAT_BUFFER_SIZE (128*1024) /* 128KBytes */ |
Definition at line 14 of file ocam2_pvt.h.
#define BIASFLAT_TRANSMISSION_BUFFER_SIZE (BIASFLAT_BUFFER_SIZE+4) /* bias/flat buffer + checksum(4) */ |
Definition at line 15 of file ocam2_pvt.h.
#define BIASFLAT_TRANSMISSION_BUFFER_SIZE_USHORT (BIASFLAT_TRANSMISSION_BUFFER_SIZE/sizeof(unsigned short)) |
Definition at line 17 of file ocam2_pvt.h.
#define NB_AMPLIFIER 8 |
Definition at line 19 of file ocam2_pvt.h.
#define PIXELS_PER_AMPLIFIER_BINNING (OCAM2_PIXELS_RAW_BINNING/NB_AMPLIFIER) |
Definition at line 23 of file ocam2_pvt.h.
#define PIXELS_PER_AMPLIFIER_NORMAL (OCAM2_PIXELS_RAW_NORMAL/NB_AMPLIFIER) |
Definition at line 21 of file ocam2_pvt.h.
typedef struct ocam2_camInfo ocam2_camInfo |
typedef void(* ocam2_descramble_func_t) (unsigned int *number, short *image, const short *imageRaw) |
Definition at line 41 of file ocam2_pvt.h.
enum ocam2_ImgType |
Enumerator | |
---|---|
OCAM2_BIAS | |
OCAM2_FLAT |
Definition at line 33 of file ocam2_pvt.h.
enum ocam2_printf_sev |
Enumerator | |
---|---|
OCAM2_SEV_INFO | |
OCAM2_SEV_WARNING | |
OCAM2_SEV_ERROR |
Definition at line 25 of file ocam2_pvt.h.
int ocam2_fsize | ( | FILE * | fp | ) |
Definition at line 122 of file ocam2_sdk.c.
Referenced by ocam2_fillDescrblTab().
int ocam2_isIdValid | ( | ocam2_id | id | ) |
Definition at line 60 of file ocam2_sdk.c.
Referenced by ocam2_descramble(), ocam2_exit(), and ocam2_getMode().
void ocam2_printf | ( | ocam2_printf_sev | severity, |
const char * | format, | ||
... | |||
) |
Definition at line 44 of file ocam2_sdk.c.
Referenced by ocam2_fillDescrblTab().