Ignore:
Timestamp:
Mar 2, 2016, 3:08:27 PM (9 years ago)
Author:
meunier
Message:
  • Bug fixes in Rosenfeld
Location:
soft/giet_vm/applications/rosenfeld/nrc2/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/applications/rosenfeld/nrc2/include/nrc_os_config.h

    r791 r798  
    11
    2 #define TARGET_OS GIETVM
    32
    4 #if TARGET_OS==GIETVM
     3#define GIETVM 1
     4#define LINUX 2
     5
     6#if TARGET_OS == GIETVM
    57    #define printf(...)  giet_tty_printf(__VA_ARGS__)
    68
     
    1214    #define fscanf(x, ...)  ;
    1315    #define exit(x)         giet_pthread_exit(NULL)
     16#else
    1417#endif
    1518
  • soft/giet_vm/applications/rosenfeld/nrc2/include/nrio2.h

    r772 r798  
    239239IMAGE_EXPORT(uint8 **) LoadPGM_bmatrix  (char *filename, int *nrl, int *nrh, int *ncl, int *nch);
    240240IMAGE_EXPORT(void)     LoadPGM_bmatrix2 (char *filename, int *nrl, int *nrh, int *ncl, int *nch, uint8 **m);
    241 IMAGE_EXPORT(void)    MLoadPGM_bmatrix (char *filename, int nrl, int nrh, int ncl, int nch, uint8 **m);
     241IMAGE_EXPORT(void)     MLoadPGM_bmatrix (char *filename, int nrl, int nrh, int ncl, int nch, uint8 **m);
    242242
    243243IMAGE_EXPORT(void)     SavePGM_bmatrix  (uint8 **m, int nrl, int nrh, int ncl, int nch, char *filename);
    244244IMAGE_EXPORT(void)     SavePGM_ui8matrix(uint8 **m, int nrl, int nrh, int ncl, int nch, char *filename);
    245245
    246 IMAGE_EXPORT(rgb8 **) LoadPPM_rgb8matrix (char *filename, int *nrl, int *nrh, int *ncl, int *nch);
    247 IMAGE_EXPORT(void)    LoadPPM_rgb8matrix2(char *filename, int *nrl, int *nrh, int *ncl, int *nch, rgb8 **m);
    248 
    249 IMAGE_EXPORT(void)    SavePPM_rgb8matrix(rgb8 **m, int nrl, int nrh, int ncl, int nch, char *filename);
     246IMAGE_EXPORT(rgb8 **)  LoadPPM_rgb8matrix (char *filename, int *nrl, int *nrh, int *ncl, int *nch);
     247IMAGE_EXPORT(void)     LoadPPM_rgb8matrix2(char *filename, int *nrl, int *nrh, int *ncl, int *nch, rgb8 **m);
     248
     249IMAGE_EXPORT(void)     SavePPM_rgb8matrix(rgb8 **m, int nrl, int nrh, int ncl, int nch, char *filename);
     250
     251
     252
    250253#ifdef __cplusplus
    251254}
Note: See TracChangeset for help on using the changeset viewer.