Zao SDK for Jetson / libzao-endpoint API リファレンス 1.5.0.0 (2024-09-25)
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 <cstddef>
5#include <cstdint>
6#include <memory>
7
8#include "../TimestampInterface.hpp"
9
10struct v4l2_buffer;
11class NvBuffer;
12
13namespace zao {
14namespace endpoint {
15namespace video {
16
25 public:
35 virtual NvBuffer* GetPointer() = 0;
46 virtual void SetTimestamp(TimestampInterface::Rep timestamp) = 0;
56 virtual void ClearForEOS() = 0;
57
58 virtual ~NvBufferInterface() noexcept = default;
59};
60
61} // namespace video
62} // namespace endpoint
63} // namespace zao
64
65#endif // ZAO_ENDPOINT_VIDEO_NV_BUFFER_INTERFACE_HPP_
std::uint64_t Rep
タイムスタンプの表現に用いる整数型
Definition TimestampInterface.hpp:19
NvBufferを管理するクラスのインターフェース
Definition NvBufferInterface.hpp:24
virtual void SetTimestamp(TimestampInterface::Rep timestamp)=0
画像のタイムスタンプ値をセットする
virtual NvBuffer * GetPointer()=0
管理するバッファのポインタを取得する
virtual void ClearForEOS()=0
バッファをクリアし、 エンコーダにEOS(ストリーム終端)を伝えるフラグを立てる
Zao製品共通の名前空間
Definition FactoryInterface.hpp:11