Documentation Archive Developer
Search

VideoToolbox Changes for Swift

VideoToolbox

Removed VTCompressionSessionOptionFlags.init(_: UInt32)
Removed VTDecompressionOutputCallbackRecord.init(decompressionOutputCallback: VTDecompressionOutputCallback, decompressionOutputRefCon: UnsafeMutablePointer<Void>)
Removed kVTDecodeFrame_1xRealTimePlayback
Removed kVTDecodeFrame_DoNotOutputFrame
Removed kVTDecodeFrame_EnableAsynchronousDecompression
Removed kVTDecodeFrame_EnableTemporalProcessing
Removed kVTDecodeInfo_Asynchronous
Removed kVTDecodeInfo_FrameDropped
Removed kVTDecodeInfo_ImageBufferModifiable
Removed kVTEncodeInfo_Asynchronous
Removed kVTEncodeInfo_FrameDropped
Removed VTDecodeFrameFlags
Removed VTDecodeInfoFlags
Removed VTEncodeInfoFlags
DeclarationProtocols
From
struct VTCompressionSessionOptionFlags : RawOptionSetType {
    init(_ rawValue: UInt32)
    init(rawValue rawValue: UInt32)
    static var BeginFinalPass: VTCompressionSessionOptionFlags { get }
}
RawOptionSetType
To
struct VTCompressionSessionOptionFlags : OptionSetType {
    init(rawValue rawValue: UInt32)
    static var BeginFinalPass: VTCompressionSessionOptionFlags { get }
}
OptionSetType

Declaration
From
struct VTDecompressionOutputCallbackRecord {
    var decompressionOutputCallback: VTDecompressionOutputCallback
    var decompressionOutputRefCon: UnsafeMutablePointer<Void>
    init()
    init(decompressionOutputCallback decompressionOutputCallback: VTDecompressionOutputCallback, decompressionOutputRefCon decompressionOutputRefCon: UnsafeMutablePointer<Void>)
}
To
struct VTDecompressionOutputCallbackRecord {
    var decompressionOutputCallback: VTDecompressionOutputCallback?
    var decompressionOutputRefCon: UnsafeMutablePointer<Void>
    init()
    init(decompressionOutputCallback decompressionOutputCallback: VTDecompressionOutputCallback?, decompressionOutputRefCon decompressionOutputRefCon: UnsafeMutablePointer<Void>)
}

Declaration
From
var decompressionOutputCallback: VTDecompressionOutputCallback
To
var decompressionOutputCallback: VTDecompressionOutputCallback?

Declaration
From
var kVTAllocationFailedErr: Int { get }
To
var kVTAllocationFailedErr: OSStatus { get }

Declaration
From
var kVTColorCorrectionPixelTransferFailedErr: Int { get }
To
var kVTColorCorrectionPixelTransferFailedErr: OSStatus { get }

Declaration
From
var kVTColorSyncTransformConvertFailedErr: Int { get }
To
var kVTColorSyncTransformConvertFailedErr: OSStatus { get }

Declaration
From
let kVTCompressionPropertyKey_AllowFrameReordering: CFString!
To
let kVTCompressionPropertyKey_AllowFrameReordering: CFString

Declaration
From
let kVTCompressionPropertyKey_AllowTemporalCompression: CFString!
To
let kVTCompressionPropertyKey_AllowTemporalCompression: CFString

Declaration
From
let kVTCompressionPropertyKey_AspectRatio16x9: CFString!
To
let kVTCompressionPropertyKey_AspectRatio16x9: CFString

Declaration
From
let kVTCompressionPropertyKey_AverageBitRate: CFString!
To
let kVTCompressionPropertyKey_AverageBitRate: CFString

Declaration
From
let kVTCompressionPropertyKey_CleanAperture: CFString!
To
let kVTCompressionPropertyKey_CleanAperture: CFString

Declaration
From
let kVTCompressionPropertyKey_ColorPrimaries: CFString!
To
let kVTCompressionPropertyKey_ColorPrimaries: CFString

Declaration
From
let kVTCompressionPropertyKey_DataRateLimits: CFString!
To
let kVTCompressionPropertyKey_DataRateLimits: CFString

Declaration
From
let kVTCompressionPropertyKey_Depth: CFString!
To
let kVTCompressionPropertyKey_Depth: CFString

Declaration
From
let kVTCompressionPropertyKey_ExpectedDuration: CFString!
To
let kVTCompressionPropertyKey_ExpectedDuration: CFString

Declaration
From
let kVTCompressionPropertyKey_ExpectedFrameRate: CFString!
To
let kVTCompressionPropertyKey_ExpectedFrameRate: CFString

Declaration
From
let kVTCompressionPropertyKey_FieldCount: CFString!
To
let kVTCompressionPropertyKey_FieldCount: CFString

Declaration
From
let kVTCompressionPropertyKey_FieldDetail: CFString!
To
let kVTCompressionPropertyKey_FieldDetail: CFString

Declaration
From
let kVTCompressionPropertyKey_H264EntropyMode: CFString!
To
let kVTCompressionPropertyKey_H264EntropyMode: CFString

Declaration
From
let kVTCompressionPropertyKey_ICCProfile: CFString!
To
let kVTCompressionPropertyKey_ICCProfile: CFString

Declaration
From
let kVTCompressionPropertyKey_MaxFrameDelayCount: CFString!
To
let kVTCompressionPropertyKey_MaxFrameDelayCount: CFString

Declaration
From
let kVTCompressionPropertyKey_MaxH264SliceBytes: CFString!
To
let kVTCompressionPropertyKey_MaxH264SliceBytes: CFString

Declaration
From
let kVTCompressionPropertyKey_MaxKeyFrameInterval: CFString!
To
let kVTCompressionPropertyKey_MaxKeyFrameInterval: CFString

Declaration
From
let kVTCompressionPropertyKey_MaxKeyFrameIntervalDuration: CFString!
To
let kVTCompressionPropertyKey_MaxKeyFrameIntervalDuration: CFString

Declaration
From
let kVTCompressionPropertyKey_MoreFramesAfterEnd: CFString!
To
let kVTCompressionPropertyKey_MoreFramesAfterEnd: CFString

