fixed Clang warnings in rtengine and rtexif
This commit is contained in:
parent
24fd816c36
commit
73afa054c4
@ -1530,7 +1530,7 @@ void Color::interpolateRGBColor (float realL, float iplow, float iphigh, int alg
|
|||||||
int toDo, const double xyz_rgb[3][3], const double rgb_xyz[3][3], float &ro, float &go, float &bo)
|
int toDo, const double xyz_rgb[3][3], const double rgb_xyz[3][3], float &ro, float &go, float &bo)
|
||||||
{
|
{
|
||||||
float X1, Y1, Z1, X2, Y2, Z2, X, Y, Z, XL, YL, ZL;
|
float X1, Y1, Z1, X2, Y2, Z2, X, Y, Z, XL, YL, ZL;
|
||||||
float L1, L2, LL, a_1 = 0.f, b_1 = 0.f, a_2, b_2, a_L, b_L;
|
float L1 = 0.f, L2, LL, a_1 = 0.f, b_1 = 0.f, a_2, b_2, a_L, b_L;
|
||||||
|
|
||||||
// converting color 1 to Lab (image)
|
// converting color 1 to Lab (image)
|
||||||
Color::rgbxyz(r1, g1, b1, X1, Y1, Z1, xyz_rgb);
|
Color::rgbxyz(r1, g1, b1, X1, Y1, Z1, xyz_rgb);
|
||||||
|
@ -4634,7 +4634,7 @@ void ImProcFunctions::rgbProc (Imagefloat* working, LabImage* lab, PipetteBuffer
|
|||||||
else if (params->colorToning.method == "Lab" && opautili) {
|
else if (params->colorToning.method == "Lab" && opautili) {
|
||||||
int algm = 0;
|
int algm = 0;
|
||||||
bool twocol = true;
|
bool twocol = true;
|
||||||
int metchrom;
|
int metchrom = 0;
|
||||||
|
|
||||||
if (params->colorToning.twocolor == "Std" ) {
|
if (params->colorToning.twocolor == "Std" ) {
|
||||||
metchrom = 0;
|
metchrom = 0;
|
||||||
|
@ -71,9 +71,7 @@ PreviewImage::PreviewImage (const Glib::ustring &fname, const Glib::ustring &ext
|
|||||||
int w, h;
|
int w, h;
|
||||||
double scale = 1.;
|
double scale = 1.;
|
||||||
|
|
||||||
if (tpp) {
|
tpp->getDimensions(w, h, scale);
|
||||||
tpp->getDimensions(w, h, scale);
|
|
||||||
}
|
|
||||||
|
|
||||||
previewImage = Cairo::ImageSurface::create(Cairo::FORMAT_RGB24, w, h);
|
previewImage = Cairo::ImageSurface::create(Cairo::FORMAT_RGB24, w, h);
|
||||||
previewImage->flush();
|
previewImage->flush();
|
||||||
|
@ -20,7 +20,6 @@ void parseKodakIfdTextualInfo(Tag *textualInfo, Tag* exif_)
|
|||||||
|
|
||||||
TagDirectory *exif = exif_->getDirectory();
|
TagDirectory *exif = exif_->getDirectory();
|
||||||
char *value = (char *)textualInfo->getValue();
|
char *value = (char *)textualInfo->getValue();
|
||||||
int valuesize = textualInfo->getValueSize();
|
|
||||||
|
|
||||||
char *p = value;
|
char *p = value;
|
||||||
char *pc, *plf;
|
char *pc, *plf;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user