pub unsafe extern "C" fn aic_processor_context_create(
context: *mut *mut AicProcessorContext,
processor: *const AicProcessor,
) -> TypeExpand description
Creates a processor context handle for thread-safe control APIs.
Use the returned handle to reset the processor, parameter APIs,
and other thread-safe functions that operate on AicProcessorContext.
§Parameters
context: Receives the handle to the processor context. Must not be NULL.processor: Processor instance. Must not be NULL.
§Returns
AIC_ERROR_CODE_SUCCESS: Context handle created successfullyAIC_ERROR_CODE_NULL_POINTER:processororcontextis NULL
§Safety
- Thread-safe: Can be called from any thread.