Declaration
From
let kVTCompressionPropertyKey_MoreFramesBeforeStart: CFString!
To
let kVTCompressionPropertyKey_MoreFramesBeforeStart: CFString

Declaration
From
let kVTCompressionPropertyKey_MultiPassStorage: CFString!
To
let kVTCompressionPropertyKey_MultiPassStorage: CFString

Declaration
From
let kVTCompressionPropertyKey_NumberOfPendingFrames: CFString!
To
let kVTCompressionPropertyKey_NumberOfPendingFrames: CFString

Declaration
From
let kVTCompressionPropertyKey_PixelAspectRatio: CFString!
To
let kVTCompressionPropertyKey_PixelAspectRatio: CFString

Declaration
From
let kVTCompressionPropertyKey_PixelBufferPoolIsShared: CFString!
To
let kVTCompressionPropertyKey_PixelBufferPoolIsShared: CFString

Declaration
From
let kVTCompressionPropertyKey_PixelTransferProperties: CFString!
To
let kVTCompressionPropertyKey_PixelTransferProperties: CFString

Declaration
From
let kVTCompressionPropertyKey_ProfileLevel: CFString!
To
let kVTCompressionPropertyKey_ProfileLevel: CFString

Declaration
From
let kVTCompressionPropertyKey_ProgressiveScan: CFString!
To
let kVTCompressionPropertyKey_ProgressiveScan: CFString

Declaration
From
let kVTCompressionPropertyKey_Quality: CFString!
To
let kVTCompressionPropertyKey_Quality: CFString

Declaration
From
let kVTCompressionPropertyKey_RealTime: CFString!
To
let kVTCompressionPropertyKey_RealTime: CFString

Declaration
From
let kVTCompressionPropertyKey_SourceFrameCount: CFString!
To
let kVTCompressionPropertyKey_SourceFrameCount: CFString

Declaration
From
let kVTCompressionPropertyKey_TransferFunction: CFString!
To
let kVTCompressionPropertyKey_TransferFunction: CFString

Declaration
From
let kVTCompressionPropertyKey_UsingHardwareAcceleratedVideoEncoder: CFString!
To
let kVTCompressionPropertyKey_UsingHardwareAcceleratedVideoEncoder: CFString

Declaration
From
let kVTCompressionPropertyKey_VideoEncoderPixelBufferAttributes: CFString!
To
let kVTCompressionPropertyKey_VideoEncoderPixelBufferAttributes: CFString

Declaration
From
let kVTCompressionPropertyKey_YCbCrMatrix: CFString!
To
let kVTCompressionPropertyKey_YCbCrMatrix: CFString

Declaration
From
var kVTCouldNotCreateColorCorrectionDataErr: Int { get }
To
var kVTCouldNotCreateColorCorrectionDataErr: OSStatus { get }

Declaration
From
var kVTCouldNotCreateInstanceErr: Int { get }
To
var kVTCouldNotCreateInstanceErr: OSStatus { get }

Declaration
From
var kVTCouldNotFindTemporalFilterErr: Int { get }
To
var kVTCouldNotFindTemporalFilterErr: OSStatus { get }

Declaration
From
var kVTCouldNotFindVideoDecoderErr: Int { get }
To
var kVTCouldNotFindVideoDecoderErr: OSStatus { get }

Declaration
From
var kVTCouldNotFindVideoEncoderErr: Int { get }
To
var kVTCouldNotFindVideoEncoderErr: OSStatus { get }

Declaration
From
let kVTDecompressionProperty_DeinterlaceMode_Temporal: CFString!
To
let kVTDecompressionProperty_DeinterlaceMode_Temporal: CFString

Declaration
From
let kVTDecompressionProperty_DeinterlaceMode_VerticalFilter: CFString!
To
let kVTDecompressionProperty_DeinterlaceMode_VerticalFilter: CFString

Declaration
From
let kVTDecompressionProperty_FieldMode_BothFields: CFString!
To
let kVTDecompressionProperty_FieldMode_BothFields: CFString

Declaration
From
let kVTDecompressionProperty_FieldMode_BottomFieldOnly: CFString!
To
let kVTDecompressionProperty_FieldMode_BottomFieldOnly: CFString

Declaration
From
let kVTDecompressionProperty_FieldMode_DeinterlaceFields: CFString!
To
let kVTDecompressionProperty_FieldMode_DeinterlaceFields: CFString

Declaration
From
let kVTDecompressionProperty_FieldMode_SingleField: CFString!
To
let kVTDecompressionProperty_FieldMode_SingleField: CFString

Declaration
From
let kVTDecompressionProperty_FieldMode_TopFieldOnly: CFString!
To
let kVTDecompressionProperty_FieldMode_TopFieldOnly: CFString

Declaration
From
let kVTDecompressionProperty_OnlyTheseFrames_AllFrames: CFString!
To
let kVTDecompressionProperty_OnlyTheseFrames_AllFrames: CFString

Declaration
From
let kVTDecompressionProperty_OnlyTheseFrames_IFrames: CFString!
To
let kVTDecompressionProperty_OnlyTheseFrames_IFrames: CFString

Declaration
From
let kVTDecompressionProperty_OnlyTheseFrames_KeyFrames: CFString!
To
let kVTDecompressionProperty_OnlyTheseFrames_KeyFrames: CFString

Declaration
From
let kVTDecompressionProperty_OnlyTheseFrames_NonDroppableFrames: CFString!
To
let kVTDecompressionProperty_OnlyTheseFrames_NonDroppableFrames: CFString

Declaration
From
let kVTDecompressionPropertyKey_ContentHasInterframeDependencies: CFString!
To
let kVTDecompressionPropertyKey_ContentHasInterframeDependencies: CFString

Declaration
From
let kVTDecompressionPropertyKey_DeinterlaceMode: CFString!
To
let kVTDecompressionPropertyKey_DeinterlaceMode: CFString

Declaration
From
let kVTDecompressionPropertyKey_FieldMode: CFString!
To
let kVTDecompressionPropertyKey_FieldMode: CFString

