From a4bd7eae59f3bb905e5c04bb5dd1e67670e4ccf8 Mon Sep 17 00:00:00 2001 From: ChenHengming Date: Mon, 7 Sep 2015 13:53:30 +0000 Subject: [PATCH] [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 --- mpp/codec/mpp_dec.cpp | 1 + mpp/hal/inc/mpp_hal.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/mpp/codec/mpp_dec.cpp b/mpp/codec/mpp_dec.cpp index b10294d4..02453471 100644 --- a/mpp/codec/mpp_dec.cpp +++ b/mpp/codec/mpp_dec.cpp @@ -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, }; diff --git a/mpp/hal/inc/mpp_hal.h b/mpp/hal/inc/mpp_hal.h index 8a0be49e..4251c216 100644 --- a/mpp/hal/inc/mpp_hal.h +++ b/mpp/hal/inc/mpp_hal.h @@ -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;