Compute Library
 21.02
neon_convolution.cpp File Reference

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 Main program for convolution test. More...
 

Variables

const std::array< int16_t, 9 > gaussian3x3
 Gaussian 3x3 matrix. More...
 
const std::array< int16_t, 25 > gaussian5x5
 Gaussian 5x5 matrix. More...
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Main program for convolution test.

Parameters
[in]argcNumber of arguments
[in]argvArguments ( [optional] Path to PPM image to process )

Definition at line 127 of file neon_convolution.cpp.

128 {
129  return utils::run_example<NEONConvolutionExample>(argc, argv);
130 }

Variable Documentation

◆ gaussian3x3

const std::array<int16_t, 9> gaussian3x3
Initial value:
=
{
1, 2, 1,
2, 4, 2,
1, 2, 1
}

Gaussian 3x3 matrix.

Definition at line 35 of file neon_convolution.cpp.

◆ gaussian5x5

const std::array<int16_t, 25> gaussian5x5
Initial value:
=
{
1, 4, 6, 4, 1,
4, 16, 24, 16, 4,
6, 24, 36, 24, 6,
4, 16, 24, 16, 4,
1, 4, 6, 4, 1
}

Gaussian 5x5 matrix.

Definition at line 44 of file neon_convolution.cpp.