AdaptiveOpticsControl
ImageStreamIO.c File Reference

Read and Create image. More...

Functions

static int clock_gettime (int clk_id, struct mach_timespec *t)
 
int_fast8_t init_ImageStreamIO ()
 
int ImageStreamIO_printERROR (const char *file, const char *func, int line, char *errmessage)
 
int ImageStreamIO_createSem (IMAGE *image, long NBsem)
 
int ImageStreamIO_createIm (IMAGE *image, const char *name, long naxis, uint32_t *size, uint8_t atype, int shared, int NBkw)
 
long ImageStreamIO_read_sharedmem_image_toIMAGE (const char *name, IMAGE *image)
 

Detailed Description

Read and Create image.

Read and create images and streams (shared memory)

Author
O. Guyon
Date
27 Jul 2017
Bug:
No known bugs.

Function Documentation

static int clock_gettime ( int  clk_id,
struct mach_timespec *  t 
)
static
int ImageStreamIO_createIm ( IMAGE *  image,
const char *  name,
long  naxis,
uint32_t *  size,
uint8_t  atype,
int  shared,
int  NBkw 
)
int ImageStreamIO_createSem ( IMAGE *  image,
long  NBsem 
)
int ImageStreamIO_printERROR ( const char *  file,
const char *  func,
int  line,
char *  errmessage 
)
long ImageStreamIO_read_sharedmem_image_toIMAGE ( const char *  name,
IMAGE *  image 
)
int_fast8_t init_ImageStreamIO ( )