Formatted all .cc and .h code in rtengine, rtexif and rtgui using astyle
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user