Function VTRAWProcessingSessionSetParameterChangedHander

Source
pub unsafe extern "C-unwind" fn VTRAWProcessingSessionSetParameterChangedHander(
    session: &VTRAWProcessingSession,
    parameter_change_handler: VTRAWProcessingParameterChangeHandler,
) -> i32
Available on crate features VTRAWProcessingSession and block2 only.
Expand description

Provides a block which will be called when the VTRAWProcessingPlugin changes the set of processing parameters..

This block will be called the VTRAWProcessingPlugin either changes the set of available processing parameters, or changes the current value of parameters. The VTRAWProcessingPlugin may change parameters based on metadata associated with input frames, or in response to other parameters configured by VTRAWProcessingSessionSetProcessingParameters. This optional and does not need to be configured if the client is not driving UI based on these parameters, or otherwise does not need this.

Parameter session: The RAW processing session.

Parameter parameterChangeHandler: A VTRAWProcessingParameterChangeHandler block which will be called when the set of processing parameters changes, or the value of a parameter changes without the client explicitly requesting it. Setting this to NULL removes the current handler.