Changeset View
Changeset View
Standalone View
Standalone View
source/blender/imbuf/intern/iris.c
| Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Lines | #define MFILE_SEEK(inf, pos) \ | ||||
| (inf)->_file_offset = pos; \ | (inf)->_file_offset = pos; \ | ||||
| } \ | } \ | ||||
| ((void)0) | ((void)0) | ||||
| /* error flags */ | /* error flags */ | ||||
| #define DIRTY_FLAG_EOF (1 << 0) | #define DIRTY_FLAG_EOF (1 << 0) | ||||
| #define DIRTY_FLAG_ENCODING (1 << 1) | #define DIRTY_FLAG_ENCODING (1 << 1) | ||||
| /* funcs */ | /* Functions. */ | ||||
| static void readheader(MFileOffset *inf, IMAGE *image); | static void readheader(MFileOffset *inf, IMAGE *image); | ||||
| static int writeheader(FILE *outf, IMAGE *image); | static int writeheader(FILE *outf, IMAGE *image); | ||||
| static ushort getshort(MFileOffset *inf); | static ushort getshort(MFileOffset *inf); | ||||
| static uint getlong(MFileOffset *mofs); | static uint getlong(MFileOffset *mofs); | ||||
| static void putshort(FILE *outf, ushort val); | static void putshort(FILE *outf, ushort val); | ||||
| static int putlong(FILE *outf, uint val); | static int putlong(FILE *outf, uint val); | ||||
| static int writetab(FILE *outf, uint *tab, int len); | static int writetab(FILE *outf, uint *tab, int len); | ||||
| ▲ Show 20 Lines • Show All 881 Lines • Show Last 20 Lines | |||||