Declaration
From
let kVTDecompressionPropertyKey_MaxOutputPresentationTimeStampOfFramesBeingDecoded: CFString!
To
let kVTDecompressionPropertyKey_MaxOutputPresentationTimeStampOfFramesBeingDecoded: CFString

Declaration
From
let kVTDecompressionPropertyKey_MinOutputPresentationTimeStampOfFramesBeingDecoded: CFString!
To
let kVTDecompressionPropertyKey_MinOutputPresentationTimeStampOfFramesBeingDecoded: CFString

Declaration
From
let kVTDecompressionPropertyKey_NumberOfFramesBeingDecoded: CFString!
To
let kVTDecompressionPropertyKey_NumberOfFramesBeingDecoded: CFString

Declaration
From
let kVTDecompressionPropertyKey_OnlyTheseFrames: CFString!
To
let kVTDecompressionPropertyKey_OnlyTheseFrames: CFString

Declaration
From
let kVTDecompressionPropertyKey_OutputPoolRequestedMinimumBufferCount: CFString!
To
let kVTDecompressionPropertyKey_OutputPoolRequestedMinimumBufferCount: CFString

Declaration
From
let kVTDecompressionPropertyKey_PixelBufferPool: CFString!
To
let kVTDecompressionPropertyKey_PixelBufferPool: CFString

Declaration
From
let kVTDecompressionPropertyKey_PixelBufferPoolIsShared: CFString!
To
let kVTDecompressionPropertyKey_PixelBufferPoolIsShared: CFString

Declaration
From
let kVTDecompressionPropertyKey_PixelFormatsWithReducedResolutionSupport: CFString!
To
let kVTDecompressionPropertyKey_PixelFormatsWithReducedResolutionSupport: CFString

Declaration
From
let kVTDecompressionPropertyKey_PixelTransferProperties: CFString!
To
let kVTDecompressionPropertyKey_PixelTransferProperties: CFString

Declaration
From
let kVTDecompressionPropertyKey_RealTime: CFString!
To
let kVTDecompressionPropertyKey_RealTime: CFString

Declaration
From
let kVTDecompressionPropertyKey_ReducedCoefficientDecode: CFString!
To
let kVTDecompressionPropertyKey_ReducedCoefficientDecode: CFString

Declaration
From
let kVTDecompressionPropertyKey_ReducedFrameDelivery: CFString!
To
let kVTDecompressionPropertyKey_ReducedFrameDelivery: CFString

Declaration
From
let kVTDecompressionPropertyKey_ReducedResolutionDecode: CFString!
To
let kVTDecompressionPropertyKey_ReducedResolutionDecode: CFString

Declaration
From
let kVTDecompressionPropertyKey_SuggestedQualityOfServiceTiers: CFString!
To
let kVTDecompressionPropertyKey_SuggestedQualityOfServiceTiers: CFString

Declaration
From
let kVTDecompressionPropertyKey_SupportedPixelFormatsOrderedByPerformance: CFString!
To
let kVTDecompressionPropertyKey_SupportedPixelFormatsOrderedByPerformance: CFString

Declaration
From
let kVTDecompressionPropertyKey_SupportedPixelFormatsOrderedByQuality: CFString!
To
let kVTDecompressionPropertyKey_SupportedPixelFormatsOrderedByQuality: CFString

Declaration
From
let kVTDecompressionPropertyKey_ThreadCount: CFString!
To
let kVTDecompressionPropertyKey_ThreadCount: CFString

Declaration
From
let kVTDecompressionPropertyKey_UsingHardwareAcceleratedVideoDecoder: CFString!
To
let kVTDecompressionPropertyKey_UsingHardwareAcceleratedVideoDecoder: CFString

Declaration
From
let kVTDecompressionResolutionKey_Height: CFString!
To
let kVTDecompressionResolutionKey_Height: CFString

Declaration
From
let kVTDecompressionResolutionKey_Width: CFString!
To
let kVTDecompressionResolutionKey_Width: CFString

Declaration
From
let kVTDownsamplingMode_Average: CFString!
To
let kVTDownsamplingMode_Average: CFString

Declaration
From
let kVTDownsamplingMode_Decimate: CFString!
To
let kVTDownsamplingMode_Decimate: CFString

Declaration
From
let kVTEncodeFrameOptionKey_ForceKeyFrame: CFString!
To
let kVTEncodeFrameOptionKey_ForceKeyFrame: CFString

Declaration
From
var kVTFormatDescriptionChangeNotSupportedErr: Int { get }
To
var kVTFormatDescriptionChangeNotSupportedErr: OSStatus { get }

Declaration
From
var kVTFrameSiloInvalidTimeRangeErr: Int { get }
To
var kVTFrameSiloInvalidTimeRangeErr: OSStatus { get }

Declaration
From
var kVTFrameSiloInvalidTimeStampErr: Int { get }
To
var kVTFrameSiloInvalidTimeStampErr: OSStatus { get }

Declaration
From
let kVTH264EntropyMode_CABAC: CFString!
To
let kVTH264EntropyMode_CABAC: CFString

Declaration
From
let kVTH264EntropyMode_CAVLC: CFString!
To
let kVTH264EntropyMode_CAVLC: CFString

Declaration
From
var kVTImageRotationNotSupportedErr: Int { get }
To
var kVTImageRotationNotSupportedErr: OSStatus { get }

Declaration
From
var kVTInsufficientSourceColorDataErr: Int { get }
To
var kVTInsufficientSourceColorDataErr: OSStatus { get }

Declaration
From
var kVTInvalidSessionErr: Int { get }
To
var kVTInvalidSessionErr: OSStatus { get }

Declaration
From
let kVTMultiPassStorageCreationOption_DoNotDelete: CFString!
To
let kVTMultiPassStorageCreationOption_DoNotDelete: CFString

Declaration
From
var kVTMultiPassStorageIdentifierMismatchErr: Int { get }
To
var kVTMultiPassStorageIdentifierMismatchErr: OSStatus { get }

Declaration
From
var kVTMultiPassStorageInvalidErr: Int { get }
To
var kVTMultiPassStorageInvalidErr: OSStatus { get }

