mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-07 18:11:02 +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 = {
|
MppHalCfg hal_cfg = {
|
||||||
MPP_CTX_DEC,
|
MPP_CTX_DEC,
|
||||||
coding,
|
coding,
|
||||||
|
p->slots,
|
||||||
NULL,
|
NULL,
|
||||||
parser_cfg.task_count,
|
parser_cfg.task_count,
|
||||||
};
|
};
|
||||||
|
@@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
#include "rk_mpi.h"
|
#include "rk_mpi.h"
|
||||||
#include "hal_task.h"
|
#include "hal_task.h"
|
||||||
|
#include "mpp_buf_slot.h"
|
||||||
|
|
||||||
typedef void* MppHalCtx;
|
typedef void* MppHalCtx;
|
||||||
|
|
||||||
@@ -26,6 +27,7 @@ typedef struct MppHalCfg_t {
|
|||||||
// input
|
// input
|
||||||
MppCtxType type;
|
MppCtxType type;
|
||||||
MppCodingType coding;
|
MppCodingType coding;
|
||||||
|
MppBufSlots slots;
|
||||||
|
|
||||||
// output
|
// output
|
||||||
HalTaskGroup tasks;
|
HalTaskGroup tasks;
|
||||||
|
Reference in New Issue
Block a user