diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-12-14 17:16:13 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-12-14 17:16:13 +0000 |
commit | 8d147cc513e3dc9f10f073a92e56a70a7eae798c (patch) | |
tree | e33f83d66aec69736317fe5684b8a836ab2fa51b /graphics/pfscalibration/files/patch-src-robertson02.h | |
parent | ce5e12238beb8358984af8827cfd7d2523130856 (diff) |
Notes
Diffstat (limited to 'graphics/pfscalibration/files/patch-src-robertson02.h')
-rw-r--r-- | graphics/pfscalibration/files/patch-src-robertson02.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/graphics/pfscalibration/files/patch-src-robertson02.h b/graphics/pfscalibration/files/patch-src-robertson02.h new file mode 100644 index 000000000000..aa05c9f74e3d --- /dev/null +++ b/graphics/pfscalibration/files/patch-src-robertson02.h @@ -0,0 +1,24 @@ +--- src/robertson02.h.orig Thu Mar 16 12:22:46 2006 ++++ src/robertson02.h Thu Jun 21 14:34:34 2007 +@@ -39,8 +39,9 @@ + * @param I [out] array to put response function + * @param w weights + * @param M max camera output (no of discrete steps) ++ * @return number of saturated pixels in the HDR image (0: all OK) + */ +-void robertson02_getResponse( pfs::Array2D* xj, const ExposureList &imgs, ++int robertson02_getResponse( pfs::Array2D* xj, const ExposureList &imgs, + float* I, const float* w, int M ); + + +@@ -53,8 +54,9 @@ + * @param I camera response function (array size of M) + * @param w weighting function for camera output values (array size of M) + * @param M number of camera output levels ++ * @return number of saturated pixels in the HDR image (0: all OK) + */ +-void robertson02_applyResponse( pfs::Array2D* xj, const ExposureList &imgs, ++int robertson02_applyResponse( pfs::Array2D* xj, const ExposureList &imgs, + const float* I, const float* w, int M ); + + |