1 /* SPDX-License-Identifier: Apache-2.0 OR MIT */ 2 /* 3 * Copyright (c) 2021 Rockchip Electronics Co., Ltd. 4 */ 5 6 #define MODULE_TAG "mpp_callback" 7 8 #include "mpp_callback.h" 9 mpp_callback_f(const char * caller,MppCbCtx * ctx,void * param)10MPP_RET mpp_callback_f(const char *caller, MppCbCtx *ctx, void *param) 11 { 12 if (ctx && ctx->ctx && ctx->callBack) 13 return ctx->callBack(caller, ctx->ctx, ctx->cmd, param); 14 15 return MPP_OK; 16 } 17