Function VTFrameSiloCreate

Source
pub unsafe extern "C-unwind" fn VTFrameSiloCreate(
    allocator: Option<&CFAllocator>,
    file_url: Option<&CFURL>,
    time_range: CMTimeRange,
    options: Option<&CFDictionary>,
    frame_silo_out: NonNull<*mut VTFrameSilo>,
) -> i32
Available on crate features VTFrameSilo and objc2-core-media only.
Expand description

Creates a VTFrameSilo object using a temporary file.

The returned VTFrameSilo object may be used to gather frames produced by multi-pass encoding.

Parameter fileURL: Specifies where to put the backing file for the VTFrameSilo object. If you pass NULL for fileURL, the video toolbox will pick a unique temporary file name.

Parameter options: Reserved, pass NULL.

Parameter timeRange: The valid time range for the frame silo. Must be valid for progress reporting.

Parameter frameSiloOut: Points to a VTFrameSiloRef to receive the newly created object. Call CFRelease to release your retain on the created VTFrameSilo object when you are done with it.