pub unsafe extern "C-unwind" fn VTCompressionSessionBeginPass(
session: &VTCompressionSession,
begin_pass_flags: VTCompressionSessionOptionFlags,
reserved: *mut u32,
) -> i32Available on crate feature
VTCompressionSession only.Expand description
Call to announce the start of a specific compression pass.
During multi-pass encoding, this function must be called before VTCompressionSessionEncodeFrame. It is an error to call this function when multi-pass encoding has not been enabled by setting kVTCompressionPropertyKey_MultiPassStorage.
Parameter beginPassFlags: Pass kVTCompressionSessionBeginFinalPass to inform the encoder that the pass must be the final pass.