GSDF_SURFACE_MIN_TILEBUFFER_SIZE#

Defined in src/device/vpu_runtime/include/cupva_device/gatherscatter_dataflow.h

GSDF_SURFACE_MIN_TILEBUFFER_SIZE(_type, _tw, _th, _nt)#

Minimum required total tile buffer size (in pixels) required to support reads from surfaces.

This macro combines other CUPVA_SURFACE_MIN_* macros to calculate the minimum total VMEM allocation for an array of tiles.

Parameters:
  • _type – argument, the pixel data type

  • _tw – Tile width in pixel

  • _th – Tile height in pixel

  • _nt – The number tiles per trigger