Rename dsl_infer_primary_pph_add/remove to dsl_infer_pph_add/remove - support adding pphs to primary and secondary
rjhowell44 opened this issue · 1 comments
rjhowell44 commented
Replace the existing services for primary only to general services for all inference components
API will be changed to
/**
* @brief Adds a pad-probe-handler to a named Inference Component.
* A Inference Component can have multiple Sink and Source pad-probe-handlers
* @param[in] name unique name of the Inference Component to update
* @param[in] handler callback function to process pad probe data
* @param[in] pad pad to add the handler to; DSL_PAD_SINK | DSL_PAD SRC
* @return DSL_RESULT_SUCCESS on success, DSL_RESULT_INFER_RESULT otherwise
*/
DslReturnType dsl_infer_pph_add(const wchar_t* name,
const wchar_t* handler, uint pad);
/**
* @brief Removes a pad-probe-handler from a named Inference Component.
* @param[in] name unique name of the Inference Component to update
* @param[in] handler pad-probe-handler to remove
* @param[in] pad pad to remove the handler from; DSL_PAD_SINK | DSL_PAD SRC
* @return DSL_RESULT_SUCCESS on success, DSL_RESULT_INFER_RESULT otherwise
*/
DslReturnType dsl_infer_pph_remove(const wchar_t* name,
const wchar_t* handler, uint pad);
rjhowell44 commented
Merged into the v0.29.alpha
release