Normalize line endings and whitespace

This commit is contained in:
OpenCV Buildbot
2012-10-17 11:12:04 +04:00
committed by Andrey Kamaev
parent 0442bca235
commit 81f826db2b
1511 changed files with 258678 additions and 258624 deletions

View File

@@ -2,9 +2,9 @@
//
// Copyright (c) 2003, Industrial Light & Magic, a division of Lucas
// Digital Ltd. LLC
//
//
// All rights reserved.
//
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
@@ -16,8 +16,8 @@
// distribution.
// * Neither the name of Industrial Light & Magic nor the names of
// its contributors may be used to endorse or promote products derived
// from this software without specific prior written permission.
//
// from this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -47,8 +47,8 @@ namespace Imf {
PreviewImage::PreviewImage (unsigned int width,
unsigned int height,
const PreviewRgba pixels[])
unsigned int height,
const PreviewRgba pixels[])
{
_width = width;
_height = height;
@@ -57,13 +57,13 @@ PreviewImage::PreviewImage (unsigned int width,
if (pixels)
{
for (unsigned int i = 0; i < _width * _height; ++i)
_pixels[i] = pixels[i];
for (unsigned int i = 0; i < _width * _height; ++i)
_pixels[i] = pixels[i];
}
else
{
for (unsigned int i = 0; i < _width * _height; ++i)
_pixels[i] = PreviewRgba();
for (unsigned int i = 0; i < _width * _height; ++i)
_pixels[i] = PreviewRgba();
}
}
@@ -74,7 +74,7 @@ PreviewImage::PreviewImage (const PreviewImage &other):
_pixels (new PreviewRgba [other._width * other._height])
{
for (unsigned int i = 0; i < _width * _height; ++i)
_pixels[i] = other._pixels[i];
_pixels[i] = other._pixels[i];
}
@@ -94,7 +94,7 @@ PreviewImage::operator = (const PreviewImage &other)
_pixels = new PreviewRgba [other._width * other._height];
for (unsigned int i = 0; i < _width * _height; ++i)
_pixels[i] = other._pixels[i];
_pixels[i] = other._pixels[i];
return *this;
}