| 19 | 
  | 
#define LDEPTHSTR       9 | 
| 20 | 
  | 
#define DEPTH16FMT      "16-bit_encoded_depth" | 
| 21 | 
  | 
 | 
| 22 | 
< | 
#define HF_HEADIN       0x1 | 
| 23 | 
< | 
#define HF_HEADOUT      0x2 | 
| 24 | 
< | 
#define HF_RESIN        0x4 | 
| 25 | 
< | 
#define HF_RESOUT       0x8 | 
| 26 | 
< | 
#define HF_ALL          0xf | 
| 27 | 
< | 
#define HF_ENCODE       0x10 | 
| 22 | 
> | 
#define HF_HEADIN       0x1                     /* expect input header */ | 
| 23 | 
> | 
#define HF_HEADOUT      0x2                     /* write header to stdout */ | 
| 24 | 
> | 
#define HF_RESIN        0x4                     /* expect resolution string */ | 
| 25 | 
> | 
#define HF_RESOUT       0x8                     /* write resolution to stdout */ | 
| 26 | 
> | 
#define HF_STDERR       0x10                    /* report errors to stderr */ | 
| 27 | 
> | 
#define HF_ALL          0x1f                    /* all flags above */ | 
| 28 | 
> | 
#define HF_ENCODE       0x20                    /* we are encoding */ | 
| 29 | 
  | 
 | 
| 30 | 
  | 
/* Structure for encoding/decoding depths and world points */ | 
| 31 | 
  | 
typedef struct { |