Package com.banuba.sdk.effect_player
Class FrameProcessor.CppProxy
- java.lang.Object
-
- com.banuba.sdk.effect_player.FrameProcessor.CppProxy
-
- All Implemented Interfaces:
FrameProcessor
- Enclosing interface:
- FrameProcessor
public static final class FrameProcessor.CppProxy extends java.lang.Object implements FrameProcessor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.banuba.sdk.effect_player.FrameProcessor
FrameProcessor.CppProxy
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
_djinni_private_destroy()
static FrameProcessor
createPhotoProcessor(ProcessorConfiguration config)
Photo processor.static FrameProcessor
createRealtimeProcessor(RealtimeProcessorMode mode, ProcessorConfiguration config)
Realtime feed processor.static FrameProcessor
createVideoProcessor(ProcessorConfiguration config)
Video processor.protected void
finalize()
ProcessorType
getType()
ProcessorResult
pop()
void
push(FrameData fd)
-
-
-
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
-
getType
public ProcessorType getType()
- Specified by:
getType
in interfaceFrameProcessor
-
push
public void push(FrameData fd)
- Specified by:
push
in interfaceFrameProcessor
-
pop
public ProcessorResult pop()
- Specified by:
pop
in interfaceFrameProcessor
-
createRealtimeProcessor
@Nullable public static FrameProcessor createRealtimeProcessor(@NonNull RealtimeProcessorMode mode, @Nullable ProcessorConfiguration config)
Description copied from interface:FrameProcessor
Realtime feed processor. See RealtimeProcessorMode for more info.
-
createPhotoProcessor
@Nullable public static FrameProcessor createPhotoProcessor(@Nullable ProcessorConfiguration config)
Description copied from interface:FrameProcessor
Photo processor. `push` to set photo, processing happens on `pop` synchronously. Several `pop` calls return same result without unnecessary processing, except case when recognizer pipeline was changed by EffectPlayer, processing will be restarted.
-
createVideoProcessor
@Nullable public static FrameProcessor createVideoProcessor(@Nullable ProcessorConfiguration config)
Description copied from interface:FrameProcessor
Video processor. Consistent `push` - `pop` will process frames synchronously.
-
-