InputFrameToOutputFrameAdapter Class

Description

输入帧到输出帧适配器。

有一个输入帧输入端口和一个输出帧输出端口,用于将输入帧包装成输出帧,实现不接入算法组件,直接进行渲染的功能。参考 概览 _ 。

本类的所有成员都是线程安全的。

input

输入端口。

C

void easyar_InputFrameToOutputFrameAdapter_input(easyar_InputFrameToOutputFrameAdapter * This, easyar_InputFrameSink * * Return)

C++17

std::shared_ptr<InputFrameSink> input()

C++03

void input(InputFrameSink * * Return)

Java

public @Nonnull InputFrameSink input()

Kotlin

fun input(): InputFrameSink

Objective-C

- (easyar_InputFrameSink *)input

Swift

public func input() -> InputFrameSink

C#

public virtual InputFrameSink input()

output

输出端口。

C

void easyar_InputFrameToOutputFrameAdapter_output(easyar_InputFrameToOutputFrameAdapter * This, easyar_OutputFrameSource * * Return)

C++17

std::shared_ptr<OutputFrameSource> output()

C++03

void output(OutputFrameSource * * Return)

Java

public @Nonnull OutputFrameSource output()

Kotlin

fun output(): OutputFrameSource

Objective-C

- (easyar_OutputFrameSource *)output

Swift

public func output() -> OutputFrameSource

C#

public virtual OutputFrameSource output()

create

创建。

C

void easyar_InputFrameToOutputFrameAdapter_create(easyar_InputFrameToOutputFrameAdapter * * Return)

C++17

static std::shared_ptr<InputFrameToOutputFrameAdapter> create()

C++03

static void create(InputFrameToOutputFrameAdapter * * Return)

Java

public static @Nonnull InputFrameToOutputFrameAdapter create()

Kotlin

companion object fun create(): InputFrameToOutputFrameAdapter

Objective-C

+ (easyar_InputFrameToOutputFrameAdapter *)create

Swift

public static func create() -> InputFrameToOutputFrameAdapter

C#

public static InputFrameToOutputFrameAdapter create()