gpufilter
GPU-Efficient Recursive Filtering and Summed-Area Tables
gpufilter::_clamp Struct Reference

Access pattern: clamp-to-border. More...

#include <extension.h>

List of all members.

Public Member Functions

float operator() (float t) const
 Functor operator.
int operator() (int i, int n) const
 Functor operator.

Detailed Description

Access pattern: clamp-to-border.

Examples:

app_recursive.cc.


Member Function Documentation

float gpufilter::_clamp::operator() ( float  t) const [inline]

Functor operator.

Parameters:
tFloat value in range [0,1]
Returns:
Correct float parameter with clamp-to-border
int gpufilter::_clamp::operator() ( int  i,
int  n 
) const [inline]

Functor operator.

Parameters:
iInteger index in range [0,n)
nDefines range [0,n)
Returns:
Correct integer index with clamp-to-border

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