Banuba SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
libs
effect_player
bnb
effect_player
interfaces
processor_configuration.hpp
Go to the documentation of this file.
1
/// \file
2
/// \addtogroup EffectPlayer
3
/// @{
4
///
5
// AUTOGENERATED FILE - DO NOT MODIFY!
6
// This file was generated by Djinni from effect_player.djinni
7
8
#pragma once
9
10
#include <bnb/utils/defs.hpp>
11
#include <memory>
12
13
namespace
bnb {
namespace
interfaces {
14
15
class
BNB_EXPORT
processor_configuration
{
16
public
:
17
virtual
~processor_configuration
() {}
18
19
/** Create with default params */
20
static
std::shared_ptr<processor_configuration>
create
();
21
22
/**
23
* Use future frame to filter prediction, improves anti-jitter, adds processed frame inconsistency
24
* Example: push frame 1 - pop frame 1, push frame 2 - pop frame 1, push frame 3 - pop frame 2, ...
25
* Cannot be used together with other configurations
26
* Default: true
27
*/
28
virtual
void
set_use_future_filter
(
bool
value) = 0;
29
30
/**
31
* Use future frame to interpolate prediction, improves performance, adds processed frame inconsistency
32
* Example: push frame 1 - pop frame 1, push frame 2 - pop frame 1, push frame 3 - pop frame 2, ...
33
* Cannot be used together with other configurations
34
* Default: false
35
*/
36
virtual
void
set_use_future_interpolate
(
bool
value) = 0;
37
38
/**
39
* Use offline NN's for processing, improces accuracy in exchange to performance
40
* Cannot be used together with other configurations
41
* Default: false
42
*/
43
virtual
void
set_use_offline_mode
(
bool
value) = 0;
44
};
45
46
} }
// namespace bnb::interfaces
47
/// @}
48
bnb::interfaces::processor_configuration
Definition
processor_configuration.hpp:15
bnb::interfaces::processor_configuration::create
static std::shared_ptr< processor_configuration > create()
Create with default params.
bnb::interfaces::processor_configuration::set_use_future_interpolate
virtual void set_use_future_interpolate(bool value)=0
Use future frame to interpolate prediction, improves performance, adds processed frame inconsistency ...
bnb::interfaces::processor_configuration::set_use_future_filter
virtual void set_use_future_filter(bool value)=0
Use future frame to filter prediction, improves anti-jitter, adds processed frame inconsistency Examp...
bnb::interfaces::processor_configuration::set_use_offline_mode
virtual void set_use_offline_mode(bool value)=0
Use offline NN's for processing, improces accuracy in exchange to performance Cannot be used together...
Generated by
1.17.0