Banuba SDK
BNBProcessorConfiguration.h
Go to the documentation of this file.
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file was generated by Djinni from effect_player.djinni
3 
4 #import <Foundation/Foundation.h>
6 
7 
8 
9 #ifndef DJINNI_EXPORT
10  #define DJINNI_EXPORT __attribute__((__visibility__("default")))
11 #endif
12 
14 @interface BNBProcessorConfiguration : NSObject
15 
16 /** Create with default params */
17 + (nullable BNBProcessorConfiguration *)create;
18 
19 /**
20  * Use future frame to filter prediction, improves anti-jitter, adds processed frame inconsistency
21  * Example: push frame 1 - pop frame 1, push frame 2 - pop frame 1, push frame 3 - pop frame 2, ...
22  * Cannot be used together with other configurations
23  * Default: true
24  */
25 - (void)setUseFutureFilter:(BOOL)value;
26 
27 /**
28  * Use future frame to interpolate prediction, improves performance, adds processed frame inconsistency
29  * Example: push frame 1 - pop frame 1, push frame 2 - pop frame 1, push frame 3 - pop frame 2, ...
30  * Cannot be used together with other configurations
31  * Default: false
32  */
33 - (void)setUseFutureInterpolate:(BOOL)value;
34 
35 /**
36  * Use offline NN's for processing, improces accuracy in exchange to performance
37  * Cannot be used together with other configurations
38  * Default: false
39  */
40 - (void)setUseOfflineMode:(BOOL)value;
41 
42 @end
DJINNI_EXPORT
#define DJINNI_EXPORT
Definition: BNBProcessorConfiguration.h:10
+[BNBProcessorConfiguration create]
nullable BNBProcessorConfiguration * create()
Create with default params.
BNBProcessorConfiguration
Definition: BNBProcessorConfiguration.h:14