From bee783eed9fcbcfa6b0d5be0bb98709757261b7a Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 19 Nov 2009 16:41:36 +0100 Subject: Apply DQE --- src/detector.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/detector.c b/src/detector.c index f2f41320..6ca5e8e7 100644 --- a/src/detector.c +++ b/src/detector.c @@ -82,6 +82,14 @@ static uint16_t *bloom(double *hdr_in, int width, int height) hdr = malloc(width * height * sizeof(double)); memcpy(hdr, hdr_in, width*height*sizeof(double)); + + /* Apply DQE (once only) */ + for ( x=0; x