Formatted all .cc and .h code in rtengine, rtexif and rtgui using astyle

This commit is contained in:
DrSlony
2015-08-11 11:55:03 +02:00
parent effb46c3e1
commit 0e0cfb9b25
452 changed files with 133354 additions and 99460 deletions

View File

@@ -25,19 +25,22 @@ const char rtengine::sImagefloat[] = "Imagefloat";
int rtengine::getCoarseBitMask( const procparams::CoarseTransformParams &coarse)
{
int tr = TR_NONE;
if (coarse.rotate == 90) {
tr |= TR_R90;
} else if (coarse.rotate == 180) {
tr |= TR_R180;
} else if (coarse.rotate == 270) {
tr |= TR_R270;
tr |= TR_R90;
} else if (coarse.rotate == 180) {
tr |= TR_R180;
} else if (coarse.rotate == 270) {
tr |= TR_R270;
}
if (coarse.hflip) {
tr |= TR_HFLIP;
tr |= TR_HFLIP;
}
if (coarse.vflip) {
tr |= TR_VFLIP;
tr |= TR_VFLIP;
}
return tr;
}