Contents

VTFrameSiloGetProgressOfCurrentPass(_:progressOut:)

Gets the progress of the current pass.

Declaration

func VTFrameSiloGetProgressOfCurrentPass(_ silo: VTFrameSilo, progressOut: UnsafeMutablePointer<Float32>) -> OSStatus

Parameters

  • silo:

    The frame silo object.

  • progressOut:

    Upon return, contains the progress of the current pass.

Return Value

kVTFrameSiloInvalidTimeRangeErr if any time ranges are non-numeric, overlap or are not in ascending order.

Discussion

Calculates the current progress based on the most recent sample buffer added and the current pass time ranges.

See Also

Inspecting Frame Silos