|
Packit Service |
6754ca |
///////////////////////////////////////////////////////////////////////////
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
// Copyright (c) 2014, Industrial Light & Magic, a division of Lucas
|
|
Packit Service |
6754ca |
// Digital Ltd. LLC
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
// 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 |
// * Redistributions of source code must retain the above copyright
|
|
Packit Service |
6754ca |
// notice, this list of conditions and the following disclaimer.
|
|
Packit Service |
6754ca |
// * Redistributions in binary form must reproduce the above
|
|
Packit Service |
6754ca |
// copyright notice, this list of conditions and the following disclaimer
|
|
Packit Service |
6754ca |
// in the documentation and/or other materials provided with the
|
|
Packit Service |
6754ca |
// distribution.
|
|
Packit Service |
6754ca |
// * Neither the name of Industrial Light & Magic nor the names of
|
|
Packit Service |
6754ca |
// its contributors may be used to endorse or promote products derived
|
|
Packit Service |
6754ca |
// from this software without specific prior written permission.
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
Packit Service |
6754ca |
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
Packit Service |
6754ca |
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
Packit Service |
6754ca |
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
Packit Service |
6754ca |
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
Packit Service |
6754ca |
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
Packit Service |
6754ca |
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
Packit Service |
6754ca |
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
Packit Service |
6754ca |
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
Packit Service |
6754ca |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
Packit Service |
6754ca |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
///////////////////////////////////////////////////////////////////////////
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
#ifndef INCLUDED_IMF_FLAT_IMAGE_LEVEL_H
|
|
Packit Service |
6754ca |
#define INCLUDED_IMF_FLAT_IMAGE_LEVEL_H
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
//----------------------------------------------------------------------------
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
// class FlatImageLevel
|
|
Packit Service |
6754ca |
// class FlatImageLevel::Iterator
|
|
Packit Service |
6754ca |
// class FlatImageLevel::ConstIterator
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
// For an explanation of images, levels and channels,
|
|
Packit Service |
6754ca |
// see the comments in header file Image.h.
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
//----------------------------------------------------------------------------
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
#include <ImfFlatImageChannel.h>
|
|
Packit Service |
6754ca |
#include <ImfImageLevel.h>
|
|
Packit Service |
6754ca |
#include <ImathBox.h>
|
|
Packit Service |
6754ca |
#include <string>
|
|
Packit Service |
6754ca |
#include <map>
|
|
Packit Service |
6754ca |
#include "ImfExport.h"
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
class FlatImage;
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
class IMF_EXPORT FlatImageLevel : public ImageLevel
|
|
Packit Service |
6754ca |
{
|
|
Packit Service |
6754ca |
public:
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
// Access to the flat image to which the level belongs.
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
FlatImage & flatImage();
|
|
Packit Service |
6754ca |
const FlatImage & flatImage() const;
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
// Accessing channels by name:
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
// findChannel(n) returns a pointer to the image channel with
|
|
Packit Service |
6754ca |
// name n, or 0 if no such channel exists.
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
// channel(n) returns a reference to the image channel with
|
|
Packit Service |
6754ca |
// name n, or throws an Iex::ArgExc exception if
|
|
Packit Service |
6754ca |
// no such channel exists.
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
// findTypedChannel<T>(n) returns a pointer to the image channel with
|
|
Packit Service |
6754ca |
// name n and type T, or 0 if no such channel
|
|
Packit Service |
6754ca |
// exists.
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
// typedChannel(n) returns a reference to the image channel with
|
|
Packit Service |
6754ca |
// name n and type T, or throws an Iex::ArgExc
|
|
Packit Service |
6754ca |
// exception if no such channel exists.
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
FlatImageChannel * findChannel (const std::string& name);
|
|
Packit Service |
6754ca |
const FlatImageChannel * findChannel (const std::string& name) const;
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
FlatImageChannel & channel (const std::string& name);
|
|
Packit Service |
6754ca |
const FlatImageChannel & channel (const std::string& name) const;
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
template <class T>
|
|
Packit Service |
6754ca |
TypedFlatImageChannel<T> * findTypedChannel
|
|
Packit Service |
6754ca |
(const std::string& name);
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
template <class T>
|
|
Packit Service |
6754ca |
const TypedFlatImageChannel<T> * findTypedChannel
|
|
Packit Service |
6754ca |
(const std::string& name) const;
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
template <class T>
|
|
Packit Service |
6754ca |
TypedFlatImageChannel<T> & typedChannel
|
|
Packit Service |
6754ca |
(const std::string& name);
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
template <class T>
|
|
Packit Service |
6754ca |
const TypedFlatImageChannel<T> & typedChannel
|
|
Packit Service |
6754ca |
(const std::string& name) const;
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
// Iterator-style access to channels
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
typedef std::map <std::string, FlatImageChannel *> ChannelMap;
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
class Iterator;
|
|
Packit Service |
6754ca |
class ConstIterator;
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
Iterator begin();
|
|
Packit Service |
6754ca |
ConstIterator begin() const;
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
Iterator end();
|
|
Packit Service |
6754ca |
ConstIterator end() const;
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
private:
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
friend class FlatImage;
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
// The constructor and destructor are private.
|
|
Packit Service |
6754ca |
// Image levels exist only as part of an image.
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
FlatImageLevel (FlatImage& image,
|
|
Packit Service |
6754ca |
int xLevelNumber,
|
|
Packit Service |
6754ca |
int yLevelNumber,
|
|
Packit Service |
6754ca |
const IMATH_NAMESPACE::Box2i& dataWindow);
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
virtual ~FlatImageLevel ();
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
virtual void resize (const IMATH_NAMESPACE::Box2i& dataWindow);
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
virtual void shiftPixels (int dx, int dy);
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
virtual void insertChannel (const std::string& name,
|
|
Packit Service |
6754ca |
PixelType type,
|
|
Packit Service |
6754ca |
int xSampling,
|
|
Packit Service |
6754ca |
int ySampling,
|
|
Packit Service |
6754ca |
bool pLinear);
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
virtual void eraseChannel (const std::string& name);
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
virtual void clearChannels ();
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
virtual void renameChannel (const std::string &oldName,
|
|
Packit Service |
6754ca |
const std::string &newName);
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
virtual void renameChannels (const RenamingMap &oldToNewNames);
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
ChannelMap _channels;
|
|
Packit Service |
6754ca |
};
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
class FlatImageLevel::Iterator
|
|
Packit Service |
6754ca |
{
|
|
Packit Service |
6754ca |
public:
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
Iterator ();
|
|
Packit Service |
6754ca |
Iterator (const FlatImageLevel::ChannelMap::iterator& i);
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
// Advance the iterator
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
Iterator & operator ++ ();
|
|
Packit Service |
6754ca |
Iterator operator ++ (int);
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
// Access to the channel to which the iterator points,
|
|
Packit Service |
6754ca |
// and to the name of that channel.
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
const std::string & name () const;
|
|
Packit Service |
6754ca |
FlatImageChannel & channel () const;
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
private:
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
friend class FlatImageLevel::ConstIterator;
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
FlatImageLevel::ChannelMap::iterator _i;
|
|
Packit Service |
6754ca |
};
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
class FlatImageLevel::ConstIterator
|
|
Packit Service |
6754ca |
{
|
|
Packit Service |
6754ca |
public:
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
ConstIterator ();
|
|
Packit Service |
6754ca |
ConstIterator (const FlatImageLevel::ChannelMap::const_iterator& i);
|
|
Packit Service |
6754ca |
ConstIterator (const FlatImageLevel::Iterator& other);
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
// Advance the iterator
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
ConstIterator & operator ++ ();
|
|
Packit Service |
6754ca |
ConstIterator operator ++ (int);
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
// Access to the channel to which the iterator points,
|
|
Packit Service |
6754ca |
// and to the name of that channel.
|
|
Packit Service |
6754ca |
//
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
const std::string & name () const;
|
|
Packit Service |
6754ca |
const FlatImageChannel & channel () const;
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
private:
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
friend bool operator ==
|
|
Packit Service |
6754ca |
(const ConstIterator &, const ConstIterator &);
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
friend bool operator !=
|
|
Packit Service |
6754ca |
(const ConstIterator &, const ConstIterator &);
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
FlatImageLevel::ChannelMap::const_iterator _i;
|
|
Packit Service |
6754ca |
};
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
//-----------------------------------------------------------------------------
|
|
Packit Service |
6754ca |
// Implementation of templates and inline functions
|
|
Packit Service |
6754ca |
//-----------------------------------------------------------------------------
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
template <class T>
|
|
Packit Service |
6754ca |
TypedFlatImageChannel<T> *
|
|
Packit Service |
6754ca |
FlatImageLevel::findTypedChannel (const std::string& name)
|
|
Packit Service |
6754ca |
{
|
|
Packit Service |
6754ca |
return dynamic_cast <TypedFlatImageChannel<T>*> (findChannel (name));
|
|
Packit Service |
6754ca |
}
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
template <class T>
|
|
Packit Service |
6754ca |
const TypedFlatImageChannel<T> *
|
|
Packit Service |
6754ca |
FlatImageLevel::findTypedChannel (const std::string& name) const
|
|
Packit Service |
6754ca |
{
|
|
Packit Service |
6754ca |
return dynamic_cast <const TypedFlatImageChannel<T>*> (findChannel (name));
|
|
Packit Service |
6754ca |
}
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
template <class T>
|
|
Packit Service |
6754ca |
TypedFlatImageChannel<T> &
|
|
Packit Service |
6754ca |
FlatImageLevel::typedChannel (const std::string& name)
|
|
Packit Service |
6754ca |
{
|
|
Packit Service |
6754ca |
TypedFlatImageChannel<T> * ptr = findTypedChannel<T> (name);
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
if (ptr == 0)
|
|
Packit Service |
6754ca |
throwBadChannelNameOrType (name);
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
return *ptr;
|
|
Packit Service |
6754ca |
}
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
template <class T>
|
|
Packit Service |
6754ca |
const TypedFlatImageChannel<T> &
|
|
Packit Service |
6754ca |
FlatImageLevel::typedChannel (const std::string& name) const
|
|
Packit Service |
6754ca |
{
|
|
Packit Service |
6754ca |
const TypedFlatImageChannel<T> * ptr = findTypedChannel<T> (name);
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
if (ptr == 0)
|
|
Packit Service |
6754ca |
throwBadChannelNameOrType (name);
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
return *ptr;
|
|
Packit Service |
6754ca |
}
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
inline
|
|
Packit Service |
6754ca |
FlatImageLevel::Iterator::Iterator (): _i()
|
|
Packit Service |
6754ca |
{
|
|
Packit Service |
6754ca |
// empty
|
|
Packit Service |
6754ca |
}
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
inline
|
|
Packit Service |
6754ca |
FlatImageLevel::Iterator::Iterator (const FlatImageLevel::ChannelMap::iterator& i):
|
|
Packit Service |
6754ca |
_i (i)
|
|
Packit Service |
6754ca |
{
|
|
Packit Service |
6754ca |
// empty
|
|
Packit Service |
6754ca |
}
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
inline FlatImageLevel::Iterator &
|
|
Packit Service |
6754ca |
FlatImageLevel::Iterator::operator ++ ()
|
|
Packit Service |
6754ca |
{
|
|
Packit Service |
6754ca |
++_i;
|
|
Packit Service |
6754ca |
return *this;
|
|
Packit Service |
6754ca |
}
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
inline FlatImageLevel::Iterator
|
|
Packit Service |
6754ca |
FlatImageLevel::Iterator::operator ++ (int)
|
|
Packit Service |
6754ca |
{
|
|
Packit Service |
6754ca |
Iterator tmp = *this;
|
|
Packit Service |
6754ca |
++_i;
|
|
Packit Service |
6754ca |
return tmp;
|
|
Packit Service |
6754ca |
}
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
inline const std::string &
|
|
Packit Service |
6754ca |
FlatImageLevel::Iterator::name () const
|
|
Packit Service |
6754ca |
{
|
|
Packit Service |
6754ca |
return _i->first;
|
|
Packit Service |
6754ca |
}
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
inline FlatImageChannel &
|
|
Packit Service |
6754ca |
FlatImageLevel::Iterator::channel () const
|
|
Packit Service |
6754ca |
{
|
|
Packit Service |
6754ca |
return *_i->second;
|
|
Packit Service |
6754ca |
}
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
inline
|
|
Packit Service |
6754ca |
FlatImageLevel::ConstIterator::ConstIterator (): _i()
|
|
Packit Service |
6754ca |
{
|
|
Packit Service |
6754ca |
// empty
|
|
Packit Service |
6754ca |
}
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
inline
|
|
Packit Service |
6754ca |
FlatImageLevel::ConstIterator::ConstIterator
|
|
Packit Service |
6754ca |
(const FlatImageLevel::ChannelMap::const_iterator& i): _i (i)
|
|
Packit Service |
6754ca |
{
|
|
Packit Service |
6754ca |
// empty
|
|
Packit Service |
6754ca |
}
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
inline
|
|
Packit Service |
6754ca |
FlatImageLevel::ConstIterator::ConstIterator
|
|
Packit Service |
6754ca |
(const FlatImageLevel::Iterator& other): _i (other._i)
|
|
Packit Service |
6754ca |
{
|
|
Packit Service |
6754ca |
// empty
|
|
Packit Service |
6754ca |
}
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
inline FlatImageLevel::ConstIterator &
|
|
Packit Service |
6754ca |
FlatImageLevel::ConstIterator::operator ++ ()
|
|
Packit Service |
6754ca |
{
|
|
Packit Service |
6754ca |
++_i;
|
|
Packit Service |
6754ca |
return *this;
|
|
Packit Service |
6754ca |
}
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
inline FlatImageLevel::ConstIterator
|
|
Packit Service |
6754ca |
FlatImageLevel::ConstIterator::operator ++ (int)
|
|
Packit Service |
6754ca |
{
|
|
Packit Service |
6754ca |
ConstIterator tmp = *this;
|
|
Packit Service |
6754ca |
++_i;
|
|
Packit Service |
6754ca |
return tmp;
|
|
Packit Service |
6754ca |
}
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
inline const std::string &
|
|
Packit Service |
6754ca |
FlatImageLevel::ConstIterator::name () const
|
|
Packit Service |
6754ca |
{
|
|
Packit Service |
6754ca |
return _i->first;
|
|
Packit Service |
6754ca |
}
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
inline const FlatImageChannel &
|
|
Packit Service |
6754ca |
FlatImageLevel::ConstIterator::channel () const
|
|
Packit Service |
6754ca |
{
|
|
Packit Service |
6754ca |
return *_i->second;
|
|
Packit Service |
6754ca |
}
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
inline bool
|
|
Packit Service |
6754ca |
operator == (const FlatImageLevel::ConstIterator& x,
|
|
Packit Service |
6754ca |
const FlatImageLevel::ConstIterator& y)
|
|
Packit Service |
6754ca |
{
|
|
Packit Service |
6754ca |
return x._i == y._i;
|
|
Packit Service |
6754ca |
}
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
inline bool
|
|
Packit Service |
6754ca |
operator != (const FlatImageLevel::ConstIterator& x,
|
|
Packit Service |
6754ca |
const FlatImageLevel::ConstIterator& y)
|
|
Packit Service |
6754ca |
{
|
|
Packit Service |
6754ca |
return !(x == y);
|
|
Packit Service |
6754ca |
}
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
|
|
Packit Service |
6754ca |
|
|
Packit Service |
6754ca |
#endif
|