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

Comparing ray/src/util/rcrop.c (file contents):
Revision 1.4 by greg, Tue Mar 15 02:28:05 2022 UTC vs.
Revision 1.5 by greg, Tue Mar 15 04:41:45 2022 UTC

# Line 316 | Line 316 | main(int argc, char *argv[])
316                  asiz = sizeof(float);
317          } else if (!strcmp(fmt, "double")) {
318                  asiz = sizeof(double);
319 +        } else if (!strcmp(fmt, "32-bit_encoded_normal")) {
320 +                asiz = 4;
321 +                ncomp = 1;
322 +        } else if (!strcmp(fmt, "16-bit_encoded_depth")) {
323 +                asiz = 2;
324 +                ncomp = 1;
325          } else if (globmatch(PICFMT, fmt)) {
326                  asiz = -1;
327                  if (!ncomp) ncomp = 3;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines