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 java.lang.Object implements ProcessorConfiguration
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.banuba.sdk.effect_player.ProcessorConfiguration
ProcessorConfiguration.CppProxy
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
_djinni_private_destroy()
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 Detail
-
_djinni_private_destroy
public void _djinni_private_destroy()
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
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
@Nullable public static ProcessorConfiguration create()
Description copied from interface:ProcessorConfiguration
Create with default params
-
-