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) 2004, 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
@@ -44,14 +44,14 @@
namespace Imf {
KeyCode::KeyCode (int filmMfcCode,
int filmType,
int prefix,
int count,
int perfOffset,
int perfsPerFrame,
int perfsPerCount)
int filmType,
int prefix,
int count,
int perfOffset,
int perfsPerFrame,
int perfsPerCount)
{
setFilmMfcCode (filmMfcCode);
setFilmType (filmType);
@@ -90,95 +90,95 @@ KeyCode::operator = (const KeyCode &other)
}
int
int
KeyCode::filmMfcCode () const
{
return _filmMfcCode;
}
void
void
KeyCode::setFilmMfcCode (int filmMfcCode)
{
if (filmMfcCode < 0 || filmMfcCode > 99)
throw Iex::ArgExc ("Invalid key code film manufacturer code "
"(must be between 0 and 99).");
throw Iex::ArgExc ("Invalid key code film manufacturer code "
"(must be between 0 and 99).");
_filmMfcCode = filmMfcCode;
}
int
int
KeyCode::filmType () const
{
return _filmType;
}
void
void
KeyCode::setFilmType (int filmType)
{
if (filmType < 0 || filmType > 99)
throw Iex::ArgExc ("Invalid key code film type "
"(must be between 0 and 99).");
throw Iex::ArgExc ("Invalid key code film type "
"(must be between 0 and 99).");
_filmType = filmType;
}
int
int
KeyCode::prefix () const
{
return _prefix;
}
void
void
KeyCode::setPrefix (int prefix)
{
if (prefix < 0 || prefix > 999999)
throw Iex::ArgExc ("Invalid key code prefix "
"(must be between 0 and 999999).");
throw Iex::ArgExc ("Invalid key code prefix "
"(must be between 0 and 999999).");
_prefix = prefix;
}
int
int
KeyCode::count () const
{
return _count;
}
void
void
KeyCode::setCount (int count)
{
if (count < 0 || count > 9999)
throw Iex::ArgExc ("Invalid key code count "
"(must be between 0 and 9999).");
throw Iex::ArgExc ("Invalid key code count "
"(must be between 0 and 9999).");
_count = count;
}
int
int
KeyCode::perfOffset () const
{
return _perfOffset;
}
void
void
KeyCode::setPerfOffset (int perfOffset)
{
if (perfOffset < 0 || perfOffset > 119)
throw Iex::ArgExc ("Invalid key code perforation offset "
"(must be between 0 and 119).");
throw Iex::ArgExc ("Invalid key code perforation offset "
"(must be between 0 and 119).");
_perfOffset = perfOffset;
}
int
int
KeyCode::perfsPerFrame () const
{
return _perfsPerFrame;
@@ -189,14 +189,14 @@ void
KeyCode::setPerfsPerFrame (int perfsPerFrame)
{
if (perfsPerFrame < 1 || perfsPerFrame > 15)
throw Iex::ArgExc ("Invalid key code number of perforations per frame "
"(must be between 1 and 15).");
throw Iex::ArgExc ("Invalid key code number of perforations per frame "
"(must be between 1 and 15).");
_perfsPerFrame = perfsPerFrame;
}
int
int
KeyCode::perfsPerCount () const
{
return _perfsPerCount;
@@ -207,8 +207,8 @@ void
KeyCode::setPerfsPerCount (int perfsPerCount)
{
if (perfsPerCount < 20 || perfsPerCount > 120)
throw Iex::ArgExc ("Invalid key code number of perforations per count "
"(must be between 20 and 120).");
throw Iex::ArgExc ("Invalid key code number of perforations per count "
"(must be between 20 and 120).");
_perfsPerCount = perfsPerCount;
}