Skip to main content

VTCompressionSessionCreate

Function VTCompressionSessionCreate 

Source
pub unsafe extern "C" fn VTCompressionSessionCreate(
    allocator: CFAllocatorRef,
    width: i32,
    height: i32,
    codecType: CMVideoCodecType,
    encoderSpecification: CFDictionaryRef,
    sourceImageBufferAttributes: CFDictionaryRef,
    compressedDataAllocator: CFAllocatorRef,
    outputCallback: *const VTCompressionOutputCallback,
    outputCallbackRefCon: *mut c_void,
    compressionSessionOut: *mut VTCompressionSessionRef,
) -> OSStatus