|
|
1.1 root 1: #define MAGIC 0135246
2: #define BIG 32765
3:
4: typedef struct Rd2d {
5: int siz; /* nx*ny */
6: int fd; /* file descriptor */
7: double ts; /* time of starting frame */
8: double te; /* time of ending frame */
9: short u; /* global u value */
10: short v; /* global v value */
11: short fixuv;
12: short pmin; /* global min pixel value */
13: short pmax; /* global max pixel value */
14: float fmin; /* global min */
15: float fmax; /* global max */
16: int nfr; /* number of frames */
17: } Rd2d;
18:
19: typedef struct Header {
20: unsigned short magic1, magic2;
21: short ver;
22: short nx, ny;
23: short u, v;
24: short fixuv;
25: short pmin, pmax;
26: char time[16]; /* -9.9999999e+999 */
27: } Header;
28:
29: typedef struct Header2 { /* old style headers */
30: unsigned short magic1, magic2;
31: short ver;
32: short nx, ny;
33: short time;
34: short u, v;
35: short fixuv;
36: short pmin, pmax;
37: short pad; /* just to fill out the structure to a word boundary */
38: } Header2;
39:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.