1#ifndef ZAO_ENDPOINT_VIDEO_NV_SOURCE_INTERFACE_HPP_ 
    2#define ZAO_ENDPOINT_VIDEO_NV_SOURCE_INTERFACE_HPP_ 
    8#include "../EventSourceInterface.hpp" 
    9#include "../SourceStreamInterface.hpp" 
   10#include "../StreamInterface.hpp" 
   11#include "../TimestampInterface.hpp" 
   12#include "NvBufferInterface.hpp" 
   13#include "NvSourceBufferDequeueResult.hpp" 
   14#include "NvSourceBufferEnqueueResult.hpp" 
   15#include "VideoFormat.hpp" 
   28class NvSourceCallbackInterface;
 
   45  [[deprecated(
"Please use SetSourceFormats function")]]
 
   64  [[deprecated(
"Please use GetDeterminedFormat function")]]
 
   88  [[deprecated(
"Please use GetDeterminedFormatAsync function")]]
 
  121  [[deprecated(
"Please use DequeueSourceBuffer.")]]
 
  136      std::unique_ptr<NvBufferInterface> buffer) = 0;
 
  148  [[deprecated(
"Please use EnqueueSourceBuffer.")]]
 
  196    kFailedFormatNegotiation,
 
イベントを生成するクラスの共通インターフェース
Definition EventSourceInterface.hpp:31
ソース側ストリーム機能の共通コールバックインターフェース
Definition SourceStreamInterface.hpp:35
ソース側ストリーム機能インターフェース
Definition SourceStreamInterface.hpp:11
ストリーム機能の共通コールバックインターフェース
Definition StreamInterface.hpp:37
エンドポイント側のストリーム機能インターフェース
Definition StreamInterface.hpp:15
NvBuffer送信用バッファの取り出し結果を示す型。
Definition NvSourceBufferDequeueResult.hpp:17
std::unique_ptr< NvBufferInterface > TakeBuffer() noexcept
所有権付きでバッファを得る。
Definition NvSourceBufferDequeueResult.hpp:122
NvBuffer送信用バッファの格納結果を示す型。
Definition NvSourceBufferEnqueueResult.hpp:13
bool HasError() const noexcept
エラーが発生したか否か。
Definition NvSourceBufferEnqueueResult.hpp:100
NVIDIA Multimedia APIを利用した 映像ソース機能のコールバックインターフェース
Definition NvSourceInterface.hpp:167
EventType
イベントの種類
Definition NvSourceInterface.hpp:173
virtual bool OnRequestSourceFormat(const VideoFormat &format)=0
フォーマット決定要求時に呼び出されるコールバック
virtual ~NvSourceCallbackInterface() noexcept=default
NvSourceCallbackInterface オブジェクトを破棄する。
virtual void OnNotifySourceEvent(EventType type, const std::string &message)
エラーなどのイベントが発生した時に呼び出されるコールバック。
Definition NvSourceInterface.hpp:225
NVIDIA Multimedia APIを利用した映像ソース機能インターフェース
Definition NvSourceInterface.hpp:37
virtual std::shared_future< VideoFormat > GetDeterminedFormatAsync() const =0
フォーマット決定状態を取得するshared_futureを取得する。
virtual ~NvSourceInterface() noexcept=default
NvSourceInterface オブジェクトを破棄する。
void SetAcceptableFormats(const std::vector< VideoFormat > &formats)
映像ソースとして送信可能なフォーマット一覧を提示する。
Definition NvSourceInterface.hpp:46
std::shared_future< VideoFormat > GetFormatDecisionStatus() const
フォーマット決定状態を取得するshared_futureを取得する。
Definition NvSourceInterface.hpp:89
virtual bool GetDeterminedFormat(VideoFormat &format) const =0
決定したフォーマットを取得する。
bool GetDecidedFormat(VideoFormat &format) const
決定したフォーマットを取得する。
Definition NvSourceInterface.hpp:65
virtual void SetSourceFormats(const std::vector< VideoFormat > &formats)=0
映像ソースとして送信可能なフォーマット一覧を提示する。
virtual NvSourceBufferDequeueResult DequeueSourceBuffer()=0
画像を供給するためのバッファを取り出す。
bool QueueBuffer(std::unique_ptr< NvBufferInterface > buffer)
送信する画像を格納したバッファをキューに入れる。
Definition NvSourceInterface.hpp:149
virtual NvSourceBufferEnqueueResult EnqueueSourceBuffer(std::unique_ptr< NvBufferInterface > buffer)=0
送信する画像を格納したバッファをキューに入れる。
std::unique_ptr< NvBufferInterface > DequeueBuffer()
画像を供給するためのバッファを取得する
Definition NvSourceInterface.hpp:122
Zao製品共通の名前空間
Definition FactoryInterface.hpp:11