Class InputFrameThrottler
- Espacio de nombres
- easyar
Input frame throttler. It has one input frame input port and one input frame output port, used to prevent new input frames from entering an algorithm component while the component has not finished processing the previous frame. InputFrameThrottler occupies one camera buffer. Use camera setBufferCapacity to set no fewer camera buffers than the total number occupied by all components. All members of this class are thread-safe. Note that connecting and disconnecting signalInput should not be performed while data is flowing in, otherwise it may enter a state where it cannot output. It is recommended to complete data-flow connections before starting the Camera.
Métodos
input
Puerto de entrada.
void easyar_InputFrameThrottler_input(easyar_InputFrameThrottler * This, easyar_InputFrameSink * * Return)
std::shared_ptr<InputFrameSink> input()
public @Nonnull InputFrameSink input()
fun input(): InputFrameSink
- (easyar_InputFrameSink *)input
public func input() -> InputFrameSink
public virtual InputFrameSink input()
Devuelve
| Tipo | Descripción |
|---|---|
| InputFrameSink |
bufferRequirement
The number of camera buffers occupied by the current component.
int easyar_InputFrameThrottler_bufferRequirement(easyar_InputFrameThrottler * This)
int bufferRequirement()
public int bufferRequirement()
fun bufferRequirement(): Int
- (int)bufferRequirement
public func bufferRequirement() -> Int32
public virtual int bufferRequirement()
Devuelve
| Tipo | Descripción |
|---|---|
| Int32 |
output
Puerto de salida.
void easyar_InputFrameThrottler_output(easyar_InputFrameThrottler * This, easyar_InputFrameSource * * Return)
std::shared_ptr<InputFrameSource> output()
public @Nonnull InputFrameSource output()
fun output(): InputFrameSource
- (easyar_InputFrameSource *)output
public func output() -> InputFrameSource
public virtual InputFrameSource output()
Devuelve
| Tipo | Descripción |
|---|---|
| InputFrameSource |
signalInput
Release signal input port.
void easyar_InputFrameThrottler_signalInput(easyar_InputFrameThrottler * This, easyar_SignalSink * * Return)
std::shared_ptr<SignalSink> signalInput()
public @Nonnull SignalSink signalInput()
fun signalInput(): SignalSink
- (easyar_SignalSink *)signalInput
public func signalInput() -> SignalSink
public virtual SignalSink signalInput()
Devuelve
| Tipo | Descripción |
|---|---|
| SignalSink |
create
Crea.
void easyar_InputFrameThrottler_create(easyar_InputFrameThrottler * * Return)
static std::shared_ptr<InputFrameThrottler> create()
public static @Nonnull InputFrameThrottler create()
companion object fun create(): InputFrameThrottler
+ (easyar_InputFrameThrottler *)create
public static func create() -> InputFrameThrottler
public static InputFrameThrottler create()
Devuelve
| Tipo | Descripción |
|---|---|
| InputFrameThrottler |