Package com.banuba.sdk.effect_player
Interface ProcessorConfiguration
-
- All Known Implementing Classes:
ProcessorConfiguration.CppProxy
public interface ProcessorConfiguration
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ProcessorConfiguration.CppProxy
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static ProcessorConfiguration
create()
Create with default paramsvoid
setUseFutureFilter(boolean value)
Use future frame to filter prediction, improves anti-jitter, adds processed frame inconsistency Example: push frame 1 - pop frame 1, push frame 2 - pop frame 1, push frame 3 - pop frame 2, ...void
setUseFutureInterpolate(boolean value)
Use future frame to interpolate prediction, improves performance, adds processed frame inconsistency Example: push frame 1 - pop frame 1, push frame 2 - pop frame 1, push frame 3 - pop frame 2, ...void
setUseOfflineMode(boolean value)
Use offline NN's for processing, improces accuracy in exchange to performance Cannot be used together with other configurations Default: false
-
-
-
Method Detail
-
setUseFutureFilter
void setUseFutureFilter(boolean value)
Use future frame to filter prediction, improves anti-jitter, adds processed frame inconsistency Example: push frame 1 - pop frame 1, push frame 2 - pop frame 1, push frame 3 - pop frame 2, ... Cannot be used together with other configurations Default: true
-
setUseFutureInterpolate
void setUseFutureInterpolate(boolean value)
Use future frame to interpolate prediction, improves performance, adds processed frame inconsistency Example: push frame 1 - pop frame 1, push frame 2 - pop frame 1, push frame 3 - pop frame 2, ... Cannot be used together with other configurations Default: false
-
setUseOfflineMode
void setUseOfflineMode(boolean value)
Use offline NN's for processing, improces accuracy in exchange to performance Cannot be used together with other configurations Default: false
-
create
@Nullable static ProcessorConfiguration create()
Create with default params
-
-