|
Video Effects SDK 2.6.0.118490
AI-powered SDK for real-time video enhancement.
|
Pipeline configuration. More...
#include <vb_sdk/pipeline_config.h>
Public Member Functions | |
| virtual void | setBackend (int backend)=0 |
| Sets the backend. | |
| virtual int | getBackend () const =0 |
| Returns the backend, one of Backend values. | |
| virtual void | setSegmentationPreset (int preset)=0 |
| Sets the segmentation preset. | |
| virtual int | getSegmentationPreset () const =0 |
| Returns the segmentation preset, one of SegmentationPreset values. | |
| virtual void | setSegmentationMLBackends (int mlBackends)=0 |
| Sets the mask of enabled ML backends. | |
| virtual int | getSegmentationMLBackends () const =0 |
| Returns the mask of enabled ML backends, see MLBackend. | |
| Public Member Functions inherited from tsvb::IRelease | |
| virtual void | release ()=0 |
| Releases the memory that was allocated for the object. | |
Pipeline configuration.
Obtained with IPipeline::copyConfiguration() or IPipeline::copyDefaultConfiguration() and applied with IPipeline::setConfiguration().
|
pure virtual |
Returns the backend, one of Backend values.
|
pure virtual |
Returns the mask of enabled ML backends, see MLBackend.
|
pure virtual |
Returns the segmentation preset, one of SegmentationPreset values.
|
pure virtual |
Sets the backend.
| backend | One of Backend values. Default is Backend::GPU. Backend::CPU is obsolete. |
|
pure virtual |
Sets the mask of enabled ML backends.
| mlBackends | Bit mask of MLBackend values. Default is all of them, mlBackendCPU | mlBackendGPU | mlBackendAppleNeuralEngine. |
|
pure virtual |
Sets the segmentation preset.
| preset | One of SegmentationPreset values. Default is segmentationPresetBalanced. |