PerceptionVideoFrameAllocator 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
IPerceptionFrameProvider에서 PerceptionFrameProviderManagerService::P ublishFrameForProvider를 통해 게시된 PerceptionFrames를 만드는 데 필요한 속성을 사용하여 새 PerceptionVideoFrameAllocator를 초기화합니다.
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입니다.
- 특성