pub unsafe extern "C-unwind" fn VTRAWProcessingSessionInvalidate(
session: &VTRAWProcessingSession,
)Available on crate feature
VTRAWProcessingSession only.Expand description
Tears down a RAW processing session.
When you are done with a decompression session you created, call VTRAWProcessingSessionInvalidate to tear it down and then CFRelease to release your object reference. When a session’s retain count reaches zero, it is automatically invalidated, but since sessions may be retained by multiple parties, it can be hard to predict when this will happen. Calling VTRAWProcessingSessionInvalidate ensures a deterministic, orderly teardown.