Table of Contents

Class AppleGlobalCommon

Namespace
VAST.Platform
Assembly
VAST.Common.Ext.iOS.dll

Common base class for Apple platform global utilities shared between iOS and macOS. Provides pixel format conversion and CMSampleBuffer/CVPixelBuffer processing utilities.

public class AppleGlobalCommon
Inheritance
AppleGlobalCommon
Derived
Inherited Members

Constructors

AppleGlobalCommon()

public AppleGlobalCommon()

Methods

ConvertToCVPixelFormatType(PixelFormat)

Converts an internal PixelFormat to the corresponding Core Video pixel format type.

public static CVPixelFormatType ConvertToCVPixelFormatType(PixelFormat pixelFormat)

Parameters

pixelFormat PixelFormat

The internal pixel format to convert.

Returns

CVPixelFormatType

The corresponding CoreVideo.CVPixelFormatType, or 0 if not supported.

ConvertToPixelFormat(CVPixelFormatType)

Converts a Core Video pixel format type to the internal PixelFormat enumeration.

public static PixelFormat ConvertToPixelFormat(CVPixelFormatType subtype)

Parameters

subtype CVPixelFormatType

The Core Video pixel format type to convert.

Returns

PixelFormat

The corresponding PixelFormat, or None if not recognized.