ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/depthcodec.h
(Generate patch)

Comparing ray/src/common/depthcodec.h (file contents):
Revision 2.4 by greg, Wed Aug 14 21:00:14 2019 UTC vs.
Revision 2.5 by greg, Thu Nov 7 23:20:28 2019 UTC

# Line 2 | Line 2
2   /*
3   * Definitions and declarations for 16-bit depth encode/decode
4   *
5 < *  Include after stdio.h and fvect.h
5 > *  Include after rtio.h and fvect.h
6   *  Includes view.h
7   */
8  
# Line 33 | Line 33 | typedef struct {
33          const char      *inpname;               /* input name */
34          short           format;                 /* decoded format */
35          short           swapped;                /* byte-swapped input */
36 +        short           last_dc;                /* last depth-code read */
37 +        short           use_last;               /* use last depth-code next */
38          long            dstart;                 /* start of data */
39          long            curpos;                 /* current input position */
40          double          refdepth;               /* reference depth */
41          char            depth_unit[32];         /* string including units */
42 <        int             hdrflags;               /* header i/o flags */
42 >        short           hdrflags;               /* header i/o flags */
43          char            inpfmt[MAXFMTLEN];      /* format from header */
44 +        short           gotview;                /* got input view? */
45          VIEW            vw;                     /* input view parameters */
43        int             gotview;                /* got input view? */
46          RESOLU          res;                    /* input resolution */
47   } DEPTHCODEC;
48  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines