PandA-2024.02
|
Go to the source code of this file.
Macros | |
#define | DIMENSION_X 1000 |
#define | DIMENSION_Y 8 |
#define | BOX1 3 |
#define | BOX2 3 |
#define | BOX3 3 |
#define | BOX4 3 |
#define | BOX5 3 |
#define | BOX6 3 |
#define | BOX7 3 |
#define | BOX8 3 |
#define | BOX9 3 |
Functions | |
void | filter (int y, int input[][DIMENSION_X], int *output) |
a 3x3 box filter. Filter an entire row of the matrix in one call. More... | |
int | main () |
#define BOX1 3 |
Definition at line 15 of file boxfilter.c.
Referenced by filter().
#define BOX2 3 |
Definition at line 16 of file boxfilter.c.
Referenced by filter().
#define BOX3 3 |
Definition at line 17 of file boxfilter.c.
Referenced by filter().
#define BOX4 3 |
Definition at line 18 of file boxfilter.c.
Referenced by filter().
#define BOX5 3 |
Definition at line 19 of file boxfilter.c.
#define BOX6 3 |
Definition at line 20 of file boxfilter.c.
Referenced by filter().
#define BOX7 3 |
Definition at line 21 of file boxfilter.c.
Referenced by filter().
#define BOX8 3 |
Definition at line 22 of file boxfilter.c.
Referenced by filter().
#define BOX9 3 |
Definition at line 23 of file boxfilter.c.
Referenced by filter().
#define DIMENSION_X 1000 |
Definition at line 1 of file boxfilter.c.
Referenced by filter().
#define DIMENSION_Y 8 |
Definition at line 2 of file boxfilter.c.
void filter | ( | int | y, |
int | input[][DIMENSION_X], | ||
int * | output | ||
) |
a 3x3 box filter. Filter an entire row of the matrix in one call.
Definition at line 26 of file boxfilter.c.
References BOX1, BOX2, BOX3, BOX4, BOX6, BOX7, BOX8, BOX9, checksum(), DIMENSION_X, DIMENSION_Y, input, sum, and x.
Referenced by add_filter(), main(), and stencil().
int main | ( | void | ) |
Definition at line 85 of file boxfilter.c.
References checksum_expected, checksum_output, DIMENSION_Y, filter(), original, result, and x.