pub unsafe extern "C-unwind" fn VTRAWProcessingSessionSetProcessingParameters(
session: &VTRAWProcessingSession,
processing_parameters: &CFDictionary,
) -> i32VTRAWProcessingSession only.Expand description
Sets a collection of RAW Processing parameters
This call will set a collection of RAW Processing parameters on the RAW Processor. These are set as a dictionary where the keys match kVTRAWProcessingParameter_Key values that were returned in VTRAWProcessingSessionCopyProcessingParameters and where values conform to the type and range defined in the kVTRAWProcessingParameter dictionary for each parameter.
Not all parameters from the RAWProcessingParameter array need to be set at any given time. Changining the parameters will not change processing on frames already submitted for processing, it will only impact frames where VTRAWProcessingSessionProcessFrame is called after VTRAWProcessingSessionSetProcessingParameters returns.
If any parameters specified are not in the array reported by VTRAWProcessingSessionCopyProcessingParameters, or are the wrong type or are out of range, kVTParameterErr will be returned and none of the parameters will be applied.
Parameter session: The RAW processing session.
Parameter processingParameters: A dictionary of keys and values setting parameters reported by VTRAWProcessingSessionCopyProcessingParameters.
Returns: Returns an error if any of the provided parameters are invalid, disabled or outside of the declared valid range. None of the provided parameters will be set on the processor if an error is returned.