RDF_CIRCULAR_COLUMNMAJOR#
Defined in src/device/vpu_runtime/include/cupva_device/device_core.h
-
RDF_CIRCULAR_COLUMNMAJOR(type, tw, th, haloX, haloY, ...)#
Calculate the minimum buffer length (in pixels) required to support a circular layout for RasterDataFlow in column-major traversal.
This macro behaves similarly to RDF_CIRCULAR, however it assumes that the buffer needs to only support column-major traversal. In some cases, this may lead to reduced VMEM usage compared to supporting both row-major and column-major.
- Parameters:
type – The pixel data type
tw – Tile width in pixel
th – Tile height in pixel
haloX – Horizontal halo in pixel
haloY – vertical halo in pixel
... – Optional argument, the transposition mode. Defaults to TRANS_MODE_NONE.