CUPVA_SINGLE_BUFFER_LENGTH#
Defined in src/device/vpu_runtime/include/cupva_device/device_core.h
-
CUPVA_SINGLE_BUFFER_LENGTH(tw, th, ...)#
Calculate the VMEM buffer length (in pixel) of single layout according to different configurations.
- Deprecated:
This macro is deprecated, and replaced with RDF_SINGLE.
- Parameters:
tw – Tile width in pixel (arena width, if RasterDataFlow::tileArena() API will be used)
th – Tile height in pixel (arena height, if RasterDataFlow::tileArena() API will be used)
... – Optional arguments, specified in the following order:
haloX gives horizontal halo in pixel, defaults to 0
haloY gives vertical halo in pixel, defaults to 0
type gives the pixel data type, ignored if transposition mode is TRANS_MODE_NONE
mode gives the transposition mode, defaults to TRANS_MODE_NONE