Compute Library
18.05
|
#include "helpers.h"
Go to the source code of this file.
Functions | |
__kernel void | mean_stddev_accumulate (__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, uint height, __global ulong *global_sum, __global ulong *global_sum_sq) |
This function calculates the sum and sum of squares of a given input image. More... | |
__kernel void mean_stddev_accumulate | ( | __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, | ||
uint | height, | ||
__global ulong * | global_sum, | ||
__global ulong * | global_sum_sq | ||
) |
This function calculates the sum and sum of squares of a given input image.
[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 |
[in] | height | Height of the input image |
[out] | global_sum | Global sum of all elements |
[out] | global_sum_sq | Global sum of squares of all elements |
Definition at line 43 of file mean_stddev.cl.
References CONVERT_TO_IMAGE_STRUCT, offset(), and arm_compute::test::validation::src.