[f-spot/rubenv-gsoc-2009: 72/86] Change RAW processing flags to make it go a bit faster.



commit 9bac5517a7012381f88483e33df10a4b81a37485
Author: Ruben Vermeersch <ruben savanne be>
Date:   Wed Aug 12 14:31:03 2009 +0200

    Change RAW processing flags to make it go a bit faster.
    
    Many thanks to pmjdebruijn for the hint!

 lib/libfspotraw/fspot-librawloader.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/lib/libfspotraw/fspot-librawloader.cpp b/lib/libfspotraw/fspot-librawloader.cpp
index 6cb0580..f62ac11 100644
--- a/lib/libfspotraw/fspot-librawloader.cpp
+++ b/lib/libfspotraw/fspot-librawloader.cpp
@@ -279,6 +279,9 @@ open_if_needed (FSpotLibrawLoader *self)
 {
 	if (!self->priv->opened) {
 		self->priv->raw_proc->imgdata.params.use_camera_wb = 1;
+		self->priv->raw_proc->imgdata.params.use_camera_matrix = 1;
+		self->priv->raw_proc->imgdata.params.user_qual = 2;
+		self->priv->raw_proc->imgdata.params.highlight = 2;
 		int result = self->priv->raw_proc->open_file (self->priv->filename);
 		if (result != 0)
 			return FALSE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]