VTCompressionSessionCreate

Function VTCompressionSessionCreate 

Source
pub unsafe extern "C-unwind" fn VTCompressionSessionCreate(
    allocator: Option<&CFAllocator>,
    width: i32,
    height: i32,
    codec_type: CMVideoCodecType,
    encoder_specification: Option<&CFDictionary>,
    source_image_buffer_attributes: Option<&CFDictionary>,
    compressed_data_allocator: Option<&CFAllocator>,
    output_callback: VTCompressionOutputCallback,
    output_callback_ref_con: *mut c_void,
    compression_session_out: NonNull<*mut VTCompressionSession>,
) -> i32
👎Deprecated: renamed to VTCompressionSession::create
Available on crate features VTCompressionSession and VTErrors and objc2-core-media only.