pub unsafe extern "C-unwind" fn VTCompressionSessionPrepareToEncodeFrames(
session: &VTCompressionSession,
) -> i32Available on crate feature
VTCompressionSession only.Expand description
You can optionally call this function to provide the encoder with an opportunity to perform any necessary resource allocation before it begins encoding frames.
This optional call can be used to provide the encoder an opportunity to allocate any resources necessary before it begins encoding frames. If this isn’t called, any necessary resources will be allocated on the first VTCompressionSessionEncodeFrame call. Extra calls to this function will have no effect.
Parameter session: The compression session.