Table of Contents

Class InputFrameThrottler

Espace de noms
easyar

Accélérateur de trame d'entrée. Comporte un port d'entrée et un port de sortie pour les trames d'entrée. Empêche les nouvelles trames d'entrer dans le composant algorithmique lorsque celui-ci n'a pas terminé le traitement de la trame précédente. InputFrameThrottler consomme 1 buffer de camera. Utilisez setBufferCapacity du camera pour définir une capacité d'au moins la somme des buffers de camera consommés par tous les composants. Tous les membres de cette classe sont thread-safe (sécurisés pour les threads). Note importante : La connexion et la déconnexion de son signalInput (signal d'entrée) ne doivent pas être effectuées pendant un flux de données actif, sinon le système peut se bloquer dans un état où aucune sortie n'est possible. (Il est recommandé de finaliser les connexions du flux de données avant de démarrer le Camera.)

InputFrameThrottler

Méthodes

input

Port d'entrée

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()

Retours

Type Description
InputFrameSink

bufferRequirement

Le nombre de camera buffers occupés par le composant actuel.

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()

Retours

Type Description
Int32

output

Port de sortie.

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()

Retours

Type Description
InputFrameSource

signalInput

Port d'entrée du signal de libération.

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()

Retours

Type Description
SignalSink

create

créer

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()

Retours

Type Description
InputFrameThrottler