Zao SDK for Jetson / libzep API Reference
Loading...
Searching...
No Matches
NvBufferInterface.hpp
1/*
2 * Copyright (c) 2022-2023, Soliton Systems K.K. All rights reserved.
3 * Use in source and binary forms, with or without modification,
4 * is permitted provided that the following a condition is met:
5 *
6 * Use is permitted only in accordance with the terms and
7 * conditions set forth in the Software License Agreement available
8 * at https://zao-sdk.org/license-agreement/.
9 */
10#ifndef ZEP_VIDEO_NV_BUFFER_INTERFACE_HPP_
11#define ZEP_VIDEO_NV_BUFFER_INTERFACE_HPP_
12
13#include <cstddef>
14#include <cstdint>
15#include <memory>
16
17#include "../TimestampInterface.hpp"
18
19struct v4l2_buffer;
20class NvBuffer;
21
22namespace zep {
23namespace video {
24
25class NvBufferInterface {
26 public:
27 virtual NvBuffer* GetPointer() = 0;
28 virtual void SetTimestamp(TimestampInterface::Rep timestamp) = 0;
29 virtual void ClearForEOS() = 0;
30};
31
32} // namespace video
33} // namespace zep
34
35#endif // ZEP_VIDEO_NV_BUFFER_INTERFACE_HPP_
std::uint64_t Rep
Integer type used to represent timestamps.
Definition TimestampInterface.hpp:25
Namespace for ZEP SDK.
Definition FactoryInterface.hpp:19