Declaration
From
var kVTParameterErr: Int { get }
To
var kVTParameterErr: OSStatus { get }

Declaration
From
var kVTPixelTransferNotPermittedErr: Int { get }
To
var kVTPixelTransferNotPermittedErr: OSStatus { get }

Declaration
From
var kVTPixelTransferNotSupportedErr: Int { get }
To
var kVTPixelTransferNotSupportedErr: OSStatus { get }

Declaration
From
let kVTPixelTransferPropertyKey_DestinationCleanAperture: CFString!
To
let kVTPixelTransferPropertyKey_DestinationCleanAperture: CFString

Declaration
From
let kVTPixelTransferPropertyKey_DestinationColorPrimaries: CFString!
To
let kVTPixelTransferPropertyKey_DestinationColorPrimaries: CFString

Declaration
From
let kVTPixelTransferPropertyKey_DestinationICCProfile: CFString!
To
let kVTPixelTransferPropertyKey_DestinationICCProfile: CFString

Declaration
From
let kVTPixelTransferPropertyKey_DestinationPixelAspectRatio: CFString!
To
let kVTPixelTransferPropertyKey_DestinationPixelAspectRatio: CFString

Declaration
From
let kVTPixelTransferPropertyKey_DestinationTransferFunction: CFString!
To
let kVTPixelTransferPropertyKey_DestinationTransferFunction: CFString

Declaration
From
let kVTPixelTransferPropertyKey_DestinationYCbCrMatrix: CFString!
To
let kVTPixelTransferPropertyKey_DestinationYCbCrMatrix: CFString

Declaration
From
let kVTPixelTransferPropertyKey_DownsamplingMode: CFString!
To
let kVTPixelTransferPropertyKey_DownsamplingMode: CFString

Declaration
From
let kVTPixelTransferPropertyKey_ScalingMode: CFString!
To
let kVTPixelTransferPropertyKey_ScalingMode: CFString

Declaration
From
let kVTProfileLevel_H263_Profile0_Level10: CFString!
To
let kVTProfileLevel_H263_Profile0_Level10: CFString

Declaration
From
let kVTProfileLevel_H263_Profile0_Level45: CFString!
To
let kVTProfileLevel_H263_Profile0_Level45: CFString

Declaration
From
let kVTProfileLevel_H263_Profile3_Level45: CFString!
To
let kVTProfileLevel_H263_Profile3_Level45: CFString

Declaration
From
let kVTProfileLevel_H264_Baseline_1_3: CFString!
To
let kVTProfileLevel_H264_Baseline_1_3: CFString

Declaration
From
let kVTProfileLevel_H264_Baseline_3_0: CFString!
To
let kVTProfileLevel_H264_Baseline_3_0: CFString

Declaration
From
let kVTProfileLevel_H264_Baseline_3_1: CFString!
To
let kVTProfileLevel_H264_Baseline_3_1: CFString

Declaration
From
let kVTProfileLevel_H264_Baseline_3_2: CFString!
To
let kVTProfileLevel_H264_Baseline_3_2: CFString

Declaration
From
let kVTProfileLevel_H264_Baseline_4_0: CFString!
To
let kVTProfileLevel_H264_Baseline_4_0: CFString

Declaration
From
let kVTProfileLevel_H264_Baseline_4_1: CFString!
To
let kVTProfileLevel_H264_Baseline_4_1: CFString

Declaration
From
let kVTProfileLevel_H264_Baseline_4_2: CFString!
To
let kVTProfileLevel_H264_Baseline_4_2: CFString

Declaration
From
let kVTProfileLevel_H264_Baseline_5_0: CFString!
To
let kVTProfileLevel_H264_Baseline_5_0: CFString

Declaration
From
let kVTProfileLevel_H264_Baseline_5_1: CFString!
To
let kVTProfileLevel_H264_Baseline_5_1: CFString

Declaration
From
let kVTProfileLevel_H264_Baseline_5_2: CFString!
To
let kVTProfileLevel_H264_Baseline_5_2: CFString

Declaration
From
let kVTProfileLevel_H264_Baseline_AutoLevel: CFString!
To
let kVTProfileLevel_H264_Baseline_AutoLevel: CFString

Declaration
From
let kVTProfileLevel_H264_Extended_5_0: CFString!
To
let kVTProfileLevel_H264_Extended_5_0: CFString

Declaration
From
let kVTProfileLevel_H264_Extended_AutoLevel: CFString!
To
let kVTProfileLevel_H264_Extended_AutoLevel: CFString

Declaration
From
let kVTProfileLevel_H264_High_3_0: CFString!
To
let kVTProfileLevel_H264_High_3_0: CFString

Declaration
From
let kVTProfileLevel_H264_High_3_1: CFString!
To
let kVTProfileLevel_H264_High_3_1: CFString

Declaration
From
let kVTProfileLevel_H264_High_3_2: CFString!
To
let kVTProfileLevel_H264_High_3_2: CFString

Declaration
From
let kVTProfileLevel_H264_High_4_0: CFString!
To
let kVTProfileLevel_H264_High_4_0: CFString

Declaration
From
let kVTProfileLevel_H264_High_4_1: CFString!
To
let kVTProfileLevel_H264_High_4_1: CFString

Declaration
From
let kVTProfileLevel_H264_High_4_2: CFString!
To
let kVTProfileLevel_H264_High_4_2: CFString

Declaration
From
let kVTProfileLevel_H264_High_5_0: CFString!
To
let kVTProfileLevel_H264_High_5_0: CFString

Declaration
From
let kVTProfileLevel_H264_High_5_1: CFString!
To
let kVTProfileLevel_H264_High_5_1: CFString

Declaration
From
let kVTProfileLevel_H264_High_5_2: CFString!
To
let kVTProfileLevel_H264_High_5_2: CFString

Declaration
From
let kVTProfileLevel_H264_High_AutoLevel: CFString!
To
let kVTProfileLevel_H264_High_AutoLevel: CFString

