Modifier

Partager via


VTCompressionSession Class

Definition

Turns uncompressed frames into compressed video frames

[ObjCRuntime.TV(10, 2)]
public class VTCompressionSession : VideoToolbox.VTSession
type VTCompressionSession = class
    inherit VTSession
Inheritance
VTCompressionSession
Attributes

Constructors

VTCompressionSession(IntPtr)

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from VTSession)

Methods

BeginPass(VTCompressionSessionOptionFlags)
CompleteFrames(CMTime)
Create(Int32, Int32, CMVideoCodecType, VTCompressionSession+VTCompressionOutputCallback, VTVideoEncoderSpecification, CVPixelBufferAttributes)
Create(Int32, Int32, CMVideoCodecType, VTCompressionSession+VTCompressionOutputCallback, VTVideoEncoderSpecification, NSDictionary)
Obsolete.

Creates a compression session

Dispose()

Releases the resources used by the VTCompressionSession object.

Dispose(Boolean)

Releases the resources used by the VTCompressionSession object.

EncodeFrame(CVImageBuffer, CMTime, CMTime, NSDictionary, IntPtr, VTEncodeInfoFlags)
EndPass(Boolean)
EndPassAsFinal()
Finalize()

Finalizer for the VTCompressionSession object

GetPixelBufferPool()
GetProperties() (Inherited from VTSession)
GetProperty(NSString) (Inherited from VTSession)
GetSerializableProperties() (Inherited from VTSession)
GetSupportedProperties() (Inherited from VTSession)
GetTimeRangesForNextPass(CMTimeRange[])
PrepareToEncodeFrames()
SetCompressionProperties(VTCompressionProperties)
SetProperties(VTPropertyOptions) (Inherited from VTSession)
SetProperty(NSString, NSObject) (Inherited from VTSession)

Applies to