Author: post
Date: 2010-04-02 00:30:22 +0200 (Fri, 02 Apr 2010)
New Revision: 3310
Modified:
trunk/plugins/meta-tiff/tiff-meta.c
Log:
Simply do a linear multiply now that the cache doesn't supply us with a wrong
WB.
Modified: trunk/plugins/meta-tiff/tiff-meta.c
===================================================================
--- trunk/plugins/meta-tiff/tiff-meta.c 2010-04-01 22:15:14 UTC (rev 3309)
+++ trunk/plugins/meta-tiff/tiff-meta.c 2010-04-01 22:30:22 UTC (rev 3310)
@@ -1612,13 +1612,8 @@
rs_filter_request_set_quick(request, TRUE);
for(c=0;c<4;c++)
- pre_mul[c] = (gfloat) meta->cam_mul[c];
+ pre_mul[c] = (gfloat) meta->cam_mul[c] * 1.5f;
- /* Some estimation of camera response */
- pre_mul[0] *= 1.75;
- pre_mul[1] *= 1.0;
- pre_mul[2] *= 1.5;
-
rs_filter_param_set_float4(RS_FILTER_PARAM(request), "premul", pre_mul);
rs_filter_param_set_object(RS_FILTER_PARAM(request), "colorspace",
rs_color_space_new_singleton("RSSrgb"));
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit