mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-07 10:00:55 +08:00
[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:
@@ -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,
|
||||
};
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user