One Logo Pool Ball
AVFoundation · IOS API REFERENCE

AVSemanticSegmentationMatte

class · iOS 13.0+ · SDK 27.1

class AVSemanticSegmentationMatte

Members (7)

init · iOS 13.0+

init

TypeScript
static init(imageSourceAuxiliaryDataType: _CoreFoundation_CFString, imageSourceAuxiliaryDataInfoDictionary: NativeMap<unknown, unknown>): AVSemanticSegmentationMatte
Swift declaration
convenience init(fromImageSourceAuxiliaryDataType imageSourceAuxiliaryDataType: CFString, dictionaryRepresentation imageSourceAuxiliaryDataInfoDictionary: [AnyHashable : Any]) throws
method · iOS 13.0+

dictionaryRepresentation

TypeScript
dictionaryRepresentation(): { $ret: (NativeMap<unknown, unknown>) | null; $out: { "outAuxDataType": (_Foundation_NSString) | null } }
Swift declaration
func dictionaryRepresentation(forAuxiliaryDataType outAuxDataType: AutoreleasingUnsafeMutablePointer<NSString?>?) -> [AnyHashable : Any]?

Omit the output parameters from the call. The result contains $ret and $out, with outAuxDataType inside $out.

method · iOS 13.0+

applyingExifOrientation

TypeScript
applyingExifOrientation(exifOrientation: _ImageIO_CGImagePropertyOrientation): AVSemanticSegmentationMatte
Swift declaration
func applyingExifOrientation(_ exifOrientation: CGImagePropertyOrientation) -> Self
method · iOS 13.0+

replacingSemanticSegmentationMatte

TypeScript
replacingSemanticSegmentationMatte(pixelBuffer: _CoreVideo_CVBuffer): AVSemanticSegmentationMatte
Swift declaration
func replacingSemanticSegmentationMatte(with pixelBuffer: CVPixelBuffer) throws -> Self
get · iOS 13.0+

matteType

TypeScript
get matteType(): AVSemanticSegmentationMatte_MatteType
Swift declaration
var matteType: AVSemanticSegmentationMatte.MatteType { get }
get · iOS 13.0+

mattingImage

TypeScript
get mattingImage(): _CoreVideo_CVBuffer
Swift declaration
var mattingImage: CVPixelBuffer { get }
get · iOS 13.0+

pixelFormatType

TypeScript
get pixelFormatType(): SDKHandle
Swift declaration
var pixelFormatType: OSType { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

AVSemanticSegmentationMatte.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All AVFoundation types →