Declaration
From
let kVTProfileLevel_H264_Main_3_0: CFString!
To
let kVTProfileLevel_H264_Main_3_0: CFString

Declaration
From
let kVTProfileLevel_H264_Main_3_1: CFString!
To
let kVTProfileLevel_H264_Main_3_1: CFString

Declaration
From
let kVTProfileLevel_H264_Main_3_2: CFString!
To
let kVTProfileLevel_H264_Main_3_2: CFString

Declaration
From
let kVTProfileLevel_H264_Main_4_0: CFString!
To
let kVTProfileLevel_H264_Main_4_0: CFString

Declaration
From
let kVTProfileLevel_H264_Main_4_1: CFString!
To
let kVTProfileLevel_H264_Main_4_1: CFString

Declaration
From
let kVTProfileLevel_H264_Main_4_2: CFString!
To
let kVTProfileLevel_H264_Main_4_2: CFString

Declaration
From
let kVTProfileLevel_H264_Main_5_0: CFString!
To
let kVTProfileLevel_H264_Main_5_0: CFString

Declaration
From
let kVTProfileLevel_H264_Main_5_1: CFString!
To
let kVTProfileLevel_H264_Main_5_1: CFString

Declaration
From
let kVTProfileLevel_H264_Main_5_2: CFString!
To
let kVTProfileLevel_H264_Main_5_2: CFString

Declaration
From
let kVTProfileLevel_H264_Main_AutoLevel: CFString!
To
let kVTProfileLevel_H264_Main_AutoLevel: CFString

Declaration
From
let kVTProfileLevel_MP4V_AdvancedSimple_L0: CFString!
To
let kVTProfileLevel_MP4V_AdvancedSimple_L0: CFString

Declaration
From
let kVTProfileLevel_MP4V_AdvancedSimple_L1: CFString!
To
let kVTProfileLevel_MP4V_AdvancedSimple_L1: CFString

Declaration
From
let kVTProfileLevel_MP4V_AdvancedSimple_L2: CFString!
To
let kVTProfileLevel_MP4V_AdvancedSimple_L2: CFString

Declaration
From
let kVTProfileLevel_MP4V_AdvancedSimple_L3: CFString!
To
let kVTProfileLevel_MP4V_AdvancedSimple_L3: CFString

Declaration
From
let kVTProfileLevel_MP4V_AdvancedSimple_L4: CFString!
To
let kVTProfileLevel_MP4V_AdvancedSimple_L4: CFString

Declaration
From
let kVTProfileLevel_MP4V_Main_L2: CFString!
To
let kVTProfileLevel_MP4V_Main_L2: CFString

Declaration
From
let kVTProfileLevel_MP4V_Main_L3: CFString!
To
let kVTProfileLevel_MP4V_Main_L3: CFString

Declaration
From
let kVTProfileLevel_MP4V_Main_L4: CFString!
To
let kVTProfileLevel_MP4V_Main_L4: CFString

Declaration
From
let kVTProfileLevel_MP4V_Simple_L0: CFString!
To
let kVTProfileLevel_MP4V_Simple_L0: CFString

Declaration
From
let kVTProfileLevel_MP4V_Simple_L1: CFString!
To
let kVTProfileLevel_MP4V_Simple_L1: CFString

Declaration
From
let kVTProfileLevel_MP4V_Simple_L2: CFString!
To
let kVTProfileLevel_MP4V_Simple_L2: CFString

Declaration
From
let kVTProfileLevel_MP4V_Simple_L3: CFString!
To
let kVTProfileLevel_MP4V_Simple_L3: CFString

Declaration
From
let kVTPropertyDocumentationKey: CFString!
To
let kVTPropertyDocumentationKey: CFString

Declaration
From
var kVTPropertyNotSupportedErr: Int { get }
To
var kVTPropertyNotSupportedErr: OSStatus { get }

Declaration
From
var kVTPropertyReadOnlyErr: Int { get }
To
var kVTPropertyReadOnlyErr: OSStatus { get }

Declaration
From
let kVTPropertyReadWriteStatus_ReadOnly: CFString!
To
let kVTPropertyReadWriteStatus_ReadOnly: CFString

Declaration
From
let kVTPropertyReadWriteStatus_ReadWrite: CFString!
To
let kVTPropertyReadWriteStatus_ReadWrite: CFString

Declaration
From
let kVTPropertyReadWriteStatusKey: CFString!
To
let kVTPropertyReadWriteStatusKey: CFString

Declaration
From
let kVTPropertyShouldBeSerializedKey: CFString!
To
let kVTPropertyShouldBeSerializedKey: CFString

Declaration
From
let kVTPropertySupportedValueListKey: CFString!
To
let kVTPropertySupportedValueListKey: CFString

Declaration
From
let kVTPropertySupportedValueMaximumKey: CFString!
To
let kVTPropertySupportedValueMaximumKey: CFString

Declaration
From
let kVTPropertySupportedValueMinimumKey: CFString!
To
let kVTPropertySupportedValueMinimumKey: CFString

Declaration
From
let kVTPropertyType_Boolean: CFString!
To
let kVTPropertyType_Boolean: CFString

Declaration
From
let kVTPropertyType_Enumeration: CFString!
To
let kVTPropertyType_Enumeration: CFString

Declaration
From
let kVTPropertyType_Number: CFString!
To
let kVTPropertyType_Number: CFString

Declaration
From
let kVTPropertyTypeKey: CFString!
To
let kVTPropertyTypeKey: CFString

Declaration
From
let kVTScalingMode_CropSourceToCleanAperture: CFString!
To
let kVTScalingMode_CropSourceToCleanAperture: CFString

Declaration
From
let kVTScalingMode_Letterbox: CFString!
To
let kVTScalingMode_Letterbox: CFString

Declaration
From
let kVTScalingMode_Normal: CFString!
To
let kVTScalingMode_Normal: CFString

Declaration
From
let kVTScalingMode_Trim: CFString!
To
let kVTScalingMode_Trim: CFString

Declaration
From
var kVTVideoDecoderAuthorizationErr: Int { get }
To
var kVTVideoDecoderAuthorizationErr: OSStatus { get }

