TIOVX User Guide

Detailed Description

Internal APIs for image operations.

Data Structures

struct  tivx_image_map_info_t
 Information about a image mapping. More...
 
struct  tivx_image_t
 Image object internal state. More...
 
struct  tivx_tensor_map_info_t
 Information about a image mapping. More...
 

Functions

vx_status ownInitVirtualImage (vx_image img, vx_uint32 width, vx_uint32 height, vx_df_image format)
 function to initialize virtual image's parameters More...
 
uint32_t ownImageGetBufferSize (tivx_obj_desc_image_t *obj_desc)
 function to retreive the buffer size of an image More...
 

Function Documentation

◆ ownInitVirtualImage()

vx_status ownInitVirtualImage ( vx_image  img,
vx_uint32  width,
vx_uint32  height,
vx_df_image  format 
)

function to initialize virtual image's parameters

Parameters
img[in] virtual image reference
width[in] image width
height[in] image height
format[in] image format
Returns
VX_SUCCESS on success

◆ ownImageGetBufferSize()

uint32_t ownImageGetBufferSize ( tivx_obj_desc_image_t obj_desc)

function to retreive the buffer size of an image

Parameters
obj_desc[in] image object descriptor
Returns
size of buffer in bytes