[mpp_hal]: add slots to hal initial configure

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@227 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2015-09-07 13:53:30 +00:00
parent 0956adf622
commit a4bd7eae59
2 changed files with 3 additions and 0 deletions

View File

@@ -328,6 +328,7 @@ MPP_RET mpp_dec_init(MppDec **dec, MppCodingType coding)
MppHalCfg hal_cfg = {
MPP_CTX_DEC,
coding,
p->slots,
NULL,
parser_cfg.task_count,
};

View File

@@ -19,6 +19,7 @@
#include "rk_mpi.h"
#include "hal_task.h"
#include "mpp_buf_slot.h"
typedef void* MppHalCtx;
@@ -26,6 +27,7 @@ typedef struct MppHalCfg_t {
// input
MppCtxType type;
MppCodingType coding;
MppBufSlots slots;
// output
HalTaskGroup tasks;