ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/pfilt.c
Revision 2.33 - (view) (download) (annotate) - [select for diffs]
Thu Aug 2 18:33:44 2018 UTC (6 years, 3 months ago) by greg
Branch: MAIN
CVS Tags: rad5R2
Changes since 2.32: +2 -2 lines
Diff to previous 2.32 , to selected 2.10
Created MAXFMTLEN to guard against buffer overrun attacks in header input

Revision 2.32 - (view) (download) (annotate) - [select for diffs]
Thu Jul 26 23:50:40 2018 UTC (6 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.31: +7 -7 lines
Diff to previous 2.31 , to selected 2.10
Fixed issue with pfilt -m option and non-integer size divisors

Revision 2.31 - (view) (download) (annotate) - [select for diffs]
Fri Sep 3 21:18:15 2010 UTC (14 years, 2 months ago) by greg
Branch: MAIN
CVS Tags: rad4R1, rad4R2, rad4R2P1, rad4R2P2, rad5R0, rad5R1
Changes since 2.30: +1 -3 lines
Diff to previous 2.30 , to selected 2.10
Removed '//' comments that don't fit with standard C

Revision 2.30 - (view) (download) (annotate) - [select for diffs]
Mon Mar 29 00:34:23 2004 UTC (20 years, 7 months ago) by schorsch
Branch: MAIN
CVS Tags: rad3R6, rad3R6P1, rad3R7P1, rad3R7P2, rad3R8, rad3R9, rad4R0
Changes since 2.29: +6 -5 lines
Diff to previous 2.29 , to selected 2.10
Continued ANSIfication. Added headerfiles pfilt.h and clrtab.h.

Revision 2.29 - (view) (download) (annotate) - [select for diffs]
Sun Mar 28 20:33:14 2004 UTC (20 years, 7 months ago) by schorsch
Branch: MAIN
Changes since 2.28: +46 -21 lines
Diff to previous 2.28 , to selected 2.10
Continued ANSIfication, and other fixes and clarifications.

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

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

Revision 2.26 - (view) (download) (annotate) - [select for diffs]
Sun Jul 27 22:12:03 2003 UTC (21 years, 3 months ago) by schorsch
Branch: MAIN
Changes since 2.25: +3 -3 lines
Diff to previous 2.25 , to selected 2.10
Added grouping parens to reduce ambiguity warnings.

Revision 2.25 - (view) (download) (annotate) - [select for diffs]
Mon Jun 30 14:59:12 2003 UTC (21 years, 4 months ago) by schorsch
Branch: MAIN
Changes since 2.24: +5 -2 lines
Diff to previous 2.24 , to selected 2.10
Replaced most outdated BSD function calls with their posix equivalents, and cleaned up a few other platform dependencies.

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

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

Revision 2.22 - (view) (download) (annotate) - [select for diffs]
Tue Feb 25 00:26:05 2003 UTC (21 years, 8 months ago) by greg
Branch: MAIN
CVS Tags: rad3R5
Changes since 2.21: +2 -2 lines
Diff to previous 2.21 , to selected 2.10
Fixed pre-release upsampling bug in new filtering kernel

Revision 2.21 - (view) (download) (annotate) - [select for diffs]
Sat Feb 22 02:07:27 2003 UTC (21 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.20: +5 -10 lines
Diff to previous 2.20 , to selected 2.10
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.20 - (view) (download) (annotate) - [select for diffs]
Tue Oct 27 09:08:26 1998 UTC (26 years ago) by gwlarson
Branch: MAIN
Changes since 2.19: +2 -0 lines
Diff to previous 2.19 , to selected 2.10
changed getheader() to listen to return value of passed function

Revision 2.19 - (view) (download) (annotate) - [select for diffs]
Wed Oct 2 16:56:16 1996 UTC (28 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.18: +4 -4 lines
Diff to previous 2.18 , to selected 2.10
made output pixel positioning more precise

Revision 2.18 - (view) (download) (annotate) - [select for diffs]
Wed May 22 10:42:08 1996 UTC (28 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.17: +6 -3 lines
Diff to previous 2.17 , to selected 2.10
added exit status change for truncated input files

Revision 2.17 - (view) (download) (annotate) - [select for diffs]
Mon Apr 1 17:24:44 1996 UTC (28 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.16: +11 -1 lines
Diff to previous 2.16 , to selected 2.10
added filter wrapping for 360 degree cylindrical views

Revision 2.16 - (view) (download) (annotate) - [select for diffs]
Wed Feb 14 20:19:52 1996 UTC (28 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.15: +4 -4 lines
Diff to previous 2.15 , to selected 2.10
fixed bug in indexing and size of buffers for -m option

Revision 2.15 - (view) (download) (annotate) - [select for diffs]
Mon Oct 16 12:04:36 1995 UTC (29 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.14: +30 -6 lines
Diff to previous 2.14 , to selected 2.10
added compatibility with Radiance XYZE picture format

Revision 2.14 - (view) (download) (annotate) - [select for diffs]
Wed May 31 08:50:27 1995 UTC (29 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.13: +1 -1 lines
Diff to previous 2.13 , to selected 2.10
improved error message for truncated input

Revision 2.13 - (view) (download) (annotate) - [select for diffs]
Mon Feb 7 16:27:50 1994 UTC (30 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.12: +4 -4 lines
Diff to previous 2.12 , to selected 2.10
fixed bug in lamp data routine

Revision 2.12 - (view) (download) (annotate) - [select for diffs]
Thu Nov 18 09:56:17 1993 UTC (31 years ago) by greg
Branch: MAIN
Changes since 2.11: +1 -1 lines
Diff to previous 2.11 , to selected 2.10
minor compiler warning fixes

Revision 2.11 - (view) (download) (annotate) - [select for diffs]
Tue Sep 21 10:55:54 1993 UTC (31 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.10: +4 -2 lines
Diff to previous 2.10
minor bug fixes

Revision 2.10 - (view) (download) (annotate) - [selected]
Fri Jun 25 17:07:03 1993 UTC (31 years, 4 months ago) by greg
Branch: MAIN
Changes since 2.9: +14 -13 lines
Diff to previous 2.9
minor optimization

Revision 2.9 - (view) (download) (annotate) - [select for diffs]
Fri Jun 25 15:01:17 1993 UTC (31 years, 4 months ago) by greg
Branch: MAIN
Changes since 2.8: +103 -20 lines
Diff to previous 2.8 , to selected 2.10
added -m option for sample smoothing

Revision 2.8 - (view) (download) (annotate) - [select for diffs]
Fri Jun 18 16:20:16 1993 UTC (31 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.7: +3 -1 lines
Diff to previous 2.7 , to selected 2.10
changed default setting of hotlvl and made it absolute

Revision 2.7 - (view) (download) (annotate) - [select for diffs]
Thu Nov 12 09:05:17 1992 UTC (32 years ago) by greg
Branch: MAIN
Changes since 2.6: +2 -2 lines
Diff to previous 2.6 , to selected 2.10
bug fix for 16-bit integers (DOS)

Revision 2.6 - (view) (download) (annotate) - [select for diffs]
Tue Nov 3 16:52:20 1992 UTC (32 years ago) by greg
Branch: MAIN
Changes since 2.5: +2 -9 lines
Diff to previous 2.5 , to selected 2.10
changes in pfilt for 32-bit PC port

Revision 2.5 - (view) (download) (annotate) - [select for diffs]
Fri Oct 2 16:24:06 1992 UTC (32 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.4: +2 -1 lines
Diff to previous 2.4 , to selected 2.10
Removed problematic math function declarations

Revision 2.4 - (view) (download) (annotate) - [select for diffs]
Mon Sep 21 12:14:17 1992 UTC (32 years, 1 month ago) by greg
Branch: MAIN
Changes since 2.3: +24 -15 lines
Diff to previous 2.3 , to selected 2.10
Changes for PC port

Revision 2.3 - (view) (download) (annotate) - [select for diffs]
Tue Sep 8 15:33:08 1992 UTC (32 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.2: +2 -3 lines
Diff to previous 2.2 , to selected 2.10
used TEMPLATE defined in paths.h for pfilt.c

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

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

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Mon Nov 11 14:01:15 1991 UTC (33 years ago) by greg
Branch: MAIN
Changes since 1.18: +8 -3 lines
Diff to previous 1.18 , to selected 2.10
Improved handling of scanline ordering

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Mon Oct 28 08:10:18 1991 UTC (33 years ago) by greg
Branch: MAIN
Changes since 1.17: +5 -5 lines
Diff to previous 1.17 , to selected 2.10
added insurance for lampcolor[i] == 0.0

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Wed Jun 5 12:15:30 1991 UTC (33 years, 5 months ago) by greg
Branch: MAIN
Changes since 1.16: +1 -1 lines
Diff to previous 1.16 , to selected 2.10
improved gaussian filtering

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Thu Apr 18 14:35:21 1991 UTC (33 years, 7 months ago) by greg
Branch: MAIN
Changes since 1.15: +14 -1 lines
Diff to previous 1.15 , to selected 2.10
added format information to headers

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

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Sat Dec 8 13:23:47 1990 UTC (33 years, 11 months ago) by greg
Branch: MAIN
Changes since 1.13: +14 -14 lines
Diff to previous 1.13 , to selected 2.10
moved loading of lamp data before opening of input file

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sat Dec 8 10:14:33 1990 UTC (33 years, 11 months ago) by greg
Branch: MAIN
Changes since 1.12: +24 -0 lines
Diff to previous 1.12 , to selected 2.10
added option to use lamp type for color balancing

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Wed Nov 28 11:13:23 1990 UTC (33 years, 11 months ago) by greg
Branch: MAIN
Changes since 1.11: +9 -3 lines
Diff to previous 1.11 , to selected 2.10
added option to override output of aspect ratio change

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Tue Oct 16 13:52:44 1990 UTC (34 years, 1 month ago) by greg
Branch: MAIN
Changes since 1.10: +1 -0 lines
Diff to previous 1.10 , to selected 2.10
recomputed y_r after picture adjustment (bug fix)

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Thu Sep 13 09:46:00 1990 UTC (34 years, 2 months ago) by greg
Branch: MAIN
Changes since 1.9: +6 -0 lines
Diff to previous 1.9 , to selected 2.10
fixed pass2() so it reads all its input regardless

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Tue Jan 9 17:58:35 1990 UTC (34 years, 10 months ago) by greg
Branch: MAIN
Changes since 1.8: +40 -17 lines
Diff to previous 1.8 , to selected 2.10
added code to maintain pixel aspect ratio

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Fri Jan 5 17:52:52 1990 UTC (34 years, 10 months ago) by greg
Branch: MAIN
Changes since 1.7: +1 -1 lines
Diff to previous 1.7 , to selected 2.10
changed EXPOSURE information interface

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Wed Sep 13 17:16:37 1989 UTC (35 years, 2 months ago) by greg
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 , to selected 2.10
added calls to get/put picture resolution (bug fix)

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Sat Apr 29 09:22:54 1989 UTC (35 years, 6 months ago) by greg
Branch: MAIN
Changes since 1.5: +3 -0 lines
Diff to previous 1.5 , to selected 2.10
Added -2 option for two-pass

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Thu Apr 13 07:52:50 1989 UTC (35 years, 7 months ago) by greg
Branch: MAIN
Changes since 1.4: +6 -4 lines
Diff to previous 1.4 , to selected 2.10
resolution ratio supercedes previous specification

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Tue Apr 11 21:50:05 1989 UTC (35 years, 7 months ago) by greg
Branch: MAIN
Changes since 1.3: +8 -13 lines
Diff to previous 1.3 , to selected 2.10
consolidated resolution ratio variables

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Tue Apr 11 21:39:00 1989 UTC (35 years, 7 months ago) by greg
Branch: MAIN
Changes since 1.2: +8 -6 lines
Diff to previous 1.2 , to selected 2.10
changed syntax for resolution ratios

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Tue Apr 11 17:22:05 1989 UTC (35 years, 7 months ago) by greg
Branch: MAIN
Changes since 1.1: +19 -6 lines
Diff to previous 1.1 , to selected 2.10
added scaling options for x and y resolution

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

Convenience Links

Links to HEAD: (view) (download) (annotate) Links to rad5R2: (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