File:  [Research Unix] / researchv10no / cmd / view2d / view2d.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:35 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

#define MAGIC 0135246
#define BIG 32765

typedef struct Rd2d {
  int siz;       /* nx*ny */
  int fd;        /* file descriptor */
  double ts;     /* time of starting frame */
  double te;     /* time of ending frame */
  short u;       /* global u value */
  short v;       /* global v value */
  short fixuv;
  short pmin;    /* global min pixel value */
  short pmax;    /* global max pixel value */
  float fmin;    /* global min */
  float fmax;    /* global max */
  int nfr;       /* number of frames */
} Rd2d;

typedef struct Header {
  unsigned short magic1, magic2;
  short ver;
  short nx, ny;
  short u, v;
  short fixuv;
  short pmin, pmax;
  char time[16];  /* -9.9999999e+999 */
} Header;

typedef struct Header2 {     /* old style headers */
  unsigned short magic1, magic2;
  short ver;
  short nx, ny;
  short time;
  short u, v;
  short fixuv;
  short pmin, pmax;
  short pad;  /* just to fill out the structure to a word boundary */
} Header2;


unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.