ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/pvalue.c
Revision 2.42 - (view) (download) (annotate) - [select for diffs]
Thu Mar 10 03:25:54 2022 UTC (2 years, 1 month ago) by greg
Branch: MAIN
CVS Tags: HEAD, rad5R4
Changes since 2.41: +6 -1 lines
Diff to previous 2.41
fix(pvalue): Remove NCOMP=, NROWS=, NCOLS= lines from header (either direction)

Revision 2.41 - (view) (download) (annotate) - [select for diffs]
Fri Feb 4 20:11:49 2022 UTC (2 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.40: +14 -2 lines
Diff to previous 2.40
feat(pvalue,pextrem): Added -O option to report watts/sr/meter^2 always

Revision 2.40 - (view) (download) (annotate) - [select for diffs]
Tue Jun 30 22:30:29 2020 UTC (3 years, 9 months ago) by greg
Branch: MAIN
CVS Tags: rad5R3
Changes since 2.39: +3 -2 lines
Diff to previous 2.39
fix(pvalue): removed output of BigEndian flag when not needed for -db mode

Revision 2.39 - (view) (download) (annotate) - [select for diffs]
Mon Mar 30 19:02:26 2020 UTC (4 years ago) by greg
Branch: MAIN
Changes since 2.38: +18 -6 lines
Diff to previous 2.38
Made output a little more compatible with matrix file types

Revision 2.38 - (view) (download) (annotate) - [select for diffs]
Thu Feb 6 19:33:32 2020 UTC (4 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.37: +15 -10 lines
Diff to previous 2.37
Fixed issue with BigEndian handling in header

Revision 2.37 - (view) (download) (annotate) - [select for diffs]
Wed Aug 14 18:20:02 2019 UTC (4 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.36: +11 -1 lines
Diff to previous 2.36
Added explicit byte-swap checks in headers using BigEndian= line

Revision 2.36 - (view) (download) (annotate) - [select for diffs]
Mon Jul 15 23:42:44 2019 UTC (4 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.35: +35 -29 lines
Diff to previous 2.35
Allow skipping header bytes on standard input and more logical binary mode

Revision 2.35 - (view) (download) (annotate) - [select for diffs]
Mon Jul 15 22:39:50 2019 UTC (4 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.34: +22 -13 lines
Diff to previous 2.34
Made pvalue -u option mean "uncompressed" with -r.

Revision 2.34 - (view) (download) (annotate) - [select for diffs]
Thu Aug 2 18:33:46 2018 UTC (5 years, 8 months ago) by greg
Branch: MAIN
CVS Tags: rad5R2
Changes since 2.33: +2 -2 lines
Diff to previous 2.33
Created MAXFMTLEN to guard against buffer overrun attacks in header input

Revision 2.33 - (view) (download) (annotate) - [select for diffs]
Thu Aug 18 00:52:48 2016 UTC (7 years, 8 months ago) by greg
Branch: MAIN
CVS Tags: rad5R1
Changes since 2.32: +33 -33 lines
Diff to previous 2.32
Switched over to more efficient fread/fwrite replacements getbinary/putbinary

Revision 2.32 - (view) (download) (annotate) - [select for diffs]
Sun Mar 6 01:13:17 2016 UTC (8 years, 1 month ago) by schorsch
Branch: MAIN
Changes since 2.31: +3 -3 lines
Diff to previous 2.31
Prepare for SCons build on Win32 and Win64

Revision 2.31 - (view) (download) (annotate) - [select for diffs]
Fri May 20 02:06:39 2011 UTC (12 years, 11 months ago) by greg
Branch: MAIN
CVS Tags: rad4R1, rad4R2, rad4R2P1, rad4R2P2, rad5R0
Changes since 2.30: +16 -16 lines
Diff to previous 2.30
Changed every instance of BYTE to uby8 to avoid conflicts

Revision 2.30 - (view) (download) (annotate) - [select for diffs]
Thu Dec 16 21:34:41 2010 UTC (13 years, 4 months ago) by greg
Branch: MAIN
Changes since 2.29: +25 -3 lines
Diff to previous 2.29
Added recording of other color spaces to pvalue -r conversion

Revision 2.29 - (view) (download) (annotate) - [select for diffs]
Sat Dec 23 17:27:46 2006 UTC (17 years, 4 months ago) by greg
Branch: MAIN
CVS Tags: rad3R9, rad4R0
Changes since 2.28: +11 -59 lines
Diff to previous 2.28
Added byte-swapping i/o options to rcalc

Revision 2.28 - (view) (download) (annotate) - [select for diffs]
Fri Oct 1 07:46:26 2004 UTC (19 years, 7 months ago) by greg
Branch: MAIN
CVS Tags: rad3R6, rad3R6P1, rad3R7P1, rad3R7P2, rad3R8
Changes since 2.27: +1 -2 lines
Diff to previous 2.27
Forgot to remove debug statement on last check-in

Revision 2.27 - (view) (download) (annotate) - [select for diffs]
Fri Oct 1 07:45:30 2004 UTC (19 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.26: +4 -7 lines
Diff to previous 2.26
Fixed bug where pvalue -o would report watts/sr/m^2 from XYZE input

Revision 2.26 - (view) (download) (annotate) - [select for diffs]
Sun Mar 28 20:33:14 2004 UTC (20 years, 1 month ago) by schorsch
Branch: MAIN
Changes since 2.25: +182 -104 lines
Diff to previous 2.25
Continued ANSIfication, and other fixes and clarifications.

Revision 2.25 - (view) (download) (annotate) - [select for diffs]
Fri Jan 2 12:47:01 2004 UTC (20 years, 4 months ago) by schorsch
Branch: MAIN
Changes since 2.24: +9 -5 lines
Diff to previous 2.24
Fixed typing/prototype of getheader() and its callback.

Revision 2.24 - (view) (download) (annotate) - [select for diffs]
Wed Oct 22 02:06:35 2003 UTC (20 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.23: +2 -2 lines
Diff to previous 2.23
Fewer complaints if "platform.h" precedes "standard.h"

Revision 2.23 - (view) (download) (annotate) - [select for diffs]
Sat Sep 13 15:24:13 2003 UTC (20 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.22: +55 -4 lines
Diff to previous 2.22
Added -dF and -dD options for byte-swapped float's and double's

Revision 2.22 - (view) (download) (annotate) - [select for diffs]
Mon Jul 21 22:30:19 2003 UTC (20 years, 9 months ago) by schorsch
Branch: MAIN
Changes since 2.21: +7 -4 lines
Diff to previous 2.21
Eliminated copystruct() macro, which is unnecessary in ANSI.
Reduced ambiguity warnings for nested if/if/else clauses.

Revision 2.21 - (view) (download) (annotate) - [select for diffs]
Thu Jun 26 00:58:10 2003 UTC (20 years, 10 months ago) by schorsch
Branch: MAIN
Changes since 2.20: +2 -2 lines
Diff to previous 2.20
Abstracted process and path handling for Windows.
Renamed FLOAT to RREAL because of conflict on Windows.
Added conditional compiles for some signal handlers.

Revision 2.20 - (view) (download) (annotate) - [select for diffs]
Fri Jun 20 00:25:50 2003 UTC (20 years, 10 months ago) by greg
Branch: MAIN
Changes since 2.19: +1 -3 lines
Diff to previous 2.19
Changed instances of "int4" to "int32" and "int2" to "int16"

Revision 2.19 - (view) (download) (annotate) - [select for diffs]
Sun Jun 8 12:03:10 2003 UTC (20 years, 10 months ago) by schorsch
Branch: MAIN
Changes since 2.18: +2 -1 lines
Diff to previous 2.18
Reduced compile warnings/errors on Windows.

Revision 2.18 - (view) (download) (annotate) - [select for diffs]
Thu Jun 5 19:29:34 2003 UTC (20 years, 10 months ago) by schorsch
Branch: MAIN
Changes since 2.17: +9 -11 lines
Diff to previous 2.17
Macros for setting binary file mode. Replacing MSDOS by _WIN32.

Revision 2.17 - (view) (download) (annotate) - [select for diffs]
Thu Feb 27 02:00:12 2003 UTC (21 years, 2 months ago) by greg
Branch: MAIN
CVS Tags: rad3R5
Changes since 2.16: +8 -10 lines
Diff to previous 2.16
Corrected format string for -pP option

Revision 2.16 - (view) (download) (annotate) - [select for diffs]
Tue Feb 25 16:47:23 2003 UTC (21 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.15: +25 -1 lines
Diff to previous 2.15
Added -dW option for 16-bit byte-swapped words

Revision 2.15 - (view) (download) (annotate) - [select for diffs]
Tue Feb 25 16:22:05 2003 UTC (21 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.14: +116 -2 lines
Diff to previous 2.14
Added -dw option for 16-bit i/o

Revision 2.14 - (view) (download) (annotate) - [select for diffs]
Sat Feb 22 02:07:27 2003 UTC (21 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.13: +46 -20 lines
Diff to previous 2.13
Changes and check-in for 3.5 release
Includes new source files and modifications not recorded for many years
See ray/doc/notes/ReleaseNotes for notes between 3.1 and 3.5 release

Revision 2.13 - (view) (download) (annotate) - [select for diffs]
Tue Oct 27 09:08:27 1998 UTC (25 years, 6 months ago) by gwlarson
Branch: MAIN
Changes since 2.12: +2 -0 lines
Diff to previous 2.12
changed getheader() to listen to return value of passed function

Revision 2.12 - (view) (download) (annotate) - [select for diffs]
Wed Jan 8 08:51:43 1997 UTC (27 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.11: +118 -40 lines
Diff to previous 2.11
added -n option for non-interleaved RGB input and output

Revision 2.11 - (view) (download) (annotate) - [select for diffs]
Wed Jan 8 08:00:23 1997 UTC (27 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.10: +87 -112 lines
Diff to previous 2.10
took out file arguments from get and put value routines

Revision 2.10 - (view) (download) (annotate) - [select for diffs]
Wed Jan 8 07:43:49 1997 UTC (27 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.9: +210 -31 lines
Diff to previous 2.9
added routines for reading and writing separate RGB files
added -pP (where P is one of 'R', 'G' or 'B' upper or lower case)
added -s option to skip specified number of bytes on header

Revision 2.9 - (view) (download) (annotate) - [select for diffs]
Thu Oct 6 13:27:16 1994 UTC (29 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.8: +3 -4 lines
Diff to previous 2.8
made it so -e and +e work well together

Revision 2.8 - (view) (download) (annotate) - [select for diffs]
Sun Feb 27 10:16:48 1994 UTC (30 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.7: +10 -7 lines
Diff to previous 2.7
Added new ID to first line of header and changed use of formatval

Revision 2.7 - (view) (download) (annotate) - [select for diffs]
Tue Nov 9 15:21:00 1993 UTC (30 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.6: +26 -3 lines
Diff to previous 2.6
added +/-e option to correct/adjust exposure

Revision 2.6 - (view) (download) (annotate) - [select for diffs]
Thu Jul 29 13:36:19 1993 UTC (30 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.5: +2 -0 lines
Diff to previous 2.5
made pvalue accept upper case X and Y for resolution spec. also

Revision 2.5 - (view) (download) (annotate) - [select for diffs]
Mon Sep 21 12:14:37 1992 UTC (31 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.4: +24 -14 lines
Diff to previous 2.4
Changes for PC port

Revision 2.4 - (view) (download) (annotate) - [select for diffs]
Fri May 8 11:55:42 1992 UTC (31 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.3: +37 -21 lines
Diff to previous 2.3
added -R option for color order reversal

Revision 2.3 - (view) (download) (annotate) - [select for diffs]
Fri May 8 10:58:52 1992 UTC (31 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.2: +21 -15 lines
Diff to previous 2.2
added +/-H option for no/yes to resolution string

Revision 2.2 - (view) (download) (annotate) - [select for diffs]
Thu Dec 19 14:52:04 1991 UTC (32 years, 4 months ago) by greg
Branch: MAIN
Changes since 2.1: +0 -2 lines
Diff to previous 2.1
eliminated atof declarations for NeXT

Revision 2.1 - (view) (download) (annotate) - [select for diffs]
Tue Nov 12 16:04:16 1991 UTC (32 years, 5 months ago) by greg
Branch: MAIN
Changes since 1.8: +0 -0 lines
Diff to previous 1.8
updated revision number for release 2.0

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Mon Nov 11 14:01:37 1991 UTC (32 years, 5 months ago) by greg
Branch: MAIN
Changes since 1.7: +61 -45 lines
Diff to previous 1.7
Improved handling of scanline ordering

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Fri May 10 08:51:53 1991 UTC (32 years, 11 months ago) by greg
Branch: MAIN
Changes since 1.6: +34 -12 lines
Diff to previous 1.6
added -g (gamma correction) option

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Fri Apr 19 09:00:55 1991 UTC (33 years ago) by greg
Branch: MAIN
Changes since 1.5: +48 -15 lines
Diff to previous 1.5
added format info to header

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Fri Dec 14 16:33:19 1990 UTC (33 years, 4 months ago) by greg
Branch: MAIN
Changes since 1.4: +14 -4 lines
Diff to previous 1.4
added use of COLORCORR header i/o

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Thu Jan 18 23:58:17 1990 UTC (34 years, 3 months ago) by greg
Branch: MAIN
Changes since 1.3: +12 -12 lines
Diff to previous 1.3
improved portability for read(), write() and bcopy()

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Fri Jan 5 17:52:54 1990 UTC (34 years, 4 months ago) by greg
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2
changed EXPOSURE information interface

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 13:04:30 1989 UTC (34 years, 7 months ago) by greg
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1
added calls to get/put picture resolution (bug fix)

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Thu Feb 2 10:49:31 1989 UTC (35 years, 3 months ago) by greg
Branch: MAIN
Initial revision

Convenience Links

Links to HEAD: (view) (download) (annotate) Links to MAIN: (view) (download) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a