ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/cmatrix.c
Revision 2.38 - (view) (download) (annotate) - [select for diffs]
Tue Nov 21 01:30:20 2023 UTC (11 months, 1 week ago) by greg
Branch: MAIN
CVS Tags: HEAD
Changes since 2.37: +3 -3 lines
Diff to previous 2.37 , to selected 2.29
feat(rmtxop): Added handling of Radiance spectral pictures as matrices

Revision 2.37 - (view) (download) (annotate) - [select for diffs]
Thu May 18 23:55:10 2023 UTC (17 months, 2 weeks ago) by greg
Branch: MAIN
CVS Tags: rad5R4
Changes since 2.36: +15 -16 lines
Diff to previous 2.36 , to selected 2.29
perf: made EXPOSURE and COLORCORR handling more consistent across types

Revision 2.36 - (view) (download) (annotate) - [select for diffs]
Sun Dec 4 16:58:08 2022 UTC (22 months, 4 weeks ago) by greg
Branch: MAIN
Changes since 2.35: +6 -5 lines
Diff to previous 2.35 , to selected 2.29
fix(dctimestep): Reinstated ability to handle input matrices without NROWS in header

Revision 2.35 - (view) (download) (annotate) - [select for diffs]
Wed Apr 27 01:31:56 2022 UTC (2 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.34: +5 -3 lines
Diff to previous 2.34 , to selected 2.29
fix(dctimestep): Repaired automatic detection of number of input rows

Revision 2.34 - (view) (download) (annotate) - [select for diffs]
Fri Mar 11 17:15:42 2022 UTC (2 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.33: +4 -4 lines
Diff to previous 2.33 , to selected 2.29
fix(dctimestep): Fixed issue loading CMATRIX from HDR picture

Revision 2.33 - (view) (download) (annotate) - [select for diffs]
Fri Jan 22 16:19:15 2021 UTC (3 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.32: +6 -4 lines
Diff to previous 2.32 , to selected 2.29
fix: reinstated interpretation of NULL file name as stdin, so dctimestep works

Revision 2.32 - (view) (download) (annotate) - [select for diffs]
Tue Jan 19 23:32:00 2021 UTC (3 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.31: +8 -4 lines
Diff to previous 2.31 , to selected 2.29
feat: Added -rf and -rb options to rmtxop to load XML reflectance matrices

Revision 2.31 - (view) (download) (annotate) - [select for diffs]
Fri Jan 15 18:31:38 2021 UTC (3 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.30: +10 -10 lines
Diff to previous 2.30 , to selected 2.29
More 64-bit addressing fixes

Revision 2.30 - (view) (download) (annotate) - [select for diffs]
Fri Jan 15 17:22:23 2021 UTC (3 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.29: +14 -13 lines
Diff to previous 2.29
fix: fixed a few other bugs related to 64-bit addressing

Revision 2.29 - (view) (download) (annotate) - [selected]
Fri Jan 15 02:46:28 2021 UTC (3 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.28: +2 -2 lines
Diff to previous 2.28
fix: fixed malloc() call overflow for large matrices

Revision 2.28 - (view) (download) (annotate) - [select for diffs]
Mon Mar 30 20:41:47 2020 UTC (4 years, 7 months ago) by greg
Branch: MAIN
CVS Tags: rad5R3
Changes since 2.27: +3 -7 lines
Diff to previous 2.27 , to selected 2.29
Fixed issues loading resolution string when NCOLS= not in header

Revision 2.27 - (view) (download) (annotate) - [select for diffs]
Thu Mar 26 16:56:10 2020 UTC (4 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.26: +5 -6 lines
Diff to previous 2.26 , to selected 2.29
Minor changes should not affect operation

Revision 2.26 - (view) (download) (annotate) - [select for diffs]
Thu Mar 26 02:48:31 2020 UTC (4 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.25: +12 -8 lines
Diff to previous 2.25 , to selected 2.29
Fixed important bugs in RGBE and XYZE file loading and byte-swapping

Revision 2.25 - (view) (download) (annotate) - [select for diffs]
Wed Mar 25 01:51:09 2020 UTC (4 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.24: +37 -6 lines
Diff to previous 2.24 , to selected 2.29
Changed rmtxop and dctimestep to undo any exposure on Radiance input pictures

Revision 2.24 - (view) (download) (annotate) - [select for diffs]
Thu Nov 7 23:10:18 2019 UTC (4 years, 11 months ago) by greg
Branch: MAIN
Changes since 2.23: +3 -3 lines
Diff to previous 2.23 , to selected 2.29
Fixed priority of output formats

Revision 2.23 - (view) (download) (annotate) - [select for diffs]
Wed Oct 23 17:00:14 2019 UTC (5 years ago) by greg
Branch: MAIN
Changes since 2.22: +33 -1 lines
Diff to previous 2.22 , to selected 2.29
Added support for RGBE picture i/o to dctimestep

Revision 2.22 - (view) (download) (annotate) - [select for diffs]
Wed Aug 14 18:20:02 2019 UTC (5 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.21: +18 -3 lines
Diff to previous 2.21 , to selected 2.29
Added explicit byte-swap checks in headers using BigEndian= line

Revision 2.21 - (view) (download) (annotate) - [select for diffs]
Mon Aug 12 18:28:37 2019 UTC (5 years, 2 months ago) by greg
Branch: MAIN
Changes since 2.20: +27 -39 lines
Diff to previous 2.20 , to selected 2.29
Made error checking more consistent and eliminated unused function call

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

Revision 2.19 - (view) (download) (annotate) - [select for diffs]
Tue Apr 10 22:11:30 2018 UTC (6 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.18: +2 -2 lines
Diff to previous 2.18 , to selected 2.29
Fixed inconsistency introduced in 2014 (rev. 2.8)

Revision 2.18 - (view) (download) (annotate) - [select for diffs]
Tue Aug 30 14:52:46 2016 UTC (8 years, 2 months ago) by greg
Branch: MAIN
CVS Tags: rad5R1
Changes since 2.17: +4 -4 lines
Diff to previous 2.17 , to selected 2.29
Force double promotion

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

Revision 2.16 - (view) (download) (annotate) - [select for diffs]
Sun Mar 6 01:13:18 2016 UTC (8 years, 7 months ago) by schorsch
Branch: MAIN
Changes since 2.15: +2 -1 lines
Diff to previous 2.15 , to selected 2.29
Prepare for SCons build on Win32 and Win64

Revision 2.15 - (view) (download) (annotate) - [select for diffs]
Wed Feb 17 23:26:06 2016 UTC (8 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.14: +6 -5 lines
Diff to previous 2.14 , to selected 2.29
Made realloc() calls less aggressive to avoid memory errors

Revision 2.14 - (view) (download) (annotate) - [select for diffs]
Tue Feb 2 18:02:32 2016 UTC (8 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.13: +2 -2 lines
Diff to previous 2.13 , to selected 2.29
Moved declaration of popen to paths.h and put convert_command() into module

Revision 2.13 - (view) (download) (annotate) - [select for diffs]
Sat Aug 1 23:27:04 2015 UTC (9 years, 3 months ago) by greg
Branch: MAIN
CVS Tags: rad5R0
Changes since 2.12: +3 -2 lines
Diff to previous 2.12 , to selected 2.29
Fixed various compiler warnings (mostly harmless)

Revision 2.12 - (view) (download) (annotate) - [select for diffs]
Wed Jul 22 04:29:56 2015 UTC (9 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.11: +4 -4 lines
Diff to previous 2.11 , to selected 2.29
Reduced precision of multiplies in favor of time when little differ found

Revision 2.11 - (view) (download) (annotate) - [select for diffs]
Wed Jul 22 04:23:27 2015 UTC (9 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.10: +4 -4 lines
Diff to previous 2.10 , to selected 2.29
Improved matrix multiplication accuracy by forcing promotions to double

Revision 2.10 - (view) (download) (annotate) - [select for diffs]
Fri May 8 18:25:03 2015 UTC (9 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.9: +2 -1 lines
Diff to previous 2.9 , to selected 2.29
Added rtprocess.h needed for popen() under Windows

Revision 2.9 - (view) (download) (annotate) - [select for diffs]
Mon May 4 20:53:21 2015 UTC (9 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.8: +29 -17 lines
Diff to previous 2.8 , to selected 2.29
Added the ability to read matrix inputs from commands as well as files

Revision 2.8 - (view) (download) (annotate) - [select for diffs]
Sat Aug 2 17:10:43 2014 UTC (10 years, 3 months ago) by greg
Branch: MAIN
CVS Tags: rad4R2P1, rad4R2P2
Changes since 2.7: +3 -3 lines
Diff to previous 2.7 , to selected 2.29
Made rmtxop output the same type as lesser of inputs by default

Revision 2.7 - (view) (download) (annotate) - [select for diffs]
Tue Jul 8 16:39:41 2014 UTC (10 years, 3 months ago) by greg
Branch: MAIN
CVS Tags: rad4R2
Changes since 2.6: +2 -2 lines
Diff to previous 2.6 , to selected 2.29
Removed unnecessary address operators from function ids.

Revision 2.6 - (view) (download) (annotate) - [select for diffs]
Tue Jun 17 18:03:48 2014 UTC (10 years, 4 months ago) by greg
Branch: MAIN
Changes since 2.5: +23 -5 lines
Diff to previous 2.5 , to selected 2.29
Hopeful fix to performance issue for gendaymtx under Windows

Revision 2.5 - (view) (download) (annotate) - [select for diffs]
Fri May 30 00:00:54 2014 UTC (10 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.4: +62 -18 lines
Diff to previous 2.4 , to selected 2.29
Added NROWS, NCOLS and NCOMP to matrix headers

Revision 2.4 - (view) (download) (annotate) - [select for diffs]
Thu May 29 17:28:09 2014 UTC (10 years, 5 months ago) by greg
Branch: MAIN
Changes since 2.3: +10 -7 lines
Diff to previous 2.3 , to selected 2.29
Improved accuracy of matrix multiplication by using double accumulator

Revision 2.3 - (view) (download) (annotate) - [select for diffs]
Tue Apr 8 23:45:33 2014 UTC (10 years, 6 months ago) by greg
Branch: MAIN
Changes since 2.2: +8 -8 lines
Diff to previous 2.2 , to selected 2.29
Removed tab before first column

Revision 2.2 - (view) (download) (annotate) - [select for diffs]
Sat Feb 8 01:28:06 2014 UTC (10 years, 8 months ago) by greg
Branch: MAIN
Changes since 2.1: +74 -24 lines
Diff to previous 2.1 , to selected 2.29
Added -od and -of options for binary output

Revision 2.1 - (view) (download) (annotate) - [select for diffs]
Mon Jan 20 21:29:04 2014 UTC (10 years, 9 months ago) by greg
Branch: MAIN
Diff to selected 2.29
Split out color coefficient matrix routines from dctimestep

Convenience Links

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