Package com.banuba.sdk.effect_player
Interface ProcessorConfiguration
- All Known Implementing Classes:
ProcessorConfiguration.CppProxy
public interface ProcessorConfiguration
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 Details
-
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
Create with default params
-