vpi.Backend
- class vpi.Backend
Set a backend (unit of processing) to run an algorithm.
All algorithms require a backend where it will be executed. There are two ways of setting the backend:
Define it as an argument to the algorithm call;
Define it via a with statement, where the backend is defined for all algorithms called within that with statement.
Enumeration values
Use the CPU for processing.
Use the GPU for processing.
Use the PVA on Tegra for processing.
Use the VIC on Tegra for processing.
Use the OFA on Tegra for processing.
Use the NvENC on Tegra for processing.
Invalid backend, used when no backend is set.
List of backends available as an OR-based field.
Hint
Backends can also be submitted to bit-wise operations, e.g. vpi.Backend.NVENC & vpi.Backend.AVAILABLE, useful when querying if a particular backend is available.