Changeset 823 for soft/giet_vm/applications/rosenfeld/nrc2/include
- Timestamp:
- Jun 14, 2016, 5:23:56 PM (8 years ago)
- Location:
- soft/giet_vm/applications/rosenfeld/nrc2/include
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/applications/rosenfeld/nrc2/include/nrio2x.h
r772 r823 11 11 #define __NRIO2X_H__ 12 12 13 #ifdef __cplusplus14 #pragma message ("C++")15 extern "C" {16 #endif17 18 #ifdef VERBOSE_PRAGMA19 //#pragma message ("- *** include nrio2x.h ***")20 #endif21 13 22 IMAGE_EXPORT(void) display_matrix_endline (byte **m, long i0, long i1, long j0, long j1, char *format, char *name); 23 IMAGE_EXPORT(void) display_i16matrix_endline (int16 **m, long i0, long i1, long j0, long j1, char *format, char *name); 24 IMAGE_EXPORT(void) display_ui16matrix_endline(uint16 **m, long i0, long i1, long j0, long j1, char *format, char *name); 25 IMAGE_EXPORT(void) display_i32matrix_endline (int32 **m, long i0, long i1, long j0, long j1, char *format, char *name); 26 IMAGE_EXPORT(void) display_ui32matrix_endline(uint32 **m, long i0, long i1, long j0, long j1, char *format, char *name); 27 IMAGE_EXPORT(void) display_i64matrix_endline (int64 **m, long i0, long i1, long j0, long j1, char *format, char *name); 28 IMAGE_EXPORT(void) display_imatrix_endline (int **m, long i0, long i1, long j0, long j1, char *format, char *name); 14 /* ------------------------------ */ 15 /* --- display_matrix_endline --- */ 16 /* --- display_matrix_endline0 --- */ 17 /* --- display_matrix_endline1 --- */ 18 /* --- display_matrix_number_endline0 --- */ 19 /* --- display_matrix_number_endline1 --- */ 20 /* ------------------------------ */ 29 21 30 /* ------------------------------- */ 31 /* --- display_matrix_endline0 --- */ 22 #define display_type_matrix_endline(t) \ 23 void short_name(t,display_,matrix_endline)(t ** m, int32_t i0, int32_t i1, int32_t j0, int32_t j1, char * format, char * name); \ 24 void short_name(t,display_,matrix_endline0)(t ** m, int32_t i0, int32_t i1, int32_t j0, int32_t j1, char * format, char * name); \ 25 void short_name(t,display_,matrix_endline1)(t ** m, int32_t i0, int32_t i1, int32_t j0, int32_t j1, char * format, char * name); \ 26 void short_name(t,display_,matrix_number_endline0)(t ** m, int32_t i0, int32_t i1, int32_t j0, int32_t j1, char * format, char * name); \ 27 void short_name(t,display_,matrix_number_endline1)(t ** m, int32_t i0, int32_t i1, int32_t j0, int32_t j1, char * format, char * name); 32 28 33 IMAGE_EXPORT(void) display_bmatrix_endline0 (byte **m, long i0, long i1, char *format, char *name); 34 IMAGE_EXPORT(void) display_i16matrix_endline0 (int16 **m, long i0, long i1, char *format, char *name); 35 IMAGE_EXPORT(void) display_ui16matrix_endline0(uint16 **m, long i0, long i1, char *format, char *name); 36 IMAGE_EXPORT(void) display_i32matrix_endline0 (int32 **m, long i0, long i1, char *format, char *name); 37 IMAGE_EXPORT(void) display_ui32matrix_endline0(uint32 **m, long i0, long i1, char *format, char *name); 38 IMAGE_EXPORT(void) display_i64matrix_endline0 (int64 **m, long i0, long i1, char *format, char *name); 39 IMAGE_EXPORT(void) display_imatrix_endline0 (int **m, long i0, long i1, char *format, char *name); 29 display_type_matrix_endline(int8_t); 30 display_type_matrix_endline(uint8_t); 31 display_type_matrix_endline(int16_t); 32 display_type_matrix_endline(uint16_t); 33 display_type_matrix_endline(int32_t); 34 display_type_matrix_endline(uint32_t); 35 display_type_matrix_endline(int64_t); 36 display_type_matrix_endline(uint64_t); 40 37 41 /* ------------------------------- */42 /* --- display_matrix_endline1 --- */43 /* ------------------------------- */44 IMAGE_EXPORT(void) display_bmatrix_endline1 (byte **m,long i0, long i1, long j0, long j1, char *format, char *name);45 IMAGE_EXPORT(void) display_i16matrix_endline1 (int16 **m,long i0, long i1, long j0, long j1, char *format, char *name);46 IMAGE_EXPORT(void) display_ui16matrix_endline1(uint16 **m,long i0, long i1, long j0, long j1, char *format, char *name);47 IMAGE_EXPORT(void) display_i32matrix_endline1 (int32 **m,long i0, long i1, long j0, long j1, char *format, char *name);48 IMAGE_EXPORT(void) display_ui32matrix_endline1(uint32 **m,long i0, long i1, long j0, long j1, char *format, char *name);49 IMAGE_EXPORT(void) display_i64matrix_endline1 (int64 **m,long i0, long i1, long j0, long j1, char *format, char *name);50 IMAGE_EXPORT(void) display_imatrix_endline1 (int **m,long i0, long i1, long j0, long j1, char *format, char *name);51 52 /* -------------------------------------- */53 /* --- display_matrix_number_endline0 --- */54 /* -------------------------------------- */55 56 IMAGE_EXPORT(void) display_bmatrix_number_endline0 (byte **m,long i0, long i1, long j0, long j1, char *format, char *name);57 IMAGE_EXPORT(void) display_i16matrix_number_endline0 (int16 **m,long i0, long i1, long j0, long j1, char *format, char *name);58 IMAGE_EXPORT(void) display_ui16matrix_number_endline0(uint16 **m,long i0, long i1, long j0, long j1, char *format, char *name);59 IMAGE_EXPORT(void) display_i32matrix_number_endline0 (int32 **m,long i0, long i1, long j0, long j1, char *format, char *name);60 IMAGE_EXPORT(void) display_ui32matrix_number_endline0(uint32 **m,long i0, long i1, long j0, long j1, char *format, char *name);61 IMAGE_EXPORT(void) display_i64matrix_number_endline0 (int64 **m,long i0, long i1, long j0, long j1, char *format, char *name);62 IMAGE_EXPORT(void) display_imatrix_number_endline0 (int **m,long i0, long i1, long j0, long j1, char *format, char *name);63 64 /* -------------------------------------- */65 /* --- display_matrix_number_endline1 --- */66 /* -------------------------------------- */67 68 IMAGE_EXPORT(void) display_bmatrix_number_endline1 (byte **m,long i0, long i1, long j0, long j1, char *format, char *name);69 IMAGE_EXPORT(void) display_i16matrix_number_endline1 (int16 **m,long i0, long i1, long j0, long j1, char *format, char *name);70 IMAGE_EXPORT(void) display_ui16matrix_number_endline1(uint16 **m,long i0, long i1, long j0, long j1, char *format, char *name);71 IMAGE_EXPORT(void) display_i32matrix_number_endline1 (int32 **m,long i0, long i1, long j0, long j1, char *format, char *name);72 IMAGE_EXPORT(void) display_ui32matrix_number_endline1(uint32 **m,long i0, long i1, long j0, long j1, char *format, char *name);73 IMAGE_EXPORT(void) display_i64matrix_number_endline1 (int64 **m,long i0, long i1, long j0, long j1, char *format, char *name);74 IMAGE_EXPORT(void) display_imatrix_number_endline1 (int **m,long i0, long i1, long j0, long j1, char *format, char *name);75 38 76 39 /* ------------------------- */ … … 78 41 /* ------------------------- */ 79 42 80 IMAGE_EXPORT(void) display_btrimatrix (byte **m, long i0, long i1, long j0, long j1, long step, char *format, char *name); 81 IMAGE_EXPORT(void) display_i16trimatrix (int16 **m, long i0, long i1, long j0, long j1, long step, char *format, char *name); 82 IMAGE_EXPORT(void) display_ui16trimatrix(uint16 **m, long i0, long i1, long j0, long j1, long step, char *format, char *name); 83 IMAGE_EXPORT(void) display_itrimatrix (int **m, long i0, long i1, long j0, long j1, long step, char *format, char *name); 84 IMAGE_EXPORT(void) display_i32trimatrix (int32 **m, long i0, long i1, long j0, long j1, long step, char *format, char *name); 85 IMAGE_EXPORT(void) display_f32trimatrix (float32 **m, long i0, long i1, long j0, long j1, long step, char *format, char *name); 86 IMAGE_EXPORT(void) display_f64trimatrix (float64 **m, long i0, long i1, long j0, long j1, long step, char *format, char *name); 43 #define display_type_trimatrix(t) \ 44 void short_name(t,display_,trimatrix)(t ** m, int32_t i0, int32_t i1, int32_t j0, int32_t j1, int32_t step, char * format, char * name); 45 46 display_type_trimatrix(int8_t); 47 display_type_trimatrix(uint8_t); 48 display_type_trimatrix(int16_t); 49 display_type_trimatrix(uint16_t); 50 display_type_trimatrix(int32_t); 51 display_type_trimatrix(uint32_t); 52 display_type_trimatrix(int64_t); 53 display_type_trimatrix(uint64_t); 54 display_type_trimatrix(float); 55 display_type_trimatrix(double); 56 57 58 87 59 88 60 /* ----------------------- */ 89 61 /* --- write_trimatrix --- */ 62 /* --- write_matrix_endline --- */ 63 /* --- write_imatrix_endline0 --- */ 64 /* --- write_imatrix_endline1 --- */ 65 /* --- write_imatrix_number_endline0 --- */ 66 /* --- write_imatrix_number_endline1 --- */ 67 /* -- fwrite_trimatrix -- */ 68 /* -- fread_trimatrix -- */ 90 69 /* ----------------------- */ 91 70 92 IMAGE_EXPORT(void) write_btrimatrix (byte **m,long i0,long i1,long j0, long j1, long step, char *format, char *filename); 93 IMAGE_EXPORT(void) write_i16trimatrix (int16 **m,long i0,long i1,long j0, long j1, long step, char *format, char *filename); 94 IMAGE_EXPORT(void) write_ui16trimatrix(uint16 **m,long i0,long i1,long j0, long j1, long step, char *format, char *filename); 95 IMAGE_EXPORT(void) write_itrimatrix (int **m,long i0,long i1,long j0, long j1, long step, char *format, char *filename); 96 IMAGE_EXPORT(void) write_i32trimatrix (int32 **m,long i0,long i1,long j0, long j1, long step, char *format, char *filename); 97 IMAGE_EXPORT(void) write_f32trimatrix (float32 **m,long i0,long i1,long j0, long j1, long step, char *format, char *filename); 98 IMAGE_EXPORT(void) write_f64trimatrix (float64 **m,long i0,long i1,long j0, long j1, long step, char *format, char *filename); 71 #define write_type_trimatrix(t) \ 72 void short_name(t,write_,trimatrix)(t ** m, int32_t i0, int32_t i1, int32_t j0, int32_t j1, int32_t step, char * format, char * filename); \ 73 void short_name(t,write_,matrix_endline)(t ** m, int32_t i0, int32_t i1, int32_t j0, int32_t j1, char * format, char * filename); \ 74 void short_name(t,write_,matrix_endline0)(t ** m, int32_t i0, int32_t i1, int32_t j0, int32_t j1, char * format, char * filename); \ 75 void short_name(t,write_,matrix_endline1)(t ** m, int32_t i0, int32_t i1, int32_t j0, int32_t j1, char * format, char * filename); \ 76 void short_name(t,write_,matrix_number_endline0)(t ** m, int32_t i0, int32_t i1, int32_t j0, int32_t j1, char * format, char * filename); \ 77 void short_name(t,write_,matrix_number_endline1)(t ** m, int32_t i0, int32_t i1, int32_t j0, int32_t j1, char * format, char * filename); \ 78 void short_name(t,fwrite_,trimatrix)(t ** m, int32_t i0, int32_t i1, int32_t j0, int32_t j1, int32_t step, char * filename); \ 79 void short_name(t,fread_,trimatrix)(char * filename, t ** m, int32_t i0, int32_t i1, int32_t j0, int32_t j1, int32_t step); 99 80 100 /* ---------------------------- */ 101 /* --- write_matrix_endline --- */ 102 /* ---------------------------- */ 81 write_type_trimatrix(int8_t); 82 write_type_trimatrix(uint8_t); 83 write_type_trimatrix(int16_t); 84 write_type_trimatrix(uint16_t); 85 write_type_trimatrix(int32_t); 86 write_type_trimatrix(uint32_t); 87 write_type_trimatrix(int64_t); 88 write_type_trimatrix(uint64_t); 89 write_type_trimatrix(float); 90 write_type_trimatrix(double); 103 91 104 IMAGE_EXPORT(void) write_bmatrix_endline (byte **m,long i0, long i1, long j0, long j1, char *format, char *filename);105 IMAGE_EXPORT(void) write_i16matrix_endline (int16 **m,long i0, long i1, long j0, long j1, char *format, char *filename);106 IMAGE_EXPORT(void) write_ui16matrix_endline(uint16 **m,long i0, long i1, long j0, long j1, char *format, char *filename);107 IMAGE_EXPORT(void) write_i32matrix_endline (int32 **m,long i0, long i1, long j0, long j1, char *format, char *filename);108 IMAGE_EXPORT(void) write_ui32matrix_endline(uint32 **m,long i0, long i1, long j0, long j1, char *format, char *filename);109 IMAGE_EXPORT(void) write_i64matrix_endline (int64 **m,long i0, long i1, long j0, long j1, char *format, char *filename);110 IMAGE_EXPORT(void) write_imatrix_endline (int **m,long i0, long i1, long j0, long j1, char *format, char *filename);111 92 112 /* ------------------------------ */113 /* --- write_imatrix_endline0 --- */114 /* ------------------------------ */115 116 IMAGE_EXPORT(void) write_bmatrix_endline0 (byte **m,long i0, long i1, long j0, long j1, char *format, char *filename);117 IMAGE_EXPORT(void) write_i16matrix_endline0 (int16 **m,long i0, long i1, long j0, long j1, char *format, char *filename);118 IMAGE_EXPORT(void) write_ui16matrix_endline0(uint16 **m,long i0, long i1, long j0, long j1, char *format, char *filename);119 IMAGE_EXPORT(void) write_i32matrix_endline0 (int32 **m,long i0, long i1, long j0, long j1, char *format, char *filename);120 IMAGE_EXPORT(void) write_i64matrix_endline0 (int64 **m,long i0, long i1, long j0, long j1, char *format, char *filename);121 IMAGE_EXPORT(void) write_ui32matrix_endline0(uint32 **m,long i0, long i1, long j0, long j1, char *format, char *filename);122 IMAGE_EXPORT(void) write_imatrix_endline0 (int **m,long i0, long i1, long j0, long j1, char *format, char *filename);123 124 /* ------------------------------ */125 /* --- write_imatrix_endline1 --- */126 /* ------------------------------ */127 128 IMAGE_EXPORT(void) write_bmatrix_endline1 (byte **m,long i0, long i1, long j0, long j1, char *format, char *filename);129 IMAGE_EXPORT(void) write_i16matrix_endline1 (int16 **m,long i0, long i1, long j0, long j1, char *format, char *filename);130 IMAGE_EXPORT(void) write_ui16matrix_endline1(uint16 **m,long i0, long i1, long j0, long j1, char *format, char *filename);131 IMAGE_EXPORT(void) write_i32matrix_endline1 (int32 **m,long i0, long i1, long j0, long j1, char *format, char *filename);132 IMAGE_EXPORT(void) write_ui32matrix_endline1(uint32 **m,long i0, long i1, long j0, long j1, char *format, char *filename);133 IMAGE_EXPORT(void) write_i64matrix_endline1 (int64 **m,long i0, long i1, long j0, long j1, char *format, char *filename);134 IMAGE_EXPORT(void) write_imatrix_endline1 (int **m,long i0, long i1, long j0, long j1, char *format, char *filename);135 136 /* ------------------------------------- */137 /* --- write_imatrix_number_endline0 --- */138 /* ------------------------------------- */139 140 IMAGE_EXPORT(void) write_bmatrix_number_endline0 (byte **m, long i0, long i1, long j0, long j1, char *format, char *filename);141 IMAGE_EXPORT(void) write_i16matrix_number_endline0 (int16 **m, long i0, long i1, long j0, long j1, char *format, char *filename);142 IMAGE_EXPORT(void) write_ui16matrix_number_endline0(uint16 **m, long i0, long i1, long j0, long j1, char *format, char *filename);143 IMAGE_EXPORT(void) write_i32matrix_number_endline0 (int32 **m, long i0, long i1, long j0, long j1, char *format, char *filename);144 IMAGE_EXPORT(void) write_ui32matrix_number_endline0(uint32 **m, long i0, long i1, long j0, long j1, char *format, char *filename);145 IMAGE_EXPORT(void) write_i64matrix_number_endline0 (int64 **m, long i0, long i1, long j0, long j1, char *format, char *filename);146 IMAGE_EXPORT(void) write_imatrix_number_endline0 (int **m, long i0, long i1, long j0, long j1, char *format, char *filename);147 148 /* ------------------------------------- */149 /* --- write_imatrix_number_endline1 --- */150 /* ------------------------------------- */151 152 IMAGE_EXPORT(void) write_bmatrix_number_endline1 (byte **m,long i0, long i1, long j0, long j1, char *format, char *filename);153 IMAGE_EXPORT(void) write_i16matrix_number_endline1 (int16 **m,long i0, long i1, long j0, long j1, char *format, char *filename);154 IMAGE_EXPORT(void) write_ui16matrix_number_endline1(uint16 **m,long i0, long i1, long j0, long j1, char *format, char *filename);155 IMAGE_EXPORT(void) write_i32matrix_number_endline1 (int32 **m,long i0, long i1, long j0, long j1, char *format, char *filename);156 IMAGE_EXPORT(void) write_ui32matrix_number_endline1(uint32 **m,long i0, long i1, long j0, long j1, char *format, char *filename);157 IMAGE_EXPORT(void) write_i64matrix_number_endline1 (int64 **m,long i0, long i1, long j0, long j1, char *format, char *filename);158 IMAGE_EXPORT(void) write_imatrix_number_endline1 (int **m,long i0, long i1, long j0, long j1, char *format, char *filename);159 160 /* ---------------------- */161 /* -- fwrite_trimatrix -- */162 /* ---------------------- */163 164 IMAGE_EXPORT(void) fwrite_btrimatrix (byte **m,long i0,long i1,long j0, long j1, long step, char *filename);165 IMAGE_EXPORT(void) fwrite_i16trimatrix (int16 **m,long i0,long i1,long j0, long j1, long step, char *filename);166 IMAGE_EXPORT(void) fwrite_ui16trimatrix(uint16 **m,long i0,long i1,long j0, long j1, long step, char *filename);167 IMAGE_EXPORT(void) fwrite_i32trimatrix (int32 **m,long i0,long i1,long j0, long j1, long step, char *filename);168 IMAGE_EXPORT(void) fwrite_f32trimatrix (float32 **m,long i0,long i1,long j0, long j1, long step, char *filename);169 IMAGE_EXPORT(void) fwrite_f64trimatrix (float64 **m,long i0,long i1,long j0, long j1, long step, char *filename);170 171 /* --------------------- */172 /* -- fread_trimatrix -- */173 /* --------------------- */174 175 IMAGE_EXPORT(void) fread_btrimatrix (char *filename, byte **m,long i0,long i1,long j0, long j1, long step);176 IMAGE_EXPORT(void) fread_i16trimatrix (char *filename, int16 **m,long i0,long i1,long j0, long j1, long step);177 IMAGE_EXPORT(void) fread_ui16trimatrix(char *filename, uint16 **m,long i0,long i1,long j0, long j1, long step);178 IMAGE_EXPORT(void) fread_itrimatrix (char *filename, int **m,long i0,long i1,long j0, long j1, long step);179 IMAGE_EXPORT(void) fread_i32trimatrix (char *filename, int32 **m,long i0,long i1,long j0, long j1, long step);180 IMAGE_EXPORT(void) fread_f32trimatrix (char *filename, float32 **m,long i0,long i1,long j0, long j1, long step);181 IMAGE_EXPORT(void) fread_f64trimatrix (char *filename, float64 **m,long i0,long i1,long j0, long j1, long step);182 183 #ifdef __cplusplus184 }185 #endif186 93 187 94 #endif /* __NRIO2X_H__ */ 95 96 97 // Local Variables: 98 // tab-width: 4 99 // c-basic-offset: 4 100 // c-file-offsets:((innamespace . 0)(inline-open . 0)) 101 // indent-tabs-mode: nil 102 // End: 103 104 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=4:softtabstop=4 105 -
soft/giet_vm/applications/rosenfeld/nrc2/include/nrio3.h
r772 r823 7 7 * Univ Paris Sud XI, CNRS 8 8 */ 9 10 #ifndef _NR_IO3_H_ 11 #define _NR_IO3_H_ 12 9 13 /* -------------------- */ 10 14 /* --- display_cube --- */ 15 /* -- write_cube -- */ 16 /* -- fread_cube -- */ 17 /* -- fwrite_cube -- */ 11 18 /* -------------------- */ 12 IMAGE_EXPORT(void) display_i8cube (int8 ***c,long ndl, long ndh, long nrl,long nrh,long ncl, long nch, char *format, char *name);13 IMAGE_EXPORT(void) display_i16cube (int16 ***c,long ndl, long ndh, long nrl,long nrh,long ncl, long nch, char *format, char *name);14 IMAGE_EXPORT(void) display_ui16cube(uint16 ***c,long ndl, long ndh, long nrl,long nrh,long ncl, long nch, char *format, char *name);15 IMAGE_EXPORT(void) display_i32cube (int32 ***c,long ndl, long ndh, long nrl,long nrh,long ncl, long nch, char *format, char *name);16 IMAGE_EXPORT(void) display_ui32cube(uint32 ***c,long ndl, long ndh, long nrl,long nrh,long ncl, long nch, char *format, char *name);17 IMAGE_EXPORT(void) display_i64cube (int64 ***c,long ndl, long ndh, long nrl,long nrh,long ncl, long nch, char *format, char *name);18 IMAGE_EXPORT(void) display_f32cube (float32 ***c,long ndl, long ndh, long nrl,long nrh,long ncl, long nch, char *format, char *name);19 19 20 /* ---------------- */ 21 /* -- write_cube -- */ 22 /* ---------------- */ 23 IMAGE_EXPORT(void) write_i8cube (int8 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *format, char *filename); 24 IMAGE_EXPORT(void) write_i16cube (int16 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *format, char *filename); 25 IMAGE_EXPORT(void) write_ui16cube(uint16 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *format, char *filename); 26 IMAGE_EXPORT(void) write_i32cube (int32 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *format, char *filename); 27 IMAGE_EXPORT(void) write_ui32cube(uint32 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *format, char *filename); 28 IMAGE_EXPORT(void) write_i64cube (int64 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *format, char *filename); 29 IMAGE_EXPORT(void) write_f32cube (float32 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *format, char *filename); 20 #define display_type_cube(t) \ 21 void short_name(t,display_,cube)(t *** c, int32_t ndl, int32_t ndh, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch, char * format, char * name); \ 22 void short_name(t,write_,cube)(t *** c, int32_t ndl, int32_t ndh, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch, char * format, char * filename); \ 23 void short_name(t,fread_,cube)(t *** c, int32_t ndl, int32_t ndh, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch, char * format, char * filename); \ 24 void short_name(t,fwrite_,cube)(t *** c, int32_t ndl, int32_t ndh, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch, char * format, char * filename); 30 25 31 IMAGE_EXPORT(void) fread_i8cube(char *filename, int8 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch); 32 IMAGE_EXPORT(void) fread_i16cube(char *filename, int16 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch); 33 IMAGE_EXPORT(void) fread_ui16cube(char *filename, uint16 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch); 34 IMAGE_EXPORT(void) fread_i32cube(char *filename, int32 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch); 35 IMAGE_EXPORT(void) fread_ui32cube(char *filename, uint32 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch); 36 IMAGE_EXPORT(void) fread_i64cube(char *filename, int64 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch); 37 IMAGE_EXPORT(void) fread_f32cube(char *filename, float32 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch); 26 display_type_cube(int8_t); 27 display_type_cube(uint8_t); 28 display_type_cube(int16_t); 29 display_type_cube(uint16_t); 30 display_type_cube(int32_t); 31 display_type_cube(uint32_t); 32 display_type_cube(int64_t); 33 display_type_cube(uint64_t); 34 display_type_cube(float); 35 display_type_cube(double); 38 36 39 /* ----------------- */ 40 /* -- fwrite_cube -- */ 41 /* ----------------- */ 42 IMAGE_EXPORT(void) fwrite_i8cube(int8 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *filename); 43 IMAGE_EXPORT(void) fwrite_i16cube(int16 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *filename); 44 IMAGE_EXPORT(void) fwrite_ui16cube(uint16 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *filename); 45 IMAGE_EXPORT(void) fwrite_i32cube(int32 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *filename); 46 IMAGE_EXPORT(void) fwrite_ui32cube(uint32 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *filename); 47 IMAGE_EXPORT(void) fwrite_i64cube(int64 ***c, long ndl, long ndh, long nrl, long nrh, long ncl, long nch, char *filename); 37 #endif 38 -
soft/giet_vm/applications/rosenfeld/nrc2/include/nrlinalg.h
r772 r823 11 11 #define __NRLINALG_H__ 12 12 13 # ifdef __cplusplus14 extern "C" { 15 #endif 13 #define transpose_type_matrix(t) \ 14 void short_name(t,transpose_,matrix)(t ** S, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch, t ** D); \ 15 void short_name(t,transpose1_,matrix)(t ** S, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch); 16 16 17 IMAGE_EXPORT(void) transpose_bmatrix(byte **S, long nrl,long nrh,long ncl, long nch, byte **D); 18 IMAGE_EXPORT(void) transpose_si16matrix(sint16 **S, long nrl,long nrh,long ncl, long nch, sint16 **D); 19 IMAGE_EXPORT(void) transpose_ui16matrix(uint16 **S, long nrl,long nrh,long ncl, long nch, uint16 **D); 20 IMAGE_EXPORT(void) transpose_si32matrix(sint32 **S, long nrl,long nrh,long ncl, long nch, sint32 **D); 21 IMAGE_EXPORT(void) transpose_ui32matrix(uint32 **S, long nrl,long nrh,long ncl, long nch, uint32 **D); 22 IMAGE_EXPORT(void) transpose_f32matrix(float32 **S, long nrl,long nrh,long ncl, long nch, float32 **D); 23 IMAGE_EXPORT(void) transpose_dmatrix(float64 **S, long nrl,long nrh,long ncl, long nch, float64 **D); 24 IMAGE_EXPORT(void) transpose_rgb8matrix(rgb8 **S, long nrl,long nrh,long ncl, long nch, rgb8 **D); 25 IMAGE_EXPORT(void) transpose1_bmatrix(byte **S, long nrl,long nrh,long ncl, long nch); 26 IMAGE_EXPORT(void) transpose1_si16matrix(sint16 **S, long nrl,long nrh,long ncl, long nch); 27 IMAGE_EXPORT(void) transpose1_ui16matrix(uint16 **S, long nrl,long nrh,long ncl, long nch); 28 IMAGE_EXPORT(void) transpose1_si32matrix(sint32 **S, long nrl,long nrh,long ncl, long nch); 29 IMAGE_EXPORT(void) transpose1_ui32matrix(uint32 **S, long nrl,long nrh,long ncl, long nch); 30 IMAGE_EXPORT(void) transpose1_f32matrix(float32 **S, long nrl,long nrh,long ncl, long nch); 31 IMAGE_EXPORT(void) transpose1_f64matrix(float64 **S, long nrl,long nrh,long ncl, long nch); 32 IMAGE_EXPORT(void) transpose1_rgb8matrix(rgb8 **S, long nrl,long nrh,long ncl, long nch); 17 transpose_type_matrix(int8_t); 18 transpose_type_matrix(uint8_t); 19 transpose_type_matrix(int16_t); 20 transpose_type_matrix(uint16_t); 21 transpose_type_matrix(int32_t); 22 transpose_type_matrix(uint32_t); 23 transpose_type_matrix(int64_t); 24 transpose_type_matrix(uint64_t); 25 transpose_type_matrix(float); 26 transpose_type_matrix(double); 27 transpose_type_matrix(rgb8); 28 transpose_type_matrix(rgbx8); 33 29 34 #ifdef __cplusplus35 }36 #endif37 30 38 31 #endif // __NRLINALG_H__ 32 -
soft/giet_vm/applications/rosenfeld/nrc2/include/nrlut.h
r772 r823 5 5 /* 6 6 * Copyright (c) 2000-2014, Lionel Lacassagne, All rights reserved 7 * Univ Paris Sud XI, CNRS8 */7 * Univ Paris Sud XI, CNRS 8 */ 9 9 10 10 #ifndef _NRLUT_H_ 11 11 #define _NRLUT_H_ 12 12 13 #ifdef __cplusplus 14 #ifdef PRAGMA_VERBOSE 15 #pragma message ("C++") 16 #endif 17 extern "C" { 18 #endif 13 #define init_type_lut(t) \ 14 void short_name(t,init_,lut)(t * v, int32_t nl, int32_t nh, int32_t n0, int32_t n1, t k); \ 15 void short_name(t,lut_,matrix)(t ** S, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch, t * L, t ** D); 19 16 20 #ifdef PRAGMA_VERBOSE 21 #pragma message("- include nrlut.h") 22 #endif 17 init_type_lut(int8_t); 18 init_type_lut(uint8_t); 19 init_type_lut(int16_t); 20 init_type_lut(uint16_t); 21 init_type_lut(int32_t); 22 init_type_lut(uint32_t); 23 init_type_lut(rgb8); 23 24 24 25 25 IMAGE_EXPORT(void) init_blut (byte *v, int nl, int nh, int n0, int n1, byte k); 26 IMAGE_EXPORT(void) init_i8lut (int8 *v, int nl, int nh, int n0, int n1, int8 k); 27 IMAGE_EXPORT(void) init_i16lut (int16 *v, int nl, int nh, int n0, int n1, int16 k); 28 IMAGE_EXPORT(void) init_i32lut (int32 *v, int nl, int nh, int n0, int n1, int32 k); 29 IMAGE_EXPORT(void) init_ui16lut(uint16 *v, int nl, int nh, int n0, int n1, uint16 k); 30 IMAGE_EXPORT(void) init_rgb8lut(rgb8 *v, int nl, int nh, int n0, int n1, rgb8 k); 26 void lut_si16matrix_si8matrix(int16_t ** S, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch, int8_t * L, int8_t ** D); 27 void lut_ui16matrix_ui8matrix(uint16_t ** S, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch, uint8_t * L, uint8_t ** D); 28 void lut_si32matrix_si16matrix(int32_t ** S, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch, int16_t * L, int16_t ** D); 29 void lut_ui32matrix_ui16matrix(uint32_t ** S, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch, uint16_t * L, uint16_t ** D); 31 30 32 IMAGE_EXPORT(void) lut_bmatrix (byte **S, long nrl, long nrh, long ncl, long nch, byte *L, byte **D);33 IMAGE_EXPORT(void) lut_ui8matrix (uint8 **S, long nrl, long nrh, long ncl, long nch, uint8 *L, uint8 **D);34 IMAGE_EXPORT(void) lut_si8matrix (sint8 **S, long nrl, long nrh, long ncl, long nch, sint8 *L, sint8 **D);35 IMAGE_EXPORT(void) lut_ui16matrix(uint16 **S, long nrl, long nrh, long ncl, long nch, uint16 *L, uint16 **D);36 IMAGE_EXPORT(void) lut_si16matrix(sint16 **S, long nrl, long nrh, long ncl, long nch, sint16 *L, sint16 **D);37 IMAGE_EXPORT(void) lut_ui32matrix(uint32 **S, long nrl, long nrh, long ncl, long nch, uint32 *L, uint32 **D);38 IMAGE_EXPORT(void) lut_si32matrix(sint32 **S, long nrl, long nrh, long ncl, long nch, sint32 *L, sint32 **D);39 IMAGE_EXPORT(void) lut_rgb8matrix(rgb8 **S, long nrl, long nrh, long ncl, long nch, rgb8 *L, rgb8 **D);40 31 41 IMAGE_EXPORT(void) lut_si16matrix_si8matrix(sint16 **S, long nrl, long nrh, long ncl, long nch, sint8 *L, sint8 **D); 42 IMAGE_EXPORT(void) lut_ui16matrix_ui8matrix(uint16 **S, long nrl, long nrh, long ncl, long nch, uint8 *L, uint8 **D); 43 IMAGE_EXPORT(void) lut_si32matrix_si16matrix(sint32 **S, long nrl, long nrh, long ncl, long nch, sint16 *L, sint16 **D); 44 IMAGE_EXPORT(void) lut_ui32matrix_ui16matrix(uint32 **S, long nrl, long nrh, long ncl, long nch, uint16 *L, uint16 **D); 45 46 IMAGE_EXPORT(void) histogram_bmatrix (byte **S, long nrl, long nrh, long ncl, long nch, int32 *H); 47 IMAGE_EXPORT(void) histogram_ui16matrix(uint16 **S, long nrl, long nrh, long ncl, long nch, int32 *H); 48 IMAGE_EXPORT(void) histogram_rgb8matrix(rgb8 **S, long nrl, long nrh, long ncl, long nch, rgb32 *H); 32 #define histogram_type_matrix(t) \ 33 void short_name(t,histogram_,matrix)(t ** S, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch, t * H); 49 34 50 #ifdef __cplusplus 51 } 52 #endif 35 histogram_type_matrix(int8_t); 36 histogram_type_matrix(uint8_t); 37 histogram_type_matrix(int16_t); 38 histogram_type_matrix(uint16_t); 39 histogram_type_matrix(int32_t); 40 histogram_type_matrix(uint32_t); 41 void histogram_rgb8matrix(rgb8 ** S, int32_t nrl, int32_t nrh, int32_t ncl, int32_t nch, rgb32 * H); 42 53 43 54 44 #endif /* _NRLUT_H_ */ 45 -
soft/giet_vm/applications/rosenfeld/nrc2/include/nrmem1.h
r772 r823 12 12 #define __NRMEM1_H__ 13 13 14 #ifdef __cplusplus 15 #pragma message ("C++") 16 extern "C" { 17 #endif 18 19 #ifdef VERBOSE_PRAGMA 20 //#pragma message ("- *** include nrmem1.h ***") 21 #endif 14 15 #define dup_type_vector(t) \ 16 void short_name(t,dup_,vector)(t * X, int32_t nl, int32_t nh, t * Y); 17 18 dup_type_vector(int8_t); 19 dup_type_vector(uint8_t); 20 dup_type_vector(int16_t); 21 dup_type_vector(uint16_t); 22 dup_type_vector(int32_t); 23 dup_type_vector(uint32_t); 24 dup_type_vector(int64_t); 25 dup_type_vector(uint64_t); 26 dup_type_vector(float); 27 dup_type_vector(double); 28 dup_type_vector(rgb8); 29 dup_type_vector(rgbx8); 30 31 /* --------------------- */ 32 /* --- split & merge --- */ 33 /* --------------------- */ 34 35 void split_rgb8vector(rgb8 * X, int32_t nl, int32_t nh, uint8_t * R, uint8_t * G, uint8_t * B); 36 void split_rgb32vector(rgb32 * X, int32_t nl, int32_t nh, uint32_t * R, uint32_t * G, uint32_t * B); 37 38 void merge_rgb8vector(uint8_t * R, uint8_t * G, uint8_t * B, int32_t nl, int32_t nh, rgb8 * X); 39 void merge_rgb32vector(uint32_t * R, uint32_t * G, uint32_t * B, int32_t nl, int32_t nh, rgb32 * X); 22 40 23 41 24 IMAGE_EXPORT(void) dup_si8vector (sint8 *X, long nl, long nh, sint8 *Y);25 IMAGE_EXPORT(void) dup_ui8vector (uint8 *X, long nl, long nh, uint8 *Y);26 IMAGE_EXPORT(void) dup_si16vector (sint16 *X, long nl, long nh, sint16 *Y);27 IMAGE_EXPORT(void) dup_ui16vector (uint16 *X, long nl, long nh, uint16 *Y);28 IMAGE_EXPORT(void) dup_si32vector (sint32 *X, long nl, long nh, sint32 *Y);29 IMAGE_EXPORT(void) dup_ui32vector (uint32 *X, long nl, long nh, uint32 *Y);30 IMAGE_EXPORT(void) dup_si64vector (sint64 *X, long nl, long nh, sint64 *Y);31 IMAGE_EXPORT(void) dup_ui64vector (uint64 *X, long nl, long nh, uint64 *Y);32 IMAGE_EXPORT(void) dup_f32vector (float32 *X, long nl, long nh, float32 *Y);33 IMAGE_EXPORT(void) dup_f64vector (float64 *X, long nl, long nh, float64 *Y);34 IMAGE_EXPORT(void) dup_rgb8vector (rgb8 *X, long nl, long nh, rgb8 *Y);35 IMAGE_EXPORT(void) dup_rgbx8vector (rgbx8 *X, long nl, long nh, rgbx8 *Y);36 42 37 43 /* ---------------- */ 38 /* -- Conver tion -- */44 /* -- Conversion -- */ 39 45 /* ---------------- */ 40 46 41 // UP 47 #define convert_type1_vector_type2_vector(t1, t2) \ 48 void short_name(t1,convert_,short_name(t2,vector_,vector))(t1 * X, int32_t nl, int32_t nh, t2 * Y); 42 49 43 IMAGE_EXPORT(void) convert_si8vector_si16vector (sint8 *X, long nl, long nh, sint16 *Y); 44 IMAGE_EXPORT(void) convert_si8vector_si32vector (sint8 *X, long nl, long nh, sint32 *Y); 45 IMAGE_EXPORT(void) convert_si8vector_f32vector (sint8 *X, long nl, long nh, float32 *Y); 46 IMAGE_EXPORT(void) convert_si8vector_f64vector (sint8 *X, long nl, long nh, float64 *Y); 50 convert_type1_vector_type2_vector(int8_t,int16_t); 51 convert_type1_vector_type2_vector(int8_t,int32_t); 52 convert_type1_vector_type2_vector(int8_t,float); 53 convert_type1_vector_type2_vector(int8_t,double); 54 convert_type1_vector_type2_vector(uint8_t,uint16_t); 55 convert_type1_vector_type2_vector(uint8_t,uint32_t); 56 convert_type1_vector_type2_vector(uint8_t,float); 57 convert_type1_vector_type2_vector(uint8_t,double); 58 convert_type1_vector_type2_vector(int16_t,int32_t); 59 convert_type1_vector_type2_vector(int16_t,float); 60 convert_type1_vector_type2_vector(int16_t,double); 61 convert_type1_vector_type2_vector(uint16_t,uint32_t); 62 convert_type1_vector_type2_vector(uint16_t,float); 63 convert_type1_vector_type2_vector(uint16_t,double); 64 convert_type1_vector_type2_vector(int32_t,float); 65 convert_type1_vector_type2_vector(int32_t,double); 66 convert_type1_vector_type2_vector(uint32_t,float); 67 convert_type1_vector_type2_vector(uint32_t,double); 68 convert_type1_vector_type2_vector(int16_t,int8_t); 69 convert_type1_vector_type2_vector(uint16_t,uint8_t); 70 convert_type1_vector_type2_vector(int32_t,int8_t); 71 convert_type1_vector_type2_vector(int32_t,int16_t); 72 convert_type1_vector_type2_vector(uint32_t,uint8_t); 73 convert_type1_vector_type2_vector(uint32_t,uint16_t); 74 convert_type1_vector_type2_vector(float,int8_t); 75 convert_type1_vector_type2_vector(float,uint8_t); 76 convert_type1_vector_type2_vector(float,int16_t); 77 convert_type1_vector_type2_vector(float,uint16_t); 78 convert_type1_vector_type2_vector(float,int32_t); 79 convert_type1_vector_type2_vector(float,uint32_t); 80 convert_type1_vector_type2_vector(double,int8_t); 81 convert_type1_vector_type2_vector(double,uint8_t); 82 convert_type1_vector_type2_vector(double,int16_t); 83 convert_type1_vector_type2_vector(double,uint16_t); 84 convert_type1_vector_type2_vector(double,int32_t); 85 convert_type1_vector_type2_vector(double,uint32_t); 86 convert_type1_vector_type2_vector(double,float); 87 convert_type1_vector_type2_vector(uint8_t,rgb8); 88 convert_type1_vector_type2_vector(uint8_t,rgbx8); 89 convert_type1_vector_type2_vector(rgb8,uint8_t); 90 convert_type1_vector_type2_vector(rgbx8,uint8_t); 47 91 48 IMAGE_EXPORT(void) convert_ui8vector_ui16vector (uint8 *X, long nl, long nh, uint16 *Y);49 IMAGE_EXPORT(void) convert_ui8vector_ui32vector (uint8 *X, long nl, long nh, uint32 *Y);50 IMAGE_EXPORT(void) convert_ui8vector_f32vector (uint8 *X, long nl, long nh, float32 *Y);51 IMAGE_EXPORT(void) convert_ui8vector_f64vector (uint8 *X, long nl, long nh, float64 *Y);52 IMAGE_EXPORT(void) convert_ui8vector_rgb8vector (uint8 *X, long nl, long nh, rgb8 *Y);53 IMAGE_EXPORT(void) convert_ui8vector_rgbx8vector(uint8 *X, long nl, long nh, rgbx8 *Y);54 55 IMAGE_EXPORT(void) convert_si16vector_si32vector (sint16 *X, long nl, long nh, sint32 *Y);56 IMAGE_EXPORT(void) convert_si16vector_f32vector (sint16 *X, long nl, long nh, float32 *Y);57 IMAGE_EXPORT(void) convert_si16vector_f64vector (sint16 *X, long nl, long nh, float64 *Y);58 59 IMAGE_EXPORT(void) convert_ui16vector_ui32vector (uint16 *X, long nl, long nh, uint32 *Y);60 IMAGE_EXPORT(void) convert_ui16vector_f32vector (uint16 *X, long nl, long nh, float32 *Y);61 IMAGE_EXPORT(void) convert_ui16vector_f64vector (uint16 *X, long nl, long nh, float64 *Y);62 63 IMAGE_EXPORT(void) convert_si32vector_f32vector (sint32 *X, long nl, long nh, float32 *Y);64 IMAGE_EXPORT(void) convert_si32vector_f64vector (sint32 *X, long nl, long nh, float64 *Y);65 66 IMAGE_EXPORT(void) convert_ui32vector_f32vector (uint32 *X, long nl, long nh, float32 *Y);67 IMAGE_EXPORT(void) convert_ui32vector_f64vector (uint32 *X, long nl, long nh, float64 *Y);68 69 IMAGE_EXPORT(void) convert_f32vector_f64vector (float32 *X, long nl, long nh, float64 *Y);70 71 // DOWN72 73 IMAGE_EXPORT(void) convert_si16vector_si8vector(sint16 *X, long nl, long nh, sint8 *Y);74 75 IMAGE_EXPORT(void) convert_ui16vector_ui8vector(uint16 *X, long nl, long nh, uint8 *Y);76 77 IMAGE_EXPORT(void) convert_si32vector_si8vector (sint32 *X, long nl, long nh, sint8 *Y);78 IMAGE_EXPORT(void) convert_si32vector_si16vector(sint32 *X, long nl, long nh, sint16 *Y);79 80 IMAGE_EXPORT(void) convert_ui32vector_ui8vector (uint32 *X, long nl, long nh, uint8 *Y);81 IMAGE_EXPORT(void) convert_ui32vector_ui16vector(uint32 *X, long nl, long nh, uint16 *Y);82 83 IMAGE_EXPORT(void) convert_f32vector_si8vector (float32 *X, long nl, long nh, sint8 *Y);84 IMAGE_EXPORT(void) convert_f32vector_ui8vector (float32 *X, long nl, long nh, uint8 *Y);85 IMAGE_EXPORT(void) convert_f32vector_si16vector(float32 *X, long nl, long nh, sint16 *Y);86 IMAGE_EXPORT(void) convert_f32vector_ui16vector(float32 *X, long nl, long nh, uint16 *Y);87 IMAGE_EXPORT(void) convert_f32vector_si32vector(float32 *X, long nl, long nh, sint32 *Y);88 IMAGE_EXPORT(void) convert_f32vector_ui32vector(float32 *X, long nl, long nh, uint32 *Y);89 90 IMAGE_EXPORT(void) convert_f64vector_si8vector (float64 *X, long nl, long nh, sint8 *Y);91 IMAGE_EXPORT(void) convert_f64vector_ui8vector (float64 *X, long nl, long nh, uint8 *Y);92 IMAGE_EXPORT(void) convert_f64vector_si16vector(float64 *X, long nl, long nh, sint16 *Y);93 IMAGE_EXPORT(void) convert_f64vector_ui16vector(float64 *X, long nl, long nh, uint16 *Y);94 IMAGE_EXPORT(void) convert_f64vector_si32vector(float64 *X, long nl, long nh, sint32 *Y);95 IMAGE_EXPORT(void) convert_f64vector_ui32vector(float64 *X, long nl, long nh, uint32 *Y);96 IMAGE_EXPORT(void) convert_f64vector_f32vector (float64 *X, long nl, long nh, float32 *Y);97 98 IMAGE_EXPORT(void) convert_rgb8vector_ui8vector (rgb8 *X, long nl, long nh, uint8 *Y);99 IMAGE_EXPORT(void) convert_rgbx8vector_ui8vector(rgbx8 *X, long nl, long nh, uint8 *Y);100 92 101 93 /* … … 105 97 */ 106 98 107 IMAGE_EXPORT(void) lowpart_ui16vector_ui8vector(uint16 *X, long nl,long nh, uint8 *Y); 108 IMAGE_EXPORT(void) lowpart_ui32vector_ui8vector(uint32 *X, long nl,long nh, uint8 *Y); 109 110 /* --------------------- */ 111 /* --- split & merge --- */ 112 /* --------------------- */ 113 114 IMAGE_EXPORT(void) split_rgb8vector(rgb8 *X, long nl, long nh, uint8 *R, uint8 *G, uint8 *B); 115 IMAGE_EXPORT(void) split_rgb32vector(rgb32 *X, long nl, long nh, uint32 *R, uint32 *G, uint32 *B); 116 117 IMAGE_EXPORT(void) merge_rgb8vector(uint8 *R, uint8 *G, uint8 *B, long nl, long nh, rgb8 *X); 118 IMAGE_EXPORT(void) merge_rgb32vector(uint32 *R, uint32 *G, uint32 *B, long nl, long nh, rgb32 *X); 119 120 #ifdef __cplusplus 121 } 122 #endif 99 void lowpart_ui16vector_ui8vector(uint16_t * X, int32_t nl, int32_t nh, uint8_t * Y); 100 void lowpart_ui32vector_ui8vector(uint32_t * X, int32_t nl, int32_t nh, uint8_t * Y); 123 101 124 102 #endif /* __NRMEM1_H__ */ 103 -
soft/giet_vm/applications/rosenfeld/nrc2/include/nrtype.h
r822 r823 24 24 // Short names 25 25 26 #define sn_int8_t(p,s) p## i8##s27 #define sn_int16_t(p,s) p## i16##s28 #define sn_int32_t(p,s) p## i32##s29 #define sn_int64_t(p,s) p## i64##s26 #define sn_int8_t(p,s) p##si8##s 27 #define sn_int16_t(p,s) p##si16##s 28 #define sn_int32_t(p,s) p##si32##s 29 #define sn_int64_t(p,s) p##si64##s 30 30 #define sn_uint8_t(p,s) p##ui8##s 31 31 #define sn_uint16_t(p,s) p##ui16##s
Note: See TracChangeset
for help on using the changeset viewer.