Macros List#

CUPVA_ALIGNED

Helper to declare aligned member variable.

CUPVA_CIRCULAR_BUFFER_LENGTH

Calculate the VMEM buffer length (in pixel) of circular layout according to different configurations.

CUPVA_DECLARE_EXECUTABLE

Declare a VPU executable with the given name.

CUPVA_DOUBLE_BUFFER_LENGTH

Calculate the VMEM buffer length (in pixel) of double layout according to different configurations.

CUPVA_EXECUTABLE_DATA

Get the VPU executable data address.

CUPVA_EXECUTABLE_SIZE

Get the VPU executable size.

CUPVA_EXPORT

Export variable in VMEM to export table.

CUPVA_SINGLE_BUFFER_LENGTH

Calculate the VMEM buffer length (in pixel) of single layout according to different configurations.

CUPVA_SURFACE_ATTRIBUTES_MAX_NUM_PLANES

Maximum number of surfaces in a single plane.

CUPVA_VPU_MAIN

Entrypoint to CUPVA VPU code.

EXTERN_VMEM

Declare extern VMEM buffer.

EXTERN_VMEM_DMA_CONFIG

Declare extern table in VMEM for use with dynamic reconfiguration of DMA engine.

EXTERN_VMEM_POINTER

Declare extern pointer in VMEM.

EXTERN_VMEM_SURFACE

Declare extern surface handler in VMEM.

GSDF_SURFACE_MIN_TILEBUFFER_SIZE

Minimum required total tile buffer size (in pixels) required to support reads from surfaces.

GSDF_SURFACE_MIN_TILE_HEIGHT

Minimum height per tile (in pixels) required to support reads from surfaces.

GSDF_SURFACE_MIN_TILE_PITCH

Minimum line pitch per tile (in pixels) required to support reads from surfaces.

GSDF_SURFACE_MIN_TILE_STRIDE

Minimum stride between tiles (in pixels) required to support reads from surfaces.

GSDF_SURFACE_TILE_OFFSET

Starting offset (in pixels) to the top left corner of the first tile.

GSDF_UNIFORM

GSDF uniform mode.

INIT_AGEN1

Configure 1D agen from 1D AgenWrapper .

INIT_AGEN2

Configure 2D agen from 2D AgenWrapper .

INIT_AGEN3

Configure 3D agen from 3D AgenWrapper .

INIT_AGEN4

Configure 4D agen from 4D AgenWrapper .

INIT_AGEN5

Configure 5D agen from 5D AgenWrapper .

INIT_AGEN6

Configure 6D agen from 6D AgenWrapper .

PVAAPL_HARRIS_SCRATCH_SIZE

Determine bytes needed for each scratch buffer in Harris corner detector.

PVAAPL_NMS_SCRATCH_SIZE

Determine bytes needed for a scratch buffer with NMS.

PVA_DECLARE_EXECUTABLE

Declare a VPU executable with the given name.

PVA_EXECUTABLE_DATA

Get the VPU executable data address.

PVA_EXECUTABLE_SIZE

Get the VPU executable size.

RDF_CIRCULAR

Calculate the minimum buffer length (in pixels) required to support a circular layout for RasterDataFlow.

RDF_CIRCULAR_COLUMNMAJOR

Calculate the minimum buffer length (in pixels) required to support a circular layout for RasterDataFlow in column-major traversal.

RDF_CIRCULAR_ROWMAJOR

Calculate the minimum buffer length (in pixels) required to support a circular layout for RasterDataFlow in row-major traversal.

RDF_DOUBLE

Calculate the minimum buffer length (in pixels) required to support double layout for RasterDataFlow.

RDF_SINGLE

Calculate the minimum buffer length (in pixels) required to support single layout for RasterDataFlow.

TDF_DOUBLE

Calculate the minimum buffer length (in pixels) required to support double layout for TensorDataFlow.

TDF_SINGLE

Calculate the minimum buffer length (in pixels) required to support single layout for TensorDataFlow.

VMEM

Declare exported VMEM data buffer.

VMEM_GSDF_HANDLER

Declare GSDF handler in VMEM.

VMEM_NOEXPORT

Declare a private VMEM buffer.

VMEM_POINTER

Declare pointer in VMEM.

VMEM_RDF_UNIFIED

Declare a UnifiedRDFHandler.

VMEM_SEQDF_HANDLER

Declare SequenceDataFlow handler in VMEM.

VMEM_SURFACE

Declare surface handler in VMEM.

VMEM_TDF_HANDLER

Declare a Tensor dataflow handler.