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

Comparing ray/src/util/normcodec.h (file contents):
Revision 2.1 by greg, Fri Jul 19 02:18:44 2019 UTC vs.
Revision 2.2 by greg, Fri Jul 19 02:25:02 2019 UTC

# Line 24 | Line 24 | extern "C" {
24   #define HF_ALL          0xf
25   #define HF_ENCODE       0x10
26  
27 < /* Structure for encoding/decoding depths and world points */
27 > /* Structure for encoding/decoding normals */
28   typedef struct {
29          FILE            *finp;                  /* input stream */
30          const char      *inpname;               /* input name */
# Line 42 | Line 42 | extern void    set_nc_defaults(NORMCODEC *ncp);
42   /* Load/copy header */
43   extern int      process_nc_header(NORMCODEC *ncp, int ac, char *av[]);
44  
45 < /* Check that we have what we need to decode depths */
45 > /* Check that we have what we need to decode normals */
46   extern int      check_decode_normals(NORMCODEC *ncp);
47  
48   /* Decode next normal from input */
# Line 51 | Line 51 | extern int     decode_normal_next(FVECT nrm, NORMCODEC *nc
51   /* Seek to the indicated pixel position */
52   extern int      seek_nc_pix(NORMCODEC *ncp, int x, int y);
53  
54 < /* Read and decode depth for the given pixel */
54 > /* Read and decode normal for the given pixel */
55   extern int      decode_normal_pix(FVECT nrm, NORMCODEC *ncp, int x, int y);
56  
57   extern char     *progname;      /* global argv[0] (set by main) */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines