ARM Compute Library
17.03.1
|
#include "helpers.h"
Go to the source code of this file.
Macros | |
#define | CONVERT_DOWN(x, type) CONVERT(x, type) |
Functions | |
__kernel void | convert_depth_down (__global uchar *in_ptr, uint in_stride_x, uint in_step_x, uint in_stride_y, uint in_step_y, uint in_offset_first_element_in_bytes, __global uchar *out_ptr, uint out_stride_x, uint out_step_x, uint out_stride_y, uint out_step_y, uint out_offset_first_element_in_bytes, const int shift) |
This function performs a down-scaling depth conversion. More... | |
__kernel void | convert_depth_up (__global uchar *in_ptr, uint in_stride_x, uint in_step_x, uint in_stride_y, uint in_step_y, uint in_offset_first_element_in_bytes, __global uchar *out_ptr, uint out_stride_x, uint out_step_x, uint out_stride_y, uint out_step_y, uint out_offset_first_element_in_bytes, const int shift) |
This function performs a up-scaling depth conversion. More... | |
#define CONVERT_DOWN | ( | x, | |
type | |||
) | CONVERT(x, type) |
Definition at line 29 of file depth_convert.cl.
Referenced by convert_depth_down().
__kernel void convert_depth_down | ( | __global uchar * | in_ptr, |
uint | in_stride_x, | ||
uint | in_step_x, | ||
uint | in_stride_y, | ||
uint | in_step_y, | ||
uint | in_offset_first_element_in_bytes, | ||
__global uchar * | out_ptr, | ||
uint | out_stride_x, | ||
uint | out_step_x, | ||
uint | out_stride_y, | ||
uint | out_step_y, | ||
uint | out_offset_first_element_in_bytes, | ||
const int | shift | ||
) |
This function performs a down-scaling depth conversion.
[in] | in_ptr | Pointer to the source image. Supported data types: U8, U16, S16, U32 or S32 |
[in] | in_stride_x | Stride of the source image in X dimension (in bytes) |
[in] | in_step_x | in_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | in_stride_y | Stride of the source image in Y dimension (in bytes) |
[in] | in_step_y | in_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | in_offset_first_element_in_bytes | The offset of the first element in the source image |
[out] | out_ptr | Pointer to the destination image. Supported data types: U8, U16, S16, U32 or S32 |
[in] | out_stride_x | Stride of the destination image in X dimension (in bytes) |
[in] | out_step_x | out_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | out_stride_y | Stride of the destination image in Y dimension (in bytes) |
[in] | out_step_y | out_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | out_offset_first_element_in_bytes | The offset of the first element in the destination image |
[in] | shift | The integer shift amount value. Supported data types: S32 |
Definition at line 51 of file depth_convert.cl.
References CONVERT_DOWN, CONVERT_TO_IMAGE_STRUCT, DATA_TYPE_OUT, Image::ptr, and VEC_DATA_TYPE.
__kernel void convert_depth_up | ( | __global uchar * | in_ptr, |
uint | in_stride_x, | ||
uint | in_step_x, | ||
uint | in_stride_y, | ||
uint | in_step_y, | ||
uint | in_offset_first_element_in_bytes, | ||
__global uchar * | out_ptr, | ||
uint | out_stride_x, | ||
uint | out_step_x, | ||
uint | out_stride_y, | ||
uint | out_step_y, | ||
uint | out_offset_first_element_in_bytes, | ||
const int | shift | ||
) |
This function performs a up-scaling depth conversion.
[in] | in_ptr | Pointer to the source image. Supported data types: U8, U16, S16, U32 or S32 |
[in] | in_stride_x | Stride of the source image in X dimension (in bytes) |
[in] | in_step_x | in_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | in_stride_y | Stride of the source image in Y dimension (in bytes) |
[in] | in_step_y | in_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | in_offset_first_element_in_bytes | The offset of the first element in the source image |
[out] | out_ptr | Pointer to the destination image. Supported data types: U8, U16, S16, U32 or S32 |
[in] | out_stride_x | Stride of the destination image in X dimension (in bytes) |
[in] | out_step_x | out_stride_x * number of elements along X processed per workitem(in bytes) |
[in] | out_stride_y | Stride of the destination image in Y dimension (in bytes) |
[in] | out_step_y | out_stride_y * number of elements along Y processed per workitem(in bytes) |
[in] | out_offset_first_element_in_bytes | The offset of the first element in the destination image |
[in] | shift | The integer shift amount value. Supported data types: S32 |
Definition at line 85 of file depth_convert.cl.
References CONVERT, CONVERT_TO_IMAGE_STRUCT, DATA_TYPE_OUT, Image::ptr, and VEC_DATA_TYPE.