cacao  Release 0.1.03-dev
Compute And Control For Adaptive Optics
COREMOD_memory.h
Go to the documentation of this file.
1 
12 #ifndef _COREMODMEMORY_H
13 #define _COREMODMEMORY_H
14 
15 /* the number of images in the data structure is kept NB_IMAGES_BUFFER above the number of used images prior to the execution of any function. It means that no function should create more than 100 images. */
16 #define NB_IMAGES_BUFFER 500
17 /* when the number of free images in the data structure is below NB_IMAGES_BUFFER, it is increased by NB_IMAGES_BUFFER */
18 #define NB_IMAGES_BUFFER_REALLOC 600
19 
20 /* the number of variables in the data structure is kept NB_VARIABLES_BUFFER above the number of used variables prior to the execution of any function. It means that no function should create more than 100 variables. */
21 #define NB_VARIABLES_BUFFER 100
22 /* when the number of free variables in the data structure is below NB_VARIABLES_BUFFER, it is increased by NB_VARIABLES_BUFFER */
23 #define NB_VARIABLES_BUFFER_REALLOC 150
24 
25 
26 /*void print_sys_mem_info();*/
27 
28 
29 typedef long imageID;
30 
34 typedef struct
35 {
36  char iname[100];
37  char fname[200];
38  int partial; // 1 if partial cube
39  long cubesize; // size of the cube
40 
41  int saveascii;
42  // 0 : Not saving ascii
43  // 1 : Saving ascii: arraycnt0, arraycnt1, arraytime
44  // 2 : ???
45 
46  char fnameascii[200]; // name of frame to be saved
47  uint64_t *arrayindex;
48  uint64_t *arraycnt0;
49  uint64_t *arraycnt1;
50 
51  double *arraytime;
53 
54 
55 
56 
57 
58 
59 
60 
61 
62 typedef struct
63 {
64  int on;
65  long long cnt;
66  long long filecnt;
67  long interval;
68  int logexit;
69  char fname[200];
70 } LOGSHIM_CONF;
71 
72 
73 
74 typedef struct
75 {
76  long cnt0;
77  long cnt1;
79 
80 
81 
82 void __attribute__((constructor)) libinit_COREMOD_memory();
83 
84 
85 
86 //int ImageCreateSem(IMAGE *image, long NBsem);
87 
88 //int ImageCreate(IMAGE *image, const char *name, long naxis, uint32_t *size, uint8_t datatype, int shared, int NBkw);
89 
90 
92 
93 
94 /* =============================================================================================== */
95 /* =============================================================================================== */
99 /* =============================================================================================== */
101 /* =============================================================================================== */
102 
103 
105  const char *termttyname
106 );
107 
108 long compute_nb_image();
109 
110 long compute_nb_variable();
111 
112 long long compute_image_memory();
113 
115 
117  const char *name
118 );
119 
121  const char *name
122 );
123 
125  const char *name
126 );
127 
129 
131 
133  const char *imname
134 );
135 
137  const char *prefix
138 );
139 
141  const char *varname
142 );
143 
145  const char *name,
146  long value
147 );
148 
150  const char *name,
151  const char *value
152 );
153 
155  const char *name,
156  long naxis,
157  uint32_t *size,
158  uint8_t datatype,
159  int shared,
160  int nbkw
161 );
162 
163 errno_t clearall();
164 
165 void *save_fits_function(
166  void *ptr
167 );
168 
170 
171 
172 
173 /* =============================================================================================== */
174 /* =============================================================================================== */
178 /* =============================================================================================== */
180 /* =============================================================================================== */
181 
183  const char *IDname,
184  const char *kname,
185  long value, const
186  char *comment
187 );
188 
190  const char *IDname,
191  const char *kname,
192  double value,
193  const char *comment
194 );
195 
197  const char *IDname,
198  const char *kname,
199  const char *value,
200  const char *comment
201 );
202 
204  const char *IDname
205 );
206 
208  const char *IDname,
209  const char *kname,
210  double *val
211 );
212 
214  const char *IDname,
215  const char *kname,
216  long *val
217 );
218 
220 
221 
222 
223 /* =============================================================================================== */
224 /* =============================================================================================== */
228 /* =============================================================================================== */
230 /* =============================================================================================== */
231 
232 
234  const char *name,
235  const char *fname
236 );
237 
239  const char *name
240 );
241 
243 
244 
245 
246 /* =============================================================================================== */
247 /* =============================================================================================== */
251 /* =============================================================================================== */
253 /* =============================================================================================== */
254 
255 
257  const char *ID_name,
258  uint32_t xsize
259 );
260 
262  const char *ID_name,
263  uint32_t xsize
264 );
265 
267  const char *ID_name,
268  uint32_t xsize,
269  uint32_t ysize
270 );
271 
273  const char *ID_name,
274  uint32_t xsize,
275  uint32_t ysize
276 );
277 
279  const char *ID_name,
280  uint32_t xsize,
281  uint32_t ysize
282 );
283 
285  const char *ID_name,
286  uint32_t xsize,
287  uint32_t ysize
288 );
289 
291  const char *ID_name,
292  uint32_t xsize,
293  uint32_t ysize,
294  uint32_t zsize
295 );
296 
298  const char *ID_name,
299  uint32_t xsize,
300  uint32_t ysize,
301  uint32_t zsize
302 );
303 
305  const char *ID_name,
306  uint32_t xsize,
307  uint32_t ysize,
308  uint32_t zsize
309 );
310 
312 
313 
314 
315 /* =============================================================================================== */
316 /* =============================================================================================== */
320 /* =============================================================================================== */
322 /* =============================================================================================== */
323 
325  const char *name,
326  double value
327 );
328 
330 
331 
332 
333 
334 
335 
336 /* =============================================================================================== */
337 /* =============================================================================================== */
341 /* =============================================================================================== */
343 /* =============================================================================================== */
344 
346  const char *name,
347  const char *newname,
348  int shared
349 );
350 
352  const char *ID_name,
353  const char *new_name
354 );
355 
357  const char *IDname,
358  const char *IDshmname
359 );
360 
362 
363 
364 
365 
366 
367 /* =============================================================================================== */
368 /* =============================================================================================== */
372 /* =============================================================================================== */
374 /* =============================================================================================== */
375 
377  const char *termttyname
378 );
379 
381 
383 
385  FILE *fo
386 );
387 
389  FILE *fo
390 );
391 
393 
395  const char *fname
396 );
397 
399 
401  const char *fname
402 );
403 
404 
406 
407 
408 
409 /* =============================================================================================== */
410 /* =============================================================================================== */
414 /* =============================================================================================== */
416 /* =============================================================================================== */
417 
419  const char *re_name,
420  const char *im_name,
421  const char *out_name,
422  int sharedmem
423 );
424 
426  const char *am_name,
427  const char *ph_name,
428  const char *out_name,
429  int sharedmem
430 );
431 
433  const char *in_name,
434  const char *re_name,
435  const char *im_name,
436  int sharedmem
437 );
438 
440  const char *in_name,
441  const char *am_name,
442  const char *ph_name,
443  int sharedmem
444 );
445 
447  const char *am_name,
448  const char *ph_name,
449  const char *re_out_name,
450  const char *im_out_name,
451  int sharedmem
452 );
453 
455  const char *re_name,
456  const char *im_name,
457  const char *am_out_name,
458  const char *ph_out_name,
459  int sharedmem
460 );
461 
463 
464 
465 
466 
467 
468 /* =============================================================================================== */
469 /* =============================================================================================== */
473 /* =============================================================================================== */
475 /* =============================================================================================== */
476 
477 int check_2Dsize(
478  const char *ID_name,
479  uint32_t xsize,
480  uint32_t ysize
481 );
482 
483 int check_3Dsize(
484  const char *ID_name,
485  uint32_t xsize,
486  uint32_t ysize,
487  uint32_t zsize
488 );
489 
491  const char *IDname,
492  uint32_t xsize,
493  uint32_t ysize
494 );
495 
497  const char *IDname,
498  uint32_t xsize,
499  uint32_t ysize,
500  uint32_t zsize
501 );
502 
504 
505 
506 
507 
508 /* =============================================================================================== */
509 /* =============================================================================================== */
513 /* =============================================================================================== */
515 /* =============================================================================================== */
516 
517 errno_t rotate_cube(const char *ID_name, const char *ID_out_name,
518  int orientation);
519 
521 
522 
523 
524 
525 
526 /* =============================================================================================== */
527 /* =============================================================================================== */
531 /* =============================================================================================== */
533 /* =============================================================================================== */
534 
536  const char *IDname,
537  int status
538 );
539 
541  const char *IDname,
542  int cnt0
543 );
544 
546  const char *IDname,
547  int cnt1
548 );
549 
551 
552 
553 
554 
555 /* =============================================================================================== */
556 /* =============================================================================================== */
560 /* =============================================================================================== */
562 /* =============================================================================================== */
563 
565  const char *IDname,
566  long NBsem
567 );
568 
569 
571  const char *IDname
572 );
573 
575  const char *IDname,
576  long index
577 );
578 
580  imageID ID,
581  long index
582 );
583 
585  imageID ID,
586  long index
587 );
588 
590  const char *IDname,
591  long index,
592  long dtus
593 );
594 
596  const char *IDname,
597  long index
598 );
599 
600 void *waitforsemID(
601  void *ID
602 );
603 
605  imageID *IDarray,
606  long NB_ID
607 );
608 
610  imageID *IDarray,
611  long NB_ID
612 );
613 
615  const char *IDname,
616  long index
617 );
618 
620 
621 
622 
623 /* =============================================================================================== */
624 /* =============================================================================================== */
628 /* =============================================================================================== */
630 /* =============================================================================================== */
631 
632 
636  const char *IDstream_name,
637  long usperiod
638 );
639 
640 
644  const char *IDstream0_name,
645  const char *IDstream1_name,
646  const char *IDstreammask_name,
647  const char *IDstreamout_name,
648  long semtrig
649 );
650 
651 
655  const char *IDstream0_name,
656  const char *IDstream1_name,
657  const char *IDstreamout_name,
658  long semtrig0,
659  long semtrig1,
660  int master
661 );
662 
663 
667  const char *IDstream_name,
668  const char *IDstreamout_name,
669  long semtrig
670 );
671 
672 
683  const char *IDstream_name,
684  int NBave,
685  int mode,
686  const char *IDout_name
687 );
688 
689 
690 
691 
695  const char *IDinname,
696  const char *IDoutname,
697  long usperiod,
698  long NBcubes,
699  long period,
700  long offsetus,
701  const char *IDsync_name,
702  int semtrig,
703  int timingmode
704 );
705 
706 
720  const char *IDinname,
721  const char *IDoutname,
722  long period,
723  long offsetus,
724  const char *IDsync_name,
725  int semtrig,
726  int timingmode
727 );
728 
729 
731  char *fpsname,
732  uint32_t CMDmode
733 );
734 
736  char *fpsname
737 );
738 
739 
741  const char *IDin_name,
742  const char *IDout_name,
743  long delayus,
744  long dtus
745 );
746 
747 
748 
750  const char *dirname
751 );
752 
753 
755  const char *dirname,
756  const char *IDtrig_name,
757  long semtrig,
758  long NBframes
759 );
760 
761 
763  const char *IDname,
764  int semtrig,
765  int testmode
766 );
767 
768 
769 
771  const char *IDname,
772  const char *IPaddr,
773  int port,
774  int mode,
775  int RT_priority
776 );
777 
779  int port,
780  int mode,
781  int RT_priority
782 );
783 
784 
786  const char *inputstream_name,
787  uint32_t xsizeim,
788  uint32_t ysizeim,
789  const char *NBpix_fname,
790  const char *IDmap_name,
791  const char *IDout_name,
792  const char *IDout_pixslice_fname
793 );
794 
796 
797 
798 
799 
800 
801 /* =============================================================================================== */
802 /* =============================================================================================== */
806 /* =============================================================================================== */
808 /* =============================================================================================== */
809 
810 
812  const char *IDname
813 );
814 
816  const char *IDname,
817  int setv
818 );
819 
821  const char *IDname,
822  int setv
823 );
824 
826  const char *IDname,
827  uint32_t zsize,
828  const char *logdir,
829  const char *IDlogdata_name
830 );
831 
833 
834 
835 #endif
errno_t list_image_ID_ofp(FILE *fo)
Definition: COREMOD_memory.c:4585
long image_write_keyword_L(const char *IDname, const char *kname, long value, const char *comment)
Definition: COREMOD_memory.c:3011
long variableID
Definition: CLIcore.h:55
imageID create_2Dimage_ID_double(const char *ID_name, uint32_t xsize, uint32_t ysize)
Definition: COREMOD_memory.c:3544
errno_t mk_complex_from_reim(const char *re_name, const char *im_name, const char *out_name, int sharedmem)
Definition: COREMOD_memory.c:4966
imageID COREMOD_MEMORY_image_set_sempost_loop(const char *IDname, long index, long dtus)
Definition: COREMOD_memory.c:5993
imageID read_sharedmem_image_size(const char *name, const char *fname)
Definition: COREMOD_memory.c:3250
long cubesize
Definition: COREMOD_memory.h:39
imageID read_sharedmem_image(const char *name)
Definition: COREMOD_memory.c:3328
imageID create_1DCimage_ID(const char *ID_name, uint32_t xsize)
Definition: COREMOD_memory.c:3480
long image_read_keyword_L(const char *IDname, const char *kname, long *val)
Definition: COREMOD_memory.c:3193
errno_t COREMOD_MEMORY_logshim_set_on(const char *IDname, int setv)
Definition: COREMOD_memory.c:10189
int COREMOD_MEMORY_check_2Dsize(const char *IDname, uint32_t xsize, uint32_t ysize)
Definition: COREMOD_memory.c:5595
errno_t COREMOD_MEMORY_image_set_semwait_OR_IDarray(imageID *IDarray, long NB_ID)
Wait for multiple images semaphores [OR], only works for sem0.
Definition: COREMOD_memory.c:6076
errno_t rotate_cube(const char *ID_name, const char *ID_out_name, int orientation)
Definition: COREMOD_memory.c:5684
errno_t list_image_ID_ofp_simple(FILE *fo)
Definition: COREMOD_memory.c:4766
imageID COREMOD_MEMORY_streamPaste(const char *IDstream0_name, const char *IDstream1_name, const char *IDstreamout_name, long semtrig0, long semtrig1, int master)
Paste two equal size 2D streams into an output 2D stream.
Definition: COREMOD_memory.c:6442
errno_t list_variable_ID_file(const char *fname)
Definition: COREMOD_memory.c:4931
errno_t list_image_ID()
Definition: COREMOD_memory.c:4798
imageID COREMOD_MEMORY_image_seminfo(const char *IDname)
Definition: COREMOD_memory.c:5896
errno_t COREMOD_MEMORY_cp2shm(const char *IDname, const char *IDshmname)
Definition: COREMOD_memory.c:4147
imageID chname_image_ID(const char *ID_name, const char *new_name)
Definition: COREMOD_memory.c:4110
errno_t COREMOD_MEMORY_testfunc()
Definition: COREMOD_memory.c:2207
long image_write_keyword_D(const char *IDname, const char *kname, double value, const char *comment)
Definition: COREMOD_memory.c:3049
long interval
Definition: COREMOD_memory.h:67
long long filecnt
Definition: COREMOD_memory.h:66
imageID COREMOD_MEMORY_streamDelay_RUN(char *fpsname)
Delay image stream by time offset.
Definition: COREMOD_memory.c:7791
void close_list_image_ID_ncurses()
Definition: COREMOD_memory.c:4569
imageID create_image_ID(const char *name, long naxis, uint32_t *size, uint8_t datatype, int shared, int nbkw)
Definition: COREMOD_memory.c:3383
errno_t mk_reim_from_complex(const char *in_name, const char *re_name, const char *im_name, int sharedmem)
Definition: COREMOD_memory.c:5224
imageID COREMOD_MEMORY_image_set_createsem(const char *IDname, long NBsem)
Definition: COREMOD_memory.c:5876
imageID COREMOD_MEMORY_image_set_semwait(const char *IDname, long index)
Definition: COREMOD_memory.c:6017
imageID create_1Dimage_ID(const char *ID_name, uint32_t xsize)
Definition: COREMOD_memory.c:3453
uint64_t * arrayindex
Definition: COREMOD_memory.h:47
imageID create_2Dimage_ID(const char *ID_name, uint32_t xsize, uint32_t ysize)
Definition: COREMOD_memory.c:3507
errno_t COREMOD_MEMORY_SaveAll_sequ(const char *dirname, const char *IDtrig_name, long semtrig, long NBframes)
Definition: COREMOD_memory.c:8264
Definition: COREMOD_memory.h:74
int partial
Definition: COREMOD_memory.h:38
errno_t COREMOD_MEMORY_image_set_status(const char *IDname, int status)
Definition: COREMOD_memory.c:5815
imageID COREMOD_MEMORY_image_set_semflush(const char *IDname, long index)
set semaphore value to 0
Definition: COREMOD_memory.c:6147
long cnt1
Definition: COREMOD_memory.h:77
imageID COREMOD_MEMORY_image_set_sempost_excl_byID(imageID ID, long index)
Definition: COREMOD_memory.c:5976
errno_t mk_complex_from_amph(const char *am_name, const char *ph_name, const char *out_name, int sharedmem)
Definition: COREMOD_memory.c:5074
long long compute_image_memory()
Definition: COREMOD_memory.c:2335
errno_t delete_image_ID_prefix(const char *prefix)
Definition: COREMOD_memory.c:2714
imageID COREMOD_MEMORY_image_streamupdateloop_semtrig(const char *IDinname, const char *IDoutname, long period, long offsetus, const char *IDsync_name, int semtrig, int timingmode)
takes a 3Dimage (circular buffer) and writes slices to a 2D image synchronized with an image semaphor...
long imageID
Definition: COREMOD_memory.h:29
void * waitforsemID(void *ID)
Definition: COREMOD_memory.c:6040
errno_t delete_image_ID(const char *imname)
Definition: COREMOD_memory.c:2545
Definition: COREMOD_memory.h:62
int errno_t
Definition: AOloopControl_IOtools.h:20
int COREMOD_MEMORY_check_3Dsize(const char *IDname, uint32_t xsize, uint32_t ysize, uint32_t zsize)
Definition: COREMOD_memory.c:5630
imageID create_3Dimage_ID_double(const char *ID_name, uint32_t xsize, uint32_t ysize, uint32_t zsize)
Definition: COREMOD_memory.c:3646
long imageID
Definition: CLIcore.h:54
imageID create_3Dimage_ID(const char *ID_name, uint32_t xsize, uint32_t ysize, uint32_t zsize)
Definition: COREMOD_memory.c:3670
imageID COREMOD_MEMORY_stream_halfimDiff(const char *IDstream_name, const char *IDstreamout_name, long semtrig)
Definition: COREMOD_memory.c:6682
int logexit
Definition: COREMOD_memory.h:68
errno_t clearall()
Definition: COREMOD_memory.c:2756
long compute_nb_image()
Definition: COREMOD_memory.c:2302
int check_3Dsize(const char *ID_name, uint32_t xsize, uint32_t ysize, uint32_t zsize)
Definition: COREMOD_memory.c:5549
errno_t init_list_image_ID_ncurses(const char *termttyname)
Definition: COREMOD_memory.c:4324
errno_t list_image_ID_file(const char *fname)
Definition: COREMOD_memory.c:4816
variableID next_avail_variable_ID()
Definition: COREMOD_memory.c:2519
variableID create_variable_ID(const char *name, double value)
Definition: COREMOD_memory.c:3769
imageID COREMOD_MEMORY_streamDiff(const char *IDstream0_name, const char *IDstream1_name, const char *IDstreammask_name, const char *IDstreamout_name, long semtrig)
Difference between two streams.
Definition: COREMOD_memory.c:6346
void __attribute__((constructor)) libinit_COREMOD_memory()
Initialize module.
Definition: ImageStreamIO.c:77
long cnt0
Definition: COREMOD_memory.h:76
errno_t COREMOD_MEMORY_testfunction_semaphore(const char *IDname, int semtrig, int testmode)
Definition: COREMOD_memory.c:8387
errno_t memory_monitor(const char *termttyname)
Definition: COREMOD_memory.c:2282
variableID create_variable_long_ID(const char *name, long value)
Definition: COREMOD_memory.c:3819
imageID COREMOD_MEMORY_image_NETWORKreceive(int port, int mode, int RT_priority)
errno_t COREMOD_MEMORY_logshim_set_logexit(const char *IDname, int setv)
Definition: COREMOD_memory.c:10239
errno_t COREMOD_MEMORY_streamDelay(const char *IDin_name, const char *IDout_name, long delayus, long dtus)
Definition: COREMOD_memory.c:8148
int check_2Dsize(const char *ID_name, uint32_t xsize, uint32_t ysize)
Definition: COREMOD_memory.c:5517
imageID create_2DCimage_ID(const char *ID_name, uint32_t xsize, uint32_t ysize)
Definition: COREMOD_memory.c:3565
long image_read_keyword_D(const char *IDname, const char *kname, double *val)
Definition: COREMOD_memory.c:3166
imageID create_2DCimage_ID_double(const char *ID_name, uint32_t xsize, uint32_t ysize)
Definition: COREMOD_memory.c:3595
errno_t COREMOD_MEMORY_image_set_cnt1(const char *IDname, int cnt1)
Definition: COREMOD_memory.c:5843
long compute_variable_memory()
Definition: COREMOD_memory.c:2359
errno_t list_image_ID_ncurses()
Definition: COREMOD_memory.c:4351
variableID variable_ID(const char *name)
Definition: COREMOD_memory.c:2448
errno_t list_variable_ID()
Definition: COREMOD_memory.c:4916
errno_t mk_amph_from_reim(const char *re_name, const char *im_name, const char *am_out_name, const char *ph_out_name, int sharedmem)
Definition: COREMOD_memory.c:5473
errno_t mk_reim_from_amph(const char *am_name, const char *ph_name, const char *re_out_name, const char *im_out_name, int sharedmem)
Definition: COREMOD_memory.c:5456
imageID create_3DCimage_ID(const char *ID_name, uint32_t xsize, uint32_t ysize, uint32_t zsize)
Definition: COREMOD_memory.c:3706
errno_t COREMOD_MEMORY_sharedMem_2Dim_log(const char *IDname, uint32_t zsize, const char *logdir, const char *IDlogdata_name)
errno_t COREMOD_MEMORY_image_set_cnt0(const char *IDname, int cnt0)
Definition: COREMOD_memory.c:5829
errno_t COREMOD_MEMORY_logshim_printstatus(const char *IDname)
Definition: COREMOD_memory.c:10123
variableID create_variable_string_ID(const char *name, const char *value)
Definition: COREMOD_memory.c:3861
imageID image_ID_noaccessupdate(const char *name)
Definition: COREMOD_memory.c:2413
imageID COREMOD_MEMORY_streamAve(const char *IDstream_name, int NBave, int mode, const char *IDout_name)
Averages frames in stream.
Definition: COREMOD_memory.c:6892
errno_t COREMOD_MEMORY_SaveAll_snapshot(const char *dirname)
Definition: COREMOD_memory.c:8194
imageID COREMOD_MEMORY_image_NETWORKtransmit(const char *IDname, const char *IPaddr, int port, int mode, int RT_priority)
Definition: COREMOD_memory.c:8489
long image_list_keywords(const char *IDname)
Definition: COREMOD_memory.c:3130
int on
Definition: COREMOD_memory.h:64
errno_t mk_amph_from_complex(const char *in_name, const char *am_name, const char *ph_name, int sharedmem)
Definition: COREMOD_memory.c:5335
imageID COREMOD_MEMORY_image_set_sempost(const char *IDname, long index)
Definition: COREMOD_memory.c:5938
long long cnt
Definition: COREMOD_memory.h:65
uint64_t * arraycnt0
Definition: COREMOD_memory.h:48
imageID COREMOD_MEMORY_image_streamupdateloop(const char *IDinname, const char *IDoutname, long usperiod, long NBcubes, long period, long offsetus, const char *IDsync_name, int semtrig, int timingmode)
takes a 3Dimage (circular buffer) and writes slices to a 2D image with time interval specified in us ...
long compute_nb_variable()
Definition: COREMOD_memory.c:2318
imageID COREMOD_MEMORY_streamPoke(const char *IDstream_name, long usperiod)
Poke stream at regular intervals.
Definition: COREMOD_memory.c:6198
double * arraytime
Definition: COREMOD_memory.h:51
int saveascii
Definition: COREMOD_memory.h:41
imageID COREMOD_MEMORY_image_set_sempost_byID(imageID ID, long index)
Definition: COREMOD_memory.c:5961
void * save_fits_function(void *ptr)
Definition: COREMOD_memory.c:2789
imageID copy_image_ID(const char *name, const char *newname, int shared)
Definition: COREMOD_memory.c:3926
errno_t COREMOD_MEMORY_streamDelay_FPCONF(char *fpsname, uint32_t CMDmode)
Manages configuration parameters for streamDelay.
Definition: COREMOD_memory.c:7686
Definition: COREMOD_memory.h:34
errno_t COREMOD_MEMORY_image_set_semflush_IDarray(imageID *IDarray, long NB_ID)
flush multiple semaphores
Definition: COREMOD_memory.c:6115
imageID COREMOD_MEMORY_PixMapDecode_U(const char *inputstream_name, uint32_t xsizeim, uint32_t ysizeim, const char *NBpix_fname, const char *IDmap_name, const char *IDout_name, const char *IDout_pixslice_fname)
Definition: COREMOD_memory.c:9622
imageID image_ID(const char *name)
Definition: COREMOD_memory.c:2377
uint64_t * arraycnt1
Definition: COREMOD_memory.h:49
imageID next_avail_image_ID()
Definition: COREMOD_memory.c:2484
errno_t delete_variable_ID(const char *varname)
Definition: COREMOD_memory.c:2734
long image_write_keyword_S(const char *IDname, const char *kname, const char *value, const char *comment)
Definition: COREMOD_memory.c:3089