VPI - Vision Programming Interface

1.2 Release

ArrayType.h File Reference

Defines array types. More...

#include "Export.h"
+ Include dependency graph for ArrayType.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  VPIArrayType
 Array element formats. More...
 

Functions

const char * vpiArrayTypeGetName (VPIArrayType type)
 Returns a string representation of the array type. More...
 
int vpiArrayTypeGetSize (VPIArrayType type)
 Returns the size in bytes of each array element with the given type. More...
 

Detailed Description

Defines array types.

Definition in file ArrayType.h.

Function Documentation

◆ vpiArrayTypeGetName()

const char* vpiArrayTypeGetName ( VPIArrayType  type)

Returns a string representation of the array type.

Parameters
[in]typeArray type whose name is to be returned.
Returns
The string representation of the image type. Returned string is valid until next call of this function from the same calling thread.

◆ vpiArrayTypeGetSize()

int vpiArrayTypeGetSize ( VPIArrayType  type)

Returns the size in bytes of each array element with the given type.

Parameters
[in]typeThe array type to be queried.
Returns
The size in bytes of the array type.