pub unsafe extern "C-unwind" fn VTMultiPassStorageCreate(
allocator: Option<&CFAllocator>,
file_url: Option<&CFURL>,
time_range: CMTimeRange,
options: Option<&CFDictionary>,
multi_pass_storage_out: NonNull<*mut VTMultiPassStorage>,
) -> i32VTMultiPassStorage and objc2-core-media only.Expand description
Creates a VTMultiPassStorage object using a temporary file.
The returned VTMultiPassStorage object may be used to perform multi-pass encoding; see kVTCompressionPropertyKey_MultiPassStorage. Call CFRelease to release your retain on the created VTMultiPassStorage object when you are done with it.
Parameter fileURL: Specifies where to put the backing file for the VTMultiPassStorage object.
If you pass NULL for fileURL, the video toolbox will pick a unique temporary file name.
Parameter timeRange: Gives a hint to the multi pass storage about valid time stamps for data.
Parameter options: If the file did not exist when the storage was created, the file will be deleted when the VTMultiPassStorage object is finalized, unless you set the kVTMultiPassStorageCreationOption_DoNotDelete option to kCFBooleanTrue in the options dictionary.