// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the tlRender project.

namespace tl
{
    inline bool HDRData::operator == (const HDRData& other) const
    {
        return
            eotf == other.eotf &&
            primaries == other.primaries &&
            displayMasteringLuminance == other.displayMasteringLuminance &&
            maxCLL == other.maxCLL &&
            maxFALL == other.maxFALL;
    }

    inline bool HDRData::operator != (const HDRData& other) const
    {
        return !(other == *this);
    }
}