1 | /* ------------------ */ |
---|
2 | /* --- nralloc3.h --- */ |
---|
3 | /* ------------------ */ |
---|
4 | |
---|
5 | /* |
---|
6 | * Copyright (c) 2000-2014, Lionel Lacassagne, All rights reserved |
---|
7 | * Univ Paris Sud XI, CNRS |
---|
8 | * |
---|
9 | */ |
---|
10 | |
---|
11 | |
---|
12 | #ifndef __NRALLOC3_H__ |
---|
13 | #define __NRALLOC3_H__ |
---|
14 | |
---|
15 | #ifdef __cplusplus |
---|
16 | #pragma message ("C++") |
---|
17 | extern "C" { |
---|
18 | #endif |
---|
19 | |
---|
20 | #ifdef VERBOSE_PRAGMA |
---|
21 | //#pragma message ("- *** include nralloc3.h ***") |
---|
22 | #endif |
---|
23 | |
---|
24 | double*** d3tensor(long nrl, long nrh, long ncl, long nch, long ndl, long ndh); |
---|
25 | void free_d3tensor(double ***t,long nrl,long nrh,long ncl,long nch,long ndl,long ndh); |
---|
26 | |
---|
27 | |
---|
28 | |
---|
29 | IMAGE_EXPORT(sint8***) si8cube(long ndl, long ndh, long nrl, long nrh, long ncl, long nch); |
---|
30 | IMAGE_EXPORT(uint8***) ui8cube(long ndl, long ndh, long nrl, long nrh, long ncl, long nch); |
---|
31 | IMAGE_EXPORT(sint16***) si16cube(long ndl, long ndh, long nrl, long nrh, long ncl, long nch); |
---|
32 | IMAGE_EXPORT(uint16***) ui16cube(long ndl, long ndh, long nrl, long nrh, long ncl, long nch); |
---|
33 | IMAGE_EXPORT(sint32***) si32cube(long ndl, long ndh, long nrl, long nrh, long ncl, long nch); |
---|
34 | IMAGE_EXPORT(uint32***) ui32cube(long ndl, long ndh, long nrl, long nrh, long ncl, long nch); |
---|
35 | IMAGE_EXPORT(float32***) f32cube(long ndl, long ndh, long nrl, long nrh, long ncl, long nch); |
---|
36 | IMAGE_EXPORT(float64***) f64cube(long ndl, long ndh, long nrl, long nrh, long ncl, long nch); |
---|
37 | IMAGE_EXPORT(rgb8***) rgb8cube(long ndl, long ndh, long nrl, long nrh, long ncl, long nch); |
---|
38 | IMAGE_EXPORT(rgbx8***) rgbx8cube(long ndl, long ndh, long nrl, long nrh, long ncl, long nch); |
---|
39 | |
---|
40 | IMAGE_EXPORT(void) free_si8cube (sint8 ***c,long nrl,long nrh,long ncl,long nch,long ndl,long ndh); |
---|
41 | IMAGE_EXPORT(void) free_ui8cube (uint8 ***c,long nrl,long nrh,long ncl,long nch,long ndl,long ndh); |
---|
42 | IMAGE_EXPORT(void) free_si16cube (sint16 ***c,long nrl,long nrh,long ncl,long nch,long ndl,long ndh); |
---|
43 | IMAGE_EXPORT(void) free_ui16cube (uint16 ***c,long nrl,long nrh,long ncl,long nch,long ndl,long ndh); |
---|
44 | IMAGE_EXPORT(void) free_si32cube (sint32 ***c,long nrl,long nrh,long ncl,long nch,long ndl,long ndh); |
---|
45 | IMAGE_EXPORT(void) free_ui32cube (uint32 ***c,long nrl,long nrh,long ncl,long nch,long ndl,long ndh); |
---|
46 | IMAGE_EXPORT(void) free_f32cube (float32 ***c,long nrl,long nrh,long ncl,long nch,long ndl,long ndh); |
---|
47 | IMAGE_EXPORT(void) free_f64cube (float64 ***c,long nrl,long nrh,long ncl,long nch,long ndl,long ndh); |
---|
48 | IMAGE_EXPORT(void) free_rgb8cube (rgb8 ***c,long nrl,long nrh,long ncl,long nch,long ndl,long ndh); |
---|
49 | IMAGE_EXPORT(void) free_rgbx8cube(rgbx8 ***c,long nrl,long nrh,long ncl,long nch,long ndl,long ndh); |
---|
50 | |
---|
51 | #ifdef __cplusplus |
---|
52 | } |
---|
53 | #endif |
---|
54 | |
---|
55 | #endif /* __NRALLOC3_H__ */ |
---|