Declaration
From
var kVTVideoDecoderBadDataErr: Int { get }
To
var kVTVideoDecoderBadDataErr: OSStatus { get }

Declaration
From
var kVTVideoDecoderMalfunctionErr: Int { get }
To
var kVTVideoDecoderMalfunctionErr: OSStatus { get }

Declaration
From
var kVTVideoDecoderNotAvailableNowErr: Int { get }
To
var kVTVideoDecoderNotAvailableNowErr: OSStatus { get }

Declaration
From
let kVTVideoDecoderSpecification_EnableHardwareAcceleratedVideoDecoder: CFString!
To
let kVTVideoDecoderSpecification_EnableHardwareAcceleratedVideoDecoder: CFString

Declaration
From
let kVTVideoDecoderSpecification_RequireHardwareAcceleratedVideoDecoder: CFString!
To
let kVTVideoDecoderSpecification_RequireHardwareAcceleratedVideoDecoder: CFString

Declaration
From
var kVTVideoDecoderUnsupportedDataFormatErr: Int { get }
To
var kVTVideoDecoderUnsupportedDataFormatErr: OSStatus { get }

Declaration
From
var kVTVideoEncoderAuthorizationErr: Int { get }
To
var kVTVideoEncoderAuthorizationErr: OSStatus { get }

Declaration
From
let kVTVideoEncoderList_CodecName: CFString!
To
let kVTVideoEncoderList_CodecName: CFString

Declaration
From
let kVTVideoEncoderList_CodecType: CFString!
To
let kVTVideoEncoderList_CodecType: CFString

Declaration
From
let kVTVideoEncoderList_DisplayName: CFString!
To
let kVTVideoEncoderList_DisplayName: CFString

Declaration
From
let kVTVideoEncoderList_EncoderID: CFString!
To
let kVTVideoEncoderList_EncoderID: CFString

Declaration
From
let kVTVideoEncoderList_EncoderName: CFString!
To
let kVTVideoEncoderList_EncoderName: CFString

Declaration
From
var kVTVideoEncoderMalfunctionErr: Int { get }
To
var kVTVideoEncoderMalfunctionErr: OSStatus { get }

Declaration
From
var kVTVideoEncoderNotAvailableNowErr: Int { get }
To
var kVTVideoEncoderNotAvailableNowErr: OSStatus { get }

Declaration
From
let kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder: CFString!
To
let kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder: CFString

Declaration
From
let kVTVideoEncoderSpecification_EncoderID: CFString!
To
let kVTVideoEncoderSpecification_EncoderID: CFString

Declaration
From
let kVTVideoEncoderSpecification_RequireHardwareAcceleratedVideoEncoder: CFString!
To
let kVTVideoEncoderSpecification_RequireHardwareAcceleratedVideoEncoder: CFString

Declaration
From
typealias VTCompressionOutputCallback = CFunctionPointer<((UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>, OSStatus, VTEncodeInfoFlags, CMSampleBuffer!) -> Void)>
To
typealias VTCompressionOutputCallback = (UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>, OSStatus, VTEncodeInfoFlags, CMSampleBuffer?) -> Void

Declaration
From
func VTCompressionSessionBeginPass(_ session: VTCompressionSession!, _ beginPassFlags: VTCompressionSessionOptionFlags, _ reserved: UnsafeMutablePointer<UInt32>) -> OSStatus
To
func VTCompressionSessionBeginPass(_ session: VTCompressionSession, _ beginPassFlags: VTCompressionSessionOptionFlags, _ reserved: UnsafeMutablePointer<UInt32>) -> OSStatus

Declaration
From
func VTCompressionSessionCompleteFrames(_ session: VTCompressionSession!, _ completeUntilPresentationTimeStamp: CMTime) -> OSStatus
To
func VTCompressionSessionCompleteFrames(_ session: VTCompressionSession, _ completeUntilPresentationTimeStamp: CMTime) -> OSStatus

Declaration
From
func VTCompressionSessionCreate(_ allocator: CFAllocator!, _ width: Int32, _ height: Int32, _ codecType: CMVideoCodecType, _ encoderSpecification: CFDictionary!, _ sourceImageBufferAttributes: CFDictionary!, _ compressedDataAllocator: CFAllocator!, _ outputCallback: VTCompressionOutputCallback, _ outputCallbackRefCon: UnsafeMutablePointer<Void>, _ compressionSessionOut: UnsafeMutablePointer<Unmanaged<VTCompressionSession>?>) -> OSStatus
To
func VTCompressionSessionCreate(_ allocator: CFAllocator?, _ width: Int32, _ height: Int32, _ codecType: CMVideoCodecType, _ encoderSpecification: CFDictionary?, _ sourceImageBufferAttributes: CFDictionary?, _ compressedDataAllocator: CFAllocator?, _ outputCallback: VTCompressionOutputCallback?, _ outputCallbackRefCon: UnsafeMutablePointer<Void>, _ compressionSessionOut: UnsafeMutablePointer<VTCompressionSession?>) -> OSStatus

Declaration
From
func VTCompressionSessionEncodeFrame(_ session: VTCompressionSession!, _ imageBuffer: CVImageBuffer!, _ presentationTimeStamp: CMTime, _ duration: CMTime, _ frameProperties: CFDictionary!, _ sourceFrameRefCon: UnsafeMutablePointer<Void>, _ infoFlagsOut: UnsafeMutablePointer<VTEncodeInfoFlags>) -> OSStatus
To
func VTCompressionSessionEncodeFrame(_ session: VTCompressionSession, _ imageBuffer: CVImageBuffer, _ presentationTimeStamp: CMTime, _ duration: CMTime, _ frameProperties: CFDictionary?, _ sourceFrameRefCon: UnsafeMutablePointer<Void>, _ infoFlagsOut: UnsafeMutablePointer<VTEncodeInfoFlags>) -> OSStatus

Declaration
From
func VTCompressionSessionEndPass(_ session: VTCompressionSession!, _ furtherPassesRequestedOut: UnsafeMutablePointer<Boolean>, _ reserved: UnsafeMutablePointer<UInt32>) -> OSStatus
To
func VTCompressionSessionEndPass(_ session: VTCompressionSession, _ furtherPassesRequestedOut: UnsafeMutablePointer<DarwinBoolean>, _ reserved: UnsafeMutablePointer<UInt32>) -> OSStatus

