TuttleOFX  1
clamp.hpp File Reference
Include dependency graph for clamp.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  terry::channel_clamp< Channel >
struct  terry::clamp_converter< Pixel >
struct  terry::detail::clamp_view_type_resolver< View, has_scoped_channel >
struct  terry::detail::clamp_view_type_resolver< View, boost::mpl::false_ >
struct  terry::detail::clamp_view_type< View >
 Just an optimization to disable the process if the view don't use a scoped_channel_value. Without scoped_vhannel_value, we directly use the primitive type with the full range of this type. So there is nothing to clamp in this case. The values can't be outside the type range. More...

Namespaces

namespace  terry
namespace  terry::detail

Functions

template<typename View >
detail::color_processed_view_type
< clamp_converter< typename
View::value_type >, View >
::type 
terry::clamp_view (const View &src)