Compute Library
 21.02
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 659 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 662 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 661 of file helpers.h.

Referenced by absdiff(), accumulate(), accumulate_squared(), accumulate_weighted(), channel_combine_NV(), channel_combine_RGB888(), channel_combine_RGBA8888(), channel_combine_UYVY422(), channel_combine_YUYV422(), channel_extract_NV12(), channel_extract_NV21(), channel_extract_RGB888(), channel_extract_RGBA8888(), channel_extract_UYVY422(), channel_extract_YUYV422(), combine_gradients_L1(), combine_gradients_L2(), convolution3x3_static(), convolution5x5_static(), convolution7x7_static(), convolution9x9_static(), convolution_rectangle(), convolution_separable1x5_static(), convolution_separable1x7_static(), convolution_separable1x9_static(), convolution_separable5x1_static(), convolution_separable7x1_static(), convolution_separable9x1_static(), copy_plane(), copy_planes_3p(), derivative(), dilate(), erode(), fast_corners(), fill_image_borders_constant(), fill_image_borders_replicate(), gaussian1x5_sub_x(), gaussian5x1_sub_y(), harris_score_3x3(), harris_score_5x5(), harris_score_7x7(), hist_border_kernel(), hist_border_kernel_fixed(), hist_local_kernel(), hist_local_kernel_fixed(), hysteresis(), IYUV_to_NV12_bt709(), IYUV_to_RGB888_bt709(), IYUV_to_RGBA8888_bt709(), IYUV_to_YUV444_bt709(), l2_normalize_x(), l2_normalize_y(), magnitude_phase(), non_linear_filter_box3x3(), non_linear_filter_box5x5(), non_linear_filter_cross3x3(), non_linear_filter_cross5x5(), non_linear_filter_disk3x3(), non_linear_filter_disk5x5(), non_max_suppression(), NV12_to_IYUV_bt709(), NV12_to_RGB888_bt709(), NV12_to_RGBA8888_bt709(), NV12_to_YUV444_bt709(), NV21_to_IYUV_bt709(), NV21_to_RGB888_bt709(), NV21_to_RGBA8888_bt709(), NV21_to_YUV444_bt709(), offset(), product(), remap_bilinear(), remap_nearest_neighbour(), RGB888_to_IYUV_bt709(), RGB888_to_NV12_bt709(), RGB888_to_RGBA8888_bt709(), RGB888_to_U8_bt709(), RGB888_to_YUV444_bt709(), RGBA8888_to_IYUV_bt709(), RGBA8888_to_NV12_bt709(), RGBA8888_to_RGB888_bt709(), RGBA8888_to_YUV444_bt709(), scale_bilinear_nchw(), scale_bilinear_quantized_nchw(), scale_nearest_neighbour_nchw(), scharr3x3(), sobel3x3(), sobel_separable1x5(), sobel_separable1x7(), sobel_separable5x1(), sobel_separable7x1(), suppress_non_maximum(), tablelookup_S16(), tablelookup_U8(), threshold_binary(), threshold_range(), update_image_from_tensor3D_workitem_ptr(), update_image_workitem_ptr(), UYVY422_to_IYUV_bt709(), UYVY422_to_NV12_bt709(), UYVY422_to_RGB888_bt709(), UYVY422_to_RGBA8888_bt709(), warp_affine_bilinear(), warp_affine_nearest_neighbour(), warp_perspective_bilinear(), warp_perspective_nearest_neighbour(), YUYV422_to_IYUV_bt709(), YUYV422_to_NV12_bt709(), YUYV422_to_RGB888_bt709(), and YUYV422_to_RGBA8888_bt709().

◆ stride_x

int stride_x

Stride of the image in X dimension (in bytes)

Definition at line 663 of file helpers.h.

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

◆ stride_y

int stride_y

Stride of the image in Y dimension (in bytes)

Definition at line 664 of file helpers.h.

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


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