Package com.banuba.sdk.effect_player
Class ProcessorConfiguration.CppProxy
java.lang.Object
com.banuba.sdk.effect_player.ProcessorConfiguration.CppProxy
- All Implemented Interfaces:
ProcessorConfiguration
- Enclosing interface:
- ProcessorConfiguration
public static final class ProcessorConfiguration.CppProxy
extends Object
implements ProcessorConfiguration
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.banuba.sdk.effect_player.ProcessorConfiguration
ProcessorConfiguration.CppProxy
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static ProcessorConfiguration
create()
Create with default paramsprotected void
finalize()
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, ...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
-
_djinni_private_destroy
public void _djinni_private_destroy() -
finalize
-
setUseFutureFilter
public void setUseFutureFilter(boolean value) Description copied from interface:ProcessorConfiguration
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- Specified by:
setUseFutureFilter
in interfaceProcessorConfiguration
-
setUseFutureInterpolate
public void setUseFutureInterpolate(boolean value) Description copied from interface:ProcessorConfiguration
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- Specified by:
setUseFutureInterpolate
in interfaceProcessorConfiguration
-
setUseOfflineMode
public void setUseOfflineMode(boolean value) Description copied from interface:ProcessorConfiguration
Use offline NN's for processing, improces accuracy in exchange to performance Cannot be used together with other configurations Default: false- Specified by:
setUseOfflineMode
in interfaceProcessorConfiguration
-
create
Description copied from interface:ProcessorConfiguration
Create with default params
-