|
Packit Service |
6754ca |
//////////////////////////////////////////////////////////////////////////////
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
// Copyright (c) 2006, Industrial Light & Magic, a division of Lucasfilm
|
|
Packit Service |
6754ca |
// Entertainment Company Ltd. Portions contributed and copyright held by
|
|
Packit Service |
6754ca |
// others as indicated. All rights reserved.
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
// Redistribution and use in source and binary forms, with or without
|
|
Packit Service |
6754ca |
// modification, are permitted provided that the following conditions are
|
|
Packit Service |
6754ca |
// met:
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
// * Redistributions of source code must retain the above
|
|
Packit Service |
6754ca |
// copyright notice, this list of conditions and the following
|
|
Packit Service |
6754ca |
// disclaimer.
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
// * Redistributions in binary form must reproduce the above
|
|
Packit Service |
6754ca |
// copyright notice, this list of conditions and the following
|
|
Packit Service |
6754ca |
// disclaimer in the documentation and/or other materials provided with
|
|
Packit Service |
6754ca |
// the distribution.
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
// * Neither the name of Industrial Light & Magic nor the names of
|
|
Packit Service |
6754ca |
// any other contributors to this software may be used to endorse or
|
|
Packit Service |
6754ca |
// promote products derived from this software without specific prior
|
|
Packit Service |
6754ca |
// written permission.
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|
Packit Service |
6754ca |
// IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
|
Packit Service |
6754ca |
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
Packit Service |
6754ca |
// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|
Packit Service |
6754ca |
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
Packit Service |
6754ca |
// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
Packit Service |
6754ca |
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
Packit Service |
6754ca |
// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
Packit Service |
6754ca |
// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
Packit Service |
6754ca |
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
Packit Service |
6754ca |
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
//////////////////////////////////////////////////////////////////////////////
|
|
Packit Service |
6754ca |
#include "ImfNamespace.h"
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
#include <ImfRgba.h>
|
|
Packit Service |
6754ca |
#include <ImfArray.h>
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
bool withinB44ErrorBounds (const half A[4][4], const half B[4][4]);
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
void compareB44 (int width,
|
|
Packit Service |
6754ca |
int height,
|
|
Packit Service |
6754ca |
const OPENEXR_IMF_NAMESPACE::Array2D<half> &p1,
|
|
Packit Service |
6754ca |
const OPENEXR_IMF_NAMESPACE::Array2D<half> &p2;;
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
void compareB44 (int width,
|
|
Packit Service |
6754ca |
int height,
|
|
Packit Service |
6754ca |
const OPENEXR_IMF_NAMESPACE::Array2D<OPENEXR_IMF_NAMESPACE::Rgba> &p1,
|
|
Packit Service |
6754ca |
const OPENEXR_IMF_NAMESPACE::Array2D<OPENEXR_IMF_NAMESPACE::Rgba> &p2,
|
|
Packit Service |
6754ca |
OPENEXR_IMF_NAMESPACE::RgbaChannels channels);
|