RecFilter
|
#include <iomanip>
#include <vector>
#include <string>
#include <stdexcept>
#include <cstdio>
#include <algorithm>
#include <Halide.h>
Go to the source code of this file.
Data Structures | |
class | RecFilterDim |
Filter dimension for channels. More... | |
class | RecFilterDimAndCausality |
Filter dimension augmented with causality. More... | |
class | RecFilter |
Recursive filter class. More... | |
class | RecFilterSchedule |
Handle to schedule internal Halide functions that constitute the recursive filter. More... | |
class | RecFilterRefVar |
Create an expression that can be used to initialize a pixel. More... | |
class | RecFilterRefExpr |
Constructing an Expr from the final result of a recursive filter. More... | |
class | VarTag |
Scheduling tags for RecFilter function dimensions. More... | |
class | Arguments |
Command line arg parser. More... | |
class | CheckResult< T > |
Compare ref and Halide solutions and print the mean square error. More... | |
class | CheckResultVerbose< T > |
Compare ref and Halide solutions and print the verbose difference. More... | |
Functions | |
template<typename T > | |
Halide::Image< T > | generate_random_image (size_t w, size_t h=0, size_t c=0, size_t d=0) |
Generate an image of a given size with random entries. More... | |
template<typename T > | |
std::ostream & | operator<< (std::ostream &s, Halide::Image< T > image) |
Print an image. More... | |
template<typename T > | |
std::ostream & | operator<< (std::ostream &s, const CheckResult< T > &v) |
Print the synopsis of checking error. More... | |
template<typename T > | |
std::ostream & | operator<< (std::ostream &s, const CheckResultVerbose< T > &v) |
Print the result and synopsis of checking error. More... | |
Operators to indicate causal and anticausal scans in a particular filter dimension | |
RecFilterDimAndCausality | operator+ (RecFilterDim x) |
Operator to create causal scan indication, +x indicates causal scan where x is a RecFilterDim object. More... | |
RecFilterDimAndCausality | operator- (RecFilterDim x) |
Operator to create anticausal scan indication, -x indicates causal scan where x is a RecFilterDim object. More... | |
Printing utils for recursive filter, Halide functions and schedules | |
std::ostream & | operator<< (std::ostream &s, const RecFilter &r) |
std::ostream & | operator<< (std::ostream &s, const RecFilterFunc &f) |
std::ostream & | operator<< (std::ostream &s, const RecFilterDim &f) |
std::ostream & | operator<< (std::ostream &s, const Halide::Func &f) |
std::ostream & | operator<< (std::ostream &s, const Halide::Internal::Function &f) |
RecFilterDimAndCausality operator+ | ( | RecFilterDim | x | ) |
Operator to create causal scan indication, +x indicates causal scan where x is a RecFilterDim object.
RecFilterDimAndCausality operator- | ( | RecFilterDim | x | ) |
Operator to create anticausal scan indication, -x indicates causal scan where x is a RecFilterDim object.
std::ostream& operator<< | ( | std::ostream & | s, |
const RecFilter & | r | ||
) |
std::ostream& operator<< | ( | std::ostream & | s, |
const RecFilterFunc & | f | ||
) |
std::ostream& operator<< | ( | std::ostream & | s, |
const RecFilterDim & | f | ||
) |
std::ostream& operator<< | ( | std::ostream & | s, |
const Halide::Func & | f | ||
) |
std::ostream& operator<< | ( | std::ostream & | s, |
const Halide::Internal::Function & | f | ||
) |
Halide::Image<T> generate_random_image | ( | size_t | w, |
size_t | h = 0 , |
||
size_t | c = 0 , |
||
size_t | d = 0 |
||
) |
Generate an image of a given size with random entries.
Definition at line 692 of file recfilter.h.
std::ostream& operator<< | ( | std::ostream & | s, |
Halide::Image< T > | image | ||
) |
Print an image.
Definition at line 746 of file recfilter.h.
std::ostream& operator<< | ( | std::ostream & | s, |
const CheckResult< T > & | v | ||
) |
Print the synopsis of checking error.
Definition at line 840 of file recfilter.h.
References CheckResult< T >::max_diff.
std::ostream& operator<< | ( | std::ostream & | s, |
const CheckResultVerbose< T > & | v | ||
) |
Print the result and synopsis of checking error.
Definition at line 848 of file recfilter.h.