Zao SDK for Jetson / libzao-endpoint API リファレンス 1.6.0.0 (2024-12-24)
Loading...
Searching...
No Matches
NvBufferInterface.hpp
1#ifndef ZAO_ENDPOINT_VIDEO_NV_BUFFER_INTERFACE_HPP_
2#define ZAO_ENDPOINT_VIDEO_NV_BUFFER_INTERFACE_HPP_
3
4#include "../TimestampInterface.hpp"
5
6struct v4l2_buffer;
7class NvBuffer;
8
9namespace zao {
10namespace endpoint {
11namespace video {
12
21 public:
31 virtual NvBuffer* GetPointer() = 0;
32
43 virtual void SetTimestamp(TimestampInterface::Rep timestamp) = 0;
44
54 virtual void ClearForEOS() = 0;
55
60 virtual ~NvBufferInterface() noexcept = default;
61};
62
63} // namespace video
64} // namespace endpoint
65} // namespace zao
66
67#endif // ZAO_ENDPOINT_VIDEO_NV_BUFFER_INTERFACE_HPP_
std::uint64_t Rep
タイムスタンプの表現に用いる整数型
Definition TimestampInterface.hpp:19
NvBufferを管理するクラスのインターフェース
Definition NvBufferInterface.hpp:20
virtual void SetTimestamp(TimestampInterface::Rep timestamp)=0
画像のタイムスタンプ値をセットする
virtual NvBuffer * GetPointer()=0
管理するバッファのポインタを取得する
virtual ~NvBufferInterface() noexcept=default
NvBufferInterface オブジェクトを破棄する。
virtual void ClearForEOS()=0
バッファをクリアし、 エンコーダにEOS(ストリーム終端)を伝えるフラグを立てる
Zao製品共通の名前空間
Definition FactoryInterface.hpp:11