Declaration
From
func VTCompressionSessionGetPixelBufferPool(_ session: VTCompressionSession!) -> CVPixelBufferPool!
To
func VTCompressionSessionGetPixelBufferPool(_ session: VTCompressionSession) -> CVPixelBufferPool?

Declaration
From
func VTCompressionSessionGetTimeRangesForNextPass(_ session: VTCompressionSession!, _ timeRangeCountOut: UnsafeMutablePointer<CMItemCount>, _ timeRangeArrayOut: UnsafeMutablePointer<UnsafePointer<CMTimeRange>>) -> OSStatus
To
func VTCompressionSessionGetTimeRangesForNextPass(_ session: VTCompressionSession, _ timeRangeCountOut: UnsafeMutablePointer<CMItemCount>, _ timeRangeArrayOut: UnsafeMutablePointer<UnsafePointer<CMTimeRange>>) -> OSStatus

Declaration
From
func VTCompressionSessionInvalidate(_ session: VTCompressionSession!)
To
func VTCompressionSessionInvalidate(_ session: VTCompressionSession)

Declaration
From
func VTCompressionSessionPrepareToEncodeFrames(_ session: VTCompressionSession!) -> OSStatus
To
func VTCompressionSessionPrepareToEncodeFrames(_ session: VTCompressionSession) -> OSStatus

Declaration
From
func VTCopyVideoEncoderList(_ options: CFDictionary!, _ listOfVideoEncodersOut: UnsafeMutablePointer<Unmanaged<CFArray>?>) -> OSStatus
To
func VTCopyVideoEncoderList(_ options: CFDictionary?, _ listOfVideoEncodersOut: UnsafeMutablePointer<CFArray?>) -> OSStatus

Declaration
From
typealias VTDecompressionOutputCallback = CFunctionPointer<((UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>, OSStatus, VTDecodeInfoFlags, CVImageBuffer!, CMTime, CMTime) -> Void)>
To
typealias VTDecompressionOutputCallback = (UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>, OSStatus, VTDecodeInfoFlags, CVImageBuffer?, CMTime, CMTime) -> Void

Declaration
From
func VTDecompressionSessionCanAcceptFormatDescription(_ session: VTDecompressionSession!, _ newFormatDesc: CMFormatDescription!) -> Boolean
To
func VTDecompressionSessionCanAcceptFormatDescription(_ session: VTDecompressionSession, _ newFormatDesc: CMFormatDescription) -> Bool

Declaration
From
func VTDecompressionSessionCopyBlackPixelBuffer(_ session: VTDecompressionSession!, _ pixelBufferOut: UnsafeMutablePointer<Unmanaged<CVPixelBuffer>?>) -> OSStatus
To
func VTDecompressionSessionCopyBlackPixelBuffer(_ session: VTDecompressionSession, _ pixelBufferOut: UnsafeMutablePointer<CVPixelBuffer?>) -> OSStatus

Declaration
From
func VTDecompressionSessionCreate(_ allocator: CFAllocator!, _ videoFormatDescription: CMVideoFormatDescription!, _ videoDecoderSpecification: CFDictionary!, _ destinationImageBufferAttributes: CFDictionary!, _ outputCallback: UnsafePointer<VTDecompressionOutputCallbackRecord>, _ decompressionSessionOut: UnsafeMutablePointer<Unmanaged<VTDecompressionSession>?>) -> OSStatus
To
func VTDecompressionSessionCreate(_ allocator: CFAllocator?, _ videoFormatDescription: CMVideoFormatDescription, _ videoDecoderSpecification: CFDictionary?, _ destinationImageBufferAttributes: CFDictionary?, _ outputCallback: UnsafePointer<VTDecompressionOutputCallbackRecord>, _ decompressionSessionOut: UnsafeMutablePointer<VTDecompressionSession?>) -> OSStatus

Declaration
From
func VTDecompressionSessionDecodeFrame(_ session: VTDecompressionSession!, _ sampleBuffer: CMSampleBuffer!, _ decodeFlags: VTDecodeFrameFlags, _ sourceFrameRefCon: UnsafeMutablePointer<Void>, _ infoFlagsOut: UnsafeMutablePointer<VTDecodeInfoFlags>) -> OSStatus
To
func VTDecompressionSessionDecodeFrame(_ session: VTDecompressionSession, _ sampleBuffer: CMSampleBuffer, _ decodeFlags: VTDecodeFrameFlags, _ sourceFrameRefCon: UnsafeMutablePointer<Void>, _ infoFlagsOut: UnsafeMutablePointer<VTDecodeInfoFlags>) -> OSStatus

Declaration
From
func VTDecompressionSessionFinishDelayedFrames(_ session: VTDecompressionSession!) -> OSStatus
To
func VTDecompressionSessionFinishDelayedFrames(_ session: VTDecompressionSession) -> OSStatus

Declaration
From
func VTDecompressionSessionInvalidate(_ session: VTDecompressionSession!)
To
func VTDecompressionSessionInvalidate(_ session: VTDecompressionSession)

Declaration
From
func VTDecompressionSessionWaitForAsynchronousFrames(_ session: VTDecompressionSession!) -> OSStatus
To
func VTDecompressionSessionWaitForAsynchronousFrames(_ session: VTDecompressionSession) -> OSStatus

Declaration
From
func VTFrameSiloAddSampleBuffer(_ silo: VTFrameSilo!, _ sampleBuffer: CMSampleBuffer!) -> OSStatus
To
func VTFrameSiloAddSampleBuffer(_ silo: VTFrameSilo, _ sampleBuffer: CMSampleBuffer) -> OSStatus

Declaration
From
func VTFrameSiloCallBlockForEachSampleBuffer(_ silo: VTFrameSilo!, _ timeRange: CMTimeRange, _ handler: ((CMSampleBuffer!) -> OSStatus)!) -> OSStatus
To
func VTFrameSiloCallBlockForEachSampleBuffer(_ silo: VTFrameSilo, _ timeRange: CMTimeRange, _ handler: (CMSampleBuffer) -> OSStatus) -> OSStatus

