Krita Source Code Documentation
Loading...
Searching...
No Matches
KoClampedSourceAndDestinationCompositeOpGenericFunctorBase< T > Struct Template Reference

#include <KoCompositeOpGenericFunctorBase.h>

+ Inheritance diagram for KoClampedSourceAndDestinationCompositeOpGenericFunctorBase< T >:

Static Public Member Functions

static T clampDestinationChannelValue (T value)
 
static T clampSourceChannelValue (T value)
 

Detailed Description

template<typename T>
struct KoClampedSourceAndDestinationCompositeOpGenericFunctorBase< T >

Definition at line 70 of file KoCompositeOpGenericFunctorBase.h.

Member Function Documentation

◆ clampDestinationChannelValue()

template<typename T >
static T KoClampedSourceAndDestinationCompositeOpGenericFunctorBase< T >::clampDestinationChannelValue ( T value)
inlinestatic

Definition at line 77 of file KoCompositeOpGenericFunctorBase.h.

77 {
78 using namespace Arithmetic;
80 }
float value(const T *src, size_t ch)
T clampChannelToSDR(T a)

References value().

◆ clampSourceChannelValue()

template<typename T >
static T KoClampedSourceAndDestinationCompositeOpGenericFunctorBase< T >::clampSourceChannelValue ( T value)
inlinestatic

Definition at line 72 of file KoCompositeOpGenericFunctorBase.h.

72 {
73 using namespace Arithmetic;
75 }

References value().


The documentation for this struct was generated from the following file: