10#ifndef ZEP_VIDEO_NV_SOURCE_INTERFACE_HPP_
11#define ZEP_VIDEO_NV_SOURCE_INTERFACE_HPP_
17#include "../SourceStreamInterface.hpp"
18#include "../StreamInterface.hpp"
19#include "../TimestampInterface.hpp"
20#include "NvBufferInterface.hpp"
21#include "VideoFormat.hpp"
33class NvSourceCallbackInterface;
46 const std::vector<VideoFormat>& formats) = 0;
86 virtual
void RegisterCallback(
88 bool use_weak_ptr = false) = 0;
98 virtual
void RegisterCallback(
125 kFailedFormatNegotiation,
Common callback interface for source-side stream functions.
Definition SourceStreamInterface.hpp:34
Source-side stream function interface.
Definition SourceStreamInterface.hpp:18
Common callback interface for stream functions.
Definition StreamInterface.hpp:38
Stream function interface on the endpoint side.
Definition StreamInterface.hpp:22
Definition NvBufferInterface.hpp:25
NVIDIA Multimedia APIを利用した映像ソース機能の コールバックインターフェース
Definition NvSourceInterface.hpp:109
virtual bool OnRequestSourceFormat(const VideoFormat &format)=0
フォーマット決定要求時に呼び出されるコールバック。
virtual void OnNotifySourceEvent(EventType type, const std::string &message)
エラーなどのイベントが発生した時に呼び出されるコールバック。
Definition NvSourceInterface.hpp:145
EventType
イベントの種類
Definition NvSourceInterface.hpp:114
NVIDIA Multimedia APIを利用した映像ソース機能インターフェース
Definition NvSourceInterface.hpp:38
virtual std::shared_future< VideoFormat > GetFormatDecisionStatus() const noexcept=0
フォーマット決定状態を取得するshared_futureを取得する。
virtual bool GetDecidedFormat(VideoFormat &format) const noexcept=0
決定したフォーマットを取得する。
virtual void SetAcceptableFormats(const std::vector< VideoFormat > &formats)=0
送信可能なフォーマット一覧を提示する。
virtual void SendStatistics()=0
統計情報の送信
Namespace for ZEP SDK.
Definition FactoryInterface.hpp:19