RecFilter
RecFilterRefVar Class Reference

Create an expression that can be used to initialize a pixel. More...

#include <recfilter.h>

Public Member Functions

 RecFilterRefVar (RecFilter r, std::vector< RecFilterDim > a)
 
void operator= (Halide::Expr pure_def)
 Use this as the left-hand-side of a definition. More...
 
void operator= (const Halide::Tuple &pure_def)
 Use this as the left-hand-side of a definition for a Func with multiple outputs. More...
 
void operator= (Halide::FuncRefVar pure_def)
 Use this as the left-hand-side of a definition. More...
 
void operator= (Halide::FuncRefExpr pure_def)
 Use this as the left-hand-side of a definition. More...
 
void operator= (std::vector< Halide::Expr > pure_def)
 Use this as the left-hand-side of a definition for a Func with multiple outputs. More...
 
 operator Halide::Expr (void)
 Use this RecFilterRefVar as a call to the internal recfilter output. More...
 
Halide::Expr operator[] (int)
 Use this RecFilterRefVar as a call to the one of the output buffers of the internal recfilter. More...
 

Detailed Description

Create an expression that can be used to initialize a pixel.

This class allows functional programming like syntax to initialize a filter R:

R(x) = some_expression_involving_x // 1D filter
R(x,y) = some_expression_involving_x_y // 2D filter
R(x,y,z) = some_expression_involving_x_y_z // 3D filter
R({x,y..}) = some_expression_for_involving_x_y.. // nD filter

Definition at line 580 of file recfilter.h.

Constructor & Destructor Documentation

RecFilterRefVar::RecFilterRefVar ( RecFilter  r,
std::vector< RecFilterDim a 
)

Member Function Documentation

void RecFilterRefVar::operator= ( Halide::Expr  pure_def)

Use this as the left-hand-side of a definition.

void RecFilterRefVar::operator= ( const Halide::Tuple &  pure_def)

Use this as the left-hand-side of a definition for a Func with multiple outputs.

void RecFilterRefVar::operator= ( Halide::FuncRefVar  pure_def)

Use this as the left-hand-side of a definition.

void RecFilterRefVar::operator= ( Halide::FuncRefExpr  pure_def)

Use this as the left-hand-side of a definition.

void RecFilterRefVar::operator= ( std::vector< Halide::Expr >  pure_def)

Use this as the left-hand-side of a definition for a Func with multiple outputs.

RecFilterRefVar::operator Halide::Expr ( void  )

Use this RecFilterRefVar as a call to the internal recfilter output.

Halide::Expr RecFilterRefVar::operator[] ( int  )

Use this RecFilterRefVar as a call to the one of the output buffers of the internal recfilter.


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