Class InputFrameToFeedbackFrameAdapter
- Espaço de nomes
- easyar
Adaptador de input frame para feedback frame. Possui uma porta de entrada de input frame, uma porta de entrada de historical output frame e uma porta de saída de feedback frame. Ele combina um input frame e um historical output frame em um feedback frame e o passa para componentes de algoritmo que exigem entrada de feedback frame, como ImageTracker. Cada vez que um input frame é inserido, ele é combinado com o historical output frame anterior em um feedback frame. Se nenhum historical output frame tiver sido inserido, o historical output frame no feedback frame fica vazio. InputFrameToFeedbackFrameAdapter ocupa 1 camera buffer. Use setBufferCapacity da camera para definir não menos que o número de camera buffers ocupados por todos os componentes. Todos os membros desta classe são thread-safe.
Métodos
input
Porta de entrada.
void easyar_InputFrameToFeedbackFrameAdapter_input(easyar_InputFrameToFeedbackFrameAdapter * 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()
Retorna
| Tipo | Descrição |
|---|---|
| InputFrameSink |
bufferRequirement
Número de camera buffers ocupados pelo componente atual.
int easyar_InputFrameToFeedbackFrameAdapter_bufferRequirement(easyar_InputFrameToFeedbackFrameAdapter * This)
int bufferRequirement()
public int bufferRequirement()
fun bufferRequirement(): Int
- (int)bufferRequirement
public func bufferRequirement() -> Int32
public virtual int bufferRequirement()
Retorna
| Tipo | Descrição |
|---|---|
| Int32 |
sideInput
Porta de entrada bypass, usada para inserir historical output frames.
void easyar_InputFrameToFeedbackFrameAdapter_sideInput(easyar_InputFrameToFeedbackFrameAdapter * This, easyar_OutputFrameSink * * Return)
std::shared_ptr<OutputFrameSink> sideInput()
public @Nonnull OutputFrameSink sideInput()
fun sideInput(): OutputFrameSink
- (easyar_OutputFrameSink *)sideInput
public func sideInput() -> OutputFrameSink
public virtual OutputFrameSink sideInput()
Retorna
| Tipo | Descrição |
|---|---|
| OutputFrameSink |
output
Porta de saída.
void easyar_InputFrameToFeedbackFrameAdapter_output(easyar_InputFrameToFeedbackFrameAdapter * This, easyar_FeedbackFrameSource * * Return)
std::shared_ptr<FeedbackFrameSource> output()
public @Nonnull FeedbackFrameSource output()
fun output(): FeedbackFrameSource
- (easyar_FeedbackFrameSource *)output
public func output() -> FeedbackFrameSource
public virtual FeedbackFrameSource output()
Retorna
| Tipo | Descrição |
|---|---|
| FeedbackFrameSource |
create
Cria.
void easyar_InputFrameToFeedbackFrameAdapter_create(easyar_InputFrameToFeedbackFrameAdapter * * Return)
static std::shared_ptr<InputFrameToFeedbackFrameAdapter> create()
public static @Nonnull InputFrameToFeedbackFrameAdapter create()
companion object fun create(): InputFrameToFeedbackFrameAdapter
+ (easyar_InputFrameToFeedbackFrameAdapter *)create
public static func create() -> InputFrameToFeedbackFrameAdapter
public static InputFrameToFeedbackFrameAdapter create()
Retorna
| Tipo | Descrição |
|---|---|
| InputFrameToFeedbackFrameAdapter |