cupvaRasterDataFlowParams_t#
Defined in src/host/c_api/include/detail/workloads/cupva_host_dataflow.h
-
struct cupvaRasterDataFlowParams_t#
Parameters structure for CupvaRasterDataFlowSetParams.
This structure is used to setup a RasterDataFlow with CupvaRasterDataFlowSetParams
Public Members
-
cupvaParameter_t *handler#
cupvaParameter_t which has been initialized to refer to a RasterDataFlow handler
-
int32_t roiX#
X offset in pixels into the surface where the ROI starts. Defaults to zero.
-
int32_t roiY#
Y offset in pixels into the surface where the ROI starts. Defaults to zero.
-
int32_t roiWidth#
ROI width in pixels. If zero, defaults to full image width.
-
int32_t roiHeight#
ROI height in pixels. If zero, defaults to full image height.
-
int32_t tileWidth#
Tile width in pixels.
-
int32_t tileHeight#
Tile height in pixels.
-
uint32_t scanOrder#
Controls order in which tiles within the ROI are visited. Use ScanOrderType to construct a bitmask.
-
int32_t bpp#
Bytes per pixel.
-
int32_t haloX#
X halo in pixels. Halo is the overlap between adjacent tiles.
-
int32_t haloY#
Y halo in pixels. Halo is the overlap between adjacent tiles.
-
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.
-
int32_t padVal#
Padding value to use for constant padding mode.
-
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 srcWidth#
Valid width of the source image in pixels. Any accesses out-of-bounds on reads results in padding being applied to avoid out-of-bounds accesses.
-
int32_t srcHeight#
Valid height of the source image in pixels. Any accesses out-of-bounds on reads results in padding being applied to avoid out-of-bounds accesses.
-
void *ptrDst#
Destination device pointer. Should be NULL if opSrc is specified.
-
cupvaOffsetPointer_t *opDst#
Destination offset pointer. Should be NULL if ptrSrc is specified.
-
int32_t linePitchDst#
Destination line pitch in pixels.
-
int32_t dstWidth#
Valid width of the destination image in pixels.
-
int32_t dstHeight#
Valid height of the destination image in pixels.
-
void *ptrTileBuffer#
Device pointer to the VMEM tile buffer.
-
void *ptrTileReplicationBuffer#
Device pointer to a second VMEM tile buffer for full replication.
-
int32_t tileArenaWidth#
Tile arena width in pixels. A tile arena width larger than tileWidth + 2*haloX can be provided to force extra alignment in VMEM buffer.
-
int32_t tileArenaHeight#
Tile arena height in pixels. A tile arena height larger than tileHeight + 2*haloY can be provided to force extra alignment in VMEM buffer.
-
cupvaTransModeType_t transMode#
Transposition Mode. See cupvaTransModeType_t.
-
cupvaParameter_t *handler#