Zao SDK for Jetson / libzao-endpoint API リファレンス 1.5.0.0 (2024-09-25)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
zao::endpoint::video::NvBufferInterface Class Referenceabstract

NvBufferを管理するクラスのインターフェース More...

#include <NvBufferInterface.hpp>

Public Member Functions

virtual NvBuffer * GetPointer ()=0
 管理するバッファのポインタを取得する
 
virtual void SetTimestamp (TimestampInterface::Rep timestamp)=0
 画像のタイムスタンプ値をセットする
 
virtual void ClearForEOS ()=0
 バッファをクリアし、 エンコーダにEOS(ストリーム終端)を伝えるフラグを立てる
 

Detailed Description

NvBufferを管理するクラスのインターフェース

Note
NvSourceにエンコードすべき画像を渡すために使用する。

Member Function Documentation

◆ ClearForEOS()

virtual void zao::endpoint::video::NvBufferInterface::ClearForEOS ( )
pure virtual

バッファをクリアし、 エンコーダにEOS(ストリーム終端)を伝えるフラグを立てる

Note
このフラグが立ったバッファをNvSourceに渡すと、 エンコード中の画像を全て出力し、エンコーダを停止する。

◆ GetPointer()

virtual NvBuffer * zao::endpoint::video::NvBufferInterface::GetPointer ( )
pure virtual

管理するバッファのポインタを取得する

Return values
nullptr管理対象バッファが無い
非nullptr管理対象バッファのポインタ

◆ SetTimestamp()

virtual void zao::endpoint::video::NvBufferInterface::SetTimestamp ( TimestampInterface::Rep  timestamp)
pure virtual

画像のタイムスタンプ値をセットする

Note
画像の取り込み開始時の時刻を想定している(ラスタスキャンで左上)
Parameters
timestampタイムスタンプ値

The documentation for this class was generated from the following file: