Compute Library
 21.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 674 of file helpers.h.

Field Documentation

◆ offset_first_element_in_bytes

int offset_first_element_in_bytes

The offset of the first element in the source image.

Definition at line 677 of file helpers.h.

Referenced by update_image_from_tensor3D_workitem_ptr(), and update_image_workitem_ptr().

◆ ptr

◆ stride_x

int stride_x

Stride of the image in X dimension (in bytes)

Definition at line 678 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 679 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: