CoreFlow 1.0.0
A modern orchestration and execution runtime
Loading...
Searching...
No Matches
vx_memory_t Struct Reference

The raw definition of memory layout. More...

#include <vx_internal.h>

Public Attributes

vx_bool allocated
 Determines if this memory was allocated by the system.
 
vx_uint32 nptrs
 The number of pointers in the array.
 
vx_uint32 offset [VX_PLANE_MAX]
 The array of ROI offsets (one per plane for images)
 
vx_uint8ptrs [VX_PLANE_MAX]
 The array of pointers (one per plane for images)
 
vx_uint32 ndims
 The number of dimensions per ptr.
 
vx_uint32 dims [VX_PLANE_MAX][VX_DIM_MAX]
 The dimensional values per ptr.
 
vx_int32 strides [VX_PLANE_MAX][VX_DIM_MAX]
 The per ptr stride values per dimension.
 
vx_uint16 stride_x_bits [VX_PLANE_MAX]
 The per ptr stride values in bits in the x-dimension. Used when the image data type is not a whole number of bytes (e.g. U1).
 
vx_sem_t locks [VX_PLANE_MAX]
 The write locks. Used by Access/Commit pairs on usages which have VX_WRITE_ONLY or VX_READ_AND_WRITE flag parts. Only single writers are permitted.
 

Detailed Description

The raw definition of memory layout.

Member Data Documentation

◆ allocated

vx_bool vx_memory_t::allocated

Determines if this memory was allocated by the system.

◆ dims

vx_uint32 vx_memory_t::dims[VX_PLANE_MAX][VX_DIM_MAX]

The dimensional values per ptr.

◆ locks

vx_sem_t vx_memory_t::locks[VX_PLANE_MAX]

The write locks. Used by Access/Commit pairs on usages which have VX_WRITE_ONLY or VX_READ_AND_WRITE flag parts. Only single writers are permitted.

◆ ndims

vx_uint32 vx_memory_t::ndims

The number of dimensions per ptr.

◆ nptrs

vx_uint32 vx_memory_t::nptrs

The number of pointers in the array.

◆ offset

vx_uint32 vx_memory_t::offset[VX_PLANE_MAX]

The array of ROI offsets (one per plane for images)

◆ ptrs

vx_uint8* vx_memory_t::ptrs[VX_PLANE_MAX]

The array of pointers (one per plane for images)

◆ stride_x_bits

vx_uint16 vx_memory_t::stride_x_bits[VX_PLANE_MAX]

The per ptr stride values in bits in the x-dimension. Used when the image data type is not a whole number of bytes (e.g. U1).

◆ strides

vx_int32 vx_memory_t::strides[VX_PLANE_MAX][VX_DIM_MAX]

The per ptr stride values per dimension.