ONE - On-device Neural Engine
Loading...
Searching...
No Matches
Image Struct Reference

#include <helpers.h>

Data Fields

__global uchar * ptr
 
int offset_first_element_in_bytes
 
int stride_x
 
int stride_y
 

Detailed Description

Structure to hold Image information

Definition at line 365 of file helpers.h.

Field Documentation

◆ offset_first_element_in_bytes

int Image::offset_first_element_in_bytes

The offset of the first element in the source image

Definition at line 368 of file helpers.h.

Referenced by update_image_from_tensor3D_workitem_ptr(), and update_image_workitem_ptr().

◆ ptr

__global uchar* Image::ptr

Pointer to the starting postion of the buffer

Definition at line 367 of file helpers.h.

Referenced by offset(), update_image_from_tensor3D_workitem_ptr(), and update_image_workitem_ptr().

◆ stride_x

int Image::stride_x

Stride of the image in X dimension (in bytes)

Definition at line 369 of file helpers.h.

Referenced by offset().

◆ stride_y

int Image::stride_y

Stride of the image in Y dimension (in bytes)

Definition at line 370 of file helpers.h.

Referenced by offset().


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