mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 09:06:50 +08:00
[mpp_dec_cfg]: Add external notification callback
Add callback on two events: 1. packet ready and wait for new packet input. 2. frame ready and wait for output frame poll.e NOTE: Add callback command param for version compatible sync between user and mpp library. Change-Id: Ic41d495a06cf653acb6b5100699f1b7f5f735f2e Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#define __RK_VDEC_CMD_H__
|
||||
|
||||
#include "rk_type.h"
|
||||
#include "mpp_err.h"
|
||||
|
||||
/*
|
||||
* decoder query interface is only for debug usage
|
||||
@@ -62,4 +63,7 @@ typedef struct MppDecQueryCfg_t {
|
||||
RK_U32 dec_out_frm_cnt;
|
||||
} MppDecQueryCfg;
|
||||
|
||||
typedef void* MppExtCbCtx;
|
||||
typedef MPP_RET (*MppExtCbFunc)(MppExtCbCtx cb_ctx, MppCtx mpp, RK_S32 cmd, void *arg);
|
||||
|
||||
#endif /*__RK_VDEC_CMD_H__*/
|
||||
|
Reference in New Issue
Block a user