cupvaStaticDataFlowParams_t#

Defined in src/host/c_api/include/detail/workloads/cupva_host_dataflow.h

struct cupvaStaticDataFlowParams_t#

Parameters structure for CupvaStaticDataFlowSetParams.

Deprecated:

This function is deprecated. Use RasterDataFlow or SequenceDataFlow instead.

This structure is used to configure a Static DataFlow with CupvaStaticDataFlowSetParams

Public Members

cupvaParameter_t *handler#

The handler defined in vmem and represented by the host parameter.

cupvaGranType_t GranularityType#

The granularity type, see cupvaGranType_t.

int32_t tileWidth#

Tile width in pixels.

int32_t tileHeight#

Tile height in pixels.

int32_t bpp#

Bytes per pixels - must be 1, 2 or 4.

cupvaPadModeType_t padMode#

Padding mode, see cupvaPadModeType_t.

int32_t padVal#

Padding value to use with constant value padding.

cupvaPadDirType_t padDir#

Padding direction, see cupvaPadDirType_t.

int32_t padDim#

Padding amount.

const void *ptrSrc#

Source device pointer. Should be NULL if opSrc is specified.

cupvaOffsetPointer_t *opSrc#

Source offset pointer. Should be NULL if ptrSrc is specified.

int32_t linePitchSrc#

Source line pitch in pixels.

int32_t cbStartSrc#

Offset into source circular buffer.

int32_t cbLenSrc#

Length of source circular buffer.

int32_t niterSrcDim1#

Number of source tile iterations in first dimension.

int32_t advSrcDim1#

Source pixel advancement per tile first dimension.

int32_t niterSrcDim2#

Number of source tile iterations in second dimension.

int32_t advSrcDim2#

Source pixel advancement per tile second dimension.

int32_t niterSrcDim3#

Number of source tile iterations in third dimension.

int32_t advSrcDim3#

Source pixel advancement per tile third dimension.

void *ptrDst#

Destination device pointer. Should be NULL if opDst is specified.

cupvaOffsetPointer_t *opDst#

Destination offset pointer. Should be NULL if ptrDst is specified.

int32_t linePitchDst#

Destination line pitch in pixels.

int32_t cbStartDst#

Offset into destination circular buffer.

int32_t cbLenDst#

Length of destination circular buffer.

int32_t niterDstDim1#

Number of destination tile iterations in first dimension.

int32_t advDstDim1#

Destination pixel advancement per tile first dimension.

int32_t niterDstDim2#

Number of destination tile iterations in second dimension.

int32_t advDstDim2#

Destination pixel advancement per tile second dimension.

int32_t niterDstDim3#

Number of destination tile iterations in third dimension.

int32_t advDstDim3#

Destination pixel advancement per tile third dimension.

void *ptrDst2#

Secondary pointer destination for full replication. Must be a device pointer to VMEM or nullptr.