PerceptionVideoFrameAllocator コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
IPerceptionFrameProvider で使用するために必要なプロパティを使用して新しい PerceptionVideoFrameAllocator を初期化し、PerceptionFrameProviderManagerService::P ublishFrameForProvider を介して発行された PerceptionFrame を作成します。
public:
PerceptionVideoFrameAllocator(unsigned int maxOutstandingFrameCountForWrite, BitmapPixelFormat format, Size resolution, BitmapAlphaMode alpha);
PerceptionVideoFrameAllocator(uint32_t const& maxOutstandingFrameCountForWrite, BitmapPixelFormat const& format, Size const& resolution, BitmapAlphaMode const& alpha);
/// [Windows.Foundation.Metadata.Deprecated("PerceptionVideoFrameAllocator may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
PerceptionVideoFrameAllocator(uint32_t const& maxOutstandingFrameCountForWrite, BitmapPixelFormat const& format, Size const& resolution, BitmapAlphaMode const& alpha);
public PerceptionVideoFrameAllocator(uint maxOutstandingFrameCountForWrite, BitmapPixelFormat format, Size resolution, BitmapAlphaMode alpha);
[Windows.Foundation.Metadata.Deprecated("PerceptionVideoFrameAllocator may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public PerceptionVideoFrameAllocator(uint maxOutstandingFrameCountForWrite, BitmapPixelFormat format, Size resolution, BitmapAlphaMode alpha);
function PerceptionVideoFrameAllocator(maxOutstandingFrameCountForWrite, format, resolution, alpha)
Public Sub New (maxOutstandingFrameCountForWrite As UInteger, format As BitmapPixelFormat, resolution As Size, alpha As BitmapAlphaMode)
パラメーター
- maxOutstandingFrameCountForWrite
-
UInt32
unsigned int
uint32_t
これは、フレーム レートでフレームを生成するために FrameProvider が必要とするバッファーの数です。 提案は少なくとも 2 です。
- format
- BitmapPixelFormat
フレームのバイトの形式を記述する Windows::Graphics::Imaging::BitmapPixelFormat。
- resolution
- Size
フレームの解像度 (ピクセル単位)。
- alpha
- BitmapAlphaMode
ピクセルでの透明度の処理方法を説明する Windows::Graphics::Imaging::BitmapAlphaMode。
- 属性
適用対象
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示