21.02
|
#include "convolution3x3.cl"
#include "convolution5x5.cl"
#include "convolution7x7.cl"
#include "convolution9x9.cl"
#include "helpers.h"
Go to the source code of this file.
Macros | |
#define | MAT_INDEX(i) MAT##i |
Functions | |
__kernel void | convolution_rectangle (__global uchar *src_ptr, uint src_stride_x, uint src_step_x, uint src_stride_y, uint src_step_y, uint src_offset_first_element_in_bytes, __global uchar *dst_ptr, uint dst_stride_x, uint dst_step_x, uint dst_stride_y, uint dst_step_y, uint dst_offset_first_element_in_bytes) |
Apply a rectangle matrix to a single channel U8 input image and output a single channel image including borders. More... | |
#define MAT_INDEX | ( | i | ) | MAT##i |
Definition at line 30 of file convolution_rectangle.cl.
__kernel void convolution_rectangle | ( | __global uchar * | src_ptr, |
uint | src_stride_x, | ||
uint | src_step_x, | ||
uint | src_stride_y, | ||
uint | src_step_y, | ||
uint | src_offset_first_element_in_bytes, | ||
__global uchar * | dst_ptr, | ||
uint | dst_stride_x, | ||
uint | dst_step_x, | ||
uint | dst_stride_y, | ||
uint | dst_step_y, | ||
uint | dst_offset_first_element_in_bytes | ||
) |
Apply a rectangle matrix to a single channel U8 input image and output a single channel image including borders.
[in] | src_ptr | Pointer to the source image. Supported data types: U8 |
[in] | src_stride_x | Stride of the source image in X dimension (in bytes) |
[in] | src_step_x | src_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | src_stride_y | Stride of the source image in Y dimension (in bytes) |
[in] | src_step_y | src_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | src_offset_first_element_in_bytes | The offset of the first element in the source image |
[out] | dst_ptr | Pointer to the destination image. Supported data types: U8, S16 |
[in] | dst_stride_x | Stride of the destination image in X dimension (in bytes) |
[in] | dst_step_x | dst_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | dst_stride_y | Stride of the destination image in Y dimension (in bytes) |
[in] | dst_step_y | dst_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | dst_offset_first_element_in_bytes | The offset of the first element in the destination image |
Definition at line 64 of file convolution_rectangle.cl.
References CONVERT_SAT, CONVERT_TO_IMAGE_STRUCT, convolution1x3(), convolution1x5(), convolution1x7(), convolution1x9(), DATA_TYPE, DATA_TYPE_OUT, arm_compute::test::validation::dst, offset(), Image::ptr, arm_compute::test::validation::src, and VEC_DATA_TYPE.