Zao SDK for Jetson / libzao-endpoint API リファレンス 1.2.0.0 (2023-10-30)
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
22 public:
28 virtual NvBuffer* GetPointer() = 0;
35 virtual void SetTimestamp(TimestampInterface::Rep timestamp) = 0;
40 virtual void ClearForEOS() = 0;
41
42 virtual ~NvBufferInterface() noexcept = default;
43};
44
45} // namespace video
46} // namespace endpoint
47} // namespace zao
48
49#endif // ZAO_ENDPOINT_VIDEO_NV_BUFFER_INTERFACE_HPP_
std::uint64_t Rep
タイムスタンプの表現に用いる整数型
Definition TimestampInterface.hpp:17
NvBufferを管理するクラスのインターフェース
Definition NvBufferInterface.hpp:21
virtual void SetTimestamp(TimestampInterface::Rep timestamp)=0
画像のタイムスタンプ値をセットする
virtual NvBuffer * GetPointer()=0
管理するバッファのポインタを取得する
virtual void ClearForEOS()=0
バッファをクリアし、エンコーダにEOS(ストリーム終端)を伝えるフラグを立てる
Zao製品共通の名前空間
Definition FactoryInterface.hpp:11