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 TypeMethodDescriptionvoidstatic ProcessorConfigurationcreate()Create with default paramsprotected voidfinalize()voidsetUseFutureFilter(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, ...voidsetUseFutureInterpolate(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, ...voidsetUseOfflineMode(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:ProcessorConfigurationUse 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:
setUseFutureFilterin interfaceProcessorConfiguration
-
setUseFutureInterpolate
public void setUseFutureInterpolate(boolean value) Description copied from interface:ProcessorConfigurationUse 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:
setUseFutureInterpolatein interfaceProcessorConfiguration
-
setUseOfflineMode
public void setUseOfflineMode(boolean value) Description copied from interface:ProcessorConfigurationUse offline NN's for processing, improces accuracy in exchange to performance Cannot be used together with other configurations Default: false- Specified by:
setUseOfflineModein interfaceProcessorConfiguration
-
create
Description copied from interface:ProcessorConfigurationCreate with default params
-