[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/graphics/digikam/libs/dimg/filters/wb
From:       Gilles Caulier <caulier.gilles () gmail ! com>
Date:       2010-02-12 23:09:32
Message-ID: 1266016172.566765.6069.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1089351 by cgilles:

polish


 M  +5 -0      wbfilter.cpp  
 M  +1 -0      wbfilter.h  


--- trunk/extragear/graphics/digikam/libs/dimg/filters/wb/wbfilter.cpp \
#1089350:1089351 @@ -162,6 +162,11 @@
     kDebug() << "Green component:" << green;
 }
 
+void WBFilter::autoExposureAdjustement(DImg* img, double& black, double& expo)
+{
+    autoExposureAdjustement(img->bits(), img->width(), img->height(), \
img->sixteenBit(), black, expo); +}
+
 void WBFilter::autoExposureAdjustement(uchar* data, int width, int height, bool sb, \
double& black, double& expo)  {
     // Create an histogram of original image.
--- trunk/extragear/graphics/digikam/libs/dimg/filters/wb/wbfilter.h #1089350:1089351
@@ -82,6 +82,7 @@
     WBFilter(uchar* data, uint width, uint height, bool sixteenBit, const \
WBContainer& settings=WBContainer());  virtual ~WBFilter();
 
+    static void autoExposureAdjustement(DImg *img, double& black, double& expo);
     static void autoExposureAdjustement(uchar* data, int width, int height, bool sb, \
                double& black, double& expo);
     static void autoWBAdjustementFromColor(const QColor& tc, double& temperature, \
double& green);  


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic