IccMAX 2.1.27
Color Profile Tools
Loading...
Searching...
No Matches
IccTagLut.cpp File Reference
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include "IccTag.h"
#include "IccUtil.h"
#include "IccProfile.h"
#include "IccMpeBasic.h"
+ Include dependency graph for IccTagLut.cpp:

Go to the source code of this file.

Functions

static icFloatNumber ClutUnitClip (icFloatNumber v)
 
static bool IsUnity (const icFloatNumber &num)
 

Variables

const icFloatNumber VERYSMALLNUM = (icFloatNumber)0.0000001
 

Detailed Description

File: IccTagLut.cpp

Contains: Implementation of the Lut Tag classes

Version: V1

Copyright: � see ICC Software License

Definition in file IccTagLut.cpp.

Function Documentation

◆ ClutUnitClip()

static icFloatNumber ClutUnitClip ( icFloatNumber  v)
static
1606{
1607 if (v<0)
1608 return 0;
1609 else if (v>1.0)
1610 return 1.0;
1611
1612 return v;
1613}

Referenced by CIccCLUT::CIccCLUT().

+ Here is the caller graph for this function:

◆ IsUnity()

static bool IsUnity ( const icFloatNumber num)
static
521{
522 return (num>(1.0-VERYSMALLNUM) && num<(1.0+VERYSMALLNUM));
523}
const icFloatNumber VERYSMALLNUM
Definition IccTagLut.cpp:519

References VERYSMALLNUM.

Referenced by CIccTagCurve::IsIdentity(), CIccTagParametricCurve::IsIdentity(), and CIccMatrix::IsIdentity().

+ Here is the caller graph for this function:

Variable Documentation

◆ VERYSMALLNUM

const icFloatNumber VERYSMALLNUM = (icFloatNumber)0.0000001