[hal_task]: Change hal_task to info with status

1. Split encoder and decoder hal_task defs and infos.
2. Change hal_task to a general info list with status.

Change-Id: I6f26035eeee4772d1ef99a21d85716e9c33eb9a6
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
Herman Chen
2022-02-18 15:35:56 +08:00
parent a7d198da66
commit fc8c86154e
22 changed files with 108 additions and 133 deletions

View File

@@ -20,7 +20,7 @@
#include "mpp_time.h"
#include "hal_task_defs.h"
#include "hal_task.h"
#include "mpp_rc_defs.h"
#include "mpp_enc_refs.h"
@@ -35,6 +35,11 @@ typedef struct HalEncTaskFlag_t {
RK_U32 err;
} HalEncTaskFlag;
typedef struct MppSyntax_t {
RK_U32 number;
void *data;
} MppSyntax;
typedef struct HalEncTask_t {
RK_U32 valid;