-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switch channel index type in nth_channel_view to boost::gil::index_t
- Loading branch information
Showing
3 changed files
with
27 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
// | ||
// Copyright 2005-2007 Adobe Systems Incorporated | ||
// Copyright 2018 Mateusz Loskot <[email protected]> | ||
// Copyright 2022 Dirk Stolle | ||
// | ||
// Use, modification and distribution are subject to the Boost Software License, | ||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | ||
|
@@ -16,6 +17,7 @@ | |
#include <boost/gil/rgb.hpp> | ||
#include <boost/gil/rgba.hpp> | ||
|
||
#include <cstddef> | ||
#include <cstdint> | ||
#include <memory> | ||
|
||
|
@@ -91,6 +93,9 @@ template <typename B, typename Mn, typename Mx> struct scoped_channel_value; | |
template <typename T> struct float_point_zero; | ||
template <typename T> struct float_point_one; | ||
|
||
// general-purpose index type | ||
using index_t = std::ptrdiff_t; | ||
|
||
////////////////////////////////////////////////////////////////////////////////////////// | ||
/// Built-in channel models | ||
////////////////////////////////////////////////////////////////////////////////////////// | ||
|