22.05
Image Struct Reference

Structure to hold Image information. More...

#include <helpers.h>

## Data Fields

__global uchar * ptr
Pointer to the starting postion of the buffer. More...

int offset_first_element_in_bytes
The offset of the first element in the source image. More...

int stride_x
Stride of the image in X dimension (in bytes) More...

int stride_y
Stride of the image in Y dimension (in bytes) More...

## Detailed Description

Structure to hold Image information.

Definition at line 896 of file helpers.h.

## ◆ offset_first_element_in_bytes

 int offset_first_element_in_bytes

The offset of the first element in the source image.

Definition at line 899 of file helpers.h.

Referenced by update_image_from_tensor3D_workitem_ptr(), and update_image_workitem_ptr().

## ◆ ptr

 __global uchar* ptr

Pointer to the starting postion of the buffer.

Definition at line 898 of file helpers.h.

## ◆ stride_x

 int stride_x

Stride of the image in X dimension (in bytes)

Definition at line 900 of file helpers.h.

Referenced by fill_image_borders_constant(), fill_image_borders_replicate(), and offset().

## ◆ stride_y

 int stride_y

Stride of the image in Y dimension (in bytes)

Definition at line 901 of file helpers.h.

Referenced by fill_image_borders_constant(), fill_image_borders_replicate(), and offset().

The documentation for this struct was generated from the following file: