cupvaGatherScatterDataFlowParams_t#
Defined in src/host/c_api/include/detail/workloads/cupva_host_dataflow.h
- 
struct cupvaGatherScatterDataFlowParams_t#
 Parameters structure for CupvaGatherScatterDataFlowSetParams.
This structure is used to setup a GatherScatterDataFlow with CupvaGatherScatterDataFlowSetParams. The fields in this structure map to methods in cupva::GatherScatterDataFlow.
Public Members
- 
cupvaParameter_t *handler#
 Parameter referring to the handler in VMEM to use for triggering.
- 
int32_t numTilesPerTrigger#
 Maximum number of tiles which this GSDF will transfer each trigger. Must be <= 32.
- 
cupvaBufferType_t bufferType#
 The type of the buffer provided as ext pointer. Only used when OffsetPointer is specified. Defaults to CUPVA_RAW.
- 
const void *ptrSrc#
 Source device pointer in external memory. Only one of ptrSrc, opSrc, ptrDst and opDst should be specified, the rest should be NULL.
- 
cupvaOffsetPointer_t *opSrc#
 Source offset pointer in external memory. Only one of ptrSrc, opSrc, ptrDst and opDst should be specified, the rest should be NULL.
- 
void *ptrDst#
 Destination offset pointer in external memory. Only one of ptrSrc, opSrc, ptrDst and opDst should be specified, the rest should be NULL.
- 
cupvaOffsetPointer_t *opDst#
 Destination offset pointer in external memory. Only one of ptrSrc, opSrc, ptrDst and opDst should be specified, the rest should be NULL.
- 
int32_t bpp#
 Bytes per pixel, must be 1, 2 or 4.
- 
int32_t extWidth#
 Width of external buffer in pixels.
- 
int32_t extHeight#
 Height of external buffer in pixels.
- 
int32_t extLinePitch#
 Line pitch of external buffer in pixels.
- 
bool allowNonUniformLP#
 A flag to allow non-uniform line pitches. If this is set to true, the line pitch of each plane in PlanarGeometry may be different.
- 
struct PlanarGeometry *geom#
 Planar geometry info of the external buffer.
- 
int32_t tileWidth#
 Width of tile in pixels.
- 
int32_t tileHeight#
 Height of tile in pixels.
- 
cupvaPadModeType_t padMode#
 Padding mode for out of bounds accesses. If a read tile would access out-of-bounds according to the image dimensions, DMA engine is used to generate padding instead. Note that padding only applies to cupvaGSDFUpdateTiles.
- 
int32_t padVal#
 Padding value to use for constant padding mode.
- 
cupvaParameter_t *handler#