Declaration
From
func VTFrameSiloCallFunctionForEachSampleBuffer(_ silo: VTFrameSilo!, _ timeRange: CMTimeRange, _ callbackInfo: UnsafeMutablePointer<Void>, _ callback: CFunctionPointer<((UnsafeMutablePointer<Void>, CMSampleBuffer!) -> OSStatus)>) -> OSStatus
To
func VTFrameSiloCallFunctionForEachSampleBuffer(_ silo: VTFrameSilo, _ timeRange: CMTimeRange, _ callbackInfo: UnsafeMutablePointer<Void>, _ callback: (UnsafeMutablePointer<Void>, CMSampleBuffer) -> OSStatus) -> OSStatus

Declaration
From
func VTFrameSiloCreate(_ allocator: CFAllocator!, _ fileURL: CFURL!, _ timeRange: CMTimeRange, _ options: CFDictionary!, _ siloOut: UnsafeMutablePointer<Unmanaged<VTFrameSilo>?>) -> OSStatus
To
func VTFrameSiloCreate(_ allocator: CFAllocator?, _ fileURL: CFURL?, _ timeRange: CMTimeRange, _ options: CFDictionary?, _ siloOut: UnsafeMutablePointer<VTFrameSilo?>) -> OSStatus

Declaration
From
func VTFrameSiloGetProgressOfCurrentPass(_ silo: VTFrameSilo!, _ progressOut: UnsafeMutablePointer<Float32>) -> OSStatus
To
func VTFrameSiloGetProgressOfCurrentPass(_ silo: VTFrameSilo, _ progressOut: UnsafeMutablePointer<Float32>) -> OSStatus

Declaration
From
func VTFrameSiloSetTimeRangesForNextPass(_ silo: VTFrameSilo!, _ timeRangeCount: CMItemCount, _ timeRangeArray: UnsafePointer<CMTimeRange>) -> OSStatus
To
func VTFrameSiloSetTimeRangesForNextPass(_ silo: VTFrameSilo, _ timeRangeCount: CMItemCount, _ timeRangeArray: UnsafePointer<CMTimeRange>) -> OSStatus

Declaration
From
func VTMultiPassStorageClose(_ multiPassStorage: VTMultiPassStorage!) -> OSStatus
To
func VTMultiPassStorageClose(_ multiPassStorage: VTMultiPassStorage) -> OSStatus

Declaration
From
func VTMultiPassStorageCreate(_ allocator: CFAllocator!, _ fileURL: CFURL!, _ timeRange: CMTimeRange, _ options: CFDictionary!, _ multiPassStorageOut: UnsafeMutablePointer<Unmanaged<VTMultiPassStorage>?>) -> OSStatus
To
func VTMultiPassStorageCreate(_ allocator: CFAllocator?, _ fileURL: CFURL?, _ timeRange: CMTimeRange, _ options: CFDictionary?, _ multiPassStorageOut: UnsafeMutablePointer<VTMultiPassStorage?>) -> OSStatus

Declaration
From
func VTPixelTransferSessionCreate(_ allocator: CFAllocator!, _ pixelTransferSessionOut: UnsafeMutablePointer<Unmanaged<VTPixelTransferSession>?>) -> OSStatus
To
func VTPixelTransferSessionCreate(_ allocator: CFAllocator?, _ pixelTransferSessionOut: UnsafeMutablePointer<VTPixelTransferSession?>) -> OSStatus

Declaration
From
func VTPixelTransferSessionInvalidate(_ session: VTPixelTransferSession!)
To
func VTPixelTransferSessionInvalidate(_ session: VTPixelTransferSession)

Declaration
From
func VTPixelTransferSessionTransferImage(_ session: VTPixelTransferSession!, _ sourceBuffer: CVPixelBuffer!, _ destinationBuffer: CVPixelBuffer!) -> OSStatus
To
func VTPixelTransferSessionTransferImage(_ session: VTPixelTransferSession, _ sourceBuffer: CVPixelBuffer, _ destinationBuffer: CVPixelBuffer) -> OSStatus

Declaration
From
func VTSessionCopyProperty(_ session: VTSession!, _ propertyKey: CFString!, _ allocator: CFAllocator!, _ propertyValueOut: UnsafeMutablePointer<Void>) -> OSStatus
To
func VTSessionCopyProperty(_ session: VTSession, _ propertyKey: CFString, _ allocator: CFAllocator?, _ propertyValueOut: UnsafeMutablePointer<Void>) -> OSStatus

Declaration
From
func VTSessionCopySerializableProperties(_ session: VTSession!, _ allocator: CFAllocator!, _ dictionaryOut: UnsafeMutablePointer<Unmanaged<CFDictionary>?>) -> OSStatus
To
func VTSessionCopySerializableProperties(_ session: VTSession, _ allocator: CFAllocator?, _ dictionaryOut: UnsafeMutablePointer<CFDictionary?>) -> OSStatus

Declaration
From
func VTSessionCopySupportedPropertyDictionary(_ session: VTSession!, _ supportedPropertyDictionaryOut: UnsafeMutablePointer<Unmanaged<CFDictionary>?>) -> OSStatus
To
func VTSessionCopySupportedPropertyDictionary(_ session: VTSession, _ supportedPropertyDictionaryOut: UnsafeMutablePointer<CFDictionary?>) -> OSStatus

Declaration
From
func VTSessionSetProperties(_ session: VTSession!, _ propertyDictionary: CFDictionary!) -> OSStatus
To
func VTSessionSetProperties(_ session: VTSession, _ propertyDictionary: CFDictionary) -> OSStatus

Declaration
From
func VTSessionSetProperty(_ session: VTSession!, _ propertyKey: CFString!, _ propertyValue: AnyObject!) -> OSStatus
To
func VTSessionSetProperty(_ session: VTSession, _ propertyKey: CFString, _ propertyValue: AnyObject) -> OSStatus