This repo contains calculators from VMSS2.0. These calculators may be built and then loaded in a VMSS2.0 video processing pipeline to execute a particular functionality.
These calculators are already built by default in released docker containers. However, you may wish to either edit them or build new calculators based on them to implement your own functionalities.
A full list of available calculators may be found here.
For a full guide on how to create a custom calculator, refer to this tutorial.
Calculators take in and produce packets. A full list of packets may be found here. This table has links to documentation for all packet types.
Currently, the calculators on this list are tested on the AMD Kria SOM platform (KV260 and KR260)
First, set up VMSS2.0 on Kria SOM by following the setup tutorial. Then, while in the running docker container, clone this repository.
First, follow the necessary prerequisites. Then, while in the Kria SOM docker, navigate to this directory. You may then build a calculator by running the following:
make clean && make && make install
By default, this will install the calculator in /lib
as /lib/libaupera.<name>.calculator.<version>
(i.e. /lib/libaupera.x86_enc.calculator.1.0.0
) and overwrite any pre-existing calculators. If you wish to restore the old calculator, the easiest way is to load a new docker container.